Function at 0x4816c0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc0
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 0x40], ebx
mov dword [ebp - 0x24], ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
mov esi, ecx
mov dword [ebp - 0x10], edx
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x4819af
push dword fs:[eax]
mov dword fs:[eax], esp
xor edx, edx
push ebp
push 0x48195a
push dword fs:[edx]
mov dword fs:[edx], esp
xor eax, eax
call fcn.004a4a90
call fcn.004a62f4
call fcn.004a0d34
xor ecx, ecx
mov dl, 1
mov eax, dword [0x47bd5c]
call fcn.0047fe50
mov dword [ebp - 0x14], eax
xor edx, edx
push ebp
push 0x481949
push dword fs:[edx]
mov dword fs:[edx], esp
call fcn.004675e0
mov ebx, eax
mov eax, dword [ebp - 0x14]
mov dword [eax + 0x1c], ebx
cmp ebx, 0x20
setne al
push eax
mov edx, dword [0x4b722c]
mov edx, dword [edx]
xor ecx, ecx
mov eax, dword [ebp - 0x14]
call fcn.0048017c
mov edx, dword [0x4b7434]
mov edx, dword [edx]
mov eax, dword [ebp - 0x14]
call fcn.00480094
lea eax, [ebp - 0x24]
mov edx, dword [ebp + 0x10]
call fcn.00407a54
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x14]
call fcn.0047ff9c
mov ebx, eax
test ebx, ebx
je 0x481933
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0xc]
mov edx, dword [eax + 0xc]
mov eax, dword [ebx + 0x30]
mov cl, 7
call fcn.00467620
mov dword [ebp - 0x1c], eax
xor edx, edx
push ebp
push 0x48192c
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [ebp + 8]
mov edx, 0x4819c4
call fcn.00407880
jne 0x4817ce
lea eax, [ebp - 4]
call fcn.00406b88
mov byte [ebp - 0x1d], 0
jmp 0x4817dd
lea eax, [ebp - 4]
mov edx, dword [ebp + 8]
call fcn.00406fbc
mov byte [ebp - 0x1d], 1
lea eax, [ebp - 8]
call fcn.00406b40
push 0
push 0
push 0
push 0
mov eax, dword [ebp - 0x1c]
call fcn.004680a4
call fcn.00460814
mov ecx, eax
mov edx, dword [ebx + 0x58]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0xc]
call fcn.0046b40c
push esi
lea ecx, [ebp - 0x2c]
mov edx, dword [ebx + 0x74]
mov eax, dword [ebx + 0x70]
call fcn.0043bc98
lea eax, [ebp - 0x2c]
push eax
mov eax, dword [ebp - 0xc]
push eax
push 0
push 0
lea edx, [ebp - 0x34]
mov eax, ebx
call fcn.0047f44c
mov edx, dword [ebp - 0x34]
lea eax, [ebp - 0x30]
call fcn.00407a68
mov eax, dword [ebp - 0x30]
push eax
mov eax, dword [ebp - 0x1c]
push eax
movzx eax, byte [ebx + 0x78]
push eax
movzx eax, byte [ebp - 0x1d]
push eax
lea eax, [ebp - 0x40]
mov edx, dword [ebp - 4]
call fcn.00407a54
mov eax, dword [ebp - 0x40]
lea edx, [ebp - 0x3c]
call fcn.0041b674
mov edx, dword [ebp - 0x3c]
lea eax, [ebp - 0x38]
call fcn.00407a68
mov eax, dword [ebp - 0x38]
push eax
mov ecx, dword [ebp + 0xc]
mov dl, 1
mov eax, dword [0x4815d4]
call fcn.00481ad0
mov dword [ebp - 0x18], eax
xor edx, edx
push ebp
push 0x48190c
push dword fs:[edx]
mov dword fs:[edx], esp
xor edx, edx
push ebp
push 0x4818dd
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [ebp - 0x18]
cmp byte [eax + 0x10], 0
je 0x4818bb
lea eax, [ebp - 8]
mov edx, dword [ebp - 0x18]
mov edx, dword [edx + 0x88]
call fcn.00407a54
jmp 0x4818c7
push 0x1f4
call sub.kernel32.dll_Sleep_1
jmp 0x48189f
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4818e4
mov eax, dword [ebp - 0x18]
call fcn.00404ed4
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x481950
mov eax, dword [ebp - 0x14]
call fcn.00404ed4
ret