Function at 0x4f160c
Capabilities:
Rebuild import table

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x8b75b0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xa8
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x14], ebx
xor eax, eax
mov dword [ebp - 0x20], ecx
mov dword [ecx], 0xa0ea94
mov edx, dword [ebp - 0x20]
mov dword [edx + 0x74], 0xa0ea98
mov dword [edx + 0x78], eax
mov dword [edx + 0x7c], eax
mov dword [ebp - 4], 0
mov edx, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x20]
mov ebx, dword [ebp - 0x20]
mov edi, dword [ebp - 0x20]
xor eax, eax
mov esi, dword [ebp - 0x20]
mov dword [edx + 0x58], eax
mov byte [ecx + 0x14], al
add esi, 0x15
mov byte [ebx + 5], 1
mov dword [edi + 0x80], eax
mov edi, 0xa0eb6c
mov dl, byte [edi]
add edi, 1
mov byte [esi], dl
add esi, 1
test dl, dl
jne 0x4f1681
lea edx, [ebp - 0xb4]
xor eax, eax
mov dword [edx], eax
mov dword [edx + 4], eax
mov dword [edx + 8], eax
mov dword [edx + 0xc], eax
mov dword [edx + 0x10], eax
mov dword [edx + 0x14], eax
mov dword [edx + 0x18], eax
mov dword [edx + 0x1c], eax
mov dword [edx + 0x20], eax
mov dword [edx + 0x24], eax
mov dword [edx + 0x28], eax
mov dword [edx + 0x2c], eax
mov dword [edx + 0x30], eax
mov dword [edx + 0x34], eax
mov dword [edx + 0x38], eax
mov dword [edx + 0x3c], eax
mov dword [edx + 0x40], eax
mov dword [edx + 0x44], eax
mov dword [edx + 0x48], eax
mov dword [edx + 0x4c], eax
mov dword [edx + 0x50], eax
mov dword [edx + 0x54], eax
mov dword [edx + 0x58], eax
mov dword [edx + 0x5c], eax
mov dword [edx + 0x60], eax
mov dword [edx + 0x64], eax
mov dword [edx + 0x68], eax
mov dword [edx + 0x6c], eax
mov dword [edx + 0x70], eax
mov dword [edx + 0x74], eax
mov dword [edx + 0x78], eax
mov dword [edx + 0x7c], eax
mov dword [edx + 0x80], eax
mov dword [edx + 0x84], eax
mov dword [edx + 0x88], eax
mov dword [edx + 0x8c], eax
mov dword [edx + 0x90], eax
mov dword [ebp - 0xb4], 0x94
lea eax, [ebp - 0xb4]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
mov eax, dword [ebp - 0x20]
mov edx, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x20]
mov esi, dword [ebp - 0x20]
xor ebx, ebx
mov dword [eax + 0x58], ebx
mov dword [edx + 0x5c], ebx
mov dword [ecx + 0x60], ebx
mov dword [esi + 0x10], ebx
mov edi, dword [ebp - 0xa4]
cmp edi, 2
jne 0x4f175c
mov eax, dword [ebp - 0x20]
mov byte [eax + 4], 1
jmp 0x4f17e0
push 0xa0eb78
mov edx, dword [ebp - 0x20]
xor eax, eax
mov ecx, dword [ebp - 0x20]
mov ebx, dword [ebp - 0x20]
mov esi, dword [ebp - 0x20]
mov byte [edx + 4], al
mov dword [ecx + 0x70], eax
mov dword [ebx + 8], eax
mov dword [esi + 0xc], eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edx, dword [ebp - 0x20]
mov dword [edx + 0x10], eax
mov eax, dword [ebp - 0x20]
mov edx, dword [eax + 0x10]
test edx, edx
jne 0x4f179b
mov byte [eax + 5], 0
mov eax, dword [ebp - 0x20]
mov edx, dword [eax + 0x10]
push 0xa0eb88
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0xa0eba0
mov edx, dword [ebp - 0x20]
mov dword [edx + 8], eax
mov eax, dword [ebp - 0x20]
push dword [eax + 0x10]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edx, dword [ebp - 0x20]
mov dword [edx + 0xc], eax
mov edx, dword [ebp - 0x20]
mov eax, dword [edx + 8]
test eax, eax
je 0x4f17d5
mov eax, dword [edx + 0xc]
test eax, eax
jne 0x4f17dc
mov byte [edx + 5], 0
mov edx, dword [ebp - 0x20]
mov byte [edx + 0x64], 0
mov eax, dword [ebp - 0x20]
mov dword [eax + 0x68], 1
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x20]
mov edi, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x18]
mov ebx, dword [ebp - 0x14]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret