Function at 0x4849cc
Capabilities:
Acquire debug privileges

Disassembly:
push ebp
mov ebp, esp
mov ecx, 8
push 0
push 0
dec ecx
jne 0x4849d4
push ebx
mov eax, 0x483ac8
call fcn.00406e8c
xor eax, eax
push ebp
push 0x484cce
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x486e94]
mov eax, dword [eax]
call fcn.0044214c
call fcn.004634b4
mov ecx, 0x484ce4
mov dl, 1
mov eax, dword [0x463704]
call fcn.004637d0
mov edx, dword [0x486b50]
mov dword [edx], eax
call fcn.004634b4
mov edx, dword [eax + 0xc]
mov eax, dword [0x486b50]
mov eax, dword [eax]
add eax, 0x14
call fcn.00405040
push 0
lea eax, [ebp - 0x1c]
call fcn.00463788
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x18], eax
mov byte [ebp - 0x14], 0xb
lea ecx, [ebp - 0x18]
mov eax, dword [0x486b50]
mov eax, dword [eax]
mov edx, 0x484d00
mov ebx, dword [eax]
call dword [ebx + 4]
lea eax, [ebp - 0x24]
call fcn.00476c44
mov ecx, dword [ebp - 0x24]
lea eax, [ebp - 0x20]
mov edx, 0x484d28
call fcn.00405304
mov edx, dword [ebp - 0x20]
mov eax, dword [0x486b50]
mov eax, dword [eax]
mov ecx, dword [eax]
call dword [ecx + 8]
push 0xffffff
call sub.kernel32.dll_SetLastError
mov dl, 1
mov eax, 0x484d3c
call fcn.0047715c
test al, al
je 0x484ae0
call sub.kernel32.dll_GetLastError_1
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x2c]
call fcn.004092ec
push dword [ebp - 0x2c]
push 0x484d58
lea eax, [ebp - 0x30]
call fcn.00476f10
push dword [ebp - 0x30]
lea eax, [ebp - 0x28]
mov edx, 3
call fcn.00405380
mov edx, dword [ebp - 0x28]
mov eax, dword [0x486b50]
mov eax, dword [eax]
mov ecx, dword [eax]
call dword [ecx + 0x10]
jmp 0x484afc
call fcn.004634b4
cmp byte [eax + 4], 0
je 0x484afc
mov eax, dword [0x486b50]
mov eax, dword [eax]
mov edx, 0x484d64
mov ecx, dword [eax]
call dword [ecx + 8]
call fcn.0040329c
test eax, eax
mov eax, dword [0x486c24]
setg byte [eax]
mov eax, dword [0x486e94]
mov eax, dword [eax]
mov edx, 0x484d94
call fcn.00441c04
mov eax, dword [0x486e94]
mov eax, dword [eax]
xor edx, edx
call fcn.00444034
mov eax, dword [0x486c24]
cmp byte [eax], 0
jne 0x484bb0
push 0x484da0
push 0xffffffffffffffff
push 0
call fcn.004073cc
mov dword [0x48cdb0], eax
cmp dword [0x48cdb0], 0
je 0x484b5c
call sub.kernel32.dll_GetLastError_1
cmp eax, 0xb7
jne 0x484b76
push 0
mov cx, word [0x484dbc]
xor edx, edx
mov eax, 0x484dc8
call fcn.00433bcc
jmp 0x484cb3
mov eax, dword [0x486b50]
mov eax, dword [eax]
mov edx, 0x484df0
mov ecx, dword [eax]
call dword [ecx + 8]
mov ecx, dword [0x486f48]
mov eax, dword [0x486e94]
mov eax, dword [eax]
mov edx, dword [0x482c90]
call fcn.00442164
mov eax, dword [0x486e94]
mov eax, dword [eax]
call fcn.0044229c
jmp 0x484cb3
mov eax, dword [0x486b50]
mov eax, dword [eax]
mov edx, 0x484e08
mov ecx, dword [eax]
call dword [ecx + 8]
lea edx, [ebp - 0x34]
mov eax, 1
call fcn.004032fc
mov eax, dword [ebp - 0x34]
push eax
lea edx, [ebp - 0x38]
mov eax, 1
call fcn.00409200
mov edx, dword [ebp - 0x38]
pop eax
call fcn.00405414
jne 0x484c3b
mov eax, dword [0x486b50]
mov eax, dword [eax]
mov edx, 0x484e20
mov ecx, dword [eax]
call dword [ecx + 8]
mov ecx, dword [0x486e08]
mov eax, dword [0x486e94]
mov eax, dword [eax]
mov edx, dword [0x4780a0]
call fcn.00442164
mov eax, dword [0x486e08]
mov eax, dword [eax]
mov dl, 3
call fcn.0043adac
mov eax, dword [0x486e94]
mov eax, dword [eax]
call fcn.0044229c
mov eax, dword [0x486e94]
mov eax, dword [eax]
call fcn.00441b30
jmp 0x484cb3
lea edx, [ebp - 0x3c]
mov eax, 1
call fcn.004032fc
mov eax, dword [ebp - 0x3c]
push eax
lea edx, [ebp - 0x40]
mov eax, 2
call fcn.00409200
mov edx, dword [ebp - 0x40]
pop eax
call fcn.00405414
jne 0x484cb3
mov eax, dword [0x486b50]
mov eax, dword [eax]
mov edx, 0x484e3c
mov ecx, dword [eax]
call dword [ecx + 8]
mov ecx, dword [0x487010]
mov eax, dword [0x486e94]
mov eax, dword [eax]
mov edx, dword [0x481c90]
call fcn.00442164
mov eax, dword [0x487010]
mov eax, dword [eax]
mov dl, 3
call fcn.0043adac
mov eax, dword [0x486e94]
mov eax, dword [eax]
call fcn.0044229c
mov eax, dword [0x486e94]
mov eax, dword [eax]
call fcn.00441b30
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x484cd5
lea eax, [ebp - 0x40]
mov edx, 0xa
call fcn.00405010
ret