Function at 0x405ced
Capabilities:
Get number of processors
Resolve function by parsing pe exports

Disassembly:
lea edx, [ebp - 0x3bc]
mov dword [ebp - 0x1f4], edx
mov eax, dword [ebp - 0xc0]
mov ecx, dword [eax + 0x30]
mov dword [ebp - 0x1f0], ecx
xor edx, edx
mov word [ebp - 0x58], dx
xor eax, eax
mov word [ebp - 0xc], ax
mov ecx, dword [ebp - 0x1f0]
mov dx, word [ecx]
mov word [ebp - 0x28c], dx
mov eax, dword [ebp - 0x1f0]
add eax, 2
mov dword [ebp - 0x1f0], eax
mov cx, word [ebp - 0x28c]
mov word [ebp - 0x58], cx
mov edx, dword [ebp - 0x1f4]
mov ax, word [edx]
mov word [ebp - 0x28e], ax
mov ecx, dword [ebp - 0x1f4]
add ecx, 2
mov dword [ebp - 0x1f4], ecx
mov dx, word [ebp - 0x28e]
mov word [ebp - 0xc], dx
movzx eax, word [ebp - 0xc]
test eax, eax
jne 0x405d55
movzx ecx, word [ebp - 0x58]
movzx edx, word [ebp - 0xc]
sub ecx, edx
mov dword [ebp - 0x37c], ecx
jmp 0x405da2
movzx eax, word [ebp - 0x58]
movzx ecx, word [ebp - 0xc]
cmp eax, ecx
je 0x405ce7
movzx edx, word [ebp - 0x58]
xor edx, 0x20
movzx eax, word [ebp - 0xc]
cmp edx, eax
je 0x405ce7
movzx ecx, word [ebp - 0x58]
movzx edx, word [ebp - 0xc]
cmp ecx, edx
jge 0x405d8c
mov dword [ebp - 0x378], 0xffffffff
jmp 0x405d96
mov dword [ebp - 0x378], 1
mov eax, dword [ebp - 0x378]
mov dword [ebp - 0x37c], eax
cmp dword [ebp - 0x37c], 0
jne 0x405db9
mov ecx, dword [ebp - 0xc0]
mov dword [ebp - 0x118], ecx
jmp 0x405def
mov edx, dword [ebp - 0xc0]
mov eax, dword [edx]
mov dword [ebp - 0xc0], eax
mov ecx, dword [ebp - 0xc0]
cmp ecx, dword [ebp - 0x1f8]
je 0x405de5
mov edx, dword [ebp - 0xc0]
cmp dword [edx + 0x30], 0
jp 0x405e0e
add byte [edi], cl
test ebx, ebx
invalid
invalid
invalid
mov dword [ebp - 0x118], 0
cmp dword [ebp - 0x118], 0
jne 0x405e07
mov dword [ebp - 0x1b4], 0
jmp 0x4064b3
mov eax, dword [ebp - 0x118]
mov ecx, dword [eax + 0x18]
mov dword [ebp - 0x8c], ecx
mov dword [ebp - 0x128], 0
mov edx, dword [ebp - 0x8c]
mov dword [ebp - 0x380], edx
cmp dword [ebp - 0x380], 0
jne 0x405e46
mov eax, dword [ebp - 0x128]
mov dword [ebp - 0x98], eax
jmp 0x40606c
mov ecx, dword [ebp - 0x380]
mov edx, dword [ebp - 0x8c]
add edx, dword [ecx + 0x3c]
mov dword [ebp - 0x384], edx
jne 0x405e6e
mov eax, dword [ebp - 0x128]
mov dword [ebp - 0x98], eax
jmp 0x40606c
mov ecx, 8
imul edx, ecx, 0
mov eax, dword [ebp - 0x384]
mov ecx, dword [eax + edx + 0x78]
mov dword [ebp - 0x2b4], ecx
cmp dword [ebp - 0x2b4], 0
jne 0x405ea0
mov edx, dword [ebp - 0x128]
mov dword [ebp - 0x98], edx
jmp 0x40606c
mov eax, dword [ebp - 0x8c]
add eax, dword [ebp - 0x2b4]
mov dword [ebp - 0x11c], eax
jne 0x405ec5
mov ecx, dword [ebp - 0x128]
mov dword [ebp - 0x98], ecx
jmp 0x40606c
mov edx, dword [ebp - 0x11c]
mov eax, dword [ebp - 0x8c]
add eax, dword [edx + 0x20]
mov dword [ebp - 0x48c], eax
mov ecx, dword [ebp - 0x11c]
mov edx, dword [ebp - 0x8c]
add edx, dword [ecx + 0x24]
mov dword [ebp - 0x490], edx
mov eax, dword [ebp - 0x11c]
mov ecx, dword [ebp - 0x8c]
add ecx, dword [eax + 0x1c]
mov dword [ebp - 0x494], ecx
mov dword [ebp - 0x120], 0
jmp 0x405f1f
mov edx, dword [ebp - 0x120]
add edx, 1
mov dword [ebp - 0x120], edx
mov eax, dword [ebp - 0x11c]
mov ecx, dword [ebp - 0x120]
cmp ecx, dword [eax + 0x18]
jae 0x406060
mov edx, dword [ebp - 0x120]
mov eax, dword [ebp - 0x48c]
mov ecx, dword [ebp - 0x8c]
add ecx, dword [eax + edx*4]
mov dword [ebp - 0x124], ecx
mov edx, dword [ebp - 0x120]
mov eax, dword [ebp - 0x490]
movzx ecx, word [eax + edx*2]
mov edx, dword [ebp - 0x494]
mov eax, dword [ebp - 0x8c]
add eax, dword [edx + ecx*4]
mov dword [ebp - 0x498], eax
mov dword [ebp - 0x2c], 0
jmp 0x405f86
mov ecx, dword [ebp - 0x2c]
add ecx, 1
mov dword [ebp - 0x2c], ecx
mov edx, dword [ebp - 0x124]
add edx, dword [ebp - 0x2c]
movsx eax, byte [edx]
test eax, eax
je 0x405fe6
mov ecx, dword [ebp - 0x2c]
movsx edx, byte [ebp + ecx - 0x154]
test edx, edx
je 0x405fe6
mov eax, dword [ebp - 0x124]
add eax, dword [ebp - 0x2c]
movsx ecx, byte [eax]
mov edx, dword [ebp - 0x2c]
movsx eax, byte [ebp + edx - 0x154]
cmp ecx, eax
je 0x405fde
mov ecx, dword [ebp - 0x124]
add ecx, dword [ebp - 0x2c]
movsx edx, byte [ecx]
xor edx, 0x20
mov eax, dword [ebp - 0x2c]
movsx ecx, byte [ebp + eax - 0x154]
cmp edx, ecx
jne 0x405fe2
jmp 0x405f7d
jmp 0x405fe6
mov edx, dword [ebp - 0x124]
add edx, dword [ebp - 0x2c]
movsx eax, byte [edx]
mov ecx, dword [ebp - 0x2c]
movsx edx, byte [ebp + ecx - 0x154]
cmp eax, edx
jne 0x40600d
mov dword [ebp - 0x1fc], 0
jmp 0x406044
mov eax, dword [ebp - 0x124]
add eax, dword [ebp - 0x2c]
movsx ecx, byte [eax]
or ecx, 0x20
mov edx, dword [ebp - 0x2c]
movsx eax, byte [ebp + edx - 0x154]
or eax, 0x20
cmp ecx, eax
jge 0x40603a
mov dword [ebp - 0x1fc], 0xffffffff
jmp 0x406044
mov dword [ebp - 0x1fc], 1
cmp dword [ebp - 0x1fc], 0
jne 0x40605b
mov ecx, dword [ebp - 0x498]
mov dword [ebp - 0x98], ecx
jmp 0x40606c
jmp 0x405f10
mov edx, dword [ebp - 0x128]
mov dword [ebp - 0x98], edx
cmp dword [ebp - 0x98], 0