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

Disassembly:
push 0xffffffffffffffff
push 0x518f68
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.004dd4bb
lea ecx, [esp + 0x20]
lea edx, [esp + 0x18]
push ecx
push edx
mov dword [esp + 0x40], 0
call fcn.004b6300
add esp, 8
lea ecx, [esp + 0x20]
mov byte [esp + 0x38], 2
call fcn.004dd44d
lea edi, [esi + 4]
lea ebx, [esi + 8]
push 0x55cde0
mov ecx, ebx
mov dword [edi], 0
call fcn.004dd5d6
lea ebp, [esi + 0xc]
push 0x55cde0
mov ecx, ebp
call fcn.004dd5d6
lea ecx, [esi + 0x10]
push 0x55cde0
mov dword [esp + 0x30], ecx
call fcn.004dd5d6
lea ecx, [esi + 0x14]
push 0x55cde0
mov dword [esp + 0x28], ecx
call fcn.004dd5d6
add esi, 0x18
push 0x55cde0
mov ecx, esi
call fcn.004dd5d6
push 0x2f
push 0x5c
lea ecx, [esp + 0x20]
call fcn.004d3a57
mov eax, dword [0x5580c0]
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.004b6520
add esp, 0x24
test eax, eax
jne 0x4b7366
push 0x55cde0
mov ecx, ebp
call fcn.004dd5d6
lea ecx, [esp + 0x40]
mov dword [edi], 0
mov byte [esp + 0x38], 4
call fcn.004dd44d
lea ecx, [esp + 0x10]
mov byte [esp + 0x38], 3
call fcn.004dd44d
lea ecx, [esp + 0x14]
mov byte [esp + 0x38], 2
call fcn.004dd44d
lea ecx, [esp + 0x18]
mov dword [esp + 0x38], 0xffffffff
call fcn.004dd44d
xor eax, eax
jmp 0x4b748b
mov eax, dword [esp + 0x1c]
cmp eax, 0xffffffff
jne 0x4b7375
xor eax, eax
mov dword [esp + 0x1c], eax
mov edx, dword [eax*4 + 0x557ea8]
mov ecx, ebx
push edx
call fcn.004dd5d6
push 0x557ed4
mov ecx, ebx
call fcn.004dd829
push 0x2f
lea ecx, [esp + 0x44]
call fcn.004d3e20
cmp eax, 0xffffffff
jne 0x4b73b0
mov ecx, dword [esp + 0x24]
lea eax, [esp + 0x40]
push eax
call fcn.004dd586
jmp 0x4b740d
lea edi, [eax + 1]
lea ecx, [esp + 0x28]
push edi
push ecx
lea ecx, [esp + 0x48]
call fcn.004d3c48
mov ecx, dword [esp + 0x24]
push eax
mov byte [esp + 0x3c], 6
call fcn.004dd586
lea ecx, [esp + 0x28]
mov byte [esp + 0x38], 5
call fcn.004dd44d
push edi
lea edx, [esp + 0x2c]
push 0
push edx
lea ecx, [esp + 0x4c]
call fcn.004d3c6b
mov ecx, dword [esp + 0x2c]
push eax
mov byte [esp + 0x3c], 7
call fcn.004dd586
lea ecx, [esp + 0x28]
mov byte [esp + 0x38], 5
call fcn.004dd44d
lea eax, [esp + 0x14]
mov ecx, esi
push eax
call fcn.004dd586
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx - 8]
test eax, eax
je 0x4b7444
mov edx, dword [esp + 0x10]
mov eax, dword [edx - 8]
test eax, eax
je 0x4b7444
push 0x3a
mov ecx, esi
call fcn.004dd850
lea eax, [esp + 0x10]
mov ecx, esi
push eax
call fcn.004dd865
mov ecx, ebp
call fcn.004dd981
lea ecx, [esp + 0x40]
mov byte [esp + 0x38], 4
call fcn.004dd44d
lea ecx, [esp + 0x10]
mov byte [esp + 0x38], 3
call fcn.004dd44d
lea ecx, [esp + 0x14]
mov byte [esp + 0x38], 2
call fcn.004dd44d
lea ecx, [esp + 0x18]
mov dword [esp + 0x38], 0xffffffff
call fcn.004dd44d
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