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

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0xd
push 0
push 0
dec ecx
jne 0x4f9148
push ebx
push esi
mov ebx, eax
xor eax, eax
push ebp
push 0x4f95b8
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 4]
mov edx, 0x4f95d4
call fcn.00406d30
push 0
mov ecx, 0x4f95f0
mov edx, dword [ebp - 4]
mov eax, dword [ebx + 0x38]
call fcn.004c246c
mov edx, dword [ebx + 0x11c]
mov dword [edx + 4], eax
push 0
mov ecx, 0x4f9610
mov edx, dword [ebp - 4]
mov eax, dword [ebx + 0x38]
call fcn.004c246c
mov edx, dword [ebx + 0x11c]
mov dword [edx + 0xc], eax
push 0
mov ecx, 0x4f9634
mov edx, dword [ebp - 4]
mov eax, dword [ebx + 0x38]
call fcn.004c246c
mov edx, dword [ebx + 0x11c]
mov dword [edx + 8], eax
push 0
mov ecx, 0x4f9654
mov edx, dword [ebp - 4]
mov eax, dword [ebx + 0x38]
call fcn.004c246c
mov edx, dword [ebx + 0x11c]
mov dword [edx + 0x10], eax
push 0
mov ecx, 0x4f967c
mov edx, dword [ebp - 4]
mov eax, dword [ebx + 0x38]
call fcn.004c246c
mov esi, dword [ebx + 0x11c]
mov dword [esi + 0x18], eax
push 0
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x14]
mov edx, dword [ebp - 4]
mov ecx, 0
call fcn.00406f20
mov edx, dword [ebp - 0x14]
mov ecx, 0x4f9694
mov eax, dword [ebx + 0x38]
call fcn.004c22d0
mov edx, dword [ebp - 0x10]
lea eax, [ebp - 0xc]
call fcn.00406ef8
mov ecx, dword [ebp - 0xc]
mov edx, dword [esi + 0x14]
mov eax, ebx
call fcn.004f7658
push 0
mov ecx, 0x4f96a8
mov edx, dword [ebp - 4]
mov eax, dword [ebx + 0x38]
call fcn.004c246c
mov esi, dword [ebx + 0x11c]
mov dword [esi + 0x1c], eax
push 0
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x20]
mov edx, dword [ebp - 4]
mov ecx, 0
call fcn.00406f20
mov edx, dword [ebp - 0x20]
mov ecx, 0x4f96c0
mov eax, dword [ebx + 0x38]
call fcn.004c22d0
mov edx, dword [ebp - 0x1c]
lea eax, [ebp - 0x18]
call fcn.00406ef8
mov ecx, dword [ebp - 0x18]
mov edx, dword [esi + 0x44]
mov eax, ebx
call fcn.004f7658
push 0
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x2c]
mov edx, dword [ebp - 4]
mov ecx, 0
call fcn.00406f20
mov edx, dword [ebp - 0x2c]
mov ecx, 0x4f96d8
mov eax, dword [ebx + 0x38]
call fcn.004c22d0
mov edx, dword [ebp - 0x28]
lea eax, [ebp - 0x24]
call fcn.00406ef8
mov ecx, dword [ebp - 0x24]
mov eax, dword [ebx + 0x11c]
mov edx, dword [eax + 0x48]
mov eax, ebx
call fcn.004f7658
push 0xffffffffffffffff
mov ecx, 0x4f96f0
mov edx, dword [ebp - 4]
mov eax, dword [ebx + 0x38]
call fcn.004c246c
mov edx, dword [ebx + 0x11c]
mov dword [edx + 0x2c], eax
push 0xffffffffffffffff
mov ecx, 0x4f9718
mov edx, dword [ebp - 4]
mov eax, dword [ebx + 0x38]
call fcn.004c246c
mov edx, dword [ebx + 0x11c]
mov dword [edx + 0x30], eax
push 0xffffffffffffffff
mov ecx, 0x4f9744
mov edx, dword [ebp - 4]
mov eax, dword [ebx + 0x38]
call fcn.004c246c
mov edx, dword [ebx + 0x11c]
mov dword [edx + 0x34], eax
push 0
mov ecx, 0x4f976c
mov edx, dword [ebp - 4]
mov eax, dword [ebx + 0x38]
call fcn.004c246c
mov edx, dword [ebx + 0x11c]
mov dword [edx + 0x4c], eax
push 0
mov ecx, 0x4f979c
mov edx, dword [ebp - 4]
mov eax, dword [ebx + 0x38]
call fcn.004c246c
mov esi, dword [ebx + 0x11c]
mov dword [esi + 0x50], eax
cmp dword [esi + 0x1c], 1
jle 0x4f9362
xor eax, eax
mov dword [esi + 0x1c], eax
push 0
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x34]
mov edx, dword [ebp - 4]
mov ecx, 0
call fcn.00406f20
mov edx, dword [ebp - 0x34]
mov ecx, 0x4f97cc
mov eax, dword [ebx + 0x38]
call fcn.004c22d0
mov edx, dword [ebp - 0x30]
lea eax, [ebp - 8]
call fcn.00406ef8
cmp dword [ebp - 8], 0
je 0x4f93a5
mov eax, dword [ebx + 0x11c]
mov byte [eax + 0x54], 1
jmp 0x4f93af
mov eax, dword [ebx + 0x11c]
mov byte [eax + 0x54], 0
push 0
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x3c]
mov edx, dword [ebp - 4]
mov ecx, 0
call fcn.00406f20
mov edx, dword [ebp - 0x3c]
mov ecx, 0x4f97e8
mov eax, dword [ebx + 0x38]
call fcn.004c22d0
mov edx, dword [ebp - 0x38]
lea eax, [ebp - 8]
call fcn.00406ef8
cmp dword [ebp - 8], 0
je 0x4f93f2
mov eax, dword [ebx + 0x11c]
mov byte [eax + 0x55], 1
jmp 0x4f93fc
mov eax, dword [ebx + 0x11c]
mov byte [eax + 0x55], 0
push 0
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x44]
mov edx, dword [ebp - 4]
mov ecx, 0
call fcn.00406f20
mov edx, dword [ebp - 0x44]
mov ecx, 0x4f9808
mov eax, dword [ebx + 0x38]
call fcn.004c22d0
mov edx, dword [ebp - 0x40]
lea eax, [ebp - 8]
call fcn.00406ef8
cmp dword [ebp - 8], 0
je 0x4f943f
mov eax, dword [ebx + 0x11c]
mov byte [eax + 0x56], 1
jmp 0x4f9449
mov eax, dword [ebx + 0x11c]
mov byte [eax + 0x56], 0
push 0
lea eax, [ebp - 0x4c]
push eax
lea eax, [ebp - 0x50]
mov edx, dword [ebp - 4]
mov ecx, 0
call fcn.00406f20
mov edx, dword [ebp - 0x50]
mov ecx, 0x4f97cc
mov eax, dword [ebx + 0x38]
call fcn.004c22d0
mov edx, dword [ebp - 0x4c]
lea eax, [ebp - 0x48]
call fcn.00406ef8
mov edx, dword [ebp - 0x48]
mov ecx, dword [ebx + 0xb8]
mov eax, ebx
call fcn.004fa964
mov edx, dword [ebx + 0x11c]
mov dword [edx + 0x38], eax
push 0
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x5c]
mov edx, dword [ebp - 4]
mov ecx, 0
call fcn.00406f20
mov edx, dword [ebp - 0x5c]
mov ecx, 0x4f97e8
mov eax, dword [ebx + 0x38]
call fcn.004c22d0
mov edx, dword [ebp - 0x58]
lea eax, [ebp - 0x54]
call fcn.00406ef8
mov edx, dword [ebp - 0x54]
mov ecx, dword [ebx + 0xb8]
mov eax, ebx
call fcn.004fa964
mov edx, dword [ebx + 0x11c]
mov dword [edx + 0x3c], eax
push 0
lea eax, [ebp - 0x64]
push eax
lea eax, [ebp - 0x68]
mov edx, dword [ebp - 4]
mov ecx, 0
call fcn.00406f20
mov edx, dword [ebp - 0x68]
mov ecx, 0x4f9808
mov eax, dword [ebx + 0x38]
call fcn.004c22d0
mov edx, dword [ebp - 0x64]
lea eax, [ebp - 0x60]
call fcn.00406ef8
mov edx, dword [ebp - 0x60]
mov ecx, dword [ebx + 0xb8]
mov eax, ebx
call fcn.004fa964
mov edx, dword [ebx + 0x11c]
mov dword [edx + 0x40], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4f95c2
lea eax, [ebp - 0x68]
mov edx, 2
call fcn.0040608c
lea eax, [ebp - 0x60]
call fcn.00406ccc
lea eax, [ebp - 0x5c]
mov edx, 2
call fcn.0040608c
lea eax, [ebp - 0x54]
call fcn.00406ccc
lea eax, [ebp - 0x50]
mov edx, 2
call fcn.0040608c
lea eax, [ebp - 0x48]
call fcn.00406ccc
lea eax, [ebp - 0x44]
mov edx, 8
call fcn.0040608c
lea eax, [ebp - 0x24]
call fcn.00406ccc
lea eax, [ebp - 0x20]
mov edx, 2
call fcn.0040608c
lea eax, [ebp - 0x18]
call fcn.00406ccc
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.0040608c
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00406cd4
ret