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

Disassembly:
push 0xffffffffffffffff
push 0x518c08
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
mov eax, dword [esp + 0x30]
push ebx
push ebp
push esi
mov esi, ecx
push edi
push eax
lea ecx, [esp + 0x24]
call fcn.004dd17f
lea ecx, [esp + 0x20]
lea edx, [esp + 0x18]
push ecx
push edx
mov dword [esp + 0x40], 0
call fcn.004b5fd0
add esp, 8
lea ecx, [esp + 0x20]
mov byte [esp + 0x38], 2
call fcn.004dd111
lea edi, [esi + 4]
lea ebx, [esi + 8]
push 0x55cdc0
mov ecx, ebx
mov dword [edi], 0
call fcn.004dd29a
lea ebp, [esi + 0xc]
push 0x55cdc0
mov ecx, ebp
call fcn.004dd29a
lea ecx, [esi + 0x10]
push 0x55cdc0
mov dword [esp + 0x30], ecx
call fcn.004dd29a
lea ecx, [esi + 0x14]
push 0x55cdc0
mov dword [esp + 0x28], ecx
call fcn.004dd29a
add esi, 0x18
push 0x55cdc0
mov ecx, esi
call fcn.004dd29a
push 0x2f
push 0x5c
lea ecx, [esp + 0x20]
call fcn.004d371b
mov eax, dword [0x5580a0]
mov dword [esp + 0x1c], 0
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x40], eax
push 1
lea eax, [esp + 0x44]
push 1
lea ecx, [esp + 0x18]
push eax
lea edx, [esp + 0x20]
push ecx
mov ecx, dword [esp + 0x28]
push edx
push edi
lea eax, [esp + 0x34]
push ebp
push eax
push ecx
mov byte [esp + 0x5c], 5
call fcn.004b61f0
add esp, 0x24
test eax, eax
jne 0x4b7036
push 0x55cdc0
mov ecx, ebp
call fcn.004dd29a
lea ecx, [esp + 0x40]
mov dword [edi], 0
mov byte [esp + 0x38], 4
call fcn.004dd111
lea ecx, [esp + 0x10]
mov byte [esp + 0x38], 3
call fcn.004dd111
lea ecx, [esp + 0x14]
mov byte [esp + 0x38], 2
call fcn.004dd111
lea ecx, [esp + 0x18]
mov dword [esp + 0x38], 0xffffffff
call fcn.004dd111
xor eax, eax
jmp 0x4b715b
mov eax, dword [esp + 0x1c]
cmp eax, 0xffffffff
jne 0x4b7045
xor eax, eax
mov dword [esp + 0x1c], eax
mov edx, dword [eax*4 + 0x557e8c]
mov ecx, ebx
push edx
call fcn.004dd29a
push 0x557eb8
mov ecx, ebx
call fcn.004dd4ed
push 0x2f
lea ecx, [esp + 0x44]
call fcn.004d3ae4
cmp eax, 0xffffffff
jne 0x4b7080
mov ecx, dword [esp + 0x24]
lea eax, [esp + 0x40]
push eax
call fcn.004dd24a
jmp 0x4b70dd
lea edi, [eax + 1]
lea ecx, [esp + 0x28]
push edi
push ecx
lea ecx, [esp + 0x48]
call fcn.004d390c
mov ecx, dword [esp + 0x24]
push eax
mov byte [esp + 0x3c], 6
call fcn.004dd24a
lea ecx, [esp + 0x28]
mov byte [esp + 0x38], 5
call fcn.004dd111
push edi
lea edx, [esp + 0x2c]
push 0
push edx
lea ecx, [esp + 0x4c]
call fcn.004d392f
mov ecx, dword [esp + 0x2c]
push eax
mov byte [esp + 0x3c], 7
call fcn.004dd24a
lea ecx, [esp + 0x28]
mov byte [esp + 0x38], 5
call fcn.004dd111
lea eax, [esp + 0x14]
mov ecx, esi
push eax
call fcn.004dd24a
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx - 8]
test eax, eax
je 0x4b7114
mov edx, dword [esp + 0x10]
mov eax, dword [edx - 8]
test eax, eax
je 0x4b7114
push 0x3a
mov ecx, esi
call fcn.004dd514
lea eax, [esp + 0x10]
mov ecx, esi
push eax
call fcn.004dd529
mov ecx, ebp
call fcn.004dd645
lea ecx, [esp + 0x40]
mov byte [esp + 0x38], 4
call fcn.004dd111
lea ecx, [esp + 0x10]
mov byte [esp + 0x38], 3
call fcn.004dd111
lea ecx, [esp + 0x14]
mov byte [esp + 0x38], 2
call fcn.004dd111
lea ecx, [esp + 0x18]
mov dword [esp + 0x38], 0xffffffff
call fcn.004dd111
mov eax, 1
mov ecx, dword [esp + 0x30]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x2c
ret 4