Function at 0x5497d8
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], 0
cmp dword [ebp - 0x1c], 2
je 0x5499a2
cmp dword [ebp - 0x1c], 2
ja 0x5499e4
cmp dword [ebp - 0x1c], 0
je 0x549814
cmp dword [ebp - 0x1c], 1
je 0x5499ea
jmp 0x5499e4
mov eax, dword [ebp + 0x1c]
mov edx, dword [eax]
mov eax, dword [ebp + 0x14]
mov ecx, 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 + 0x14]
mov edi, dword [eax]
mov dword [ebp - 0x30], edi
mov eax, dword [ebp + 0x1c]
mov ebx, dword [eax]
mov dword [ebp - 0x34], ebx
mov eax, dword [ebp + 0x10]
mov eax, dword [eax]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp + 0x10]
mov edi, dword [eax]
mov dword [ebp - 0x3c], edi
mov eax, dword [ebp + 0x10]
mov ebx, dword [eax]
mov dword [ebp - 0x40], ebx
mov eax, dword [ebp + 0x10]
mov eax, dword [eax]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp + 0x14]
mov edi, dword [eax]
mov dword [ebp - 0x48], edi
mov eax, dword [ebp + 0x10]
mov ebx, dword [eax]
mov dword [ebp - 0x4c], ebx
mov eax, dword [ebp + 0x10]
mov eax, dword [eax]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp + 0x1c]
mov edi, dword [eax]
mov dword [ebp - 0x54], edi
mov eax, dword [ebp + 0x10]
mov ebx, dword [eax]
mov dword [ebp - 0x58], ebx
mov eax, dword [ebp + 0x10]
mov edi, dword [eax]
mov eax, dword [ebp + 0x1c]
mov ebx, dword [eax]
mov eax, dword [ebp + 0x1c]
mov eax, dword [eax]
fld qword [0x586b20]
fstp qword [esp + 0x98]
mov dword [esp + 0x94], 6
mov dword [esp + 0x90], edx
mov dword [esp + 0x8c], 0x8b
fld qword [0x586b18]
fstp qword [esp + 0x84]
mov dword [esp + 0x80], ecx
fld qword [0x586b20]
fstp qword [esp + 0x78]
mov dword [esp + 0x74], esi
mov esi, dword [ebp - 0x2c]
mov dword [esp + 0x70], esi
mov dword [esp + 0x6c], 2
mov ecx, dword [ebp - 0x30]
mov dword [esp + 0x68], ecx
mov dword [esp + 0x64], 0x34
mov esi, dword [ebp - 0x34]
mov dword [esp + 0x60], esi
mov ecx, dword [ebp - 0x38]
mov dword [esp + 0x5c], ecx
mov esi, dword [ebp - 0x3c]
mov dword [esp + 0x58], esi
mov dword [esp + 0x54], 7
fld qword [0x586b28]
fstp qword [esp + 0x4c]
mov edx, dword [ebp - 0x40]
mov dword [esp + 0x48], edx
fld qword [0x586b40]
fstp qword [esp + 0x40]
mov ecx, dword [ebp - 0x44]
mov dword [esp + 0x3c], ecx
fld qword [0x586b40]
fstp qword [esp + 0x34]
mov esi, dword [ebp - 0x48]
mov dword [esp + 0x30], esi
fld qword [0x586b18]
fstp qword [esp + 0x28]
mov edx, dword [ebp - 0x4c]
mov dword [esp + 0x24], edx
fld qword [0x586b28]
fstp qword [esp + 0x1c]
mov ecx, dword [ebp - 0x50]
mov dword [esp + 0x18], ecx
mov esi, dword [ebp - 0x54]
mov dword [esp + 0x14], esi
mov edx, dword [ebp - 0x58]
mov dword [esp + 0x10], edx
mov dword [esp + 0xc], 3
mov dword [esp + 8], edi
mov dword [esp + 4], ebx
mov dword [esp], eax
call sym._ExportWinAPI
mov edx, dword [ebp + 0x14]
mov dword [edx], eax
mov dword [ebp - 0x1c], 2
jmp 0x5499e5
mov eax, dword [ebp + 0x14]
mov eax, dword [eax]
mov ecx, eax
mov eax, dword [ebp + 0xc]
mov edx, dword [eax + 4]
mov eax, dword [eax]
mov ebx, eax
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov eax, dword [eax + 4]
mov dword [esp + 0xc], 0
mov edx, dword [ebp + 0x10]
mov dword [esp + 8], edx
mov dword [esp + 4], ebx
mov dword [esp], eax
call ecx
sub esp, 0x10
mov edx, dword [ebp + 0x18]
mov dword [edx], eax
mov dword [ebp - 0x1c], 1
jmp 0x5499e5
nop
jmp 0x5497eb
nop
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret