Function at 0x2b1f4f0
Capabilities:
Access peb ldr_data

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x2b1f832
sub esp, 0x2c
mov eax, dword [esp + 0x30]
jmp 0x2b1f515
inc dword [0x30f90d8]
mov ecx, dword [eax + 0x31c]
cmp dword [eax + 0x318], ecx
je 0x2b1f55e
dec ecx
mov dword [eax + 0x31c], ecx
and ecx, 0xff
mov ecx, dword [eax + ecx*4 + 0x320]
nop
nop
mov edx, dword [0x30f90d0]
mov dword [ecx + 0x58], edx
nop
mov edx, ecx
mov dword [0x30f90d0], ecx
mov ecx, dword [0x30f90d4]
test ecx, ecx
jne 0x2b1f50f
nop
mov dword [0x30f90d4], edx
jmp 0x2b1f50f
mov ecx, dword [eax + 0x720]
test ecx, ecx
je 0x2b1f59e
nop
nop
nop
mov edx, dword [0x30f90d0]
mov dword [ecx + 0x58], edx
nop
mov edx, ecx
mov dword [0x30f90d0], ecx
mov ecx, dword [0x30f90d4]
test ecx, ecx
jne 0x2b1f58e
nop
mov dword [0x30f90d4], edx
inc dword [0x30f90d8]
mov dword [eax + 0x720], 0
mov ecx, dword [eax + 0x13b8]
test ecx, ecx
jle 0x2b1f6ae
mov eax, dword fs:[0x14]
mov eax, dword [eax]
mov eax, dword [eax + 0x18]
mov eax, dword [eax + 0x54]
mov dword [esp + 0x20], eax
test byte [eax], al
lea ecx, [eax + 0x13b0]
mov dword [esp + 0x18], ecx
nop
mov dword [esp], ecx
call fcn.02ae95c0
mov eax, dword [esp + 0x30]
lea ecx, [eax + 0x13b0]
mov dword [esp + 0x1c], ecx
nop
mov dword [esp], ecx
call fcn.02ae95c0
mov eax, dword [esp + 0x30]
mov ecx, dword [eax + 0x13b4]
mov edx, dword [eax + 0x13b8]
mov ebx, dword [eax + 0x13bc]
mov ebp, dword [esp + 0x20]
mov dword [esp], ebp
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov dword [esp + 0xc], ebx
call fcn.02b2f1c0
mov eax, dword [esp + 0x30]
mov dword [eax + 0x13b8], 0
mov dword [eax + 0x13bc], 0
mov ecx, dword [0x311e9a0]
test ecx, ecx
jne 0x2b1f64b
mov dword [eax + 0x13b4], 0
jmp 0x2b1f65c
lea edi, [eax + 0x13b4]
mov ecx, eax
xor eax, eax
call fcn.02b3e880
mov eax, ecx
mov dword [eax + 0x13c0], 0
mov dword [eax + 0x13c4], 0
lea ecx, [eax + 0xb58]
mov dword [esp], ecx
mov dword [esp + 8], 0
mov dword [esp + 4], 0
call fcn.02ae20e0
nop
nop
mov eax, dword [esp + 0x1c]
mov dword [esp], eax
call fcn.02ae97c0
nop
nop
mov eax, dword [esp + 0x18]
mov dword [esp], eax
call fcn.02ae97c0
mov eax, dword [esp + 0x30]
mov ecx, dword [0x311e710]
test ecx, ecx
je 0x2b1f6d6
mov dword [esp], eax
call fcn.02b0cce0
mov eax, dword [esp + 0x30]
lea ecx, [eax + 0xb84]
mov dword [esp], ecx
call fcn.02b02570
mov eax, dword [esp + 0x30]
lea ecx, [eax + 0x738]
mov dword [esp], ecx
mov dword [esp + 4], 0x200
call fcn.02af0e60
mov eax, dword [esp + 0x30]
mov dword [eax + 0x730], 0
mov dword [eax + 0x734], 0x80
mov ecx, dword [0x311e9a0]
lea edx, [eax + 0x738]
test ecx, ecx
jne 0x2b1f71c
mov dword [eax + 0x72c], edx
jmp 0x2b1f72d
lea edi, [eax + 0x72c]
mov ecx, eax
mov eax, edx
call fcn.02b3e880
mov eax, ecx
xor ecx, ecx
jmp 0x2b1f736
lea ecx, [eax + 1]
mov eax, edx
cmp ecx, 5
jge 0x2b1f7aa
jae 0x2b1f825
mov dword [esp + 0x10], ecx
shl ecx, 7
mov dword [esp + 0x14], ecx
lea ebx, [eax + ecx + 0x88]
mov dword [esp], ebx
mov dword [esp + 4], pe_nt_image_headers32
call fcn.02af0e60
mov eax, dword [esp + 0x10]
lea ecx, [eax + eax*2]
mov edx, dword [esp + 0x30]
mov dword [edx + ecx*4 + 0x50], 0
mov dword [edx + ecx*4 + 0x54], 0x20
mov ebx, dword [esp + 0x14]
lea ebx, [edx + ebx + 0x88]
lea edi, [edx + ecx*4 + 0x4c]
mov ebp, dword [0x311e9a0]
test ebp, ebp
jne 0x2b1f79d
mov dword [edx + ecx*4 + 0x4c], ebx
jmp 0x2b1f731
mov ecx, eax
mov eax, ebx
call fcn.02b3e880
mov eax, ecx
jmp 0x2b1f731
mov dword [esp + 0x24], 0
mov dword [esp + 0x28], 0
lea ecx, [0x2b1f840]
mov dword [esp + 0x24], ecx
mov dword [esp + 0x28], eax
lea ecx, [esp + 0x24]
mov dword [esp], ecx
call fcn.02b3d330
mov eax, dword [esp + 0x30]
mov ecx, dword [eax + 0x30]
mov dword [esp], ecx
call fcn.02af3900
mov eax, dword [esp + 0x30]
mov dword [eax + 0x30], 0
mov dword [esp], eax
call fcn.02b1f060
mov eax, dword [esp + 0x30]
mov dword [esp], eax
call fcn.02b30930
mov eax, dword [esp + 0x30]
mov dword [eax + 0xb68], 0
mov dword [eax + 0xb6c], 0
mov dword [eax + 4], 4
add esp, 0x2c
ret
mov eax, ecx
mov ecx, 5
call fcn.02b3e900
nop
call fcn.02b3d440
jmp fcn.02b1f4f0