Function at 0x4c9488
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ebx
push esi
mov ebx, eax
xor eax, eax
push ebp
push 0x4c9795
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 4]
mov edx, 0x4c97ac
call fcn.00404598
push 0
mov ecx, 0x4c97bc
mov edx, dword [ebp - 4]
mov eax, dword [ebx + 0x34]
call fcn.004a9e34
mov edx, dword [ebx + 0xec]
mov dword [edx + 4], eax
push 0
mov ecx, 0x4c97d0
mov edx, dword [ebp - 4]
mov eax, dword [ebx + 0x34]
call fcn.004a9e34
mov edx, dword [ebx + 0xec]
mov dword [edx + 0xc], eax
push 0
mov ecx, 0x4c97e4
mov edx, dword [ebp - 4]
mov eax, dword [ebx + 0x34]
call fcn.004a9e34
mov edx, dword [ebx + 0xec]
mov dword [edx + 8], eax
push 0
mov ecx, 0x4c97f8
mov edx, dword [ebp - 4]
mov eax, dword [ebx + 0x34]
call fcn.004a9e34
mov edx, dword [ebx + 0xec]
mov dword [edx + 0x10], eax
push 0
mov ecx, 0x4c9810
mov edx, dword [ebp - 4]
mov eax, dword [ebx + 0x34]
call fcn.004a9e34
mov esi, dword [ebx + 0xec]
mov dword [esi + 0x18], eax
push 0
lea eax, [ebp - 0xc]
push eax
mov ecx, 0x4c9820
mov edx, dword [ebp - 4]
mov eax, dword [ebx + 0x34]
call fcn.004a9d04
mov ecx, dword [ebp - 0xc]
mov edx, dword [esi + 0x14]
mov eax, ebx
call fcn.004c7fec
push 0
mov ecx, 0x4c9830
mov edx, dword [ebp - 4]
mov eax, dword [ebx + 0x34]
call fcn.004a9e34
mov esi, dword [ebx + 0xec]
mov dword [esi + 0x1c], eax
push 0
lea eax, [ebp - 0x10]
push eax
mov ecx, 0x4c9840
mov edx, dword [ebp - 4]
mov eax, dword [ebx + 0x34]
call fcn.004a9d04
mov ecx, dword [ebp - 0x10]
mov edx, dword [esi + 0x44]
mov eax, ebx
call fcn.004c7fec
push 0
lea eax, [ebp - 0x14]
push eax
mov ecx, 0x4c9854
mov edx, dword [ebp - 4]
mov eax, dword [ebx + 0x34]
call fcn.004a9d04
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebx + 0xec]
mov edx, dword [eax + 0x48]
mov eax, ebx
call fcn.004c7fec
push 0xffffffffffffffff
mov ecx, 0x4c9868
mov edx, dword [ebp - 4]
mov eax, dword [ebx + 0x34]
call fcn.004a9e34
mov edx, dword [ebx + 0xec]
mov dword [edx + 0x2c], eax
push 0xffffffffffffffff
mov ecx, 0x4c9880
mov edx, dword [ebp - 4]
mov eax, dword [ebx + 0x34]
call fcn.004a9e34
mov edx, dword [ebx + 0xec]
mov dword [edx + 0x30], eax
push 0xffffffffffffffff
mov ecx, 0x4c9898
mov edx, dword [ebp - 4]
mov eax, dword [ebx + 0x34]
call fcn.004a9e34
mov edx, dword [ebx + 0xec]
mov dword [edx + 0x34], eax
push 0
mov ecx, 0x4c98b0
mov edx, dword [ebp - 4]
mov eax, dword [ebx + 0x34]
call fcn.004a9e34
mov edx, dword [ebx + 0xec]
mov dword [edx + 0x4c], eax
push 0
mov ecx, 0x4c98cc
mov edx, dword [ebp - 4]
mov eax, dword [ebx + 0x34]
call fcn.004a9e34
mov esi, dword [ebx + 0xec]
mov dword [esi + 0x50], eax
cmp dword [esi + 0x1c], 1
jle 0x4c9657
xor eax, eax
mov dword [esi + 0x1c], eax
push 0
lea eax, [ebp - 8]
push eax
mov ecx, 0x4c98e8
mov edx, dword [ebp - 4]
mov eax, dword [ebx + 0x34]
call fcn.004a9d04
cmp dword [ebp - 8], 0
je 0x4c967f
mov eax, dword [ebx + 0xec]
mov byte [eax + 0x54], 1
jmp 0x4c9689
mov eax, dword [ebx + 0xec]
mov byte [eax + 0x54], 0
push 0
lea eax, [ebp - 8]
push eax
mov ecx, 0x4c9900
mov edx, dword [ebp - 4]
mov eax, dword [ebx + 0x34]
call fcn.004a9d04
cmp dword [ebp - 8], 0
je 0x4c96b1
mov eax, dword [ebx + 0xec]
mov byte [eax + 0x55], 1
jmp 0x4c96bb
mov eax, dword [ebx + 0xec]
mov byte [eax + 0x55], 0
push 0
lea eax, [ebp - 8]
push eax
mov ecx, 0x4c991c
mov edx, dword [ebp - 4]
mov eax, dword [ebx + 0x34]
call fcn.004a9d04
cmp dword [ebp - 8], 0
je 0x4c96e3
mov eax, dword [ebx + 0xec]
mov byte [eax + 0x56], 1
jmp 0x4c96ed
mov eax, dword [ebx + 0xec]
mov byte [eax + 0x56], 0
push 0
lea eax, [ebp - 0x18]
push eax
mov ecx, 0x4c98e8
mov edx, dword [ebp - 4]
mov eax, dword [ebx + 0x34]
call fcn.004a9d04
mov edx, dword [ebp - 0x18]
mov ecx, dword [ebx + 0xa0]
mov eax, ebx
call fcn.004ca4b8
mov edx, dword [ebx + 0xec]
mov dword [edx + 0x38], eax
push 0
lea eax, [ebp - 0x1c]
push eax
mov ecx, 0x4c9900
mov edx, dword [ebp - 4]
mov eax, dword [ebx + 0x34]
call fcn.004a9d04
mov edx, dword [ebp - 0x1c]
mov ecx, dword [ebx + 0xa0]
mov eax, ebx
call fcn.004ca4b8
mov edx, dword [ebx + 0xec]
mov dword [edx + 0x3c], eax
push 0
lea eax, [ebp - 0x20]
push eax
mov ecx, 0x4c991c
mov edx, dword [ebp - 4]
mov eax, dword [ebx + 0x34]
call fcn.004a9d04
mov edx, dword [ebp - 0x20]
mov ecx, dword [ebx + 0xa0]
mov eax, ebx
call fcn.004ca4b8
mov edx, dword [ebx + 0xec]
mov dword [edx + 0x40], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4c979c
lea eax, [ebp - 0x20]
mov edx, 8
call fcn.00404524
ret