Function at 0x5e2ed0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
mov eax, dword fs:[0]
push 0x64b15c
push eax
mov dword fs:[0], esp
sub esp, 0x18c
push ebx
push ebp
push esi
mov ebp, ecx
mov eax, dword [ebp + 0xb0]
push edi
xor edi, edi
or ebx, 0xffffffff
cmp eax, edi
jne 0x5e2f4c
mov esi, dword [ebp + 0x18]
shl esi, 1
lea eax, [esi + esi*2]
lea ecx, [eax*8 + 4]
push ecx
call fcn.00614c96
add esp, 4
mov dword [esp + 0x24], eax
cmp eax, edi
mov dword [esp + 0x1a4], edi
je 0x5e2f3f
push fcn.005276a0
push 0x57f6a0
push esi
lea edi, [eax + 4]
push 0x18
push edi
mov dword [eax], esi
call fcn.0061688e
mov dword [esp + 0x1a4], ebx
mov dword [ebp + 0xb0], edi
mov eax, dword [ebp + 0x68]
test eax, eax
jle 0x5e2fb1
mov eax, dword [ebp + 0xb4]
test eax, eax
jne 0x5e2fb1
mov esi, dword [ebp + 0x18]
shl esi, 1
lea edx, [esi + esi*2]
lea eax, [edx*8 + 4]
push eax
call fcn.00614c96
add esp, 4
mov dword [esp + 0x24], eax
test eax, eax
mov dword [esp + 0x1a4], 1
je 0x5e2fa2
push fcn.005276a0
push 0x57f6a0
push esi
lea edi, [eax + 4]
push 0x18
push edi
mov dword [eax], esi
call fcn.0061688e
jmp 0x5e2fa4
xor edi, edi
mov dword [esp + 0x1a4], ebx
mov dword [ebp + 0xb4], edi
mov eax, dword [ebp + 0x2c]
mov ecx, dword [eax]
lea edx, [esp + 0x15c]
push edx
push 2
push eax
call dword [ecx + 0x98]
lea eax, [esp + 0x15c]
push eax
push 0
lea ecx, [esp + 0x124]
push ecx
call fcn.004f87c0
mov edx, dword [esp + 0x14c]
mov eax, dword [esp + 0x150]
mov ecx, dword [esp + 0x154]
mov dword [esp + 0x94], edx
mov edx, dword [ebp + 0x18]
xor edi, edi
shl edx, 1
test edx, edx
mov dword [esp + 0x98], eax
mov dword [esp + 0x9c], ecx
mov dword [esp + 0xac], 0
mov dword [esp + 0xb0], 0x3f800000
mov dword [esp + 0xb4], 0
mov dword [esp + 0x14], edi
jle 0x5e36c5
xor esi, esi
jmp 0x5e3044
mov edi, dword [esp + 0x14]
mov eax, dword [ebp + 0x18]
lea ecx, [eax + eax - 2]
cmp edi, ecx
jl 0x5e30c0
mov ecx, dword [ebp + 0x10]
lea ebx, [edi - 1]
lea eax, [ebx - 1]
cdq
sub eax, edx
sar eax, 1
lea edx, [eax + eax*2]
lea eax, [ecx + edx*4]
mov dword [esp + 0x24], eax
mov eax, edi
cdq
sub eax, edx
sar eax, 1
lea edi, [eax + eax*2]
shl edi, 2
add ecx, edi
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x24]
fld dword [ecx]
fsub dword [eax]
fstp dword [esp + 0x7c]
mov edx, dword [esp + 0x7c]
fld dword [ecx + 4]
fsub dword [eax + 4]
fstp dword [esp + 0x80]
fld dword [ecx + 8]
fsub dword [eax + 8]
mov eax, dword [esp + 0x80]
mov dword [esp + 0x18], edx
mov dword [esp + 0x1c], eax
fstp dword [esp + 0x84]
mov edx, dword [esp + 0x84]
mov dword [esp + 0x20], edx
jmp 0x5e3133
mov ebx, dword [esp + 0x14]
mov eax, edi
cdq
sub eax, edx
sar eax, 1
lea edi, [eax + eax*2]
mov dword [esp + 0x10], eax
mov eax, dword [ebp + 0x10]
shl edi, 2
lea ecx, [edi + eax]
dec ebx
lea eax, [ebx + 3]
cdq
sub eax, edx
sar eax, 1
lea edx, [eax + eax*2]
mov eax, dword [ebp + 0x10]
lea eax, [eax + edx*4]
fld dword [eax]
fsub dword [ecx]
fstp dword [esp + 0xb8]
fld dword [eax + 4]
fsub dword [ecx + 4]
fstp dword [esp + 0xbc]
mov edx, dword [esp + 0xbc]
fld dword [eax + 8]
mov eax, dword [esp + 0xb8]
fsub dword [ecx + 8]
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], edx
fstp dword [esp + 0xc0]
mov eax, dword [esp + 0xc0]
mov dword [esp + 0x20], eax
mov eax, dword [ebp + 0x68]
test eax, eax
jne 0x5e3171
fld dword [esp + 0x94]
fsub dword [ecx]
fstp dword [esp + 0x64]
fld dword [esp + 0x98]
fsub dword [ecx + 4]
fstp dword [esp + 0x68]
mov edx, dword [esp + 0x68]
fld dword [esp + 0x9c]
fsub dword [ecx + 8]
mov ecx, dword [esp + 0x64]
fstp dword [esp + 0x6c]
mov eax, dword [esp + 0x6c]
jmp 0x5e3186
mov ecx, dword [esp + 0xac]
mov edx, dword [esp + 0xb0]
mov eax, dword [esp + 0xb4]
mov dword [esp + 0x34], ecx
lea ecx, [esp + 0x18]
mov dword [esp + 0x38], edx
push ecx
mov edx, ecx
push edx
mov dword [esp + 0x44], eax
call fcn.004f7a20
lea eax, [esp + 0x34]
push eax
mov ecx, eax
push ecx
call fcn.004f7a20
fld dword [esp + 0x3c]
fmul dword [esp + 0x1c]
fld dword [esp + 0x38]
fmul dword [esp + 0x20]
fsubp st(1)
fstp dword [esp + 0xe0]
mov edx, dword [esp + 0xe0]
fld dword [esp + 0x20]
mov dword [esp + 0x28], edx
fmul dword [esp + 0x34]
lea edx, [esp + 0x28]
fld dword [esp + 0x3c]
push edx
fmul dword [esp + 0x1c]
fsubp st(1)
fstp dword [esp + 0xe8]
mov eax, dword [esp + 0xe8]
fld dword [esp + 0x3c]
mov dword [esp + 0x30], eax
fmul dword [esp + 0x1c]
mov eax, edx
fld dword [esp + 0x20]
push eax
fmul dword [esp + 0x3c]
fsubp st(1)
fstp dword [esp + 0xf0]
mov ecx, dword [esp + 0xf0]
mov dword [esp + 0x38], ecx
call fcn.004f7a20
mov eax, dword [ebp + 0x68]
xor ecx, ecx
cmp eax, ecx
jle 0x5e32a9
fld dword [esp + 0x30]
fmul dword [esp + 0x1c]
fld dword [esp + 0x2c]
fmul dword [esp + 0x20]
fsubp st(1)
fstp dword [esp + 0xc4]
mov ecx, dword [esp + 0xc4]
fld dword [esp + 0x20]
mov dword [esp + 0x40], ecx
fmul dword [esp + 0x28]
lea ecx, [esp + 0x40]
fld dword [esp + 0x30]
push ecx
fmul dword [esp + 0x1c]
fsubp st(1)
fstp dword [esp + 0xcc]
mov edx, dword [esp + 0xcc]
fld dword [esp + 0x30]
mov dword [esp + 0x48], edx
fmul dword [esp + 0x1c]
mov edx, ecx
fld dword [esp + 0x20]
push edx
fmul dword [esp + 0x30]
fsubp st(1)
fstp dword [esp + 0xd4]
mov eax, dword [esp + 0xd4]
mov dword [esp + 0x50], eax
call fcn.004f7a20
xor ecx, ecx
mov eax, dword [esp + 0x14]
and eax, 0x80000001
jns 0x5e32b9
dec eax
or eax, 0xfffffffe
inc eax
fld dword [ebp + 0x1c]
fld dword [esp + 0x28]
fmul st(1)
fld dword [esp + 0x2c]
fmul st(2)
jne 0x5e33a2
mov edx, dword [ebp + 0x10]
fstp dword [esp + 0xf0]
fld dword [esp + 0x30]
add edi, edx
fmul st(2)
fstp dword [esp + 0xf4]
fadd dword [edi]
fstp dword [esp + 0xd4]
mov eax, dword [esp + 0xd4]
mov dword [esp + 0x4c], eax
fstp st(0)
fld dword [esp + 0xf0]
fadd dword [edi + 4]
fstp dword [esp + 0xd8]
mov edx, dword [esp + 0xd8]
fld dword [esp + 0xf4]
mov dword [esp + 0x50], edx
fadd dword [edi + 8]
fstp dword [esp + 0xdc]
mov eax, dword [esp + 0xdc]
mov dword [esp + 0x54], eax
cmp dword [ebp + 0x68], ecx
jle 0x5e3492
fld dword [ebp + 0x1c]
fld dword [esp + 0x40]
fmul st(1)
fld dword [esp + 0x44]
fmul st(2)
fstp dword [esp + 0x108]
fld dword [esp + 0x48]
fmul st(2)
fstp dword [esp + 0x10c]
fadd dword [edi]
fstp dword [esp + 0x70]
mov edx, dword [esp + 0x70]
mov dword [esp + 0x58], edx
fstp st(0)
fld dword [esp + 0x108]
fadd dword [edi + 4]
fstp dword [esp + 0x74]
mov eax, dword [esp + 0x74]
fld dword [esp + 0x10c]
mov dword [esp + 0x5c], eax
fadd dword [edi + 8]
fstp dword [esp + 0x78]
mov edx, dword [esp + 0x78]
mov dword [esp + 0x60], edx
jmp 0x5e3492
fstp dword [esp + 0x114]
mov eax, ebx
fld dword [esp + 0x30]
cdq
fmul st(2)
sub eax, edx
mov edx, dword [ebp + 0x10]
sar eax, 1
fstp dword [esp + 0x118]
lea eax, [eax + eax*2]
lea eax, [edx + eax*4]
fld dword [eax]
fsub st(1)
fstp dword [esp + 0x88]
mov edx, dword [esp + 0x88]
mov dword [esp + 0x4c], edx
fstp st(0)
fstp st(0)
fld dword [eax + 4]
fsub dword [esp + 0x114]
fstp dword [esp + 0x8c]
mov edx, dword [esp + 0x8c]
fld dword [eax + 8]
mov dword [esp + 0x50], edx
fsub dword [esp + 0x118]
fstp dword [esp + 0x90]
mov edx, dword [esp + 0x90]
mov dword [esp + 0x54], edx
cmp dword [ebp + 0x68], ecx
jle 0x5e3492
fld dword [ebp + 0x1c]
fld dword [esp + 0x40]
fmul st(1)
fld dword [esp + 0x44]
fmul st(2)
fstp dword [esp + 0xfc]
fld dword [esp + 0x48]
fmul st(2)
fstp dword [esp + 0x100]
fld dword [eax]
fsub st(1)
fstp dword [esp + 0xa0]
fstp st(0)
fstp st(0)
fld dword [eax + 4]
fsub dword [esp + 0xfc]
fstp dword [esp + 0xa4]
mov edx, dword [esp + 0xa4]
fld dword [eax + 8]
mov eax, dword [esp + 0xa0]
fsub dword [esp + 0x100]
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], edx
fstp dword [esp + 0xa8]
mov eax, dword [esp + 0xa8]
mov dword [esp + 0x60], eax
mov al, byte [ebp + 0x58]
test al, al
je 0x5e34cd
fld dword [ebp + 0x54]
fmul dword [0x651eb8]
call fcn.0061672c
fld dword [ebp + 0x54]
fsub dword [ebp + 0x5c]
shl eax, 0x18
or eax, 0xffffff
mov dword [ebp + 0x50], eax
fst dword [ebp + 0x54]
xor ecx, ecx
fcomp dword [0x64fe74]
fnstsw ax
test ah, 0x41
jp 0x5e34cd
mov dword [ebp + 0x54], ecx
mov edx, dword [ebp + 0xb0]
fld dword [esp + 0x4c]
fstp dword [esi + edx]
mov eax, dword [ebp + 0xb0]
fld dword [esp + 0x50]
fstp dword [esi + eax + 4]
mov edx, dword [ebp + 0xb0]
fld dword [esp + 0x54]
fstp dword [esi + edx + 8]
mov al, byte [ebp + 0xa8]
test al, al
je 0x5e3511
mov eax, dword [ebp + 0xac]
shl eax, 0x18
or eax, 0xffffff
mov dword [ebp + 0x50], eax
mov edx, dword [ebp + 0xb0]
mov eax, dword [ebp + 0x50]
mov dword [esi + edx + 0xc], eax
mov edx, dword [esp + 0x1b0]
cmp edx, ecx
mov eax, dword [esp + 0x14]
jne 0x5e356f
and eax, 0x80000003
jns 0x5e3539
dec eax
or eax, 0xfffffffc
inc eax
cmp eax, 3
ja case.default.0x5e353e
jmp dword [eax*4 + 0x5e379c]
fild dword [esp + 0x10]
mov edi, dword [ebp + 0xb0]
mov dword [esi + edi + 0x10], ecx
fadd dword [ebp + 0x60]
jmp 0x5e35ae
fild dword [esp + 0x10]
mov edi, dword [ebp + 0xb0]
mov dword [esi + edi + 0x10], 0x3f800000
fadd dword [ebp + 0x60]
jmp 0x5e35ae
and eax, 0x80000003
jns 0x5e357b
dec eax
or eax, 0xfffffffc
inc eax
cmp eax, 3
ja case.default.0x5e3580
jmp dword [eax*4 + 0x5e37ac]
mov edi, dword [ebp + 0xb0]
mov dword [esi + edi + 0x10], ecx
jmp case.default.0x5e3580
mov edi, dword [ebp + 0xb0]
mov dword [esi + edi + 0x10], 0x3f800000
fild dword [ebp + 0x18]
fdivr dword [0x64fe64]
fimul dword [esp + 0x10]
mov edi, dword [ebp + 0xb0]
fstp dword [esi + edi + 0x14]
cmp dword [ebp + 0x68], ecx
jle case.default.0x5e3604
cmp edx, ecx
fld dword [esp + 0x58]
mov edi, dword [ebp + 0xb4]
fstp dword [esi + edi]
mov edi, dword [ebp + 0xb4]
fld dword [esp + 0x5c]
fstp dword [esi + edi + 4]
mov edi, dword [ebp + 0xb4]
fld dword [esp + 0x60]
fstp dword [esi + edi + 8]
mov edi, dword [ebp + 0xb4]
mov ebx, dword [ebp + 0x50]
mov dword [esi + edi + 0xc], ebx
jne 0x5e366f
cmp eax, 3
ja case.default.0x5e3604
jmp dword [eax*4 + 0x5e37bc]
mov edx, dword [ebp + 0xb4]
mov dword [esi + edx + 0x10], ecx
fild dword [esp + 0x10]
mov eax, dword [ebp + 0xb4]
fadd dword [ebp + 0x60]
fstp dword [esi + eax + 0x14]
jmp case.default.0x5e3604
mov ecx, dword [ebp + 0xb4]
fild dword [esp + 0x10]
mov dword [esi + ecx + 0x10], 0x3f800000
mov edx, dword [ebp + 0xb4]
fadd dword [ebp + 0x60]
fstp dword [esi + edx + 0x14]
jmp case.default.0x5e3604
fild dword [esp + 0x10]
mov eax, dword [ebp + 0xb4]
mov dword [esi + eax + 0x10], ecx
fadd dword [ebp + 0x60]
jmp 0x5e36a2
mov edx, dword [ebp + 0xb4]
mov dword [esi + edx + 0x10], 0x3f800000
jmp 0x5e3615
cmp eax, 3
ja case.default.0x5e3674
jmp dword [eax*4 + 0x5e37cc]
mov edx, dword [ebp + 0xb4]
mov dword [esi + edx + 0x10], ecx
jmp case.default.0x5e3674
mov eax, dword [ebp + 0xb4]
mov dword [esi + eax + 0x10], 0x3f800000
fild dword [ebp + 0x18]
fdivr dword [0x64fe64]
fimul dword [esp + 0x10]
mov ecx, dword [ebp + 0xb4]
fstp dword [esi + ecx + 0x14]
mov eax, dword [esp + 0x14]
mov edx, dword [ebp + 0x18]
inc eax
shl edx, 1
add esi, 0x18
cmp eax, edx
mov dword [esp + 0x14], eax
jl 0x5e3040
mov eax, dword [ebp + 0x30]
mov ebx, dword [esp + 0x1ac]
mov eax, dword [eax + ebx*4]
mov edx, dword [eax]
push 0x2800
lea ecx, [esp + 0xd4]
push ecx
mov ecx, dword [ebp + 0x18]
lea ecx, [ecx + ecx*2]
shl ecx, 4
push ecx
push 0
push eax
call dword [edx + 0x2c]
mov eax, dword [ebp + 0x18]
mov esi, dword [ebp + 0xb0]
mov edi, dword [esp + 0xd0]
lea ecx, [eax + eax*2]
shl ecx, 4
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [ebp + 0x30]
mov eax, dword [eax + ebx*4]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x30]
mov eax, dword [ebp + 0x68]
test eax, eax
jle 0x5e3777
mov edx, dword [ebp + 0x34]
mov eax, dword [edx + ebx*4]
mov edx, dword [eax]
push 0x2800
lea ecx, [esp + 0x28]
push ecx
mov ecx, dword [ebp + 0x18]
lea ecx, [ecx + ecx*2]
shl ecx, 4
push ecx
push 0
push eax
call dword [edx + 0x2c]
mov eax, dword [ebp + 0x18]
mov esi, dword [ebp + 0xb4]
mov edi, dword [esp + 0x24]
lea ecx, [eax + eax*2]
shl ecx, 4
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [ebp + 0x34]
mov ebx, dword [eax + ebx*4]
mov ecx, dword [ebx]
push ebx
call dword [ecx + 0x30]
mov edx, dword [ebp + 0x18]
mov ecx, dword [esp + 0x19c]
pop edi
lea eax, [edx + edx - 2]
pop esi
mov dword [ebp + 0x28], eax
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x198
ret 8