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

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x13c
mov dword [ebp - 0x1c], 0
cmp dword [ebp - 0x1c], 2
je 0x51c592
cmp dword [ebp - 0x1c], 2
ja 0x51c58c
cmp dword [ebp - 0x1c], 0
je 0x51c3bc
cmp dword [ebp - 0x1c], 1
je 0x51c572
jmp 0x51c58c
mov eax, dword [ebp + 0x30]
fld qword [eax]
mov eax, dword [ebp + 0x44]
mov ebx, dword [eax]
mov eax, dword [ebp + 0x18]
mov esi, dword [eax]
mov eax, dword [ebp + 0x3c]
fld qword [eax]
mov eax, dword [ebp + 0x38]
mov edi, dword [eax]
mov eax, dword [ebp + 0x58]
mov eax, dword [eax]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp + 0x24]
fld qword [eax]
mov eax, dword [ebp + 0x34]
fld qword [eax]
mov eax, dword [ebp + 0xc]
fld qword [eax]
fstp qword [ebp - 0x38]
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax]
mov dword [ebp - 0x30], ecx
mov eax, dword [ebp + 0x48]
fld qword [eax]
fstp qword [ebp - 0x40]
mov eax, dword [ebp + 0x40]
mov edx, dword [eax]
mov dword [ebp - 0x44], edx
mov eax, dword [ebp + 0x2c]
mov ecx, dword [eax]
mov dword [ebp - 0x48], ecx
mov eax, dword [ebp + 0x18]
mov edx, dword [eax]
mov dword [ebp - 0x4c], edx
mov eax, dword [ebp + 0x14]
mov ecx, dword [eax]
mov dword [ebp - 0x50], ecx
mov eax, dword [ebp + 0x28]
mov edx, dword [eax]
mov dword [ebp - 0x54], edx
mov eax, dword [ebp + 0x34]
fld qword [eax]
fstp qword [ebp - 0x60]
mov eax, dword [ebp + 0x1c]
mov ecx, dword [eax]
mov dword [ebp - 0x58], ecx
mov eax, dword [ebp + 0x28]
mov edx, dword [eax]
mov dword [ebp - 0x64], edx
mov eax, dword [ebp + 0x4c]
mov ecx, dword [eax]
mov dword [ebp - 0x68], ecx
mov eax, dword [ebp + 0x4c]
mov edx, dword [eax]
mov dword [ebp - 0x6c], edx
mov eax, dword [ebp + 0x54]
mov ecx, dword [eax]
mov dword [ebp - 0x70], ecx
mov eax, dword [ebp + 0xc]
fld qword [eax]
fstp qword [ebp - 0x78]
mov eax, dword [ebp + 0xc]
fld qword [eax]
fstp qword [ebp - 0x80]
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov eax, dword [ebp + 0x34]
fld qword [eax]
mov eax, dword [ebp + 0x20]
mov edx, dword [eax]
mov eax, dword [ebp + 0x24]
fld qword [eax]
mov eax, dword [ebp + 0x30]
fld qword [eax]
mov eax, dword [ebp + 0x34]
fld qword [eax]
fxch st(7)
fstp qword [esp + 0xac]
fxch st(5)
mov dword [esp + 0xa8], ebx
mov dword [esp + 0xa4], esi
fstp qword [esp + 0x9c]
fxch st(3)
mov dword [esp + 0x98], edi
mov eax, dword [ebp - 0x2c]
mov dword [esp + 0x94], eax
fstp qword [esp + 0x8c]
fxch st(1)
fstp qword [esp + 0x84]
fld qword [ebp - 0x38]
fstp qword [esp + 0x7c]
mov eax, dword [ebp - 0x30]
mov dword [esp + 0x78], eax
fld qword [ebp - 0x40]
fstp qword [esp + 0x70]
mov dword [esp + 0x6c], 0x85
mov eax, dword [ebp - 0x44]
mov dword [esp + 0x68], eax
mov eax, dword [ebp - 0x48]
mov dword [esp + 0x64], eax
mov eax, dword [ebp - 0x4c]
mov dword [esp + 0x60], eax
mov eax, dword [ebp - 0x50]
mov dword [esp + 0x5c], eax
mov dword [esp + 0x58], 0x38
mov eax, dword [ebp - 0x54]
mov dword [esp + 0x54], eax
fld qword [ebp - 0x60]
fstp qword [esp + 0x4c]
mov eax, dword [ebp - 0x58]
mov dword [esp + 0x48], eax
mov eax, dword [ebp - 0x64]
mov dword [esp + 0x44], eax
mov eax, dword [ebp - 0x68]
mov dword [esp + 0x40], eax
mov eax, dword [ebp - 0x6c]
mov dword [esp + 0x3c], eax
mov eax, dword [ebp - 0x70]
mov dword [esp + 0x38], eax
fld qword [ebp - 0x78]
fstp qword [esp + 0x30]
fld qword [ebp - 0x80]
fstp qword [esp + 0x28]
mov dword [esp + 0x24], ecx
fstp qword [esp + 0x1c]
mov dword [esp + 0x18], edx
fstp qword [esp + 0x10]
fstp qword [esp + 8]
fstp qword [esp]
call sym._ExportWinAPI
mov edx, dword [ebp + 0x50]
mov dword [edx], eax
mov dword [ebp - 0x1c], 1
jmp 0x51c58d
mov eax, dword [ebp + 0x50]
mov eax, dword [eax]
mov edx, eax
mov eax, dword [ebp + 0x20]
mov eax, dword [eax]
mov dword [esp], eax
call edx
mov dword [ebp - 0x1c], 2
jmp 0x51c58d
nop
jmp 0x51c393
nop
add esp, 0x13c
pop ebx
pop esi
pop edi
pop ebp
ret