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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x188
fld qword [0x59e430]
push ebx
fld qword [0x59e430]
push ebp
fld qword [0x59e430]
push esi
fld qword [0x59e430]
mov esi, ecx
mov eax, dword [esi + 0x118]
fld qword [0x59e430]
test eax, eax
fld qword [0x59e430]
push edi
mov dword [esp + 0x28], 0
mov dword [esp + 0x30], 0
mov dword [esp + 0x34], 0
mov dword [esp + 0x38], 0
mov dword [esp + 0x3c], 0
mov dword [esp + 0x50], 0
mov dword [esp + 0x54], 0
jle 0x54e397
mov ebx, dword [esi + 0x11c]
add ebx, 8
mov dword [esp + 0x10], eax
lea esp, [esp]
mov edi, dword [ebx]
test edi, edi
jle 0x54e379
mov ebp, dword [esi + 0x14]
mov ecx, dword [ebx + 4]
and ebp, 0x800000
mov edx, ecx
test ebp, ebp
mov eax, edx
jne 0x54e31c
mov eax, ecx
fld dword [eax]
add edx, 0x40
fld st(0)
add ecx, 0x30
dec edi
fmul st(1)
faddp st(5)
fstp st(0)
fld dword [eax + 4]
fld st(0)
fmul st(1)
faddp st(6)
fstp st(0)
fld dword [eax + 8]
fld st(0)
fmul st(1)
faddp st(7)
fstp st(0)
fld dword [eax + 4]
fmul dword [eax]
fadd qword [esp + 0x50]
fstp qword [esp + 0x50]
fld dword [eax]
fmul dword [eax + 8]
fadd qword [esp + 0x38]
fstp qword [esp + 0x38]
fld dword [eax + 4]
fmul dword [eax + 8]
fadd qword [esp + 0x30]
fstp qword [esp + 0x30]
fadd dword [eax]
fld dword [eax + 4]
faddp st(2)
fld dword [eax + 8]
faddp st(3)
jne 0x54e314
mov eax, dword [ebx]
mov edx, dword [esp + 0x28]
add edx, eax
mov eax, dword [esp + 0x10]
add ebx, 0x40
dec eax
mov dword [esp + 0x28], edx
mov dword [esp + 0x10], eax
jne 0x54e300
fild dword [esp + 0x28]
fdivr qword [0x59e420]
fst qword [esp + 0x10]
fmul st(1)
fstp qword [esp + 0x28]
fstp st(0)
fld qword [esp + 0x10]
fmul st(1)
fstp qword [esp + 0x40]
fstp st(0)
fld qword [esp + 0x10]
fmul st(1)
fstp qword [esp + 0x48]
fstp st(0)
fld qword [esp + 0x10]
fmul qword [esp + 0x50]
fld qword [esp + 0x40]
fmul qword [esp + 0x28]
fsubp st(1)
fld qword [esp + 0x10]
fmul qword [esp + 0x38]
fld qword [esp + 0x48]
fmul qword [esp + 0x28]
fsubp st(1)
fst qword [esp + 0x38]
fld qword [esp + 0x10]
fmul qword [esp + 0x30]
fld qword [esp + 0x48]
fmul qword [esp + 0x40]
fsubp st(1)
fstp qword [esp + 0x30]
fld qword [esp + 0x10]
mov ecx, dword [esp + 0x30]
fmul st(3)
mov edx, dword [esp + 0x34]
fld qword [esp + 0x28]
mov dword [esp + 0xd8], ecx
fmul qword [esp + 0x28]
mov dword [esp + 0xdc], edx
fsubp st(1)
fstp qword [esp + 0xb0]
fld st(1)
fstp qword [esp + 0xb8]
fstp qword [esp + 0xc0]
fstp qword [esp + 0xc8]
fstp st(0)
fld qword [esp + 0x10]
fmul st(1)
fld qword [esp + 0x40]
fmul qword [esp + 0x40]
fsubp st(1)
fstp qword [esp + 0xd0]
fstp st(0)
fld qword [esp + 0x38]
fstp qword [esp + 0xe0]
fld qword [esp + 0x30]
fstp qword [esp + 0xe8]
fld qword [esp + 0x10]
fmul st(1)
fld qword [esp + 0x48]
fmul qword [esp + 0x48]
fsubp st(1)
fstp qword [esp + 0xf0]
lea eax, [esp + 0xf8]
fstp st(0)
push eax
lea ecx, [esp + 0x144]
push ecx
mov ecx, dword [0x8b8f24]
lea edx, [esp + 0xb8]
push edx
call fcn.0053b6f0
fld qword [esp + 0xf8]
fstp dword [esp + 0x70]
mov dword [esp + 0x7c], 0
fld qword [esp + 0x110]
mov dword [esp + 0x8c], 0
fstp dword [esp + 0x74]
mov dword [esp + 0x9c], 0
fld qword [esp + 0x128]
mov dword [esp + 0xa0], 0
fstp dword [esp + 0x78]
mov dword [esp + 0xa4], 0
fld qword [esp + 0x100]
mov dword [esp + 0xa8], 0
fstp dword [esp + 0x80]
mov dword [esp + 0xac], 0x3f800000
fld qword [esp + 0x118]
lea edi, [esp + 0x158]
fstp dword [esp + 0x84]
lea eax, [esp + 0x70]
fld qword [esp + 0x130]
mov ebx, 4
fstp dword [esp + 0x88]
fld qword [esp + 0x108]
fstp dword [esp + 0x90]
fld qword [esp + 0x120]
fstp dword [esp + 0x94]
fld qword [esp + 0x138]
fstp dword [esp + 0x98]
mov ecx, edi
mov edx, 4
lea ebx, [ebx]
mov ebp, dword [eax]
mov dword [ecx], ebp
add ecx, 0x10
add eax, 4
dec edx
jne 0x54e590
add edi, 4
dec ebx
jne 0x54e583
mov eax, dword [esi + 0x118]
xor edi, edi
cmp eax, edi
mov dword [esp + 0x30], 0xa0000000
mov dword [esp + 0x34], 0x426d1a94
mov dword [esp + 0x40], 0xa0000000
mov dword [esp + 0x44], 0x426d1a94
mov dword [esp + 0x58], 0xa0000000
mov dword [esp + 0x5c], 0x426d1a94
mov dword [esp + 0x38], 0xa0000000
mov dword [esp + 0x3c], 0xc26d1a94
mov dword [esp + 0x68], 0xa0000000
mov dword [esp + 0x6c], 0xc26d1a94
mov dword [esp + 0x48], 0xa0000000
mov dword [esp + 0x4c], 0xc26d1a94
mov dword [esp + 0x60], 0
mov dword [esp + 0x64], 0
mov dword [esp + 0x10], edi
jle 0x54e73d
mov eax, dword [esi + 0x11c]
mov ecx, dword [eax + edi + 8]
xor ebp, ebp
xor ebx, ebx
cmp ecx, ebp
jle 0x54e723
mov dword [esp + 0x28], ebp
test dword [esi + 0x14], 0x800000
mov eax, dword [eax + edi + 0xc]
je 0x54e652
add eax, ebp
jmp 0x54e656
add eax, dword [esp + 0x28]
mov ecx, dword [0x8b8f24]
mov edx, dword [ecx]
lea ecx, [esp + 0x158]
push ecx
lea ecx, [esp + 0x1c]
push ecx
push eax
mov eax, dword [0x8b8f24]
push eax
call dword [edx + 4]
fld dword [esp + 0x28]
fcomp qword [esp + 0x68]
add esp, 0x10
fnstsw ax
test ah, 5
jp 0x54e68f
fld dword [esp + 0x18]
fstp qword [esp + 0x58]
fld dword [esp + 0x18]
fcomp qword [esp + 0x48]
fnstsw ax
test ah, 0x41
jne 0x54e6a6
fld dword [esp + 0x18]
fstp qword [esp + 0x48]
fld dword [esp + 0x1c]
fcomp qword [esp + 0x40]
fnstsw ax
test ah, 5
jp 0x54e6bd
fld dword [esp + 0x1c]
fstp qword [esp + 0x40]
fld dword [esp + 0x1c]
fcomp qword [esp + 0x68]
fnstsw ax
test ah, 0x41
jne 0x54e6d4
fld dword [esp + 0x1c]
fstp qword [esp + 0x68]
fld dword [esp + 0x20]
fcomp qword [esp + 0x30]
fnstsw ax
test ah, 5
jp 0x54e6eb
fld dword [esp + 0x20]
fstp qword [esp + 0x30]
fld dword [esp + 0x20]
fcomp qword [esp + 0x38]
fnstsw ax
test ah, 0x41
jne 0x54e702
fld dword [esp + 0x20]
fstp qword [esp + 0x38]
mov edx, dword [esp + 0x28]
mov eax, dword [esi + 0x11c]
mov ecx, dword [eax + edi + 8]
inc ebx
add edx, 0x30
add ebp, 0x40
cmp ebx, ecx
mov dword [esp + 0x28], edx
jl 0x54e641
mov eax, dword [esp + 0x10]
mov ecx, dword [esi + 0x118]
inc eax
add edi, 0x40
cmp eax, ecx
mov dword [esp + 0x10], eax
jl 0x54e627
fld qword [esp + 0x48]
mov eax, dword [0x8b8f24]
fst dword [esp + 0x50]
lea edx, [esp + 0x70]
fstp dword [esp + 0x18]
push edx
fld qword [esp + 0x44]
lea edx, [esi + 0x1c]
fst dword [esp + 0x2c]
push edx
fstp dword [esp + 0x24]
lea edx, [esp + 0x20]
fld qword [esp + 0x38]
push edx
fst dword [esp + 0x1c]
push eax
fstp dword [esp + 0x30]
mov ecx, dword [eax]
call dword [ecx + 4]
fld qword [esp + 0x48]
mov ecx, dword [esp + 0x38]
fst dword [esp + 0x48]
mov eax, dword [esp + 0x60]
fstp dword [esp + 0x30]
mov dword [esp + 0x2c], ecx
lea ecx, [esp + 0x80]
push ecx
lea ecx, [esi + 0x28]
push ecx
mov dword [esp + 0x30], eax
mov eax, dword [0x8b8f24]
mov edx, dword [eax]
lea ecx, [esp + 0x30]
push ecx
push eax
call dword [edx + 4]
fld qword [esp + 0x78]
mov edx, dword [esp + 0x48]
fst dword [esp + 0x50]
mov eax, dword [esp + 0x58]
fstp dword [esp + 0x38]
mov dword [esp + 0x3c], edx
lea edx, [esp + 0x90]
push edx
lea edx, [esi + 0x34]
push edx
mov dword [esp + 0x48], eax
mov eax, dword [0x8b8f24]
mov ecx, dword [eax]
lea edx, [esp + 0x40]
push edx
push eax
call dword [ecx + 4]
mov edx, dword [esp + 0x40]
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x58]
mov dword [esp + 0x50], edx
lea edx, [esp + 0xa0]
push edx
lea edx, [esi + 0x40]
push edx
mov dword [esp + 0x50], eax
mov eax, dword [0x8b8f24]
lea edx, [esp + 0x50]
push edx
mov dword [esp + 0x58], ecx
mov ecx, dword [eax]
push eax
call dword [ecx + 4]
fld qword [esp + 0xa8]
mov eax, dword [esp + 0x90]
fst dword [esp + 0x68]
mov ecx, dword [esp + 0x50]
fstp dword [esp + 0x5c]
mov dword [esp + 0x58], eax
mov eax, dword [0x8b8f24]
mov dword [esp + 0x60], ecx
mov edx, dword [eax]
add esp, 0x40
lea ecx, [esp + 0x70]
push ecx
lea ecx, [esi + 0x4c]
push ecx
lea ecx, [esp + 0x20]
push ecx
push eax
call dword [edx + 4]
mov ecx, dword [esp + 0x48]
mov eax, dword [esp + 0x38]
mov edx, dword [esp + 0x60]
mov dword [esp + 0x30], ecx
lea ecx, [esp + 0x80]
push ecx
lea ecx, [esi + 0x58]
push ecx
mov dword [esp + 0x34], eax
mov eax, dword [0x8b8f24]
lea ecx, [esp + 0x30]
push ecx
mov dword [esp + 0x34], edx
mov edx, dword [eax]
push eax
call dword [edx + 4]
mov ecx, dword [esp + 0x58]
mov eax, dword [esp + 0x48]
mov edx, dword [esp + 0x50]
mov dword [esp + 0x40], ecx
lea ecx, [esp + 0x90]
push ecx
lea ecx, [esi + 0x64]
push ecx
mov dword [esp + 0x44], eax
mov eax, dword [0x8b8f24]
lea ecx, [esp + 0x40]
push ecx
mov dword [esp + 0x44], edx
mov edx, dword [eax]
push eax
call dword [edx + 4]
mov ecx, dword [esp + 0x40]
mov eax, dword [esp + 0x58]
mov edx, dword [esp + 0x60]
mov dword [esp + 0x50], ecx
lea ecx, [esp + 0xa0]
push ecx
lea ecx, [esi + 0x70]
push ecx
mov dword [esp + 0x54], eax
mov eax, dword [0x8b8f24]
lea ecx, [esp + 0x50]
push ecx
mov dword [esp + 0x54], edx
mov edx, dword [eax]
push eax
call dword [edx + 4]
mov eax, dword [esi + 0x118]
add esp, 0x40
test eax, eax
jle 0x54e994
mov ebp, dword [esi + 0x11c]
add ebp, 8
mov dword [esp + 0x10], eax
mov edi, dword [ebp]
test edi, edi
jle 0x54e986
mov eax, dword [ebp + 4]
mov ebx, dword [esi + 0x14]
and ebx, 0x800000
mov edx, eax
mov ecx, eax
lea ecx, [ecx]
test ebx, ebx
mov eax, ecx
jne 0x54e938
mov eax, edx
fld dword [esi + 0xdc]
fsub dword [eax]
fld dword [esi + 0xe0]
fsub dword [eax + 4]
fld dword [esi + 0xe4]
fsub dword [eax + 8]
fld st(0)
fmul st(1)
fld st(2)
fmul st(3)
faddp st(1)
fld st(3)
fmul st(4)
faddp st(1)
fstp st(3)
fstp st(0)
fstp st(0)
fld qword [esp + 0x60]
fcomp st(1)
fnstsw ax
test ah, 0x41
je 0x54e97b
fstp qword [esp + 0x60]
jmp 0x54e97d
fstp st(0)
add ecx, 0x40
add edx, 0x30
dec edi
jne 0x54e930
mov eax, dword [esp + 0x10]
add ebp, 0x40
dec eax
mov dword [esp + 0x10], eax
jne 0x54e916
fld qword [esp + 0x60]
pop edi
fsqrt
fstp dword [esi + 0x18]
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret