Function at 0x4afece
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], 3
je 0x4b00b1
cmp dword [ebp - 0x1c], 3
ja 0x4b00e0
cmp dword [ebp - 0x1c], 2
je 0x4b00e6
cmp dword [ebp - 0x1c], 2
ja 0x4b00e0
cmp dword [ebp - 0x1c], 0
je 0x4aff1a
cmp dword [ebp - 0x1c], 1
je 0x4aff2f
jmp 0x4b00e0
mov eax, dword [ebp + 0xc]
mov dword [eax], 0
mov dword [ebp - 0x1c], 1
jmp 0x4b00e1
mov eax, dword [ebp + 0x10]
mov edx, dword [eax]
mov eax, dword [ebp + 0x14]
mov ecx, dword [eax]
mov eax, dword [ebp + 0x14]
mov edi, dword [eax]
mov eax, dword [ebp + 0x14]
mov eax, dword [eax]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp + 0x10]
mov ebx, dword [eax]
mov dword [ebp - 0x30], ebx
mov eax, dword [ebp + 0x14]
mov esi, dword [eax]
mov dword [ebp - 0x34], esi
mov eax, dword [ebp + 0x14]
mov eax, dword [eax]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp + 0x14]
mov ebx, dword [eax]
mov dword [ebp - 0x3c], ebx
mov eax, dword [ebp + 0x14]
mov esi, dword [eax]
mov dword [ebp - 0x40], esi
mov eax, dword [ebp + 0x10]
mov eax, dword [eax]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp + 0x14]
mov ebx, dword [eax]
mov dword [ebp - 0x48], ebx
mov eax, dword [ebp + 0x14]
mov esi, dword [eax]
mov dword [ebp - 0x4c], esi
mov eax, dword [ebp + 0x10]
mov eax, dword [eax]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp + 0x10]
mov ebx, dword [eax]
mov dword [ebp - 0x54], ebx
mov eax, dword [ebp + 0x14]
mov esi, dword [eax]
mov dword [ebp - 0x58], esi
mov eax, dword [ebp + 0x10]
mov esi, dword [eax]
mov eax, dword [ebp + 0x14]
mov ebx, dword [eax]
mov eax, dword [ebp + 0x14]
mov eax, dword [eax]
mov dword [esp + 0x90], edx
mov dword [esp + 0x8c], ecx
fld qword [0x58fc40]
fstp qword [esp + 0x84]
mov dword [esp + 0x80], 0x13b
fld qword [0x58fc60]
fstp qword [esp + 0x78]
mov dword [esp + 0x74], edi
mov dword [esp + 0x70], 3
fld qword [0x58fc68]
fstp qword [esp + 0x68]
fld qword [0x58fc58]
fstp qword [esp + 0x60]
mov ecx, dword [ebp - 0x2c]
mov dword [esp + 0x5c], ecx
mov edi, dword [ebp - 0x30]
mov dword [esp + 0x58], edi
mov ecx, dword [ebp - 0x34]
mov dword [esp + 0x54], ecx
mov edi, dword [ebp - 0x38]
mov dword [esp + 0x50], edi
mov ecx, dword [ebp - 0x3c]
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x48], 7
mov dword [esp + 0x44], 0x40
mov edi, dword [ebp - 0x40]
mov dword [esp + 0x40], edi
mov dword [esp + 0x3c], 3
mov edx, dword [ebp - 0x44]
mov dword [esp + 0x38], edx
mov ecx, dword [ebp - 0x48]
mov dword [esp + 0x34], ecx
mov dword [esp + 0x30], 3
mov edi, dword [ebp - 0x4c]
mov dword [esp + 0x2c], edi
mov edx, dword [ebp - 0x50]
mov dword [esp + 0x28], edx
mov dword [esp + 0x24], 6
mov ecx, dword [ebp - 0x54]
mov dword [esp + 0x20], ecx
mov edi, dword [ebp - 0x58]
mov dword [esp + 0x1c], edi
mov dword [esp + 0x18], esi
fld qword [0x58fc30]
fstp qword [esp + 0x10]
mov dword [esp + 0xc], ebx
mov dword [esp + 8], 0
mov dword [esp + 4], 7
mov dword [esp], eax
call sym._ExportWinAPI
mov edx, dword [ebp + 0x10]
mov dword [edx], eax
mov dword [ebp - 0x1c], 3
jmp 0x4b00e1
mov eax, dword [ebp + 0x10]
mov eax, dword [eax]
mov edx, eax
mov dword [esp + 8], 0
mov eax, dword [ebp + 8]
mov dword [esp + 4], eax
mov eax, dword [ebp + 0xc]
mov dword [esp], eax
call edx
sub esp, 0xc
mov edx, dword [ebp + 0x14]
mov dword [edx], eax
mov dword [ebp - 0x1c], 2
jmp 0x4b00e1
nop
jmp 0x4afee1
nop
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret