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

Disassembly:
push 0xffffffffffffffff
push 0x5d9210
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
push ebx
push esi
push 6
push 0x60dab0
lea ecx, [esp + 0x24]
call fcn.00558100
push 6
push 0x60daa8
lea ecx, [esp + 0x20]
mov dword [esp + 0x38], 0
call fcn.00558100
push 6
push 0x60da00
lea ecx, [esp + 0x1c]
mov byte [esp + 0x38], 1
call fcn.00558100
push 6
push 0x60daa0
lea ecx, [esp + 0x18]
mov byte [esp + 0x38], 2
call fcn.00558100
lea ecx, [esp + 8]
mov byte [esp + 0x30], 3
call fcn.00558060
lea ecx, [esp + 0xc]
mov byte [esp + 0x30], 4
call fcn.00558060
mov ebx, 5
mov byte [esp + 0x30], bl
push ecx
mov ecx, esp
mov dword [esp + 0x24], esp
push 6
push 0x60da98
call fcn.00558100
mov ecx, dword [0x619a64]
call fcn.00548370
push 0
push ecx
lea eax, [esp + 0x20]
mov ecx, esp
mov dword [esp + 0x28], esp
push eax
call fcn.00558070
mov ecx, dword [0x619a64]
call fcn.005484f0
push 0
push ecx
lea edx, [esp + 0x1c]
mov ecx, esp
mov dword [esp + 0x28], esp
push edx
call fcn.00558070
mov ecx, dword [0x619a64]
call fcn.005484f0
sub esp, 0x10
lea eax, [esp + 0x20]
mov esi, esp
mov dword [esp + 0x30], esp
push ecx
mov ecx, esp
mov dword [esp + 0x38], esp
push eax
call fcn.00558070
push esi
call fcn.00560f40
add esp, 4
lea edx, [esp + 0x30]
mov ecx, esp
mov dword [esp + 0x38], esp
push edx
mov byte [esp + 0x48], 6
call fcn.00558070
mov ecx, dword [0x619a64]
mov byte [esp + 0x44], bl
call fcn.00548570
mov ecx, dword [0x619a64]
call fcn.00548950
push 0xc8
mov esi, eax
call fcn.00401520
add esp, 4
test si, si
jne 0x4eca78
push 0
push 4
push ecx
mov ecx, esp
mov dword [esp + 0x30], esp
push 6
push 0x60d798
call fcn.00558100
push ecx
mov byte [esp + 0x40], 7
mov ecx, esp
mov dword [esp + 0x30], esp
push 6
push 0x60da90
call fcn.00558100
mov ecx, 0x619a58
mov byte [esp + 0x40], bl
call fcn.00543af0
cmp ax, 4
je 0x4eca82
push 0
push ecx
mov ecx, esp
mov dword [esp + 0x2c], esp
push 6
push 0x60da88
call fcn.00558100
push ecx
mov byte [esp + 0x3c], 8
mov ecx, esp
mov dword [esp + 0x2c], esp
push 6
push 0x60da80
call fcn.00558100
mov ecx, 0x619a58
mov byte [esp + 0x3c], bl
call fcn.005444e0
mov eax, dword [0x60d238]
movsx cx, byte [eax]
inc eax
push ecx
push eax
lea ecx, [esp + 0x10]
call fcn.00558600
lea edx, [esp + 0xc]
lea eax, [esp + 8]
push edx
push ecx
mov ecx, esp
mov dword [esp + 0x2c], esp
push eax
call fcn.00558070
call fcn.004ed260
add esp, 8
test ax, ax
jg 0x4ec89e
push 0
push 1
push ecx
mov ecx, esp
mov dword [esp + 0x30], esp
push 6
push 0x60d798
call fcn.00558100
push ecx
mov byte [esp + 0x40], 9
mov ecx, esp
mov dword [esp + 0x30], esp
push 6
push 0x60da78
jmp 0x4eca60
xor esi, esi
movsx eax, si
lea eax, [eax + eax*4]
lea ecx, [eax + eax*4]
mov eax, 0x1b4e81b5
shl ecx, 1
imul ecx
sar edx, 6
mov ecx, edx
shr ecx, 0x1f
add edx, ecx
push edx
push ecx
mov ecx, esp
mov dword [esp + 0x2c], esp
push 6
push 0x60da80
call fcn.00558100
push ecx
mov byte [esp + 0x3c], 0xa
mov ecx, esp
mov dword [esp + 0x2c], esp
push 6
push 0x60da88
call fcn.00558100
mov ecx, 0x619a58
mov byte [esp + 0x3c], bl
call fcn.005444e0
cmp ax, 2
je 0x4ec6f1
push 1
call fcn.00401520
add esp, 4
inc esi
cmp si, 0x258
jl 0x4ec8a0
mov eax, dword [0x60d23c]
lea ecx, [esp + 8]
movsx dx, byte [eax]
inc eax
push edx
push eax
call fcn.00558600
lea eax, [esp + 0xc]
lea edx, [esp + 8]
push eax
push ecx
mov ecx, esp
mov dword [esp + 0x2c], esp
push edx
call fcn.00558070
call fcn.004ed260
add esp, 8
mov esi, 0x258
movsx eax, si
lea eax, [eax + eax*4]
lea ecx, [eax + eax*4]
mov eax, 0x1b4e81b5
shl ecx, 1
imul ecx
sar edx, 6
mov eax, edx
shr eax, 0x1f
add edx, eax
push edx
push ecx
mov ecx, esp
mov dword [esp + 0x2c], esp
push 6
push 0x60da80
call fcn.00558100
push ecx
mov byte [esp + 0x3c], 0xb
mov ecx, esp
mov dword [esp + 0x2c], esp
push 6
push 0x60da88
call fcn.00558100
mov ecx, 0x619a58
mov byte [esp + 0x3c], bl
call fcn.005444e0
cmp ax, 2
je 0x4ec6f1
push 1
call fcn.00401520
add esp, 4
inc esi
cmp si, 0x4b0
jl 0x4ec94a
mov eax, dword [0x60d240]
movsx cx, byte [eax]
inc eax
push ecx
push eax
lea ecx, [esp + 0x10]
call fcn.00558600
lea edx, [esp + 0xc]
lea eax, [esp + 8]
push edx
push ecx
mov ecx, esp
mov dword [esp + 0x2c], esp
push eax
call fcn.00558070
call fcn.004ed260
add esp, 8
push 0x64
push ecx
mov ecx, esp
mov dword [esp + 0x2c], esp
push 6
push 0x60da80
call fcn.00558100
push ecx
mov byte [esp + 0x3c], 0xc
mov ecx, esp
mov dword [esp + 0x2c], esp
push 6
push 0x60da88
call fcn.00558100
mov ecx, 0x619a58
mov byte [esp + 0x3c], bl
call fcn.005444e0
push 6
push ebx
lea ecx, [esp + 0x18]
call fcn.005584a0
push 0
push 1
push ecx
mov ecx, esp
mov dword [esp + 0x30], esp
push 6
push 0x60d798
call fcn.00558100
push ecx
mov byte [esp + 0x40], 0xd
mov ecx, esp
mov dword [esp + 0x30], esp
push 6
push 0x60da70
call fcn.00558100
mov ecx, 0x619a58
mov byte [esp + 0x40], bl
call fcn.00543af0
jmp 0x4ec6f1
cmp si, 1
jne 0x4ec6f1
lea ecx, [esp + 0xc]
mov byte [esp + 0x30], 4
call fcn.005581a0
lea ecx, [esp + 8]
mov byte [esp + 0x30], 3
call fcn.005581a0
lea ecx, [esp + 0x10]
mov byte [esp + 0x30], 2
call fcn.005581a0
lea ecx, [esp + 0x14]
mov byte [esp + 0x30], 1
call fcn.005581a0
lea ecx, [esp + 0x18]
mov byte [esp + 0x30], 0
call fcn.005581a0
lea ecx, [esp + 0x1c]
mov dword [esp + 0x30], 0xffffffff
call fcn.005581a0
mov ecx, dword [esp + 0x28]
pop esi
mov ax, 1
mov dword fs:[0], ecx
pop ebx
add esp, 0x2c
ret