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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x3c
mov eax, dword [ebp + 0x10]
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov ebx, ecx
mov ecx, dword [ebp + 0xc]
push eax
push ecx
push esi
mov ecx, ebx
call fcn.0053f930
lea edi, [ebx + 0x28]
mov ecx, 8
rep movsd dword es:[edi], dword [esi]
mov edx, dword [ebx + 0x34]
push edx
lea ecx, [ebx + 0x48]
call fcn.00524b90
mov eax, dword [ebx + 0x38]
push eax
lea ecx, [ebx + 0x78]
call fcn.00524b90
xor edi, edi
push edi
lea esi, [ebx + 0xa8]
push 0x20
mov ecx, esi
call fcn.0043e230
push 2
mov ecx, esi
mov dword [ebx + 0x204], edi
call fcn.0043e2a0
push 0x50
push 0x1f0
mov ecx, esi
call fcn.0043e2c0
fld dword [0x56e660]
push edi
fst dword [esi + 0xc]
lea ecx, [ebx + 0x220]
fstp dword [esi + 0x10]
push ecx
push 0x3c
mov ecx, 0x648290
mov dword [ebx + 0x2b4], edi
mov dword [ebx + 0x2b8], edi
call fcn.00425560
push edi
lea edx, [ebx + 0x240]
push edx
push 0x3d
mov ecx, 0x648290
call fcn.00425560
push edi
lea eax, [ebx + 0x260]
push eax
push 0x3e
mov ecx, 0x648290
call fcn.00425560
push edi
lea ecx, [ebx + 0x280]
push ecx
push 0x4c
mov ecx, 0x648290
call fcn.00425560
fld dword [0x56e634]
mov edx, dword [ebx + 0x3c]
fstp dword [ebx + 0x2a4]
fld dword [0x56e630]
mov eax, dword [ebx + 0x40]
mov ecx, dword [ebx + 0x44]
fstp dword [ebx + 0x2a8]
fld1
mov dword [esp + 0x3c], edx
fst dword [ebx + 0x2ac]
mov dword [esp + 0x40], eax
fstp dword [ebx + 0x2b0]
mov dword [esp + 0x44], ecx
mov esi, dword [0x66d724]
fld dword [esp + 0x3c]
fld st(0)
fld qword [0x56a040]
fsub st(1), st(0)
fxch st(1)
fstp dword [esp + 0x14]
fld dword [esp + 0x14]
fstp dword [esp + 0x10]
fld st(1)
fadd st(1)
fst qword [esp + 0x28]
fld st(0)
fld qword [0x567d80]
fsub st(1), st(0)
fxch st(1)
fst qword [esp + 0x20]
fld dword [esp + 0x10]
fcom st(1)
fnstsw ax
fstp st(1)
test ah, 0x41
fld dword [esp + 0x44]
jp 0x5402be
fstp st(5)
fstp st(2)
fld st(3)
fsub st(3)
fstp dword [esp + 0x18]
fxch st(3)
faddp st(2)
fxch st(1)
fsubrp st(2)
fxch st(1)
fstp dword [esp + 0x1c]
jmp 0x540214
fstp st(1)
push 2
fstp dword [esp + 0x34]
fld dword [esp + 0x1c]
lea edx, [esp + 0x34]
push edx
fstp dword [esp + 0x40]
push edi
mov ecx, esi
call fcn.0052c770
fld dword [esp + 0x1c]
push 2
fstp dword [esp + 0x3c]
lea eax, [esp + 0x34]
push eax
push edi
mov ecx, esi
call fcn.0052c770
fld dword [esp + 0x10]
fld qword [0x567d80]
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 0x540212
fstp st(0)
fld dword [esp + 0x44]
fld dword [esp + 0x3c]
fld qword [0x56a040]
fld qword [esp + 0x28]
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)
fst qword [esp + 0x20]
fld st(0)
faddp st(5)
fxch st(4)
fsub st(2)
fst qword [esp + 0x28]
fld dword [esp + 0x10]
fcom st(1)
fnstsw ax
fstp st(1)
test ah, 0x41
jp 0x54038c
fstp st(5)
fstp st(3)
fstp st(2)
fsubrp st(1)
fstp dword [esp + 0x1c]
jmp 0x5402c4
fstp st(1)
jmp 0x540283
fstp st(1)
fld dword [esp + 0x14]
push 2
lea ecx, [esp + 0x34]
fstp dword [esp + 0x34]
push ecx
push edi
fstp dword [esp + 0x44]
mov ecx, esi
call fcn.0052c770
fld dword [esp + 0x1c]
push 2
fstp dword [esp + 0x34]
fld dword [esp + 0x14]
lea edx, [esp + 0x34]
push edx
fstp dword [esp + 0x40]
push edi
mov ecx, esi
call fcn.0052c770
fld dword [esp + 0x10]
fld qword [0x567d80]
fadd st(1), st(0)
fxch st(1)
fstp dword [esp + 0x10]
fld dword [esp + 0x10]
fcom qword [esp + 0x28]
fnstsw ax
test ah, 0x41
jnp 0x5402c2
fstp st(0)
fld dword [esp + 0x44]
fld dword [esp + 0x3c]
fld qword [esp + 0x20]
fxch st(1)
fxch st(3)
fxch st(1)
fxch st(2)
fxch st(1)
fld st(3)
fld qword [0x572e28]
fsub st(1), st(0)
fxch st(1)
fstp dword [esp + 0x14]
fld dword [esp + 0x14]
fstp dword [esp + 0x10]
fadd st(4), st(0)
fxch st(4)
fst qword [esp + 0x20]
fld st(0)
fsub st(2)
fst qword [esp + 0x28]
fld dword [esp + 0x10]
fcom st(1)
fnstsw ax
fstp st(1)
test ah, 0x41
jp 0x5403f9
fstp st(3)
fstp st(0)
fld st(2)
fsub st(4)
fstp dword [esp + 0x1c]
fxch st(2)
faddp st(3)
fxch st(2)
fsubrp st(1)
fstp dword [esp + 0x18]
jmp 0x540394
fstp st(0)
fstp st(2)
jmp 0x540337
fstp st(1)
push 2
fstp dword [esp + 0x34]
fld dword [esp + 0x20]
lea eax, [esp + 0x34]
push eax
fstp dword [esp + 0x40]
push edi
mov ecx, esi
call fcn.0052c770
fld dword [esp + 0x18]
push 2
fstp dword [esp + 0x3c]
lea ecx, [esp + 0x34]
push ecx
push edi
mov ecx, esi
call fcn.0052c770
fld dword [esp + 0x10]
fld qword [0x567d80]
fadd st(1), st(0)
fxch st(1)
fstp dword [esp + 0x10]
fld dword [esp + 0x10]
fcom qword [esp + 0x28]
fnstsw ax
test ah, 0x41
jnp 0x540392
fstp st(0)
fld dword [esp + 0x44]
fld qword [0x572e28]
fld qword [esp + 0x20]
jmp 0x540403
fstp st(0)
fstp st(3)
fxch st(3)
fxch st(1)
fxch st(2)
fld st(2)
fsub st(2)
fstp dword [esp + 0x10]
fxch st(2)
faddp st(1)
fsub st(2)
fst qword [esp + 0x28]
fld dword [esp + 0x10]
fcom st(1)
fnstsw ax
fstp st(1)
test ah, 0x41
jp 0x540487
fxch st(1)
fsubrp st(2)
fxch st(1)
fstp dword [esp + 0x1c]
fld dword [esp + 0x14]
push 2
lea edx, [esp + 0x34]
fstp dword [esp + 0x34]
push edx
push edi
fstp dword [esp + 0x44]
mov ecx, esi
call fcn.0052c770
fld dword [esp + 0x1c]
push 2
fstp dword [esp + 0x34]
fld dword [esp + 0x14]
lea eax, [esp + 0x34]
push eax
fstp dword [esp + 0x40]
push edi
mov ecx, esi
call fcn.0052c770
fld dword [esp + 0x10]
fadd qword [0x567d80]
fstp dword [esp + 0x10]
fld dword [esp + 0x10]
fcom qword [esp + 0x28]
fnstsw ax
test ah, 0x41
jnp 0x54042e
jmp 0x54048b
fstp st(2)
fstp st(1)
mov ecx, dword [ebx + 0x34]
fstp st(0)
push ecx
mov ecx, 0x648a58
call fcn.0048b300
mov edx, dword [ebx + 0x38]
push edx
mov ecx, 0x648a58
mov esi, eax
call fcn.0048b300
cmp esi, edi
mov ebx, eax
je 0x5404ca
mov ecx, esi
call fcn.00488c70
cmp al, 0x15
jne 0x5404ca
push edi
push 0x15
push esi
mov ecx, 0x62dbc8
call fcn.004b7210
cmp ebx, edi
je 0x5404e7
mov ecx, ebx
call fcn.00488c70
cmp al, 0x15
jne 0x5404e7
push edi
push 0x15
push ebx
mov ecx, 0x62dbc8
call fcn.004b7210
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc