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

Disassembly:
sub esp, 0xf4
push ebp
mov ebp, dword [esp + 0x104]
dec ebp
js 0x511fc3
mov eax, dword [esp + 0xfc]
push ebx
push esi
mov esi, dword [esp + 0x114]
lea edx, [ebp + ebp*2]
shl edx, 5
add edx, esi
lea esi, [ebp + ebp*2]
lea ebx, [ebp + ebp*2]
shl esi, 6
add esi, dword [esp + 0x110]
shl ebx, 3
inc ebp
push edi
mov dword [esp + 0xcc], 0x3f800000
mov dword [esp + 0xd0], 0x3f800000
mov dword [esp + 0xb4], 0
mov dword [esp + 0xb8], 0x3f800000
mov dword [esp + 0xec], 0x3f800000
mov dword [esp + 0xf0], 0
mov dword [esp + 0xd4], 0
mov dword [esp + 0xd8], 0
lea edi, [eax + 0x40]
lea ecx, [eax + 0x30]
mov dword [esp + 0xb0], ebx
mov dword [esp + 0xac], edx
mov dword [esp + 0xa0], esi
mov dword [esp + 0xa4], ebp
mov dword [esp + 0xa8], 6
jmp 0x511b20
mov eax, dword [esp + 0x108]
mov dword [esp + 0xa8], 6
jmp 0x511b20
mov eax, dword [esp + 0x108]
jmp 0x511b20
mov ebp, dword [eax + 0x24]
fld dword [esp + 0x10c]
fadd dword [ebp + ebx]
add ebp, ebx
fcom dword [eax + 0x54]
fnstsw ax
test ah, 0x41
jne 0x511b46
mov eax, dword [esp + 0x108]
fstp st(0)
fld dword [eax + 0x54]
fst dword [ebp]
mov eax, dword [esp + 0x108]
fdiv dword [eax + 0x54]
mov eax, dword [esp + 0xcc]
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0xd0]
mov dword [esp + 0x74], eax
mov eax, dword [esp + 0x70]
mov dword [esp + 0x58], eax
mov dword [esp + 0x70], eax
fld dword [esp + 0x74]
fsub dword [0x70deb0]
fstp dword [esp + 0x74]
mov eax, dword [esp + 0x74]
fld dword [esp + 0x58]
mov dword [esp + 0x5c], eax
fmul st(1)
fstp dword [esp + 0x58]
mov eax, dword [esp + 0x58]
fld dword [esp + 0x5c]
mov dword [esp + 0xc4], eax
fmul st(1)
fstp dword [esp + 0x5c]
mov eax, dword [esp + 0x5c]
fld dword [esp + 0xc4]
mov dword [esp + 0xc8], eax
mov eax, dword [esp + 0xb4]
mov dword [esp + 0x88], eax
fadd dword [esp + 0x88]
mov eax, dword [esp + 0xb8]
mov dword [esp + 0x8c], eax
fstp dword [esp + 0x88]
mov eax, dword [esp + 0x88]
fld dword [esp + 0xc8]
mov dword [edx], eax
fadd dword [esp + 0x8c]
fstp dword [esp + 0x8c]
mov eax, dword [esp + 0x8c]
mov dword [edx + 4], eax
mov eax, dword [esp + 0xec]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0xf0]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x10]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x14]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x10]
mov dword [esp + 0x28], eax
fld dword [esp + 0x28]
mov eax, dword [esp + 0x14]
fmul st(1)
mov dword [esp + 0x2c], eax
fstp dword [esp + 0x28]
mov eax, dword [esp + 0x28]
fld dword [esp + 0x2c]
mov dword [esp + 0xbc], eax
fmul st(1)
fstp dword [esp + 0x2c]
mov eax, dword [esp + 0x2c]
fld dword [esp + 0xbc]
mov dword [esp + 0xc0], eax
mov eax, dword [esp + 0xd4]
mov dword [esp + 0x30], eax
fadd dword [esp + 0x30]
mov eax, dword [esp + 0xd8]
mov dword [esp + 0x34], eax
fstp dword [esp + 0x30]
mov eax, dword [esp + 0x30]
fld dword [esp + 0xc0]
mov dword [edx + 8], eax
fadd dword [esp + 0x34]
fstp dword [esp + 0x34]
mov eax, dword [esp + 0x34]
mov dword [edx + 0xc], eax
mov eax, edi
mov ebp, dword [eax]
mov dword [esp + 0x48], ebp
mov ebp, dword [eax + 4]
mov dword [esp + 0x4c], ebp
mov ebp, dword [eax + 8]
mov eax, dword [eax + 0xc]
fld dword [esp + 0x48]
fsub dword [ecx]
mov dword [esp + 0x54], eax
mov dword [esp + 0x50], ebp
fstp dword [esp + 0x48]
mov eax, dword [esp + 0x48]
fld dword [esp + 0x4c]
mov dword [esp + 0x60], eax
fsub dword [ecx + 4]
fstp dword [esp + 0x4c]
mov eax, dword [esp + 0x4c]
fld dword [esp + 0x50]
mov dword [esp + 0x64], eax
fsub dword [ecx + 8]
fstp dword [esp + 0x50]
mov eax, dword [esp + 0x50]
fld dword [esp + 0x54]
mov dword [esp + 0x68], eax
fsub dword [ecx + 0xc]
fstp dword [esp + 0x54]
mov eax, dword [esp + 0x54]
fld dword [esp + 0x60]
mov dword [esp + 0x6c], eax
fmul st(1)
fstp dword [esp + 0x60]
mov eax, dword [esp + 0x60]
fld dword [esp + 0x64]
mov dword [esp + 0xdc], eax
fmul st(1)
fstp dword [esp + 0x64]
mov eax, dword [esp + 0x64]
fld dword [esp + 0x68]
mov dword [esp + 0xe0], eax
fmul st(1)
fstp dword [esp + 0x68]
mov eax, dword [esp + 0x68]
fld dword [esp + 0x6c]
mov dword [esp + 0xe4], eax
fmul st(1)
fstp dword [esp + 0x6c]
mov eax, dword [esp + 0x6c]
fld dword [esp + 0xdc]
mov dword [esp + 0xe8], eax
mov eax, ecx
mov ebp, dword [eax]
mov dword [esp + 0x78], ebp
fadd dword [esp + 0x78]
mov ebp, dword [eax + 4]
mov dword [esp + 0x7c], ebp
mov ebp, dword [eax + 8]
fstp dword [esp + 0x78]
mov eax, dword [eax + 0xc]
fld dword [esp + 0xe0]
fadd dword [esp + 0x7c]
mov dword [esp + 0x80], ebp
mov ebp, dword [esp + 0x78]
mov dword [esp + 0x84], eax
fstp dword [esp + 0x7c]
mov eax, esi
fld dword [esp + 0xe4]
mov dword [eax], ebp
fadd dword [esp + 0x80]
mov ebp, dword [esp + 0x7c]
mov dword [eax + 4], ebp
fstp dword [esp + 0x80]
mov ebp, dword [esp + 0x80]
fld dword [esp + 0xe8]
mov dword [eax + 8], ebp
fadd dword [esp + 0x84]
fstp dword [esp + 0x84]
mov ebp, dword [esp + 0x84]
mov dword [eax + 0xc], ebp
mov eax, edi
mov ebp, dword [eax]
mov dword [esp + 0x90], ebp
mov ebp, dword [eax + 4]
mov dword [esp + 0x94], ebp
mov ebp, dword [eax + 8]
mov eax, dword [eax + 0xc]
mov dword [esp + 0x98], ebp
fld dword [esp + 0x90]
mov dword [esp + 0x9c], eax
fsub dword [ecx]
add ebx, 4
add edx, 0x10
fstp dword [esp + 0x90]
mov eax, dword [esp + 0x90]
fld dword [esp + 0x94]
mov dword [esp + 0x38], eax
fsub dword [ecx + 4]
fstp dword [esp + 0x94]
mov eax, dword [esp + 0x94]
fld dword [esp + 0x98]
mov dword [esp + 0x3c], eax
fsub dword [ecx + 8]
fstp dword [esp + 0x98]
mov eax, dword [esp + 0x98]
fld dword [esp + 0x9c]
mov dword [esp + 0x40], eax
fsub dword [ecx + 0xc]
fstp dword [esp + 0x9c]
mov eax, dword [esp + 0x9c]
fld dword [esp + 0x38]
mov dword [esp + 0x44], eax
fmul st(1)
fstp dword [esp + 0x38]
mov eax, dword [esp + 0x38]
fld dword [esp + 0x3c]
mov dword [esp + 0xf4], eax
fmul st(1)
fstp dword [esp + 0x3c]
mov eax, dword [esp + 0x3c]
fld dword [esp + 0x40]
mov dword [esp + 0xf8], eax
fmul st(1)
fstp dword [esp + 0x40]
mov eax, dword [esp + 0x40]
fld dword [esp + 0x44]
mov dword [esp + 0xfc], eax
fmul st(1)
fstp dword [esp + 0x44]
mov eax, dword [esp + 0x44]
mov dword [esp + 0x100], eax
fstp st(0)
mov eax, ecx
mov ebp, dword [eax]
fld dword [esp + 0xf4]
mov dword [esp + 0x18], ebp
fadd dword [esp + 0x18]
mov ebp, dword [eax + 4]
mov dword [esp + 0x1c], ebp
mov ebp, dword [eax + 8]
fstp dword [esp + 0x18]
fld dword [esp + 0xf8]
mov eax, dword [eax + 0xc]
fadd dword [esp + 0x1c]
mov dword [esp + 0x20], ebp
mov ebp, dword [esp + 0x18]
mov dword [esp + 0x24], eax
fstp dword [esp + 0x1c]
lea eax, [esi + 0x10]
fld dword [esp + 0xfc]
mov dword [eax], ebp
fadd dword [esp + 0x20]
mov ebp, dword [esp + 0x1c]
mov dword [eax + 4], ebp
add esi, 0x20
fstp dword [esp + 0x20]
mov ebp, dword [esp + 0x20]
fld dword [esp + 0x100]
mov dword [eax + 8], ebp
fadd dword [esp + 0x24]
fstp dword [esp + 0x24]
mov ebp, dword [esp + 0x24]
mov dword [eax + 0xc], ebp
dec dword [esp + 0xa8]
jne 0x511b10
mov ebx, dword [esp + 0xb0]
mov esi, dword [esp + 0xa0]
mov edx, dword [esp + 0xac]
mov eax, dword [esp + 0xa4]
sub ebx, 0x18
sub esi, 0xc0
sub edx, 0x60
dec eax
mov dword [esp + 0xb0], ebx
mov dword [esp + 0xa0], esi
mov dword [esp + 0xac], edx
mov dword [esp + 0xa4], eax
jne 0x511afc
pop edi
pop esi
pop ebx
pop ebp
add esp, 0xf4
ret 0x14