Function at 0x4b8770
Capabilities:
Access peb ldr_data
Get ntdll base address
Get process heap flags
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x572e41
mov eax, dword fs:[0]
push eax
sub esp, 0xc
mov eax, dword [0x5f969c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x18], ecx
push 0x20019
push 0x586d50
lea ecx, [ebp - 0x14]
call fcn.004ccc50
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax]
push ecx
mov edx, dword [ebp - 0x18]
push edx
push 0x586d64
lea ecx, [ebp - 0x14]
call fcn.004cd320
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + 4]
push ecx
mov edx, dword [ebp - 0x18]
add edx, 4
push edx
push 0x586d78
lea ecx, [ebp - 0x14]
call fcn.004cd320
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + 8]
push ecx
mov edx, dword [ebp - 0x18]
add edx, 8
push edx
push 0x586d8c
lea ecx, [ebp - 0x14]
call fcn.004cd320
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + 0xc]
push ecx
mov edx, dword [ebp - 0x18]
add edx, 0xc
push edx
push 0x586d9c
lea ecx, [ebp - 0x14]
call fcn.004cd320
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + 0x10]
push ecx
mov edx, dword [ebp - 0x18]
add edx, 0x10
push edx
push 0x586db8
lea ecx, [ebp - 0x14]
call fcn.004cd320
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + 0x14]
push ecx
mov edx, dword [ebp - 0x18]
add edx, 0x14
push edx
push 0x586dd8
lea ecx, [ebp - 0x14]
call fcn.004cd320
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + 0x18]
push ecx
mov edx, dword [ebp - 0x18]
add edx, 0x18
push edx
push 0x586dec
lea ecx, [ebp - 0x14]
call fcn.004cd320
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + 0x1c]
push ecx
mov edx, dword [ebp - 0x18]
add edx, 0x1c
push edx
push 0x586e04
lea ecx, [ebp - 0x14]
call fcn.004cd320
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + 0x30]
push ecx
mov edx, dword [ebp - 0x18]
add edx, 0x30
push edx
push 0x586e1c
lea ecx, [ebp - 0x14]
call fcn.004cd320
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + 0x34]
push ecx
mov edx, dword [ebp - 0x18]
add edx, 0x34
push edx
push 0x586e34
lea ecx, [ebp - 0x14]
call fcn.004cd320
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + 0x38]
push ecx
mov edx, dword [ebp - 0x18]
add edx, 0x38
push edx
push 0x586e44
lea ecx, [ebp - 0x14]
call fcn.004cd320
mov eax, dword [ebp - 0x18]
cmp dword [eax + 0x30], 1
jg 0x4b88e8
mov ecx, dword [ebp - 0x18]
cmp dword [ecx + 0x30], 0
jge 0x4b88f2
mov edx, dword [ebp - 0x18]
mov dword [edx + 0x30], 1
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + 0x2c]
push ecx
mov edx, dword [ebp - 0x18]
add edx, 0x2c
push edx
push 0x586e54
lea ecx, [ebp - 0x14]
call fcn.004cd320
mov eax, dword [ebp - 0x18]
cmp dword [eax + 0x2c], 2
jg 0x4b891f
mov ecx, dword [ebp - 0x18]
cmp dword [ecx + 0x2c], 0
jge 0x4b8929
mov edx, dword [ebp - 0x18]
mov dword [edx + 0x2c], 0
push 0x5c
mov eax, dword [ebp - 0x18]
add eax, 0x3c
push eax
push 0x5c
mov ecx, dword [ebp - 0x18]
add ecx, 0x3c
push ecx
push 0x586e68
lea ecx, [ebp - 0x14]
call fcn.004cd280
mov dword [ebp - 0x10], eax
mov edx, dword [ebp - 0x18]
mov eax, dword [edx + 0xa8]
push eax
mov ecx, dword [ebp - 0x18]
add ecx, 0xa8
push ecx
push 0x586e74
lea ecx, [ebp - 0x14]
call fcn.004cd320
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.004ccd70
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 4