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

Disassembly:
push 0xffffffffffffffff
push 0x51ed98
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x28
push ebx
push esi
push edi
xor esi, esi
push 0x64
mov dword [esp + 0x40], esi
call dword [sym.imp.KERNEL32.dll_Sleep]
mov al, byte [esp + 0x44]
mov dword [esp + 0x28], esi
mov byte [esp + 0x24], al
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], esi
mov cl, byte [esp + 0x44]
mov dword [esp + 0x18], esi
mov byte [esp + 0x14], cl
mov dword [esp + 0x1c], esi
mov dword [esp + 0x20], esi
mov bl, 2
push 5
push 0x5481f8
lea ecx, [esp + 0x14]
mov byte [esp + 0x44], bl
call fcn.004f58e0
mov edx, dword [esp + 0x2c]
push eax
push 1
push edx
lea ecx, [esp + 0x30]
mov byte [esp + 0x48], 3
call fcn.00401810
lea ecx, [esp + 0xc]
mov byte [esp + 0x3c], bl
call fcn.004f5980
push 5
push 0x5481e0
lea ecx, [esp + 0x14]
call fcn.004f58e0
push eax
mov eax, dword [esp + 0x30]
push 1
push eax
lea ecx, [esp + 0x30]
mov byte [esp + 0x48], 4
call fcn.00401810
lea ecx, [esp + 0xc]
mov byte [esp + 0x3c], bl
call fcn.004f5980
push 6
push 0x5482b0
lea ecx, [esp + 0x14]
call fcn.004f58e0
mov ecx, dword [esp + 0x2c]
push eax
push 1
push ecx
lea ecx, [esp + 0x30]
mov byte [esp + 0x48], 5
call fcn.00401810
lea ecx, [esp + 0xc]
mov byte [esp + 0x3c], bl
call fcn.004f5980
push 6
push 0x5482c0
lea ecx, [esp + 0x14]
call fcn.004f58e0
mov edx, dword [esp + 0x2c]
push eax
push 1
push edx
lea ecx, [esp + 0x30]
mov byte [esp + 0x48], 6
call fcn.00401810
mov byte [esp + 0x3c], bl
lea ecx, [esp + 0xc]
call fcn.004f5980
push 6
push 0x54829c
lea ecx, [esp + 0x14]
call fcn.004f58e0
push eax
mov eax, dword [esp + 0x30]
push 1
push eax
lea ecx, [esp + 0x30]
mov byte [esp + 0x48], 7
call fcn.00401810
lea ecx, [esp + 0xc]
mov byte [esp + 0x3c], bl
call fcn.004f5980
push 6
push 0x5482b8
lea ecx, [esp + 0x14]
call fcn.004f58e0
mov ecx, dword [esp + 0x2c]
push eax
push 1
push ecx
lea ecx, [esp + 0x30]
mov byte [esp + 0x48], 8
call fcn.00401810
lea ecx, [esp + 0xc]
mov byte [esp + 0x3c], bl
call fcn.004f5980
push 6
push 0x54958c
lea ecx, [esp + 0x14]
call fcn.004f58e0
mov edx, dword [esp + 0x2c]
push eax
push 1
push edx
lea ecx, [esp + 0x30]
mov byte [esp + 0x48], 9
call fcn.00401810
lea ecx, [esp + 0xc]
mov byte [esp + 0x3c], bl
call fcn.004f5980
push 7
push 0x5481f0
lea ecx, [esp + 0x14]
call fcn.004f58e0
push eax
mov eax, dword [esp + 0x20]
push 1
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0x48], 0xa
call fcn.00401810
lea ecx, [esp + 0xc]
mov byte [esp + 0x3c], bl
call fcn.004f5980
push 5
push 0x549584
lea ecx, [esp + 0x14]
call fcn.004f58e0
mov ecx, dword [esp + 0x1c]
push eax
push 1
push ecx
lea ecx, [esp + 0x20]
mov byte [esp + 0x48], 0xb
call fcn.00401810
lea ecx, [esp + 0xc]
mov byte [esp + 0x3c], bl
call fcn.004f5980
push 0x55
push 0x54952c
lea ecx, [esp + 0x14]
call fcn.004f58e0
mov edx, dword [esp + 0x1c]
push eax
push 1
push edx
lea ecx, [esp + 0x20]
mov byte [esp + 0x48], 0xc
call fcn.00401810
lea ecx, [esp + 0xc]
mov byte [esp + 0x3c], bl
call fcn.004f5980
push 0x74
push 0x5494b4
lea ecx, [esp + 0x14]
call fcn.004f58e0
push eax
mov eax, dword [esp + 0x20]
push 1
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0x48], 0xd
call fcn.00401810
lea ecx, [esp + 0xc]
mov byte [esp + 0x3c], bl
call fcn.004f5980
push 0x1d
push 0x549494
lea ecx, [esp + 0x14]
call fcn.004f58e0
mov ecx, dword [esp + 0x1c]
push eax
push 1
push ecx
lea ecx, [esp + 0x20]
mov byte [esp + 0x48], 0xe
call fcn.00401810
lea ecx, [esp + 0xc]
mov byte [esp + 0x3c], bl
call fcn.004f5980
push 0x17
push 0x54947c
lea ecx, [esp + 0x14]
call fcn.004f58e0
mov edx, dword [esp + 0x1c]
push eax
push 1
push edx
lea ecx, [esp + 0x20]
mov byte [esp + 0x48], 0xf
call fcn.00401810
lea ecx, [esp + 0xc]
mov byte [esp + 0x3c], bl
call fcn.004f5980
push 0x11
push 0x549468
lea ecx, [esp + 0x18]
call fcn.004f58e0
push eax
mov eax, dword [esp + 0x20]
push 1
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0x48], 0x10
call fcn.00401810
lea ecx, [esp + 0x10]
mov byte [esp + 0x3c], bl
call fcn.004f5980
mov byte [esp + 0xc], 0
mov edx, dword [esp + 0x28]
mov ebx, dword [esp + 0x2c]
cmp edx, esi
jne 0x420d56
xor eax, eax
jmp 0x420d5d
mov eax, ebx
sub eax, edx
sar eax, 2
mov edi, dword [esp + 0xc]
mov ecx, edi
and ecx, 0xff
cmp ecx, eax
jae 0x420db4
lea ecx, [edx + ecx*4]
push ecx
lea ecx, [esp + 0x48]
call fcn.004f5c20
test al, al
jne 0x420d84
inc byte [esp + 0xc]
jmp 0x420d46
mov edx, edi
lea ecx, [esp + 0x14]
and edx, 0xff
push edx
call fcn.0041fe70
push ecx
mov ecx, esp
mov dword [esp + 0x10], esp
push eax
call fcn.004f5850
mov ecx, dword [esp + 0x4c]
call fcn.004f5b70
mov ebx, dword [esp + 0x2c]
mov edx, dword [esp + 0x28]
cmp edx, esi
jne 0x420dbc
xor ebx, ebx
jmp 0x420dc1
sub ebx, edx
sar ebx, 2
and edi, 0xff
mov byte [esp + 0x3c], 1
cmp edi, ebx
mov ebx, dword [esp + 0x1c]
mov edi, dword [esp + 0x18]
jb 0x420e68
cmp edi, ebx
je 0x420df3
push esi
mov ecx, edi
call fcn.00420170
add edi, 4
cmp edi, ebx
jne 0x420de0
mov edi, dword [esp + 0x18]
push edi
call fcn.00514140
mov ebx, dword [esp + 0x30]
mov edi, dword [esp + 0x2c]
add esp, 4
cmp edi, ebx
mov dword [esp + 0x18], esi
mov dword [esp + 0x1c], esi
mov dword [esp + 0x20], esi
mov byte [esp + 0x3c], 0
je 0x420e2c
push esi
mov ecx, edi
call fcn.00420170
add edi, 4
cmp edi, ebx
jne 0x420e19
mov edi, dword [esp + 0x28]
push edi
call fcn.00514140
add esp, 4
lea ecx, [esp + 0x44]
mov dword [esp + 0x28], esi
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], esi
mov dword [esp + 0x3c], 0xffffffff
call fcn.004f5980
xor al, al
mov ecx, dword [esp + 0x34]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
add esp, 0x34
ret 8
cmp edi, ebx
je 0x420e7f
push esi
mov ecx, edi
call fcn.00420170
add edi, 4
cmp edi, ebx
jne 0x420e6c
mov edi, dword [esp + 0x18]
push edi
call fcn.00514140
add esp, 4
lea ecx, [esp + 0x24]
mov dword [esp + 0x18], esi
mov dword [esp + 0x1c], esi
mov dword [esp + 0x20], esi
mov byte [esp + 0x3c], 0
call fcn.004011a0
lea ecx, [esp + 0x44]
mov dword [esp + 0x3c], 0xffffffff
call fcn.004f5980
mov ecx, dword [esp + 0x34]
pop edi
pop esi
mov al, 1
mov dword fs:[0], ecx
pop ebx
add esp, 0x34
ret 8