Function at 0x4b35e0
Capabilities:
Access peb ldr_data
Get ntdll base address
Get number of processors
Get process heap flags

Disassembly:
push 0xffffffffffffffff
push 0x5d5258
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x24
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0x24], esi
call fcn.00435140
mov dword [esp + 0x3c], 0
mov dword [esi], 0x5e6dc4
call fcn.00401020
mov eax, dword [eax + 4]
lea edi, [esi + 8]
push 1
push 0x6093ec
mov ecx, edi
mov dword [esi + 4], eax
call fcn.005585e0
lea ebp, [esi + 0xc]
push 1
push 0x60c164
mov ecx, ebp
call fcn.005585e0
push ecx
mov ecx, esp
mov dword [esp + 0x24], esp
push edi
call fcn.00558070
lea ecx, [esp + 0x1c]
push ecx
mov ecx, dword [esi + 4]
call fcn.00412ba0
lea ecx, [esp + 0x18]
call fcn.005581a0
push ecx
mov ecx, esp
mov dword [esp + 0x24], esp
push ebp
call fcn.00558070
mov ecx, dword [esi + 4]
lea edx, [esp + 0x1c]
push edx
call fcn.00412c20
lea ecx, [esp + 0x18]
call fcn.005581a0
push 1
push 0x60aa24
lea ecx, [esi + 0x64]
call fcn.00558600
lea ecx, [esp + 0x10]
call fcn.00558060
mov ebx, 2
lea edi, [esi + 0x68]
push ebx
push 0x60aa08
mov ecx, edi
mov byte [esp + 0x44], 1
call fcn.00558600
push ecx
mov ecx, esp
mov dword [esp + 0x24], esp
push edi
call fcn.00558070
mov ecx, dword [esi + 4]
lea eax, [esp + 0x1c]
push eax
call fcn.00412ca0
lea ecx, [esp + 0x18]
call fcn.005581a0
push ebx
push 0x60aa08
lea ecx, [esi + 0x6c]
call fcn.00558600
push ebx
push 0x60ab64
lea ecx, [esp + 0x18]
call fcn.00558600
mov eax, dword [esi + 0x5c]
lea edi, [esi + 0x54]
lea ecx, [esp + 0x10]
push ecx
push 1
push eax
mov ecx, edi
call fcn.00402a90
push 5
push 0x60bc20
lea ecx, [esp + 0x18]
call fcn.00558600
mov eax, dword [edi + 8]
lea edx, [esp + 0x10]
push edx
push 1
push eax
mov ecx, edi
call fcn.00402a90
push ebx
push 0x60aa08
lea ecx, [esi + 0x28]
call fcn.00558600
xor eax, eax
lea ecx, [esp + 0x28]
mov dword [esp + 0x29], eax
push 3
mov dword [esp + 0x31], eax
push ecx
lea ecx, [esp + 0x18]
mov byte [esp + 0x30], 0xe2
mov byte [esp + 0x39], al
mov byte [esp + 0x31], bl
mov byte [esp + 0x32], 5
call fcn.005585e0
mov eax, dword [esi + 0x20]
lea edi, [esi + 0x18]
lea edx, [esp + 0x10]
mov ecx, edi
push edx
push 1
push eax
call fcn.00402a90
lea ecx, [esp + 0x14]
call fcn.00558060
push 3
push 0x60c160
lea ecx, [esp + 0x1c]
mov byte [esp + 0x44], bl
call fcn.00558600
mov eax, dword [edi + 8]
mov ecx, dword [edi + 0xc]
sub ecx, eax
mov ebp, eax
sar ecx, 2
cmp ecx, 1
jae 0x4b3882
mov edx, dword [edi + 4]
test edx, edx
je 0x4b37c6
mov ecx, eax
sub ecx, edx
sar ecx, 2
cmp ecx, 1
ja 0x4b37cb
mov ecx, 1
test edx, edx
jne 0x4b37d3
xor eax, eax
jmp 0x4b37d8
sub eax, edx
sar eax, 2
add eax, ecx
test eax, eax
mov dword [esp + 0x20], eax
jge 0x4b37e4
xor eax, eax
lea edx, [eax*4]
push edx
call fcn.005bcf2f
mov dword [esp + 0x20], eax
mov ebx, eax
mov eax, dword [edi + 4]
add esp, 4
cmp eax, ebp
mov dword [esp + 0x18], eax
je 0x4b3827
jmp 0x4b380b
mov eax, dword [esp + 0x18]
push eax
push ebx
call fcn.00402e10
mov eax, dword [esp + 0x20]
add esp, 8
add eax, 4
add ebx, 4
cmp eax, ebp
mov dword [esp + 0x18], eax
jne 0x4b3807
lea eax, [esp + 0x14]
mov ecx, edi
push eax
push 1
push ebx
call fcn.00402d60
mov ecx, dword [edi + 8]
add ebx, 4
push ebx
push ecx
push ebp
mov ecx, edi
call fcn.00402d20
mov edx, dword [edi + 8]
mov eax, dword [edi + 4]
push edx
push eax
mov ecx, edi
call fcn.00402cf0
mov eax, dword [edi + 4]
push eax
call fcn.005bc500
mov ebx, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
add esp, 4
lea edx, [ebx + ecx*4]
mov ecx, edi
mov dword [edi + 0xc], edx
call fcn.0056e680
lea eax, [ebx + eax*4 + 4]
mov dword [edi + 4], ebx
mov dword [edi + 8], eax
jmp 0x4b38ff
mov ecx, eax
sub ecx, ebp
sar ecx, 2
cmp ecx, 1
jae 0x4b38ce
lea edx, [ebp + 4]
mov ecx, edi
push edx
push eax
push ebp
call fcn.00402d20
mov eax, dword [edi + 8]
lea ecx, [esp + 0x14]
mov edx, eax
push ecx
sub edx, ebp
mov ecx, 1
sar edx, 2
sub ecx, edx
push ecx
push eax
mov ecx, edi
call fcn.00402d60
mov eax, dword [edi + 8]
lea edx, [esp + 0x14]
push edx
push eax
push ebp
call fcn.00402d90
add esp, 0xc
jmp 0x4b38fb
push eax
push eax
add eax, 0xfffffffc
mov ecx, edi
push eax
call fcn.00402d20
mov eax, dword [edi + 8]
push eax
add eax, 0xfffffffc
push eax
push ebp
call fcn.00402dd0
lea ecx, [esp + 0x20]
lea edx, [ebp + 4]
push ecx
push edx
push ebp
call fcn.00402d90
add esp, 0x18
add dword [edi + 8], 4
lea ecx, [esp + 0x14]
mov byte [esp + 0x3c], 1
call fcn.005581a0
lea ecx, [esp + 0x10]
mov byte [esp + 0x3c], 0
call fcn.005581a0
mov ecx, dword [esp + 0x34]
mov eax, esi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x30
ret