Function at 0x46bafb
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], 2
je 0x46bd13
cmp dword [ebp - 0x1c], 2
ja 0x46bd0d
cmp dword [ebp - 0x1c], 0
je 0x46bb37
cmp dword [ebp - 0x1c], 1
je 0x46bcca
jmp 0x46bd0d
mov eax, dword [ebp + 0x14]
mov ecx, dword [eax]
mov eax, dword [ebp + 0x18]
mov esi, dword [eax]
mov eax, dword [ebp + 0x18]
mov edi, dword [eax]
mov eax, dword [ebp + 0x14]
mov eax, dword [eax]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp + 0x18]
mov ebx, dword [eax]
mov dword [ebp - 0x30], ebx
mov eax, dword [ebp + 0x18]
mov edx, dword [eax]
mov dword [ebp - 0x34], edx
mov eax, dword [ebp + 0x18]
mov eax, dword [eax]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp + 0x18]
mov ebx, dword [eax]
mov dword [ebp - 0x3c], ebx
mov eax, dword [ebp + 0x14]
mov edx, dword [eax]
mov dword [ebp - 0x40], edx
mov eax, dword [ebp + 0x18]
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 edx, dword [eax]
mov dword [ebp - 0x4c], edx
mov eax, dword [ebp + 0x18]
mov eax, dword [eax]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp + 0x14]
mov ebx, dword [eax]
mov dword [ebp - 0x54], ebx
mov eax, dword [ebp + 0x18]
mov edx, dword [eax]
mov dword [ebp - 0x58], edx
mov eax, dword [ebp + 0x18]
mov eax, dword [eax]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp + 0x18]
mov ebx, dword [eax]
mov dword [ebp - 0x60], ebx
mov eax, dword [ebp + 0x14]
mov ebx, dword [eax]
mov eax, dword [ebp + 0x18]
mov edx, dword [eax]
mov eax, dword [ebp + 0x14]
mov eax, dword [eax]
mov dword [esp + 0x90], 6
mov dword [esp + 0x8c], ecx
mov dword [esp + 0x88], esi
mov dword [esp + 0x84], edi
mov esi, dword [ebp - 0x2c]
mov dword [esp + 0x80], esi
mov dword [esp + 0x7c], 0x34
mov dword [esp + 0x78], 0x8a
mov edi, dword [ebp - 0x30]
mov dword [esp + 0x74], edi
mov dword [esp + 0x70], 7
mov dword [esp + 0x6c], 9
mov ecx, dword [ebp - 0x34]
mov dword [esp + 0x68], ecx
mov esi, dword [ebp - 0x38]
mov dword [esp + 0x64], esi
mov dword [esp + 0x60], 6
mov edi, dword [ebp - 0x3c]
mov dword [esp + 0x5c], edi
mov ecx, dword [ebp - 0x40]
mov dword [esp + 0x58], ecx
mov esi, dword [ebp - 0x44]
mov dword [esp + 0x54], esi
fld qword [0x58bd30]
fstp qword [esp + 0x4c]
mov edi, dword [ebp - 0x48]
mov dword [esp + 0x48], edi
fld qword [0x58bcf8]
fstp qword [esp + 0x40]
mov ecx, dword [ebp - 0x4c]
mov dword [esp + 0x3c], ecx
fld qword [0x58bd30]
fstp qword [esp + 0x34]
mov esi, dword [ebp - 0x50]
mov dword [esp + 0x30], esi
mov edi, dword [ebp - 0x54]
mov dword [esp + 0x2c], edi
mov ecx, dword [ebp - 0x58]
mov dword [esp + 0x28], ecx
fld qword [0x58bd00]
fstp qword [esp + 0x20]
mov dword [esp + 0x1c], 5
fld qword [0x58bd18]
fstp qword [esp + 0x14]
mov esi, dword [ebp - 0x5c]
mov dword [esp + 0x10], esi
mov edi, dword [ebp - 0x60]
mov dword [esp + 0xc], edi
mov dword [esp + 8], ebx
mov dword [esp + 4], edx
mov dword [esp], eax
call sym._ExportWinAPI
mov edx, dword [ebp + 0x14]
mov dword [edx], eax
mov dword [ebp - 0x1c], 1
jmp 0x46bd0e
mov eax, dword [ebp + 0x14]
mov eax, dword [eax]
mov ebx, eax
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov eax, dword [eax + 4]
mov dword [esp + 0x10], 0
mov ecx, dword [ebp + 0x10]
mov dword [esp + 0xc], ecx
mov dword [esp + 8], 2
mov dword [esp + 4], edx
mov dword [esp], eax
call ebx
sub esp, 0x14
mov edx, dword [ebp + 0x18]
mov dword [edx], eax
mov dword [ebp - 0x1c], 2
jmp 0x46bd0e
nop
jmp 0x46bb0e
nop
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret