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

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0xfc
mov dword [ebp - 0x1c], 2
cmp dword [ebp - 0x1c], 3
je 0x51ca8c
cmp dword [ebp - 0x1c], 3
ja 0x51cc20
cmp dword [ebp - 0x1c], 2
je 0x51ca77
cmp dword [ebp - 0x1c], 2
ja 0x51cc20
cmp dword [ebp - 0x1c], 0
je 0x51ca54
cmp dword [ebp - 0x1c], 1
jne 0x51cc20
jmp 0x51cc26
mov eax, dword [ebp + 0x1c]
mov eax, dword [eax]
mov edx, eax
mov eax, dword [ebp + 8]
mov dword [esp], eax
call edx
sub esp, 4
mov edx, dword [ebp + 0x20]
mov dword [edx], eax
mov dword [ebp - 0x1c], 1
jmp 0x51cc21
mov eax, dword [ebp + 8]
mov dword [eax], 0x40
mov dword [ebp - 0x1c], 3
jmp 0x51cc21
mov eax, dword [ebp + 0x18]
mov eax, dword [eax]
mov edx, eax
mov eax, dword [ebp + 0x20]
mov ecx, dword [eax]
mov dword [ebp - 0x2c], ecx
mov eax, dword [ebp + 0x20]
mov ebx, dword [eax]
mov dword [ebp - 0x30], ebx
mov eax, dword [ebp + 0x18]
mov esi, dword [eax]
mov dword [ebp - 0x34], esi
mov eax, dword [ebp + 0x20]
mov edi, dword [eax]
mov dword [ebp - 0x38], edi
mov eax, dword [ebp + 0x20]
mov eax, dword [eax]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp + 0x20]
mov ecx, dword [eax]
mov dword [ebp - 0x40], ecx
mov eax, dword [ebp + 0x20]
mov ebx, dword [eax]
mov dword [ebp - 0x44], ebx
mov eax, dword [ebp + 0x14]
mov esi, dword [eax]
mov dword [ebp - 0x48], esi
mov eax, dword [ebp + 0x20]
mov edi, dword [eax]
mov dword [ebp - 0x4c], edi
mov eax, dword [ebp + 0x10]
fld qword [eax]
mov eax, dword [ebp + 0x18]
mov eax, dword [eax]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp + 0x10]
fld qword [eax]
mov eax, dword [ebp + 0x18]
mov ecx, dword [eax]
mov dword [ebp - 0x54], ecx
mov eax, dword [ebp + 0xc]
fld qword [eax]
mov eax, dword [ebp + 0x20]
mov ebx, dword [eax]
mov dword [ebp - 0x58], ebx
mov eax, dword [ebp + 0x1c]
mov esi, dword [eax]
mov dword [ebp - 0x5c], esi
mov eax, dword [ebp + 0x20]
mov edi, dword [eax]
mov eax, dword [ebp + 0xc]
fld qword [eax]
mov eax, dword [ebp + 0x10]
fld qword [eax]
fxch st(4)
mov eax, dword [ebp + 0x20]
mov esi, dword [eax]
mov eax, dword [ebp + 0x20]
mov ebx, dword [eax]
mov eax, dword [ebp + 0x14]
mov ecx, dword [eax]
mov eax, dword [ebp + 0x20]
mov eax, dword [eax]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp + 0x18]
mov eax, dword [eax]
mov dword [esp + 0x90], 9
mov dword [esp + 0x8c], edx
mov edx, dword [ebp - 0x2c]
mov dword [esp + 0x88], edx
mov edx, dword [ebp - 0x30]
mov dword [esp + 0x84], edx
mov edx, dword [ebp - 0x34]
mov dword [esp + 0x80], edx
mov dword [esp + 0x7c], 0x34
mov dword [esp + 0x78], 0x17a
mov edx, dword [ebp - 0x38]
mov dword [esp + 0x74], edx
mov dword [esp + 0x70], 2
mov dword [esp + 0x6c], 5
mov edx, dword [ebp - 0x3c]
mov dword [esp + 0x68], edx
mov edx, dword [ebp - 0x40]
mov dword [esp + 0x64], edx
mov dword [esp + 0x60], 7
mov edx, dword [ebp - 0x44]
mov dword [esp + 0x5c], edx
mov edx, dword [ebp - 0x48]
mov dword [esp + 0x58], edx
mov edx, dword [ebp - 0x4c]
mov dword [esp + 0x54], edx
fstp qword [esp + 0x4c]
fxch st(2)
mov edx, dword [ebp - 0x50]
mov dword [esp + 0x48], edx
fstp qword [esp + 0x40]
mov edx, dword [ebp - 0x54]
mov dword [esp + 0x3c], edx
fstp qword [esp + 0x34]
mov edx, dword [ebp - 0x58]
mov dword [esp + 0x30], edx
mov edx, dword [ebp - 0x5c]
mov dword [esp + 0x2c], edx
mov dword [esp + 0x28], edi
fstp qword [esp + 0x20]
mov dword [esp + 0x1c], 5
fstp qword [esp + 0x14]
mov dword [esp + 0x10], esi
mov dword [esp + 0xc], ebx
mov dword [esp + 8], ecx
mov edi, dword [ebp - 0x60]
mov dword [esp + 4], edi
mov dword [esp], eax
call sym._ExportWinAPI
mov edx, dword [ebp + 0x1c]
mov dword [edx], eax
mov dword [ebp - 0x1c], 0
jmp 0x51cc21
nop
jmp 0x51ca1f
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret