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

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0xb
push 0
push 0
dec ecx
jne 0x4d9aac
push ebx
push esi
push edi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.0040520c
xor eax, eax
push ebp
push 0x4d9e6b
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x14]
call fcn.00406c50
mov byte [ebp - 5], 0
xor eax, eax
push ebp
push 0x4d9b1b
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
lea eax, [ebp - 0x18]
mov edx, dword [ebp - 4]
call fcn.00405628
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ecx, 0x10
call fcn.004abc60
mov dword [ebp - 0xc], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4d9b2a
cmp dword [ebp - 0xc], 0
je 0x4d9b54
push 0
push 0
lea edx, [ebp - 0x28]
mov eax, 0x4d9e84
call fcn.0048cc8c
lea edx, [ebp - 0x28]
mov ecx, 0x10
mov eax, dword [ebp - 0xc]
call fcn.004ab7c4
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x4d9e38
lea eax, [ebp - 0x14]
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 8]
call fcn.00406c68
xor eax, eax
push ebp
push 0x4d9e31
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [0x4d7994]
mov eax, 0x48
call fcn.00405ec0
mov ebx, eax
mov dl, 1
mov eax, dword [0x419ca4]
call fcn.00403e1c
mov dword [ebx + 0x20], eax
mov dl, 1
mov eax, dword [0x419ca4]
call fcn.00403e1c
mov dword [ebx + 0x24], eax
mov dl, 1
mov eax, dword [0x419ca4]
call fcn.00403e1c
mov dword [ebx + 0x28], eax
mov dl, 1
mov eax, dword [0x419ca4]
call fcn.00403e1c
mov dword [ebx + 0x2c], eax
mov dl, 1
mov eax, dword [0x419ca4]
call fcn.00403e1c
mov dword [ebx + 0x30], eax
mov dl, 1
mov eax, dword [0x419ca4]
call fcn.00403e1c
mov dword [ebx + 0x34], eax
mov dl, 1
mov eax, dword [0x419ca4]
call fcn.00403e1c
mov dword [ebx + 0x38], eax
mov dl, 1
mov eax, dword [0x419ca4]
call fcn.00403e1c
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x419ca4]
call fcn.00403e1c
mov dword [ebx + 0x40], eax
mov dl, 1
mov eax, dword [0x419ca4]
call fcn.00403e1c
mov dword [ebx + 0x44], eax
lea ecx, [ebp - 0x2c]
mov edx, 0x4d9eb4
mov eax, dword [ebp - 0x14]
call fcn.004aa62c
mov edx, dword [ebp - 0x2c]
mov eax, ebx
call fcn.00404db0
lea ecx, [ebp - 0x30]
mov edx, 0x4d9ec4
mov eax, dword [ebp - 0x14]
call fcn.004aa62c
mov edx, dword [ebp - 0x30]
lea eax, [ebx + 4]
call fcn.00404db0
mov edx, 0x4d9ed4
mov eax, dword [ebp - 0x14]
call fcn.004aa80c
mov dword [ebx + 8], eax
mov edx, 0x4d9ee8
mov eax, dword [ebp - 0x14]
call fcn.004aa80c
mov dword [ebx + 0xc], eax
mov edx, 0x4d9ef4
mov eax, dword [ebp - 0x14]
call fcn.004aa80c
mov dword [ebx + 0x18], eax
mov edx, 0x4d9f08
mov eax, dword [ebp - 0x14]
call fcn.004aa80c
mov dword [ebx + 0x14], eax
mov edx, 0x4d9f1c
mov eax, dword [ebp - 0x14]
call fcn.004aa80c
mov byte [ebx + 0x10], al
mov edx, 0x4d9f28
mov eax, dword [ebp - 0x14]
call fcn.004aa80c
cmp edx, 0
jne 0x4d9cbc
cmp eax, 1
sete al
mov byte [ebx + 0x1c], al
mov edx, 0x4d9f3c
mov eax, dword [ebp - 0x14]
call fcn.004aa80c
cmp edx, 0
jne 0x4d9cd7
cmp eax, 1
sete al
mov byte [ebx + 0x1d], al
lea ecx, [ebp - 0x34]
mov edx, 0x4d9f50
mov eax, dword [ebp - 0x14]
call fcn.004aa62c
mov edx, dword [ebp - 0x34]
mov eax, dword [ebx + 0x20]
mov ecx, dword [eax]
call dword [ecx + 0x2c]
lea ecx, [ebp - 0x38]
mov edx, 0x4d9f64
mov eax, dword [ebp - 0x14]
call fcn.004aa62c
mov edx, dword [ebp - 0x38]
mov eax, dword [ebx + 0x24]
mov ecx, dword [eax]
call dword [ecx + 0x2c]
lea ecx, [ebp - 0x3c]
mov edx, 0x4d9f7c
mov eax, dword [ebp - 0x14]
call fcn.004aa62c
mov edx, dword [ebp - 0x3c]
mov eax, dword [ebx + 0x28]
mov ecx, dword [eax]
call dword [ecx + 0x2c]
lea ecx, [ebp - 0x40]
mov edx, 0x4d9f98
mov eax, dword [ebp - 0x14]
call fcn.004aa62c
mov edx, dword [ebp - 0x40]
mov eax, dword [ebx + 0x2c]
mov ecx, dword [eax]
call dword [ecx + 0x2c]
lea ecx, [ebp - 0x44]
mov edx, 0x4d9fb8
mov eax, dword [ebp - 0x14]
call fcn.004aa62c
mov edx, dword [ebp - 0x44]
mov eax, dword [ebx + 0x30]
mov ecx, dword [eax]
call dword [ecx + 0x2c]
lea ecx, [ebp - 0x48]
mov edx, 0x4d9fd0
mov eax, dword [ebp - 0x14]
call fcn.004aa62c
mov edx, dword [ebp - 0x48]
mov eax, dword [ebx + 0x34]
mov ecx, dword [eax]
call dword [ecx + 0x2c]
lea ecx, [ebp - 0x4c]
mov edx, 0x4d9fec
mov eax, dword [ebp - 0x14]
call fcn.004aa62c
mov edx, dword [ebp - 0x4c]
mov eax, dword [ebx + 0x38]
mov ecx, dword [eax]
call dword [ecx + 0x2c]
lea ecx, [ebp - 0x50]
mov edx, 0x4da00c
mov eax, dword [ebp - 0x14]
call fcn.004aa62c
mov edx, dword [ebp - 0x50]
mov eax, dword [ebx + 0x3c]
mov ecx, dword [eax]
call dword [ecx + 0x2c]
lea ecx, [ebp - 0x54]
mov edx, 0x4da030
mov eax, dword [ebp - 0x14]
call fcn.004aa62c
mov edx, dword [ebp - 0x54]
mov eax, dword [ebx + 0x40]
mov ecx, dword [eax]
call dword [ecx + 0x2c]
lea ecx, [ebp - 0x58]
mov edx, 0x4da050
mov eax, dword [ebp - 0x14]
call fcn.004aa62c
mov edx, dword [ebp - 0x58]
mov eax, dword [ebx + 0x44]
mov ecx, dword [eax]
call dword [ecx + 0x2c]
mov ecx, ebx
mov edx, dword [ebx]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
mov eax, dword [eax + 0xb8]
mov ebx, dword [eax]
call dword [ebx + 0x3c]
mov byte [ebp - 5], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4d9e38
cmp dword [ebp - 0x10], 0
je 0x4d9e1f
mov eax, dword [ebp - 0x10]
call fcn.00403e4c
mov eax, dword [ebp + 8]
cmp dword [eax - 4], 0
je 0x4d9e30
mov eax, dword [ebp - 0xc]
call fcn.00403e4c
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4d9e72
lea eax, [ebp - 0x58]
mov edx, 0xc
call fcn.00404d80
lea eax, [ebp - 0x18]
call fcn.004054a4
lea eax, [ebp - 0x14]
call fcn.00406c50
lea eax, [ebp - 4]
call fcn.00404d5c
ret