Function at 0xdcab50
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0xf29716
mov eax, dword fs:[0]
push eax
sub esp, 0x18
mov eax, dword [0xf916ec]
xor eax, esp
mov dword [esp + 0x14], eax
push ebx
push ebp
push esi
mov eax, dword [0xf916ec]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x38]
xor ebx, ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x18], ebp
mov dword [esp + 0x1c], edi
mov dword [esp + 0x30], ebx
mov eax, dword [edi + 0xc]
cmp eax, 1
je 0xdcabb6
mov dword [esp + 0x30], 0xffffffff
mov eax, dword [edi]
mov edx, dword [eax]
push 1
mov ecx, edi
call edx
jmp 0xdcad5c
mov eax, dword [edi + 0x14]
mov ecx, dword [edi + 0x10]
or dword [edi + 0x28], 0xe
mov dword [edi + 0x10], eax
mov dword [edi + 0xc], 2
mov dword [edi + 0x14], ecx
mov eax, dword [edi + 0x28]
shr eax, 6
test al, 1
je 0xdcace7
xor edx, edx
mov dword [esp + 0x14], edx
mov eax, dword [edi + 0x20]
mov esi, dword [0xfad70c]
mov ecx, eax
cmp eax, ebx
jne 0xdcabf3
mov ecx, dword [esi + 0x20]
cmp edx, dword [ecx + 0x48]
jge 0xdcace3
cmp eax, ebx
jne 0xdcac03
mov eax, dword [esi + 0x20]
mov ecx, dword [eax + 0x44]
mov ebp, dword [ecx + edx*4]
mov edx, dword [esp + 0x18]
mov ebx, dword [edx + 0x20]
lea esi, [ebx + 0x64]
push esi
mov dword [esp + 0x14], esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, ebp
mov byte [esp + 0x30], 3
call fcn.00dcbd60
xor ebx, ebx
push esi
mov byte [esp + 0x34], bl
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
or dword [edi + 0x28], 0x40
cmp dword [edi + 0x20], ebx
jne 0xdcac6b
push 0x130
call fcn.00eb8a50
add esp, 4
mov dword [esp + 0x10], eax
mov byte [esp + 0x30], 4
cmp eax, ebx
je 0xdcac62
push eax
call fcn.00da3050
jmp 0xdcac64
xor eax, eax
mov byte [esp + 0x30], bl
mov dword [edi + 0x20], eax
mov esi, dword [edi + 0x20]
mov eax, dword [esi + 0x20]
cmp dword [esi + 0x1c], eax
jne 0xdcacc3
mov ecx, dword [esi + 0x20]
inc eax
mov dword [esp + 0x20], eax
cmp ecx, eax
jge 0xdcacc3
mov ebx, dword [esi + 0x18]
add ecx, ecx
cmp ecx, eax
mov dword [esp + 0x10], ecx
lea eax, [esp + 0x20]
jl 0xdcac97
lea eax, [esp + 0x10]
mov eax, dword [eax]
push eax
mov dword [esi + 0x20], eax
call fcn.00eb7a7c
mov ecx, dword [esi + 0x1c]
push ecx
push ebx
push eax
mov dword [esi + 0x18], eax
call fcn.00ebc600
lea edx, [esi + 0x24]
add esp, 0x10
cmp ebx, edx
je 0xdcacc3
push ebx
call fcn.00eb9081
add esp, 4
mov ecx, dword [esi + 0x1c]
mov edx, dword [esi + 0x18]
mov eax, 1
add dword [esp + 0x14], eax
mov byte [ecx + edx], al
add dword [esi + 0x1c], eax
mov edx, dword [esp + 0x14]
xor ebx, ebx
jmp 0xdcabe1
mov ebp, dword [esp + 0x18]
or dword [edi + 0x28], 0x40
cmp dword [edi + 0x20], ebx
jne 0xdcad1b
push 0x130
call fcn.00eb8a50
add esp, 4
mov dword [esp + 0x10], eax
mov byte [esp + 0x30], 5
cmp eax, ebx
je 0xdcad12
push eax
call fcn.00da3050
jmp 0xdcad14
xor eax, eax
mov byte [esp + 0x30], bl
mov dword [edi + 0x20], eax
mov edx, dword [edi + 0x20]
xor ecx, ecx
cmp dword [edx + 0x48], ebx
jle 0xdcad48
mov esi, 0x10
lea ebx, [ebx]
mov eax, dword [edx + 0x44]
mov eax, dword [eax + ecx*4]
mov dword [eax + 0x10], ebx
cmp dword [eax + 0x14], esi
jb 0xdcad40
mov eax, dword [eax]
inc ecx
mov byte [eax], bl
cmp ecx, dword [edx + 0x48]
jl 0xdcad30
mov dword [edx + 0x48], ebx
mov ecx, dword [ebp + 4]
mov edx, dword [ecx]
mov eax, dword [edx + 0xc]
push ebx
push edi
push ebp
mov dword [esp + 0x28], ebx
call eax
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x14]
xor ecx, esp
call fcn.00eb8a41
add esp, 0x24
ret 4