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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x64
mov dword [ebp - 0x1c], 0
mov eax, dword [0x4facbc]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x20], 0xe3dd1a13
mov eax, dword [ebp - 0x20]
mov ecx, eax
sub ecx, 0x673abe31
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], ecx
jg 0x40c315
jmp 0x40c1cb
mov eax, dword [ebp - 0x24]
sub eax, 0x9e3c4b63
mov dword [ebp - 0x2c], eax
jg 0x40c1f7
jmp 0x40c1e1
mov eax, dword [ebp - 0x24]
sub eax, 0x978dc74c
mov dword [ebp - 0x30], eax
je 0x40c443
jmp 0x40c32b
mov eax, dword [ebp - 0x24]
sub eax, 0xc715b8df
mov dword [ebp - 0x34], eax
jg 0x40c223
jmp 0x40c20d
mov eax, dword [ebp - 0x24]
sub eax, 0x9e3c4b64
mov dword [ebp - 0x38], eax
je 0x40c4ca
jmp 0x40c32b
mov eax, dword [ebp - 0x24]
sub eax, 0xe3dd1a12
mov dword [ebp - 0x3c], eax
jg 0x40c24f
jmp 0x40c239
mov eax, dword [ebp - 0x24]
sub eax, 0xc715b8e0
mov dword [ebp - 0x40], eax
je 0x40c437
jmp 0x40c32b
mov eax, dword [ebp - 0x24]
sub eax, 0x1b733c5
mov dword [ebp - 0x44], eax
jg 0x40c27b
jmp 0x40c265
mov eax, dword [ebp - 0x24]
sub eax, 0xe3dd1a13
mov dword [ebp - 0x48], eax
je 0x40c330
jmp 0x40c32b
mov eax, dword [ebp - 0x24]
sub eax, 0x166bf9bd
mov dword [ebp - 0x4c], eax
jg 0x40c2a7
jmp 0x40c291
mov eax, dword [ebp - 0x24]
sub eax, 0x1b733c6
mov dword [ebp - 0x50], eax
je 0x40c54a
jmp 0x40c32b
mov eax, dword [ebp - 0x24]
sub eax, 0x1bf7b0d8
mov dword [ebp - 0x54], eax
jg 0x40c2d3
jmp 0x40c2bd
mov eax, dword [ebp - 0x24]
sub eax, 0x166bf9be
mov dword [ebp - 0x58], eax
je 0x40c536
jmp 0x40c32b
mov eax, dword [ebp - 0x24]
sub eax, 0x1bf7b0d9
mov dword [ebp - 0x5c], eax
je 0x40c46f
jmp 0x40c2e9
mov eax, dword [ebp - 0x24]
sub eax, 0x434f6819
mov dword [ebp - 0x60], eax
je 0x40c34e
jmp 0x40c2ff
mov eax, dword [ebp - 0x24]
sub eax, 0x481bb0c6
mov dword [ebp - 0x64], eax
je 0x40c52b
jmp 0x40c32b
mov eax, dword [ebp - 0x24]
sub eax, 0x673abe32
mov dword [ebp - 0x68], eax
je 0x40c3a4
jmp 0x40c32b
jmp 0x40c551
mov eax, 0x978dc74c
mov ecx, 0x434f6819
mov edx, dword [ebp - 0x14]
cmp edx, 0
cmovne eax, ecx
mov dword [ebp - 0x20], eax
jmp 0x40c551
mov eax, 0x166bf9be
mov ecx, 0x673abe32
mov edx, 0
mov esi, dword [0x4fc100]
mov edi, dword [0x4fc0fc]
sub edx, 1
mov ebx, esi
add ebx, edx
imul esi, ebx
and esi, 1
cmp esi, 0
sete dl
cmp edi, 0xa
setl dh
mov bl, dl
and bl, dh
xor dl, dh
or bl, dl
test bl, 1
cmovne eax, ecx
mov dword [ebp - 0x20], eax
jmp 0x40c551
mov eax, 0x166bf9be
mov ecx, 0xc715b8e0
mov dl, 1
mov esi, dword [0x4facbc]
mov dword [ebp - 0x18], esi
mov esi, dword [0x4fc100]
mov edi, dword [0x4fc0fc]
mov ebx, esi
add ebx, 0x5b6c5e05
sub ebx, 1
sub ebx, 0x5b6c5e05
imul esi, ebx
and esi, 1
cmp esi, 0
sete dh
cmp edi, 0xa
setl bl
mov bh, dh
xor bh, 1
mov dword [ebp - 0x6c], eax
mov al, bl
xor al, 1
xor dl, 1
mov ah, bh
and ah, 1
and dh, dl
mov byte [ebp - 0x6d], al
and al, 1
and bl, dl
or ah, dh
or al, bl
xor ah, al
mov al, byte [ebp - 0x6d]
or bh, al
xor bh, 1
or dl, 1
and bh, dl
or ah, bh
test ah, 1
mov esi, dword [ebp - 0x6c]
cmovne esi, ecx
mov dword [ebp - 0x20], esi
jmp 0x40c551
mov dword [ebp - 0x20], 0x1bf7b0d9
jmp 0x40c551
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0x18]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
mov dword [0x4facbc], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x20], 0x1bf7b0d9
jmp 0x40c551
mov eax, 0x1b733c6
mov ecx, 0x9e3c4b64
mov edx, dword [0x4fc100]
mov esi, dword [0x4fc0fc]
mov edi, edx
add edi, 0xf6537a1d
sub edi, 1
sub edi, 0xf6537a1d
imul edx, edi
and edx, 1
cmp edx, 0
sete bl
cmp esi, 0xa
setl bh
mov dl, bl
and dl, bh
xor bl, bh
or dl, bl
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x20], eax
jmp 0x40c551
mov eax, 0x1b733c6
mov ecx, 0x481bb0c6
mov edx, dword [ebp - 0x18]
mov dword [ebp - 0x10], edx
mov edx, dword [0x4fc100]
mov esi, dword [0x4fc0fc]
mov edi, edx
sub edi, 0xae356825
sub edi, 1
add edi, 0xae356825
imul edx, edi
and edx, 1
cmp edx, 0
sete bl
cmp esi, 0xa
setl bh
mov dl, bl
and dl, bh
xor bl, bh
or dl, bl
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x20], eax
jmp 0x40c551
mov eax, dword [ebp - 0x10]
add esp, 0x64
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, dword [0x4facbc]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x20], 0x673abe32
jmp 0x40c551
mov dword [ebp - 0x20], 0x9e3c4b64
jmp 0x40c1af