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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x44
mov eax, dword [0x6a0060]
xor eax, esp
mov dword [esp + 0x40], eax
mov eax, dword [ebp + 0xc]
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov ebx, ecx
mov ecx, dword [ebp + 0x10]
push ecx
push eax
push esi
mov ecx, ebx
call fcn.0054e490
lea edi, [ebx + 0x28]
mov ecx, 8
rep movsd dword es:[edi], dword [esi]
mov eax, dword [ebx + 0x34]
push eax
lea ecx, [ebx + 0x48]
call fcn.005503d0
mov ecx, dword [ebx + 0x38]
push ecx
lea ecx, [ebx + 0x78]
call fcn.005503d0
xor edi, edi
push edi
push 0x20
lea ecx, [ebx + 0xa8]
call fcn.00446dc0
push 2
lea ecx, [ebx + 0xa8]
mov dword [ebx + 0x204], edi
call fcn.00446e30
push 0x50
push 0x1f0
lea ecx, [ebx + 0xa8]
call fcn.00446e50
fld dword [0x590668]
push edi
fst dword [ebx + 0xb4]
lea edx, [ebx + 0x220]
fstp dword [ebx + 0xb8]
push edx
push 0x3c
mov ecx, 0x6af700
mov dword [ebx + 0x2b4], edi
mov dword [ebx + 0x2b8], edi
call fcn.004318f0
push edi
lea eax, [ebx + 0x240]
push eax
push 0x3d
mov ecx, 0x6af700
call fcn.004318f0
push edi
lea ecx, [ebx + 0x260]
push ecx
push 0x3e
mov ecx, 0x6af700
call fcn.004318f0
push edi
lea edx, [ebx + 0x280]
push edx
push 0x4c
mov ecx, 0x6af700
call fcn.004318f0
fld dword [0x590638]
mov eax, dword [ebx + 0x3c]
fstp dword [ebx + 0x2a4]
fld dword [0x590634]
mov ecx, dword [ebx + 0x40]
mov edx, dword [ebx + 0x44]
fstp dword [ebx + 0x2a8]
fld1
mov dword [esp + 0x2c], eax
fst dword [ebx + 0x2ac]
mov dword [esp + 0x30], ecx
fstp dword [ebx + 0x2b0]
mov dword [esp + 0x34], edx
fld dword [esp + 0x2c]
mov esi, dword [0x6dd2fc]
fld st(0)
fld qword [0x58b368]
fsub st(1), st(0)
fxch st(1)
fstp dword [esp + 0x18]
fld dword [esp + 0x18]
fstp dword [esp + 0x10]
fld st(1)
fadd st(1)
fst qword [esp + 0x20]
fld st(0)
fld qword [0x5879f8]
fsub st(1), st(0)
fxch st(1)
fst qword [esp + 0x38]
fld dword [esp + 0x10]
fcom st(1)
fnstsw ax
fstp st(1)
fld dword [esp + 0x34]
test ah, 0x41
jp 0x54f834
fstp st(5)
fstp st(2)
fld st(3)
fsub st(3)
fstp dword [esp + 0x1c]
fxch st(3)
faddp st(2)
fxch st(1)
fsubrp st(2)
fxch st(1)
fstp dword [esp + 0x14]
jmp 0x54f792
fstp st(1)
push 2
fstp dword [esp + 0x44]
fld dword [esp + 0x20]
lea eax, [esp + 0x44]
push eax
fstp dword [esp + 0x50]
push edi
mov ecx, esi
call fcn.0053bb50
fld dword [esp + 0x14]
push 2
fstp dword [esp + 0x4c]
lea ecx, [esp + 0x44]
push ecx
push edi
mov ecx, esi
call fcn.0053bb50
fld dword [esp + 0x10]
fld qword [0x5879f8]
fadd st(1), st(0)
fxch st(1)
fstp dword [esp + 0x10]
fld dword [esp + 0x10]
fcom qword [esp + 0x38]
fnstsw ax
test ah, 0x41
jnp 0x54f790
fstp st(0)
fld dword [esp + 0x34]
fld dword [esp + 0x2c]
fld qword [0x58b368]
fld qword [esp + 0x20]
fxch st(2)
fxch st(4)
fxch st(1)
fxch st(3)
fld st(0)
fsub st(4)
fstp dword [esp + 0x10]
fld st(0)
faddp st(4)
fxch st(3)
fsub st(1)
fst qword [esp + 0x20]
fld dword [esp + 0x10]
fcom st(1)
fnstsw ax
fstp st(1)
test ah, 0x41
jp 0x54f8f4
fstp st(4)
fstp st(2)
fsubrp st(1)
fstp dword [esp + 0x14]
jmp 0x54f83a
fstp st(1)
jmp 0x54f801
fstp st(1)
fld dword [esp + 0x18]
push 2
lea edx, [esp + 0x44]
fstp dword [esp + 0x44]
push edx
push edi
fstp dword [esp + 0x54]
mov ecx, esi
call fcn.0053bb50
fld dword [esp + 0x14]
push 2
fstp dword [esp + 0x44]
fld dword [esp + 0x14]
lea eax, [esp + 0x44]
push eax
fstp dword [esp + 0x50]
push edi
mov ecx, esi
call fcn.0053bb50
fld dword [esp + 0x10]
fld qword [0x5879f8]
fadd st(1), st(0)
fxch st(1)
fstp dword [esp + 0x10]
fld dword [esp + 0x10]
fcom qword [esp + 0x20]
fnstsw ax
test ah, 0x41
jnp 0x54f838
fstp st(0)
fld dword [esp + 0x34]
fld dword [esp + 0x2c]
fxch st(2)
fld st(2)
fld qword [0x596658]
fsub st(1), st(0)
fxch st(1)
fstp dword [esp + 0x18]
fld dword [esp + 0x18]
fstp dword [esp + 0x10]
fadd st(3), st(0)
fxch st(3)
fst qword [esp + 0x38]
fld st(0)
fsub st(2)
fst qword [esp + 0x20]
fld dword [esp + 0x10]
fcom st(1)
fnstsw ax
fstp st(1)
test ah, 0x41
jp 0x54f9f1
fstp st(1)
fld st(2)
fsub st(4)
fstp dword [esp + 0x14]
fxch st(2)
faddp st(3)
fsubp st(2)
fxch st(1)
fstp dword [esp + 0x1c]
jmp 0x54f902
fstp st(0)
fstp st(1)
jmp 0x54f8a1
fstp st(1)
push 2
fstp dword [esp + 0x44]
fld dword [esp + 0x18]
lea ecx, [esp + 0x44]
push ecx
fstp dword [esp + 0x50]
push edi
mov ecx, esi
call fcn.0053bb50
fld dword [esp + 0x1c]
push 2
fstp dword [esp + 0x4c]
lea edx, [esp + 0x44]
push edx
push edi
mov ecx, esi
call fcn.0053bb50
fld dword [esp + 0x10]
fld qword [0x5879f8]
fadd st(1), st(0)
fxch st(1)
fstp dword [esp + 0x10]
fld dword [esp + 0x10]
fcom qword [esp + 0x20]
fnstsw ax
test ah, 0x41
jnp 0x54f900
fstp st(0)
fld dword [esp + 0x34]
fld qword [0x596658]
fld qword [esp + 0x38]
fxch st(1)
fxch st(3)
fxch st(1)
fld st(2)
fsub st(4)
fstp dword [esp + 0x10]
fxch st(2)
faddp st(3)
fsub st(2), st(0)
fxch st(2)
fst qword [esp + 0x20]
fld dword [esp + 0x10]
fcom st(1)
fnstsw ax
fstp st(1)
test ah, 0x41
jp 0x54f9f8
fxch st(1)
fsubrp st(2)
fxch st(1)
fstp dword [esp + 0x14]
fld dword [esp + 0x18]
push 2
lea eax, [esp + 0x44]
fstp dword [esp + 0x44]
push eax
push edi
fstp dword [esp + 0x54]
mov ecx, esi
call fcn.0053bb50
fld dword [esp + 0x14]
push 2
fstp dword [esp + 0x44]
fld dword [esp + 0x14]
lea ecx, [esp + 0x44]
push ecx
fstp dword [esp + 0x50]
push edi
mov ecx, esi
call fcn.0053bb50
fld dword [esp + 0x10]
fadd qword [0x5879f8]
fstp dword [esp + 0x10]
fld dword [esp + 0x10]
fcom qword [esp + 0x20]
fnstsw ax
test ah, 0x41
jnp 0x54f998
jmp 0x54f9fc
fstp st(0)
jmp 0x54f96b
fstp st(2)
fstp st(1)
mov edx, dword [ebx + 0x34]
fstp st(0)
push edx
mov ecx, 0x6b0178
call fcn.00494910
mov esi, eax
mov eax, dword [ebx + 0x38]
push eax
mov ecx, 0x6b0178
call fcn.00494910
mov ebx, eax
cmp esi, edi
je 0x54fa3b
mov ecx, esi
call fcn.00492cf0
cmp al, 0x15
jne 0x54fa3b
push edi
push 0x15
push esi
mov ecx, 0x6b200c
call fcn.004c29f0
cmp ebx, edi
je 0x54fa58
mov ecx, ebx
call fcn.00492cf0
cmp al, 0x15
jne 0x54fa58
push edi
push 0x15
push ebx
mov ecx, 0x6b200c
call fcn.004c29f0
mov ecx, dword [esp + 0x4c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00564fc9
mov esp, ebp
pop ebp
ret 0xc