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

Disassembly:
push 0xffffffffffffffff
push 0x60e038
mov eax, dword fs:[0]
push eax
sub esp, 0x38
push ebx
push ebp
push esi
push edi
mov eax, dword [0x6ac9e8]
xor eax, esp
push eax
lea eax, [esp + 0x4c]
mov dword fs:[0], eax
mov dword [esp + 0x18], ecx
lea ecx, [esp + 0x34]
call fcn.004b6ad0
mov eax, dword [esp + 0x44]
mov edi, dword [esp + 0x40]
mov dword [esp + 0x54], 0
mov ebx, eax
cmp edi, eax
jbe 0x511827
call fcn.005c5aaf
mov eax, dword [esp + 0x44]
mov edi, dword [esp + 0x40]
mov esi, dword [esp + 0x34]
cmp edi, eax
jbe 0x511834
call fcn.005c5aaf
mov eax, dword [esp + 0x34]
push ebx
push esi
push edi
push eax
lea ecx, [esp + 0x38]
push ecx
lea ecx, [esp + 0x48]
call fcn.0048c7d0
mov edx, dword [esp + 0x28]
mov ecx, dword [esp + 0x2c]
mov ebp, dword [esp + 0x6c]
sub esp, 0xc
mov eax, esp
mov dword [eax], edx
mov edx, dword [esp + 0x3c]
mov dword [eax + 4], ecx
push ebp
lea ecx, [esp + 0x44]
mov dword [eax + 8], edx
call fcn.00511700
fldz
fstp dword [esp + 0x14]
mov ecx, dword [0x6b4658]
fild dword [esp + 0x6c]
fdivr qword [0x635248]
fstp dword [esp + 0x24]
call fcn.004cca80
add eax, 0xec
xor esi, esi
mov dword [esp + 0x20], eax
test ebp, ebp
jle 0x5119a3
fldz
xor ebp, ebp
fstp dword [esp + 0x30]
jmp 0x5118b0
fld dword [esp + 0x14]
call fcn.005c6400
fstp dword [esp + 0x1c]
fld dword [esp + 0x1c]
fmul dword [esp + 0x68]
fstp dword [esp + 0x28]
fld dword [esp + 0x14]
call fcn.005c6530
fstp dword [esp + 0x1c]
mov ecx, dword [esp + 0x44]
fld dword [esp + 0x1c]
sub ecx, dword [esp + 0x40]
fmul dword [esp + 0x68]
mov eax, 0x2aaaaaab
imul ecx
fstp dword [esp + 0x2c]
sar edx, 1
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp esi, eax
jb 0x511903
call fcn.005c5aaf
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x28]
mov dword [ecx + ebp], edx
mov edx, dword [esp + 0x30]
lea eax, [ecx + ebp]
mov ecx, dword [esp + 0x2c]
mov dword [eax + 4], ecx
mov dword [eax + 8], edx
mov ebx, dword [esp + 0x44]
mov edi, dword [esp + 0x40]
mov ecx, ebx
sub ecx, edi
mov eax, 0x2aaaaaab
imul ecx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp esi, eax
jb 0x51194c
call fcn.005c5aaf
mov ebx, dword [esp + 0x44]
mov edi, dword [esp + 0x40]
sub ebx, edi
mov eax, 0x2aaaaaab
imul ebx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add eax, edx
lea ecx, [edi + ebp]
mov dword [esp + 0x1c], ecx
cmp esi, eax
jb 0x511972
call fcn.005c5aaf
mov edi, dword [esp + 0x40]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x1c]
push ecx
push edx
lea eax, [edi + ebp]
push eax
call fcn.0058e2af
fld dword [esp + 0x24]
fadd dword [esp + 0x14]
inc esi
add ebp, 0xc
cmp esi, dword [esp + 0x6c]
fstp dword [esp + 0x14]
jl 0x5118b0
mov ebp, dword [esp + 0x6c]
lea eax, [ebp - 1]
xor ebx, ebx
mov dword [esp + 0x28], eax
test eax, eax
jle 0x511b90
xor edi, edi
mov esi, dword [esp + 0x44]
mov ecx, dword [esp + 0x40]
mov edx, esi
sub edx, ecx
mov eax, 0x2aaaaaab
imul edx
sar edx, 1
mov eax, edx
shr eax, 0x1f
lea ebp, [ebx + 1]
add eax, edx
cmp ebp, eax
jb 0x5119e6
call fcn.005c5aaf
mov esi, dword [esp + 0x44]
mov ecx, dword [esp + 0x40]
lea edx, [ecx + edi + 0xc]
mov dword [esp + 0x68], edx
mov edx, esi
sub edx, ecx
mov eax, 0x2aaaaaab
imul edx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ebp, eax
jb 0x511a13
call fcn.005c5aaf
mov esi, dword [esp + 0x44]
mov ecx, dword [esp + 0x40]
lea edx, [ecx + edi + 0xc]
mov dword [esp + 0x24], edx
mov edx, esi
sub edx, ecx
mov eax, 0x2aaaaaab
imul edx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ebp, eax
jb 0x511a40
call fcn.005c5aaf
mov esi, dword [esp + 0x44]
mov ecx, dword [esp + 0x40]
lea edx, [ecx + edi + 0xc]
mov dword [esp + 0x20], edx
mov edx, esi
sub edx, ecx
mov eax, 0x2aaaaaab
imul edx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ebx, eax
jb 0x511a6d
call fcn.005c5aaf
mov esi, dword [esp + 0x44]
mov ecx, dword [esp + 0x40]
lea edx, [edi + ecx]
mov dword [esp + 0x1c], edx
mov edx, esi
sub edx, ecx
mov eax, 0x2aaaaaab
imul edx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ebx, eax
jb 0x511a99
call fcn.005c5aaf
mov esi, dword [esp + 0x44]
mov ecx, dword [esp + 0x40]
lea edx, [edi + ecx]
sub esi, ecx
mov dword [esp + 0x14], edx
mov eax, 0x2aaaaaab
imul esi
sar edx, 1
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ebx, eax
jb 0x511abf
call fcn.005c5aaf
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x68]
fld dword [edx + 8]
mov eax, dword [esp + 0x24]
fld dword [esp + 0x64]
mov edx, dword [esp + 0x20]
fld st(0)
sub esp, 0x18
faddp st(2)
fxch st(1)
fstp dword [esp + 0x80]
fld dword [esp + 0x80]
fstp dword [esp + 0x14]
fld dword [eax + 4]
mov eax, dword [esp + 0x34]
fld dword [esp + 0x78]
fld st(0)
faddp st(2)
fxch st(1)
fstp dword [esp + 0x80]
fld dword [esp + 0x80]
fstp dword [esp + 0x10]
fld dword [edx]
mov edx, dword [esp + 0x2c]
fld dword [esp + 0x74]
fld st(0)
faddp st(2)
fxch st(1)
fstp dword [esp + 0x80]
fld dword [esp + 0x80]
fstp dword [esp + 0xc]
fld dword [eax + 8]
faddp st(3)
fxch st(2)
fstp dword [esp + 0x80]
fld dword [esp + 0x80]
fstp dword [esp + 8]
fadd dword [edx + 4]
fstp dword [esp + 0x80]
fld dword [esp + 0x80]
fstp dword [esp + 4]
fadd dword [edi + ecx]
mov ecx, dword [esp + 0x30]
fstp dword [esp + 0x80]
fld dword [esp + 0x80]
fstp dword [esp]
call fcn.00510150
mov ebx, ebp
add edi, 0xc
cmp ebx, dword [esp + 0x28]
jl 0x5119b6
mov ebp, dword [esp + 0x6c]
mov edi, dword [esp + 0x44]
mov ecx, dword [esp + 0x40]
mov edx, edi
sub edx, ecx
mov eax, 0x2aaaaaab
imul edx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add eax, edx
jne 0x511bbb
call fcn.005c5aaf
mov edi, dword [esp + 0x44]
mov ecx, dword [esp + 0x40]
mov edx, edi
sub edx, ecx
mov eax, 0x2aaaaaab
imul edx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [esp + 0x6c], ecx
jne 0x511be2
call fcn.005c5aaf
mov edi, dword [esp + 0x44]
mov ecx, dword [esp + 0x40]
mov edx, edi
sub edx, ecx
mov eax, 0x2aaaaaab
imul edx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [esp + 0x68], ecx
jne 0x511c09
call fcn.005c5aaf
mov edi, dword [esp + 0x44]
mov ecx, dword [esp + 0x40]
mov edx, edi
sub edx, ecx
mov eax, 0x2aaaaaab
imul edx
sar edx, 1
mov eax, edx
shr eax, 0x1f
lea esi, [ebp - 1]
add eax, edx
mov dword [esp + 0x28], ecx
cmp esi, eax
jb 0x511c35
call fcn.005c5aaf
mov edi, dword [esp + 0x44]
mov ecx, dword [esp + 0x40]
lea edx, [esi + esi*2]
lea ebx, [ecx + edx*4]
mov edx, edi
sub edx, ecx
mov eax, 0x2aaaaaab
imul edx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp esi, eax
jb 0x511c60
call fcn.005c5aaf
mov edi, dword [esp + 0x44]
mov ecx, dword [esp + 0x40]
lea edx, [esi + esi*2]
sub edi, ecx
lea ebp, [ecx + edx*4]
mov eax, 0x2aaaaaab
imul edi
sar edx, 1
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp esi, eax
jb 0x511c85
call fcn.005c5aaf
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x6c]
fld dword [edx + 8]
mov eax, dword [esp + 0x68]
fld dword [esp + 0x64]
mov edx, dword [esp + 0x28]
fld st(0)
sub esp, 0x18
faddp st(2)
fxch st(1)
fstp dword [esp + 0x84]
fld dword [esp + 0x84]
fstp dword [esp + 0x14]
fld dword [eax + 4]
lea eax, [esi + esi*2]
fld dword [esp + 0x78]
fld st(0)
faddp st(2)
fxch st(1)
fstp dword [esp + 0x84]
fld dword [esp + 0x84]
fstp dword [esp + 0x10]
fld dword [edx]
fld dword [esp + 0x74]
fld st(0)
faddp st(2)
fxch st(1)
fstp dword [esp + 0x84]
fld dword [esp + 0x84]
fstp dword [esp + 0xc]
fld dword [ebx + 8]
faddp st(3)
fxch st(2)
fstp dword [esp + 0x84]
fld dword [esp + 0x84]
fstp dword [esp + 8]
fadd dword [ebp + 4]
fstp dword [esp + 0x84]
fld dword [esp + 0x84]
fstp dword [esp + 4]
fadd dword [ecx + eax*4]
mov ecx, dword [esp + 0x30]
fstp dword [esp + 0x84]
fld dword [esp + 0x84]
fstp dword [esp]
call fcn.00510150
mov eax, dword [esp + 0x40]
xor esi, esi
cmp eax, esi
je 0x511d51
push eax
call fcn.005c5896
add esp, 4
mov ecx, dword [esp + 0x34]
push ecx
mov dword [esp + 0x44], esi
mov dword [esp + 0x48], esi
mov dword [esp + 0x4c], esi
call fcn.005c5896
add esp, 4
mov ecx, dword [esp + 0x4c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x44
ret 0x14