Function at 0x4b0b20
Capabilities:
Access peb ldr_data
Check for peb ntglobalflag flag
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x73d64c
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
mov ebx, ecx
xor eax, eax
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], 0
push esi
mov dword [ebx + 8], 0
mov dword [ebx + 0xc], 0
mov dword [ebx + 0x10], 0
push edi
mov dword [ebx + 0x20], 0
mov dword [ebx + 0x24], 7
mov word [ebx + 0x10], ax
mov dword [ebx + 0x28], eax
mov dword [ebp - 4], eax
mov dword [ebx + 0x38], eax
mov dword [ebx + 0x3c], 7
mov word [ebx + 0x28], ax
lea eax, [ebx + 0x40]
push 2
push eax
call fcn.006eb0cd
add esp, 8
lea esi, [ebx + 0x70]
mov dword [esi], 0x75cc50
mov dword [ebp - 0x1c], esi
mov dword [esi + 0x70], 0
mov dword [esi + 0x90], 0
mov dword [esi + 0x94], 0
mov dword [esi + 0x98], 0
mov dword [esi + 0x68], 0x75a66c
mov eax, dword [esi]
lea ebx, [esi + 4]
push 0
push ebx
mov byte [ebp - 4], 3
mov eax, dword [eax + 4]
mov dword [ebp - 0x14], 1
mov dword [ebp - 0x10], ebx
mov dword [esi + eax], 0x75a674
mov eax, dword [esi]
mov ecx, dword [eax + 4]
lea eax, [ecx - 8]
mov dword [ecx + esi - 4], eax
mov eax, dword [esi]
mov ecx, dword [eax + 4]
add ecx, esi
call fcn.0049d310
mov eax, dword [esi]
mov dword [ebp - 4], 5
mov eax, dword [eax + 4]
mov dword [esi + eax], 0x75cc4c
mov eax, dword [esi]
mov ecx, dword [eax + 4]
mov dword [ebp - 0x20], ebx
lea eax, [ecx - 0x68]
mov dword [ecx + esi - 4], eax
mov ecx, ebx
call fcn.00499cf0
lea eax, [esi + 4]
lea ebx, [eax + 4]
mov dword [eax], 0x75cc0c
lea esi, [eax + 8]
mov dword [eax + 0xc], ebx
lea edi, [eax + 0x14]
mov byte [eax + 0x48], 0
lea ecx, [eax + 0x18]
mov byte [eax + 0x3d], 0
lea edx, [eax + 0x24]
mov dword [ebp - 0x14], ebx
mov ebx, dword [ebp - 0x10]
mov dword [eax + 0x10], esi
mov dword [eax + 0x1c], edi
mov dword [eax + 0x20], ecx
mov dword [eax + 0x2c], edx
add eax, 0x28
mov dword [ebx + 0x30], eax
mov ebx, dword [ebp - 0x14]
mov dword [esi], 0
mov dword [ecx], 0
mov dword [eax], 0
mov dword [ebx], 0
mov dword [edi], 0
mov dword [edx], 0
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x4c], 0
mov eax, dword [0x902948]
mov ecx, dword [0x90294c]
mov dword [edx + 0x40], eax
mov dword [edx + 0x44], ecx
mov dword [edx + 0x38], 0
mov eax, dword fs:[0x2c]
mov ecx, dword [0x155fab8]
mov byte [ebp - 4], 6
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x902994]
cmp eax, dword [ecx + 0x78c]
jg 0x4b0d7a
mov ecx, dword [0x902990]
push 0
mov eax, dword [ecx]
mov eax, dword [eax]
cmp eax, fcn.004b3530
jne 0x4b0cf0
call fcn.004b3530
jmp 0x4b0cf2
call eax
mov edi, dword [ebp - 0x18]
mov dword [edi + 0x120], eax
lea esi, [edi + 0x124]
mov byte [ebp - 4], 7
mov dword [ebp - 0x20], esi
mov dword [esi], 0
push 0x18
mov dword [esi + 4], 0
mov dword [esi + 8], 0
call fcn.00512870
add esp, 4
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [esi + 4], eax
lea ecx, [esi + 0xc]
mov dword [ecx], 0
mov dword [ecx + 4], 0
mov dword [ecx + 8], 0
mov dword [esi + 0x18], 7
mov dword [esi + 0x1c], 8
mov dword [esi], 0x3f800000
push dword [esi + 4]
mov byte [ebp - 4], 9
push 0x10
call fcn.00491eb0
mov ecx, dword [ebp - 0xc]
mov eax, edi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
push 0x902994
call fcn.006fee91
add esp, 4
cmp dword [0x902994], 0xffffffff
jne 0x4b0cd6
push 0x102
push 0x902958
mov dword [0x902954], 0x75ca90
call fcn.006eb0cd
push 0x902994
mov dword [0x902988], 0
mov dword [0x90298c], 0
mov dword [0x902954], 0x75d1ec
mov dword [0x9027f0], 0x902954
mov dword [0x902990], 0x902954
call fcn.006fee47
add esp, 0xc
jmp 0x4b0cd6