Function at 0x40a0e0
Capabilities:
Access peb ldr_data
Get ntdll base address
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x427e39
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x43914c]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov dword [esp + 0x38], 0
mov dword [esp + 0x20], 0
mov eax, dword [0x43f30c]
mov edx, dword [eax + 0xc]
mov ecx, 0x43f30c
call edx
mov ecx, dword [esp + 0x40]
add eax, 0x10
mov dword [ecx], eax
mov dword [esp + 0x38], 0
mov dword [esp + 0x20], 1
mov dword [esp + 0x18], 0
mov edx, dword [0x43f30c]
mov eax, dword [edx + 0xc]
mov ecx, 0x43f30c
call eax
lea edi, [eax + 0x10]
mov dword [esp + 0x14], edi
mov edx, dword [esp + 0x44]
push 0
lea ecx, [esp + 0x28]
mov dword [esp + 0x3c], 1
call fcn.004147a0
add esp, 4
mov byte [esp + 0x38], 2
mov eax, dword [eax]
lea esi, [eax - 0x10]
add edi, 0xfffffff0
cmp esi, edi
je 0x40a229
cmp dword [edi + 0xc], 0
lea ebp, [edi + 0xc]
jl 0x40a21c
mov ecx, dword [esi]
cmp ecx, dword [edi]
jne 0x40a21c
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
call eax
cmp dword [esi + 0xc], 0
lea ecx, [esi + 0xc]
jl 0x40a1c1
cmp eax, dword [esi]
jne 0x40a1c1
mov ebx, esi
mov edx, 1
lock xadd dword [ecx], edx
jmp 0x40a1fc
mov ecx, dword [esi + 4]
mov edx, dword [eax]
mov edx, dword [edx]
push 2
push ecx
mov ecx, eax
call edx
mov ebx, eax
test ebx, ebx
je 0x40a415
mov eax, dword [esi + 4]
mov dword [ebx + 4], eax
mov eax, dword [esi + 4]
lea ecx, [eax + eax + 2]
push ecx
add esi, 0x10
lea edx, [eax + eax + 2]
push esi
push edx
lea eax, [ebx + 0x10]
push eax
call fcn.00416f35
add esp, 0x10
or ecx, 0xffffffff
lock xadd dword [ebp], ecx
dec ecx
test ecx, ecx
jg 0x40a213
mov ecx, dword [edi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push edi
call eax
add ebx, 0x10
mov dword [esp + 0x14], ebx
jmp 0x40a229
mov ebx, dword [eax - 0xc]
push eax
lea eax, [esp + 0x18]
call fcn.00401470
mov byte [esp + 0x38], 1
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40a24e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push 1
push 0x42afb4
lea ecx, [esp + 0x1c]
push ecx
call fcn.004041b0
mov edx, dword [esp + 0x18]
mov edx, dword [edx + 0x43ee34]
lea ecx, [esp + 0x28]
call fcn.00414980
mov byte [esp + 0x38], 3
mov eax, dword [eax]
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea eax, [esp + 0x1c]
push eax
call fcn.004041b0
mov byte [esp + 0x38], 1
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40a2ad
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edi, dword [esp + 0x40]
mov dword [esp + 0x1c], 0
lea esp, [esp]
mov ecx, dword [esp + 0x14]
push ecx
lea edx, [esp + 0x30]
push edx
call fcn.00409e00
add esp, 8
mov byte [esp + 0x38], 4
mov eax, dword [eax]
mov edi, dword [edi]
lea esi, [eax - 0x10]
sub edi, 0x10
cmp esi, edi
je 0x40a387
cmp dword [edi + 0xc], 0
lea ebp, [edi + 0xc]
jl 0x40a37a
mov ecx, dword [esi]
cmp ecx, dword [edi]
jne 0x40a37a
mov eax, dword [ecx]
mov edx, dword [eax + 0x10]
call edx
cmp dword [esi + 0xc], 0
lea ecx, [esi + 0xc]
jl 0x40a31d
cmp eax, dword [esi]
jne 0x40a31d
mov ebx, esi
mov eax, 1
lock xadd dword [ecx], eax
jmp 0x40a358
mov ecx, dword [esi + 4]
mov edx, dword [eax]
mov edx, dword [edx]
push 2
push ecx
mov ecx, eax
call edx
mov ebx, eax
test ebx, ebx
je 0x40a415
mov eax, dword [esi + 4]
mov dword [ebx + 4], eax
mov eax, dword [esi + 4]
lea ecx, [eax + eax + 2]
push ecx
add esi, 0x10
lea edx, [eax + eax + 2]
push esi
push edx
lea eax, [ebx + 0x10]
push eax
call fcn.00416f35
add esp, 0x10
or ecx, 0xffffffff
lock xadd dword [ebp], ecx
dec ecx
test ecx, ecx
jg 0x40a36f
mov ecx, dword [edi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push edi
call eax
mov ecx, dword [esp + 0x40]
add ebx, 0x10
mov dword [ecx], ebx
jmp 0x40a387
mov ebx, dword [eax - 0xc]
push eax
mov eax, dword [esp + 0x44]
call fcn.00401470
mov byte [esp + 0x38], 1
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40a3ac
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edi, dword [esp + 0x40]
mov ecx, dword [edi]
cmp dword [ecx - 0xc], 0
jg 0x40a3d2
push 0x64
call dword [sym.imp.KERNEL32.DLL_Sleep]
mov eax, dword [esp + 0x1c]
inc eax
cmp eax, 3
mov dword [esp + 0x1c], eax
jl 0x40a2c0
mov edx, dword [edi]
mov byte [esp + 0x38], 0
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
cmp dword [edx - 0xc], 0
lea ecx, [eax + 0xc]
jg 0x40a41a
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40a3ff
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x18]
add eax, 4
mov dword [esp + 0x18], eax
cmp eax, 8
jb 0x40a147
jmp 0x40a430
call fcn.004015e0
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40a430
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [edi]
cmp dword [ecx - 0xc], 0
jg 0x40a72f
mov dword [esp + 0x18], 0
jmp 0x40a450
mov edx, dword [0x43f30c]
mov eax, dword [edx + 0xc]
mov ecx, 0x43f30c
call eax
lea edi, [eax + 0x10]
mov dword [esp + 0x14], edi
mov edx, str.d94236b44e637d51c48394d33b3f5049
lea ecx, [esp + 0x2c]
mov dword [esp + 0x38], 5
call fcn.00414980
mov byte [esp + 0x38], 6
mov eax, dword [eax]
lea esi, [eax - 0x10]
add edi, 0xfffffff0
cmp esi, edi
je 0x40a52e
cmp dword [edi + 0xc], 0
lea ebp, [edi + 0xc]
jl 0x40a521
mov ecx, dword [esi]
cmp ecx, dword [edi]
jne 0x40a521
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
call eax
cmp dword [esi + 0xc], 0
lea ecx, [esi + 0xc]
jl 0x40a4c6
cmp eax, dword [esi]
jne 0x40a4c6
mov ebx, esi
mov edx, 1
lock xadd dword [ecx], edx
jmp 0x40a501
mov ecx, dword [esi + 4]
mov edx, dword [eax]
mov edx, dword [edx]
push 2
push ecx
mov ecx, eax
call edx
mov ebx, eax
test ebx, ebx
je 0x40a415
mov eax, dword [esi + 4]
mov dword [ebx + 4], eax
mov eax, dword [esi + 4]
lea ecx, [eax + eax + 2]
push ecx
add esi, 0x10
lea edx, [eax + eax + 2]
push esi
push edx
lea eax, [ebx + 0x10]
push eax
call fcn.00416f35
add esp, 0x10
or ecx, 0xffffffff
lock xadd dword [ebp], ecx
dec ecx
test ecx, ecx
jg 0x40a518
mov ecx, dword [edi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push edi
call eax
add ebx, 0x10
mov dword [esp + 0x14], ebx
jmp 0x40a52e
mov ebx, dword [eax - 0xc]
push eax
lea eax, [esp + 0x18]
call fcn.00401470
mov byte [esp + 0x38], 5
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40a553
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push 1
push 0x42afb4
lea ecx, [esp + 0x1c]
push ecx
call fcn.004041b0
mov edx, dword [esp + 0x18]
mov edx, dword [edx + 0x43ee34]
lea ecx, [esp + 0x28]
call fcn.00414980
mov byte [esp + 0x38], 7
mov eax, dword [eax]
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea eax, [esp + 0x1c]
push eax
call fcn.004041b0
mov byte [esp + 0x38], 5
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40a5b2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edi, dword [esp + 0x40]
mov dword [esp + 0x1c], 0
mov edi, edi
mov ecx, dword [esp + 0x14]
push ecx
lea edx, [esp + 0x28]
push edx
call fcn.00409e00
add esp, 8
mov byte [esp + 0x38], 8
mov eax, dword [eax]
mov edi, dword [edi]
lea esi, [eax - 0x10]
sub edi, 0x10
cmp esi, edi
je 0x40a68b
cmp dword [edi + 0xc], 0
lea ebp, [edi + 0xc]
jl 0x40a67e
mov ecx, dword [esi]
cmp ecx, dword [edi]
jne 0x40a67e
mov eax, dword [ecx]
mov edx, dword [eax + 0x10]
call edx
cmp dword [esi + 0xc], 0
lea ecx, [esi + 0xc]
jl 0x40a621
cmp eax, dword [esi]
jne 0x40a621
mov ebx, esi
mov eax, 1
lock xadd dword [ecx], eax
jmp 0x40a65c
mov ecx, dword [esi + 4]
mov edx, dword [eax]
mov edx, dword [edx]
push 2
push ecx
mov ecx, eax
call edx
mov ebx, eax
test ebx, ebx
je 0x40a415
mov eax, dword [esi + 4]
mov dword [ebx + 4], eax
mov eax, dword [esi + 4]
lea ecx, [eax + eax + 2]
push ecx
add esi, 0x10
lea edx, [eax + eax + 2]
push esi
push edx
lea eax, [ebx + 0x10]
push eax
call fcn.00416f35
add esp, 0x10
or ecx, 0xffffffff
lock xadd dword [ebp], ecx
dec ecx
test ecx, ecx
jg 0x40a673
mov ecx, dword [edi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push edi
call eax
mov ecx, dword [esp + 0x40]
add ebx, 0x10
mov dword [ecx], ebx
jmp 0x40a68b
mov ebx, dword [eax - 0xc]
push eax
mov eax, dword [esp + 0x44]
call fcn.00401470
mov byte [esp + 0x38], 5
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40a6b0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edi, dword [esp + 0x40]
mov ecx, dword [edi]
cmp dword [ecx - 0xc], 0
jg 0x40a6d6
push 0x64
call dword [sym.imp.KERNEL32.DLL_Sleep]
mov eax, dword [esp + 0x1c]
inc eax
cmp eax, 3
mov dword [esp + 0x1c], eax
jl 0x40a5c0
mov edx, dword [edi]
mov byte [esp + 0x38], 0
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
cmp dword [edx - 0xc], 0
lea ecx, [eax + 0xc]
jg 0x40a719
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40a703
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x18]
add eax, 4
mov dword [esp + 0x18], eax
cmp eax, 8
jb 0x40a450
jmp 0x40a72f
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40a72f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, edi
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x28
ret