Function at 0x4e6048
Capabilities:
Access peb ldr_data
Get kernel32 base address
Get process heap flags
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x36
push 0
push 0
dec ecx
jne 0x4e6050
push ecx
push ebx
mov ebx, edx
mov dword [ebp - 0x14], eax
xor eax, eax
push ebp
push 0x4e63ce
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
call fcn.00404600
lea eax, [ebx + 4]
call fcn.00404600
lea eax, [ebx + 8]
call fcn.00404600
lea eax, [ebx + 0xc]
call fcn.00404600
lea eax, [ebx + 0x10]
call fcn.00404600
lea eax, [ebx + 0x14]
call fcn.00404600
lea eax, [ebx + 0x18]
call fcn.00404600
lea eax, [ebx + 0x1c]
call fcn.00404600
lea eax, [ebx + 0x20]
call fcn.00404600
lea eax, [ebx + 0x24]
call fcn.00404600
lea eax, [ebx + 0x28]
call fcn.00404600
lea eax, [ebx + 0x2c]
call fcn.00404600
lea eax, [ebx + 0x30]
call fcn.00404600
lea eax, [ebx + 0x34]
call fcn.00404600
mov byte [ebx + 0x38], 0
mov byte [ebx + 0x3c], 0
mov byte [ebx + 0x39], 0
mov byte [ebx + 0x3a], 0
mov byte [ebx + 0x3b], 0
mov byte [ebx + 0x3d], 0
push 0x400
push 0x160
lea eax, [ebp - 0x180]
push eax
push 0
mov eax, dword [ebp - 0x14]
call fcn.00404ac0
push eax
call 0x42e798
test eax, eax
je 0x4e6127
mov eax, ebx
lea edx, [ebp - 0x70]
mov ecx, 0x50
call 0x404870
push 0x2000
push 0x160
lea eax, [ebp - 0x180]
push eax
push 0
mov eax, dword [ebp - 0x14]
call fcn.00404ac0
push eax
call 0x42e798
test eax, eax
je 0x4e63a8
lea eax, [ebp - 0x18]
push eax
mov eax, dword [ebp - 0x14]
call fcn.00404ac0
push eax
call 0x406e90
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jle 0x4e63a8
mov eax, dword [ebp - 0x1c]
call 0x4088e8
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x4e63a1
push dword fs:[eax]
mov dword fs:[eax], esp
push ebp
lea edx, [ebp - 0x184]
mov eax, 0x4e63e4
call fcn.004e5fbc
pop ecx
mov edx, dword [ebp - 0x184]
lea eax, [ebx + 4]
call fcn.00404654
push ebp
lea edx, [ebp - 0x188]
mov eax, 0x4e63f8
call fcn.004e5fbc
pop ecx
mov edx, dword [ebp - 0x188]
lea eax, [ebx + 8]
call fcn.00404654
push ebp
lea edx, [ebp - 0x18c]
mov eax, 0x4e6410
call fcn.004e5fbc
pop ecx
mov edx, dword [ebp - 0x18c]
lea eax, [ebx + 0xc]
call fcn.00404654
push ebp
lea edx, [ebp - 0x190]
mov eax, 0x4e6424
call fcn.004e5fbc
pop ecx
mov edx, dword [ebp - 0x190]
lea eax, [ebx + 0x10]
call fcn.00404654
push ebp
lea edx, [ebp - 0x194]
mov eax, 0x4e643c
call fcn.004e5fbc
pop ecx
mov edx, dword [ebp - 0x194]
lea eax, [ebx + 0x14]
call fcn.00404654
push ebp
lea edx, [ebp - 0x198]
mov eax, 0x4e6454
call fcn.004e5fbc
pop ecx
mov edx, dword [ebp - 0x198]
lea eax, [ebx + 0x18]
call fcn.00404654
push ebp
lea edx, [ebp - 0x19c]
mov eax, 0x4e646c
call fcn.004e5fbc
pop ecx
mov edx, dword [ebp - 0x19c]
lea eax, [ebx + 0x1c]
call fcn.00404654
push ebp
lea edx, [ebp - 0x1a0]
mov eax, 0x4e6488
call fcn.004e5fbc
pop ecx
mov edx, dword [ebp - 0x1a0]
lea eax, [ebx + 0x20]
call fcn.00404654
push ebp
lea edx, [ebp - 0x1a4]
mov eax, 0x4e649c
call fcn.004e5fbc
pop ecx
mov edx, dword [ebp - 0x1a4]
lea eax, [ebx + 0x24]
call fcn.00404654
push ebp
lea edx, [ebp - 0x1a8]
mov eax, 0x4e64b4
call fcn.004e5fbc
pop ecx
mov edx, dword [ebp - 0x1a8]
lea eax, [ebx + 0x28]
call fcn.00404654
push ebp
lea edx, [ebp - 0x1ac]
mov eax, 0x4e64c8
call fcn.004e5fbc
pop ecx
mov edx, dword [ebp - 0x1ac]
lea eax, [ebx + 0x2c]
call fcn.00404654
push ebp
lea edx, [ebp - 0x1b0]
mov eax, 0x4e64e0
call fcn.004e5fbc
pop ecx
mov edx, dword [ebp - 0x1b0]
lea eax, [ebx + 0x30]
call fcn.00404654
push ebp
call fcn.004e5e90
pop ecx
mov dword [ebp - 0x20], eax
mov dx, 1
mov eax, dword [ebp - 0x20]
call fcn.004e5e7c
mov byte [ebx + 0x38], al
mov dx, 2
mov eax, dword [ebp - 0x20]
call fcn.004e5e7c
mov byte [ebx + 0x39], al
mov dx, 8
mov eax, dword [ebp - 0x20]
call fcn.004e5e7c
mov byte [ebx + 0x3b], al
mov dx, 0x20
mov eax, dword [ebp - 0x20]
call fcn.004e5e7c
mov byte [ebx + 0x3a], al
mov dx, 4
mov eax, dword [ebp - 0x20]
call fcn.004e5e7c
mov byte [ebx + 0x3c], al
mov dx, 0x10
mov eax, dword [ebp - 0x20]
call fcn.004e5e7c
mov byte [ebx + 0x3d], al
lea edx, [ebp - 0x1b4]
mov eax, dword [ebp - 0x20]
call fcn.004e5a88
mov edx, dword [ebp - 0x1b4]
lea eax, [ebx + 0x34]
call fcn.00404654
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4e63a8
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 8]
call 0x402b44
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4e63d5
lea eax, [ebp - 0x1b4]
mov edx, 0xd
call fcn.00404624
lea eax, [ebp - 0x10]
call fcn.00404600
ret