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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4d53ac
mov eax, dword fs:[0]
push eax
sub esp, 0x40
push ebx
push esi
push edi
mov eax, dword [0x5920a4]
xor eax, esp
push eax
lea eax, [esp + 0x50]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [edi + 0x34]
mov edx, dword [ebp + 8]
add eax, 0x1ec
fld dword [eax]
push edx
fsub dword [edx + 8]
fstp dword [eax]
mov ecx, dword [edi + 0x34]
mov eax, dword [ecx]
call dword [eax + 0x5c]
mov eax, dword [edi + 0x34]
mov eax, dword [eax + 0x78]
call fcn.004916a0
cmp byte [edi + 0x30], 0
mov esi, eax
jne 0x54358e
test esi, esi
je 0x5435b6
fldz
mov ecx, dword [edi + 0x34]
fcom dword [ecx + 0x1ec]
fnstsw ax
test ah, 1
jne 0x543300
mov eax, dword [ecx + 0x124]
fstp st(0)
push dword [eax + 0x4a0]
lea ecx, [eax + 0x458]
mov edx, dword [ecx]
call dword [edx + 0x1c]
jmp 0x5435e9
fcomp dword [ecx + 0x1ec]
fnstsw ax
test ah, 5
jp 0x5433d7
add ecx, 0xfc
lea eax, [esp + 0x24]
call fcn.0049f1a0
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], eax
mov ecx, dword [edi + 0x34]
add ecx, 0xfc
lea eax, [esp + 0x24]
call fcn.004025e0
push eax
lea eax, [esp + 0x20]
push eax
call fcn.0050bb3d
test al, al
je 0x5433d7
lea esi, [esp + 0x1c]
call fcn.0049eca0
push dword [eax]
mov eax, dword [edi + 0x34]
push dword [eax + 0x78]
call fcn.00515df2
test al, al
je 0x5433c9
mov eax, dword [edi + 0x34]
mov eax, dword [eax + 0x78]
call fcn.004916a0
fldz
mov esi, eax
test esi, esi
mov eax, dword [edi + 0x34]
fst dword [eax + 0x1ec]
je 0x5433ad
push ecx
push ecx
fst dword [esp + 4]
lea eax, [esp + 0x1c]
fstp dword [esp]
call fcn.004677c0
mov ecx, dword [eax]
mov dword [esi + 0x1f4], ecx
mov eax, dword [eax + 4]
mov dword [esi + 0x1f8], eax
jmp 0x5433af
fstp st(0)
mov eax, dword [edi + 0x34]
mov eax, dword [eax + 0x124]
push dword [eax + 0x4a0]
lea ecx, [eax + 0x458]
mov edx, dword [ecx]
call dword [edx + 0x1c]
lea esi, [esp + 0x1c]
call fcn.00494200
jmp 0x54332d
lea eax, [esp + 0x3c]
call fcn.0049f7b0
mov dword [esp + 0x58], 2
mov eax, dword [edi + 0x34]
add eax, 0x54
push eax
call fcn.005378ce
mov ebx, eax
test ebx, ebx
je 0x54340c
mov eax, dword [edi + 0x34]
push ebx
push eax
lea ecx, [esp + 0x44]
push ecx
push dword [eax + 0x78]
call fcn.0052c60a
lea eax, [esp + 0x24]
lea ecx, [esp + 0x3c]
call fcn.0049f1a0
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], eax
lea eax, [esp + 0x2c]
lea ecx, [esp + 0x3c]
call fcn.004025e0
push eax
lea eax, [esp + 0x20]
push eax
call fcn.0050bb3d
test al, al
je 0x5434d6
lea esi, [esp + 0x1c]
call fcn.0049eca0
mov esi, dword [eax]
mov eax, dword [edi + 0x34]
lea ecx, [eax + 0xf0]
mov eax, dword [ecx]
lea edx, [esp + 0x34]
push edx
call dword [eax + 0x28]
mov edx, dword [esi]
mov ecx, esi
mov dword [esp + 0x10], eax
call dword [edx + 0x2c]
push eax
mov eax, dword [esp + 0x14]
mov ecx, eax
lea eax, [esp + 0x28]
call fcn.0043d050
mov eax, dword [esp + 0x24]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x28]
mov dword [esp + 0x18], eax
lea eax, [esp + 0x14]
call fcn.004345f0
fld dword [0x566d40]
push ecx
lea eax, [esp + 0x18]
fstp dword [esp]
call fcn.0043c1a0
lea esi, [esp + 0x1c]
call fcn.0049eca0
fld dword [esp + 0x18]
mov ecx, dword [eax]
mov eax, dword [ecx]
push ecx
push ecx
fstp dword [esp + 4]
fld dword [esp + 0x1c]
fstp dword [esp]
call dword [eax + pe_nt_image_headers32]
call fcn.00494200
jmp 0x543426
mov eax, dword [edi + 0x34]
mov eax, dword [eax + 0x78]
call fcn.004916a0
mov esi, eax
test esi, esi
je 0x54355e
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x78]
mov edx, dword [eax]
push ebx
mov ecx, eax
call dword [edx + 0x38]
test al, al
je 0x54355e
mov edi, dword [edi + 0x34]
lea ecx, [edi + 0xf0]
mov eax, dword [ecx]
lea edx, [esp + 0x34]
push edx
call dword [eax + 0x28]
mov edi, eax
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x2c]
push eax
mov ecx, edi
lea eax, [esp + 0x28]
call fcn.0043d050
mov eax, dword [esp + 0x24]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x28]
mov dword [esp + 0x20], eax
lea eax, [esp + 0x1c]
call fcn.004345f0
fld dword [0x566d40]
push ecx
lea eax, [esp + 0x20]
fstp dword [esp]
call fcn.0043c1a0
mov eax, dword [esp + 0x1c]
mov dword [esi + 0x1f4], eax
mov eax, dword [esp + 0x20]
jmp 0x54357d
fldz
push ecx
push ecx
fst dword [esp + 4]
lea eax, [esp + 0x3c]
fstp dword [esp]
call fcn.004677c0
mov ecx, dword [eax]
mov dword [esi + 0x1f4], ecx
mov eax, dword [eax + 4]
mov dword [esi + 0x1f8], eax
lea esi, [esp + 0x3c]
call fcn.004a3bc0
jmp 0x5435e9
test esi, esi
je 0x5435b6
push 0xd8
call fcn.004aa098
pop ecx
mov dword [esp + 0x10], eax
and dword [esp + 0x58], 0
test eax, eax
je 0x5435d9
push esi
push dword [edi + 0x34]
push eax
call fcn.0052b909
jmp 0x5435db
push 0x60
call fcn.004aa098
pop ecx
mov dword [esp + 0x10], eax
test eax, eax
mov dword [esp + 0x58], 1
je 0x5435d9
push dword [edi + 0x34]
push eax
call fcn.0052b9bc
jmp 0x5435db
xor eax, eax
or dword [esp + 0x58], 0xffffffff
push eax
mov eax, dword [edi + 0x34]
call fcn.004251a0
mov ecx, dword [esp + 0x50]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4