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

Disassembly:
sub esp, 0xd0
push ebp
push esi
push edi
mov edi, dword [esp + 0xe8]
mov esi, ecx
mov ecx, edi
call fcn.00537a60
mov ebp, eax
mov dword [esp + 0x68], ebp
test ebp, ebp
jne 0x545791
pop edi
pop esi
xor al, al
pop ebp
add esp, 0xd0
ret 0x1c
mov edx, dword [esi + 0xb90]
push ebx
mov ebx, dword [esp + 0xe4]
lea eax, [ebx + 0x128]
push eax
lea ecx, [ebx + 0xc0]
push ecx
push edx
mov ecx, edi
call fcn.00537df0
fld dword [esi + 0xa08]
mov eax, dword [esp + 0xf0]
fmul qword [0x68d1c8]
imul eax, eax, 0x6400
mov dword [esp + 0x18], eax
fild dword [esp + 0x18]
test eax, eax
jge 0x5457e0
fadd dword [0x68a3b0]
mov ecx, dword [esp + 0xf4]
fsubr st(1)
imul ecx, ecx, 0x6400
fstp dword [esp + 0x74]
mov dword [esp + 0x18], ecx
fild dword [esp + 0x18]
test ecx, ecx
jge 0x545805
fadd dword [0x68a3b0]
cmp byte [esp + 0xf8], 0
faddp st(1)
mov ecx, 0x10
lea edi, [esp + 0xa0]
fstp dword [esp + 0x70]
fld dword [ebx + 0x17c]
fstp dword [esp + 0x78]
fld dword [ebx + 0x180]
fstp dword [esp + 0x80]
fld dword [esi + 0x8c8]
fstp dword [esp + 0x8c]
fld dword [esi + 0x8dc]
fstp dword [esp + 0x68]
fld dword [esi + 0x8f8]
fstp dword [esp + 0x84]
fld dword [esi + 0x8fc]
fstp dword [esp + 0x88]
fld dword [esi + 0xa08]
fld qword [0x68ccf8]
fmul st(1), st(0)
fxch st(1)
fstp dword [esp + 0x7c]
fld dword [esi + 0xa08]
lea esi, [ebx + 0x40]
fchs
rep movsd dword es:[edi], dword [esi]
fmulp st(1)
fstp dword [esp + 0x90]
je 0x545a58
fld dword [ebx + 0x190]
mov edx, dword [esp + 0xe8]
fstp dword [esp + 0x20]
mov dword [esp + 0x24], edx
fld dword [ebx + 0x194]
mov dword [esp + 0x14], 0x121
fstp dword [esp + 0x18]
mov edi, edi
lea eax, [esp + 0xa0]
push eax
push ebp
lea ecx, [esp + 0x30]
push ecx
call fcn.005db7c4
fld dword [ebp]
fadd dword [esp + 0x74]
mov ecx, dword [ebp + 0x18]
fstp dword [esp + 0x1c]
fld dword [esp + 0x70]
fadd dword [ebp + 4]
fstp dword [esp + 0x10]
fld dword [esp + 0x34]
fld1
fld st(0)
fdivrp st(2)
fxch st(1)
fstp dword [esp + 0x34]
fld dword [esp + 0x28]
fld dword [esp + 0x34]
fld st(0)
fmulp st(2)
fxch st(1)
fstp dword [esp + 0x28]
fld dword [esp + 0x2c]
fmul st(1)
fstp dword [esp + 0x2c]
fmul dword [esp + 0x30]
fstp dword [esp + 0x30]
fld dword [esp + 0x28]
fadd st(1)
fmul dword [esp + 0x78]
fstp dword [esp + 0x28]
fsubr dword [esp + 0x2c]
fmul dword [esp + 0x80]
fstp dword [esp + 0x2c]
fld dword [ebp]
fmul qword [0x68d1c0]
fstp dword [esp + 0x40]
fld dword [ebp + 4]
fmul qword [0x68d1b8]
fstp dword [esp + 0x44]
fld dword [esp + 0x1c]
fld st(0)
fmul dword [esp + 0x8c]
fadd dword [esp + 0x84]
fstp dword [esp + 0x48]
fld dword [esp + 0x10]
fld st(0)
fmul dword [esp + 0x68]
fadd dword [esp + 0x88]
fstp dword [esp + 0x4c]
fld dword [esp + 0x7c]
fmulp st(2)
fxch st(1)
fstp dword [esp + 0x50]
fmul dword [esp + 0x90]
fstp dword [esp + 0x54]
fldz
fst dword [esp + 0x58]
fst dword [esp + 0x5c]
fld dword [esp + 0x20]
fsub dword [esp + 0x30]
fmul dword [esp + 0x18]
fstp dword [esp + 0x10]
fld dword [esp + 0x10]
fcom st(1)
fnstsw ax
fstp st(1)
test ah, 5
jp 0x5459d6
and ecx, 0xffffff
fstp st(0)
mov dword [esp + 0x38], ecx
mov dword [esp + 0x3c], ecx
jmp 0x545a31
fld1
fcomp st(1)
fnstsw ax
test ah, 5
jp 0x5459f3
or ecx, 0xff000000
fstp st(0)
mov dword [esp + 0x38], ecx
mov dword [esp + 0x3c], ecx
jmp 0x545a31
fmul qword [0x676650]
and ecx, 0xffffff
fnstcw word [esp + 0x1c]
movzx eax, word [esp + 0x1c]
or eax, 0xc00
mov dword [esp + 0x10], eax
fldcw word [esp + 0x10]
fistp dword [esp + 0x10]
mov dl, byte [esp + 0x10]
movzx eax, dl
shl eax, 0x18
fldcw word [esp + 0x1c]
or eax, ecx
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
mov edi, dword [esp + 0x24]
add dword [esp + 0x24], 0x38
mov ecx, 0xe
lea esi, [esp + 0x28]
add ebp, 0x1c
sub dword [esp + 0x14], 1
rep movsd dword es:[edi], dword [esi]
jne 0x5458c0
jmp 0x545b85
mov ebp, dword [esp + 0xe8]
mov ebx, dword [esp + 0x6c]
mov dword [esp + 0x14], 0x121
jmp 0x545a70
lea eax, [esp + 0xa0]
push eax
push ebx
lea ecx, [esp + 0x30]
push ecx
call fcn.005db7c4
fld dword [ebx]
fadd dword [esp + 0x74]
mov edx, dword [ebx + 0x18]
mov edi, ebp
mov ecx, 0xe
fstp dword [esp + 0x18]
lea esi, [esp + 0x28]
fld dword [ebx + 4]
add ebx, 0x1c
fadd dword [esp + 0x70]
add ebp, 0x38
sub dword [esp + 0x14], 1
mov dword [esp + 0x38], edx
fstp dword [esp + 0x20]
mov dword [esp + 0x3c], 0xffffffff
fld dword [esp + 0x34]
fld1
fld st(0)
fdivrp st(2)
fxch st(1)
fstp dword [esp + 0x34]
fld dword [esp + 0x28]
fld dword [esp + 0x34]
fld st(0)
fmulp st(2)
fxch st(1)
fstp dword [esp + 0x28]
fld dword [esp + 0x2c]
fmul st(1)
fstp dword [esp + 0x2c]
fmul dword [esp + 0x30]
fstp dword [esp + 0x30]
fld dword [esp + 0x28]
fadd st(1)
fmul dword [esp + 0x78]
fstp dword [esp + 0x28]
fsubr dword [esp + 0x2c]
fmul dword [esp + 0x80]
fstp dword [esp + 0x2c]
fld dword [ebx - 0x1c]
fmul qword [0x68d1c0]
fstp dword [esp + 0x40]
fld dword [ebx - 0x18]
fmul qword [0x68d1b8]
fstp dword [esp + 0x44]
fld dword [esp + 0x18]
fld st(0)
fmul dword [esp + 0x8c]
fadd dword [esp + 0x84]
fstp dword [esp + 0x48]
fld dword [esp + 0x20]
fld st(0)
fmul dword [esp + 0x68]
fadd dword [esp + 0x88]
fstp dword [esp + 0x4c]
fld dword [esp + 0x7c]
fmulp st(2)
fxch st(1)
fstp dword [esp + 0x50]
fmul dword [esp + 0x90]
fstp dword [esp + 0x54]
fldz
fst dword [esp + 0x58]
fstp dword [esp + 0x5c]
rep movsd dword es:[edi], dword [esi]
jne 0x545a70
mov ebx, dword [esp + 0xe4]
cmp byte [esp + 0xfc], 0
je 0x545be5
lea esi, [ebx + 0x80]
mov ecx, 0x10
lea edi, [esp + 0x28]
rep movsd dword es:[edi], dword [esi]
mov esi, dword [esp + 0xe8]
mov edi, dword [esp + 0x6c]
add esi, 0x34
mov ebx, 0x121
lea eax, [esp + 0x28]
push eax
push edi
lea ecx, [esp + 0x9c]
push ecx
call fcn.005db862
fld dword [esp + 0x94]
fstp dword [esi - 4]
add edi, 0x1c
fld dword [esp + 0x98]
add esi, 0x38
sub ebx, 1
fstp dword [esi - 0x38]
jne 0x545bb3
pop ebx
pop edi
pop esi
mov al, 1
pop ebp
add esp, 0xd0
ret 0x1c