Function at 0x51eead
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], 0
cmp dword [ebp - 0x1c], 3
je 0x51f1ee
cmp dword [ebp - 0x1c], 3
ja 0x51f1e8
cmp dword [ebp - 0x1c], 2
je 0x51eef9
cmp dword [ebp - 0x1c], 2
ja 0x51f1e8
cmp dword [ebp - 0x1c], 0
je 0x51ef19
cmp dword [ebp - 0x1c], 1
je 0x51f07e
jmp 0x51f1e8
mov eax, dword [ebp + 0x18]
mov eax, dword [eax]
mov edx, eax
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov dword [esp], eax
call edx
sub esp, 4
mov dword [ebp - 0x1c], 1
jmp 0x51f1e9
mov eax, dword [ebp + 0x2c]
mov edx, dword [eax]
mov eax, dword [ebp + 0x28]
mov ecx, dword [eax]
mov eax, dword [ebp + 0x28]
mov esi, dword [eax]
mov eax, dword [ebp + 0x20]
mov eax, dword [eax]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp + 0x20]
mov ebx, dword [eax]
mov dword [ebp - 0x30], ebx
mov eax, dword [ebp + 0x2c]
mov edi, dword [eax]
mov dword [ebp - 0x34], edi
mov eax, dword [ebp + 0x1c]
mov eax, dword [eax]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp + 0x1c]
mov ebx, dword [eax]
mov dword [ebp - 0x3c], ebx
mov eax, dword [ebp + 0x24]
mov edi, dword [eax]
mov dword [ebp - 0x40], edi
mov eax, dword [ebp + 0x10]
mov eax, dword [eax]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp + 0x2c]
mov edi, dword [eax]
mov eax, dword [ebp + 0x14]
mov ebx, dword [eax]
mov eax, dword [ebp + 0x10]
mov eax, dword [eax]
mov dword [esp + 0x90], edx
mov dword [esp + 0x8c], ecx
mov dword [esp + 0x88], 0
mov dword [esp + 0x84], 7
mov dword [esp + 0x80], esi
mov dword [esp + 0x7c], 0x44
mov dword [esp + 0x78], 0xfa
mov dword [esp + 0x74], 8
mov ecx, dword [ebp - 0x2c]
mov dword [esp + 0x70], ecx
mov esi, dword [ebp - 0x30]
mov dword [esp + 0x6c], esi
mov dword [esp + 0x68], 1
mov dword [esp + 0x64], 1
mov ecx, dword [ebp - 0x34]
mov dword [esp + 0x60], ecx
mov dword [esp + 0x5c], 6
mov esi, dword [ebp - 0x38]
mov dword [esp + 0x58], esi
mov dword [esp + 0x54], 4
fld qword [0x58bd18]
fstp qword [esp + 0x4c]
mov edx, dword [ebp - 0x3c]
mov dword [esp + 0x48], edx
fld qword [0x58bcf8]
fstp qword [esp + 0x40]
mov ecx, dword [ebp - 0x40]
mov dword [esp + 0x3c], ecx
fld qword [0x58bd28]
fstp qword [esp + 0x34]
mov dword [esp + 0x30], 1
mov esi, dword [ebp - 0x44]
mov dword [esp + 0x2c], esi
mov dword [esp + 0x28], 3
fld qword [0x58bd20]
fstp qword [esp + 0x20]
mov dword [esp + 0x1c], edi
fld qword [0x58bd28]
fstp qword [esp + 0x14]
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 6
mov dword [esp + 8], ebx
mov dword [esp + 4], 5
mov dword [esp], eax
call sym._ExportWinAPI
mov edx, dword [ebp + 0x18]
mov dword [edx], eax
mov dword [ebp - 0x1c], 2
jmp 0x51f1e9
mov eax, dword [ebp + 0xc]
mov edx, dword [eax]
mov eax, dword [ebp + 0x20]
mov ecx, dword [eax]
mov eax, dword [ebp + 0x2c]
mov ebx, dword [eax]
mov eax, dword [ebp + 0x14]
mov edi, dword [eax]
mov eax, dword [ebp + 0x24]
mov eax, dword [eax]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp + 0x10]
mov esi, dword [eax]
mov dword [ebp - 0x30], esi
mov eax, dword [ebp + 0x2c]
mov eax, dword [eax]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp + 0x2c]
mov esi, dword [eax]
mov dword [ebp - 0x38], esi
mov eax, dword [ebp + 0x10]
mov eax, dword [eax]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp + 0x10]
mov esi, dword [eax]
mov dword [ebp - 0x40], esi
mov eax, dword [ebp + 0x20]
mov eax, dword [eax]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp + 0x2c]
mov esi, dword [eax]
mov dword [ebp - 0x48], esi
mov eax, dword [ebp + 0x14]
mov eax, dword [eax]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp + 0x20]
mov esi, dword [eax]
mov eax, dword [ebp + 0x18]
mov eax, dword [eax]
fldz
fstp qword [esp + 0xa4]
mov dword [esp + 0xa0], edx
mov dword [esp + 0x9c], 1
mov dword [esp + 0x98], ecx
fld qword [0x58bd08]
fstp qword [esp + 0x90]
mov dword [esp + 0x8c], ebx
fld qword [0x58bd08]
fstp qword [esp + 0x84]
mov dword [esp + 0x80], edi
fld1
fstp qword [esp + 0x78]
mov ebx, dword [ebp - 0x2c]
mov dword [esp + 0x74], ebx
mov edi, dword [ebp - 0x30]
mov dword [esp + 0x70], edi
fld qword [0x58bd20]
fstp qword [esp + 0x68]
mov edx, dword [ebp - 0x34]
mov dword [esp + 0x64], edx
mov ecx, dword [ebp - 0x38]
mov dword [esp + 0x60], ecx
mov dword [esp + 0x5c], 6
fld1
fstp qword [esp + 0x54]
fld qword [0x58bd08]
fstp qword [esp + 0x4c]
mov ebx, dword [ebp - 0x3c]
mov dword [esp + 0x48], ebx
mov edi, dword [ebp - 0x40]
mov dword [esp + 0x44], edi
mov edx, dword [ebp - 0x44]
mov dword [esp + 0x40], edx
mov dword [esp + 0x3c], 0
fld qword [0x58bd20]
fstp qword [esp + 0x34]
mov ecx, dword [ebp - 0x48]
mov dword [esp + 0x30], ecx
fld qword [0x58bd28]
fstp qword [esp + 0x28]
fldz
fstp qword [esp + 0x20]
mov ebx, dword [ebp - 0x4c]
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x18], esi
fld qword [0x58bcf8]
fstp qword [esp + 0x10]
fld qword [0x58bd00]
fstp qword [esp + 8]
mov dword [esp + 4], eax
mov dword [esp], 6
call sym._ByteFree
mov dword [ebp - 0x1c], 3
jmp 0x51f1e9
nop
jmp 0x51eec0
nop
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret