Function at 0x51f6e6
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], 2
je 0x51f722
cmp dword [ebp - 0x1c], 2
ja 0x51fa0f
cmp dword [ebp - 0x1c], 0
je 0x51f897
cmp dword [ebp - 0x1c], 1
je 0x51fa15
jmp 0x51fa0f
mov eax, dword [ebp + 0x1c]
mov edx, dword [eax]
mov eax, dword [ebp + 0x14]
mov ecx, dword [eax]
mov eax, dword [ebp + 0x1c]
mov ebx, dword [eax]
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov esi, dword [eax]
mov eax, dword [ebp + 0xc]
mov edi, dword [eax]
mov eax, dword [ebp + 0x34]
mov eax, dword [eax]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp + 0x34]
mov eax, dword [eax]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp + 0x34]
mov eax, dword [eax]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp + 0x34]
mov eax, dword [eax]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp + 0x20]
mov eax, dword [eax]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp + 0x18]
mov eax, dword [eax]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp + 0x10]
mov eax, dword [eax]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp + 0x14]
mov eax, dword [eax]
mov dword [esp + 0xa4], edx
fldz
fstp qword [esp + 0x9c]
mov dword [esp + 0x98], ecx
mov dword [esp + 0x94], 5
fld qword [0x5938b0]
fstp qword [esp + 0x8c]
mov dword [esp + 0x88], ebx
mov dword [esp + 0x84], esi
mov dword [esp + 0x80], 4
fld1
fstp qword [esp + 0x78]
mov dword [esp + 0x74], edi
mov dword [esp + 0x70], 9
fld qword [0x5938b0]
fstp qword [esp + 0x68]
fld qword [0x5938c0]
fstp qword [esp + 0x60]
mov ecx, dword [ebp - 0x2c]
mov dword [esp + 0x5c], ecx
fld qword [0x5938c8]
fstp qword [esp + 0x54]
fld qword [0x593898]
fstp qword [esp + 0x4c]
mov ebx, dword [ebp - 0x30]
mov dword [esp + 0x48], ebx
mov esi, dword [ebp - 0x34]
mov dword [esp + 0x44], esi
mov dword [esp + 0x40], 8
fld qword [0x5938b0]
fstp qword [esp + 0x38]
fld qword [0x5938b0]
fstp qword [esp + 0x30]
mov edi, dword [ebp - 0x38]
mov dword [esp + 0x2c], edi
mov edx, dword [ebp - 0x3c]
mov dword [esp + 0x28], edx
mov ecx, dword [ebp - 0x40]
mov dword [esp + 0x24], ecx
mov ebx, dword [ebp - 0x44]
mov dword [esp + 0x20], ebx
mov dword [esp + 0x1c], 0
fld qword [0x5938a0]
fstp qword [esp + 0x14]
mov esi, dword [ebp - 0x48]
mov dword [esp + 0x10], esi
mov edi, dword [ebp - 0x4c]
mov dword [esp + 0xc], edi
fld qword [0x5938b8]
fstp qword [esp + 4]
mov dword [esp], eax
call sym._ByteFree
mov dword [ebp - 0x1c], 0
jmp 0x51fa10
mov eax, dword [ebp + 0xc]
mov edx, dword [eax]
mov eax, dword [ebp + 0x34]
mov ebx, dword [eax]
mov eax, dword [ebp + 0xc]
mov esi, dword [eax]
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp + 0x24]
mov ecx, dword [eax]
mov dword [ebp - 0x30], ecx
mov eax, dword [ebp + 0x28]
mov edi, dword [eax]
mov dword [ebp - 0x34], edi
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp + 0x18]
mov ecx, dword [eax]
mov dword [ebp - 0x3c], ecx
mov eax, dword [ebp + 0xc]
mov edi, dword [eax]
mov dword [ebp - 0x40], edi
mov eax, dword [ebp + 0x28]
mov eax, dword [eax]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp + 0x30]
mov ecx, dword [eax]
mov dword [ebp - 0x48], ecx
mov eax, dword [ebp + 0x1c]
mov edi, dword [eax]
mov dword [ebp - 0x4c], edi
mov eax, dword [ebp + 0x34]
mov eax, dword [eax]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp + 0x2c]
mov ecx, dword [eax]
mov dword [ebp - 0x54], ecx
mov eax, dword [ebp + 0xc]
mov edi, dword [eax]
mov eax, dword [ebp + 0x34]
mov ecx, dword [eax]
mov eax, dword [ebp + 0x18]
mov eax, dword [eax]
mov dword [esp + 0x94], 6
fld qword [0x5938a0]
fstp qword [esp + 0x8c]
mov dword [esp + 0x88], edx
mov dword [esp + 0x84], ebx
mov dword [esp + 0x80], esi
mov edx, dword [ebp - 0x2c]
mov dword [esp + 0x7c], edx
fld qword [0x5938a0]
fstp qword [esp + 0x74]
mov dword [esp + 0x70], 0
mov ebx, dword [ebp - 0x30]
mov dword [esp + 0x6c], ebx
mov dword [esp + 0x68], 8
mov esi, dword [ebp - 0x34]
mov dword [esp + 0x64], esi
mov edx, dword [ebp - 0x38]
mov dword [esp + 0x60], edx
mov dword [esp + 0x5c], 0x97
mov ebx, dword [ebp - 0x3c]
mov dword [esp + 0x58], ebx
fld qword [0x5938d0]
fstp qword [esp + 0x50]
mov esi, dword [ebp - 0x40]
mov dword [esp + 0x4c], esi
mov dword [esp + 0x48], 9
fldz
fstp qword [esp + 0x40]
mov edx, dword [ebp - 0x44]
mov dword [esp + 0x3c], edx
mov ebx, dword [ebp - 0x48]
mov dword [esp + 0x38], ebx
mov esi, dword [ebp - 0x4c]
mov dword [esp + 0x34], esi
mov dword [esp + 0x30], 1
mov edx, dword [ebp - 0x50]
mov dword [esp + 0x2c], edx
mov ebx, dword [ebp - 0x54]
mov dword [esp + 0x28], ebx
mov dword [esp + 0x24], edi
mov dword [esp + 0x20], ecx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], 5
fld qword [0x5938a0]
fstp qword [esp + 0x10]
mov dword [esp + 0xc], 0x34
fldz
fstp qword [esp + 4]
mov dword [esp], 7
call sym._ExportWinAPI
mov edx, dword [ebp + 0x2c]
mov dword [edx], eax
mov dword [ebp - 0x1c], 1
jmp 0x51fa10
nop
jmp 0x51f6f9
nop
add esp, 0xfc
pop ebx
pop esi
pop edi
pop ebp
ret