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

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0xec
mov dword [ebp - 0x1c], 2
cmp dword [ebp - 0x1c], 2
je 0x54edbb
cmp dword [ebp - 0x1c], 2
ja 0x54ef3c
cmp dword [ebp - 0x1c], 0
je 0x54ed8e
cmp dword [ebp - 0x1c], 1
je 0x54ef42
jmp 0x54ef3c
mov eax, dword [ebp + 0x18]
mov eax, dword [eax]
mov edx, eax
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov dword [esp + 4], 1
mov dword [esp], eax
call edx
sub esp, 8
mov edx, dword [ebp + 0x1c]
mov dword [edx], eax
mov dword [ebp - 0x1c], 1
jmp 0x54ef3d
mov eax, dword [ebp + 0x1c]
mov edx, dword [eax]
mov eax, dword [ebp + 0x1c]
mov ebx, dword [eax]
mov eax, dword [ebp + 0x1c]
mov esi, dword [eax]
mov eax, dword [ebp + 0x1c]
mov eax, dword [eax]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov dword [ebp - 0x30], ecx
mov eax, dword [ebp + 0x1c]
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 + 0x18]
mov ecx, dword [eax]
mov dword [ebp - 0x3c], ecx
mov eax, dword [ebp + 0x1c]
mov edi, dword [eax]
mov dword [ebp - 0x40], edi
mov eax, dword [ebp + 0x18]
mov eax, dword [eax]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp + 0x1c]
mov ecx, dword [eax]
mov dword [ebp - 0x48], ecx
mov eax, dword [ebp + 0x10]
mov edi, dword [eax]
mov dword [ebp - 0x4c], edi
mov eax, dword [ebp + 0x1c]
mov eax, dword [eax]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp + 0x1c]
mov ecx, dword [eax]
mov dword [ebp - 0x54], ecx
mov eax, dword [ebp + 0x14]
mov edi, dword [eax]
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax]
mov eax, dword [ebp + 0x10]
mov eax, dword [eax]
fld qword [0x58fa50]
fstp qword [esp + 0x94]
mov dword [esp + 0x90], 7
mov dword [esp + 0x8c], edx
mov dword [esp + 0x88], ebx
mov dword [esp + 0x84], esi
mov ebx, dword [ebp - 0x2c]
mov dword [esp + 0x80], ebx
mov dword [esp + 0x7c], 8
mov dword [esp + 0x78], 0x176
mov esi, dword [ebp - 0x30]
mov dword [esp + 0x74], esi
mov ebx, dword [ebp - 0x34]
mov dword [esp + 0x70], ebx
fld qword [0x58fa58]
fstp qword [esp + 0x68]
mov esi, dword [ebp - 0x38]
mov dword [esp + 0x64], esi
fld qword [0x58fa68]
fstp qword [esp + 0x5c]
mov ebx, dword [ebp - 0x3c]
mov dword [esp + 0x58], ebx
fldz
fstp qword [esp + 0x50]
mov esi, dword [ebp - 0x40]
mov dword [esp + 0x4c], esi
fld qword [0x58fa80]
fstp qword [esp + 0x44]
mov edx, dword [ebp - 0x44]
mov dword [esp + 0x40], edx
mov ebx, dword [ebp - 0x48]
mov dword [esp + 0x3c], ebx
mov esi, dword [ebp - 0x4c]
mov dword [esp + 0x38], esi
mov dword [esp + 0x34], 5
fld qword [0x58fa50]
fstp qword [esp + 0x2c]
mov edx, dword [ebp - 0x50]
mov dword [esp + 0x28], edx
mov dword [esp + 0x24], 3
mov ebx, dword [ebp - 0x54]
mov dword [esp + 0x20], ebx
mov dword [esp + 0x1c], 2
mov dword [esp + 0x18], edi
mov dword [esp + 0x14], ecx
mov dword [esp + 0x10], 8
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0x34
fld qword [0x58fa60]
fstp qword [esp]
call sym._ExportWinAPI
mov edx, dword [ebp + 0x18]
mov dword [edx], eax
mov dword [ebp - 0x1c], 0
jmp 0x54ef3d
nop
jmp 0x54ed69
nop
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret