Function at 0x81e959
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], 2
cmp dword [ebp - 0x1c], 2
je 0x81e9c9
cmp dword [ebp - 0x1c], 2
ja 0x81eb80
cmp dword [ebp - 0x1c], 0
je 0x81eb86
cmp dword [ebp - 0x1c], 1
jne 0x81eb80
mov eax, dword [ebp + 0x28]
mov eax, dword [eax]
mov ecx, eax
mov eax, dword [ebp + 0x14]
mov eax, dword [eax]
mov edx, dword [ebp + 0xc]
mov dword [esp + 0xc], edx
mov dword [esp + 8], str.Windows_Server_2003__wS
mov dword [esp + 4], 0x400
mov dword [esp], eax
call ecx
mov edx, dword [ebp + 0x1c]
mov dword [edx], eax
mov dword [ebp - 0x1c], 0
jmp 0x81eb81
mov eax, dword [ebp + 0x1c]
mov eax, dword [eax]
mov edx, eax
mov eax, dword [ebp + 0x1c]
mov ebx, dword [eax]
mov dword [ebp - 0x2c], ebx
mov eax, dword [ebp + 0x34]
mov esi, dword [eax]
mov dword [ebp - 0x30], esi
mov eax, dword [ebp + 8]
mov edi, dword [eax]
mov dword [ebp - 0x34], edi
mov eax, dword [ebp + 0x38]
mov ecx, dword [eax]
mov dword [ebp - 0x38], ecx
mov eax, dword [ebp + 0x1c]
mov eax, dword [eax]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp + 8]
mov ebx, dword [eax]
mov dword [ebp - 0x40], ebx
mov eax, dword [ebp + 0x1c]
mov esi, dword [eax]
mov dword [ebp - 0x44], esi
mov eax, dword [ebp + 0x2c]
mov edi, dword [eax]
mov dword [ebp - 0x48], edi
mov eax, dword [ebp + 0x24]
mov ecx, dword [eax]
mov dword [ebp - 0x4c], ecx
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp + 0x20]
mov ebx, dword [eax]
mov dword [ebp - 0x54], ebx
mov eax, dword [ebp + 0x1c]
mov esi, dword [eax]
mov dword [ebp - 0x58], esi
mov eax, dword [ebp + 0x1c]
mov edi, dword [eax]
mov dword [ebp - 0x5c], edi
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov dword [ebp - 0x60], ecx
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp + 8]
mov ebx, dword [eax]
mov dword [ebp - 0x68], ebx
mov eax, dword [ebp + 0x1c]
mov esi, dword [eax]
mov dword [ebp - 0x6c], esi
mov eax, dword [ebp + 0x30]
mov edi, dword [eax]
mov dword [ebp - 0x70], edi
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov dword [ebp - 0x74], ecx
mov eax, dword [ebp + 0x1c]
mov edi, dword [eax]
mov eax, dword [ebp + 0x18]
mov esi, dword [eax]
mov eax, dword [ebp + 0x1c]
mov ebx, dword [eax]
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax]
mov eax, dword [ebp + 0x1c]
mov eax, dword [eax]
mov dword [ebp - 0x78], eax
mov eax, dword [ebp + 0x1c]
mov eax, dword [eax]
fld qword [0x88ea90]
fstp qword [esp + 0x88]
mov dword [esp + 0x84], edx
mov edx, dword [ebp - 0x2c]
mov dword [esp + 0x80], edx
mov edx, dword [ebp - 0x30]
mov dword [esp + 0x7c], edx
mov edx, dword [ebp - 0x34]
mov dword [esp + 0x78], edx
mov edx, dword [ebp - 0x38]
mov dword [esp + 0x74], edx
mov edx, dword [ebp - 0x3c]
mov dword [esp + 0x70], edx
mov edx, dword [ebp - 0x40]
mov dword [esp + 0x6c], edx
mov edx, dword [ebp - 0x44]
mov dword [esp + 0x68], edx
mov edx, dword [ebp - 0x48]
mov dword [esp + 0x64], edx
mov edx, dword [ebp - 0x4c]
mov dword [esp + 0x60], edx
mov dword [esp + 0x5c], 0x10f
mov edx, dword [ebp - 0x50]
mov dword [esp + 0x58], edx
mov edx, dword [ebp - 0x54]
mov dword [esp + 0x54], edx
mov edx, dword [ebp - 0x58]
mov dword [esp + 0x50], edx
mov edx, dword [ebp - 0x5c]
mov dword [esp + 0x4c], edx
mov dword [esp + 0x48], 0x38
mov edx, dword [ebp - 0x60]
mov dword [esp + 0x44], edx
fld qword [0x88ea90]
fstp qword [esp + 0x3c]
fld qword [0x88ea98]
fstp qword [esp + 0x34]
mov edx, dword [ebp - 0x64]
mov dword [esp + 0x30], edx
mov edx, dword [ebp - 0x68]
mov dword [esp + 0x2c], edx
mov edx, dword [ebp - 0x6c]
mov dword [esp + 0x28], edx
mov edx, dword [ebp - 0x70]
mov dword [esp + 0x24], edx
mov edx, dword [ebp - 0x74]
mov dword [esp + 0x20], edx
mov dword [esp + 0x1c], edi
mov dword [esp + 0x18], esi
mov dword [esp + 0x14], ebx
fld qword [0x88eab8]
fstp qword [esp + 0xc]
mov dword [esp + 8], ecx
mov ebx, dword [ebp - 0x78]
mov dword [esp + 4], ebx
mov dword [esp], eax
call sym._ExportWinAPI
mov edx, dword [ebp + 0x28]
mov dword [edx], eax
mov dword [ebp - 0x1c], 1
jmp 0x81eb81
nop
jmp 0x81e96c
nop
add esp, 0xfc
pop ebx
pop esi
pop edi
pop ebp
ret