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

Disassembly:
add esp, 4
sub edx, 0x11da0
add edx, 0x5d1
call 0x406bd1
add byte [eax], bh
cmp al, 0x34
inc edx
inc edx
cmp ecx, dword [ebx + 0x39]
add esp, 4
pop edx
cmp dword [ebp - 0x3e8], 0
je 0x406be7
cmp dword [ebp - 0xab8], 0
jne 0x406c2d
push esi
push edx
add esp, 4
xor esi, 0xb379
add esi, 0x12f1c
xor esi, 0x52e5
pop esi
push ecx
push edx
add esp, 4
sub ecx, 0xc8d3
sub ecx, 0xaef6
pop ecx
push esi
sub esi, 0x88fd
pop esi
mov edx, dword [ebp - 0x79c]
mov dword [ebp - 0x1990], edx
push 0
call dword [ebp - 0x1990]
mov dword [ebp - 0x20a8], 0xa
push ebx
push edx
add esp, 4
xor ebx, 0x6220
pop ebx
push edi
add edi, 0x15e6b
or edi, 0x643a
pop edi
push ecx
push esi
add esp, 4
add ecx, 0xabf3
and ecx, 0xde4a
xor ecx, 0x17a02
pop ecx
mov eax, dword [ebp - 0x3e8]
mov cl, byte [eax + 0xa]
mov byte [ebp - 0x3ae], cl
mov edx, dword [ebp - 0xab8]
sub edx, dword [ebp - 0x3e8]
mov dword [ebp - 0x1694], edx
mov dword [ebp - 0xce8], 0
push esi
add esi, 0x106a4
or esi, 0xe837
and esi, 0x8908
pop esi
push ecx
push eax
add esp, 4
sub ecx, 0x178e0
xor ecx, 0x11fb8
and ecx, 0xc853
and ecx, 0x103ba
pop ecx
mov byte [ebp - 0x9d4], 0x56
mov byte [ebp - 0x9d3], 0x69
mov byte [ebp - 0x9d2], 0x72
mov byte [ebp - 0x9d1], 0x74
mov byte [ebp - 0x9d0], 0x75
mov byte [ebp - 0x9cf], 0x61
mov byte [ebp - 0x9ce], 0x6c
mov byte [ebp - 0x9cd], 0x50
mov byte [ebp - 0x9cc], 0x72
mov byte [ebp - 0x9cb], 0x6f
mov byte [ebp - 0x9ca], 0x74
mov byte [ebp - 0x9c9], 0x65
mov byte [ebp - 0x9c8], 0x63
mov byte [ebp - 0x9c7], 0x74
mov byte [ebp - 0x9c6], 0
push ecx
or ecx, 0x18c9
call 0x406d45
add byte [esi], bh
aaa
dec eax
cmp eax, 0x3f39403b
inc ecx
add esp, 4
pop ecx
push edi
add edi, 0x17afc
pop edi
push ecx
jmp 0x406d5a
add ecx, 0x76d0
pop ecx
mov eax, dword fs:[0x18]
mov dword [ebp - 0x1994], eax
mov ecx, dword [ebp - 0x1994]
mov edx, dword [ecx + 0x30]
mov dword [ebp - 0x1998], edx
mov eax, dword [ebp - 0x1998]
mov dword [ebp - 0x1614], eax
push eax
push edx
add esp, 4
sub eax, 0xbab8
sub eax, 0x1719d
call 0x406da6
add byte [edi + ecx*2], bh
dec esp
cmp al, 0x46
dec esp
add esp, 4
pop eax
push eax
and eax, 0x58eb
pop eax
push edi
sub edi, 0x13fdf
pop edi
cmp dword [ebp - 0x1614], 0
jne 0x406dd2
mov dword [ebp - 0x2fc], 0
jmp 0x407079
mov ecx, dword [ebp - 0x1614]
mov edx, dword [ecx + 0xc]
mov eax, dword [edx + 0xc]
mov dword [ebp - 0xcc4], eax
push edi
push ecx
add esp, 4
and edi, 0x81d6
pop edi
push ebx
push edx
add esp, 4
jmp 0x406dfb
and ebx, 0xbb79
pop ebx
push ecx
add ecx, 0xaa23
xor ecx, 0x8ded
sub ecx, 0x9dc0
pop ecx
cmp dword [ebp - 0xcc4], 0
jne 0x406e2e
mov dword [ebp - 0x2fc], 0
jmp 0x407079
mov ecx, dword [ebp - 0xcc4]
mov dword [ebp - 0x514], ecx
push edi
push edx
add esp, 4
sub edi, 0x114bd
jmp 0x406e4a
pop edi
push edx
push eax
add esp, 4
and edx, 0x42d7
jmp 0x406e5d
pop edx
push esi
or esi, 0x2cdc
sub esi, 0xb9ed
pop esi
lea edx, [ebp - 0x1738]
mov dword [ebp - 0xcc0], edx
mov eax, dword [ebp - 0x514]
mov ecx, dword [eax + 0x30]
mov dword [ebp - 0xcbc], ecx
xor edx, edx
mov word [ebp - 0x21c], dx
xor eax, eax
mov word [ebp - 0x38], ax
push edi
and edi, 0x1519f
or edi, 0x5231
or edi, 0x139f7
pop edi
push eax
jmp 0x406eb2
jmp 0x406ebb
xor eax, 0xaf56
jmp 0x406ec7
pop eax
mov ecx, dword [ebp - 0xcbc]
mov dx, word [ecx]
mov word [ebp - 0x103e], dx
mov eax, dword [ebp - 0xcbc]
add eax, 2
mov dword [ebp - 0xcbc], eax
mov cx, word [ebp - 0x103e]
mov word [ebp - 0x21c], cx
mov edx, dword [ebp - 0xcc0]
mov ax, word [edx]
mov word [ebp - 0x1040], ax
mov ecx, dword [ebp - 0xcc0]
add ecx, 2
mov dword [ebp - 0xcc0], ecx
mov dx, word [ebp - 0x1040]
mov word [ebp - 0x38], dx
push eax
add eax, 0x634b
xor eax, 0x2137
sub eax, 0xb232
sub eax, 0xa13f
pop eax
push edx
push ecx
add esp, 4
or edx, 0x147ec
xor edx, 0x10e64
and edx, 0x1753d
pop edx
movzx eax, word [ebp - 0x38]
test eax, eax
jne 0x406f6e
movzx ecx, word [ebp - 0x21c]
movzx edx, word [ebp - 0x38]
sub ecx, edx
mov dword [ebp - 0x161c], ecx
jmp 0x406fc8
movzx eax, word [ebp - 0x21c]
movzx ecx, word [ebp - 0x38]
cmp eax, ecx
je 0x406e96
movzx edx, word [ebp - 0x21c]
xor edx, 0x20
movzx eax, word [ebp - 0x38]
cmp edx, eax
je 0x406e96
movzx ecx, word [ebp - 0x21c]
movzx edx, word [ebp - 0x38]
cmp ecx, edx
jge 0x406fb2
mov dword [ebp - 0x1618], 0xffffffff
jmp 0x406fbc
mov dword [ebp - 0x1618], 1
mov eax, dword [ebp - 0x1618]
mov dword [ebp - 0x161c], eax
cmp dword [ebp - 0x161c], 0
jne 0x407011
push ecx
push edx
add esp, 4
xor ecx, 0x8f38
sub ecx, 0x1052d
pop ecx
push eax
xor eax, 0x80f3
and eax, 0xcc70
sub eax, 0x11e76
pop eax
push edx
push ecx
add esp, 4
sub edx, 0x12d5d
pop edx
mov ecx, dword [ebp - 0x514]
mov dword [ebp - 0x2fc], ecx
jmp 0x407079
push eax
call 0x407022
add byte [ecx + 0x38], al
xor al, 0x37
inc ebx
cmp eax, 0x4f503544
add esp, 4
pop eax
push edi
push ecx
add esp, 4
jmp 0x407030
and edi, 0x1479
and edi, 0xc82d
and edi, 0xe97
pop edi
mov edx, dword [ebp - 0x514]
mov eax, dword [edx]
mov dword [ebp - 0x514], eax
mov ecx, dword [ebp - 0x514]
cmp ecx, dword [ebp - 0xcc4]
je 0x40706f
mov edx, dword [ebp - 0x514]
cmp dword [edx + 0x30], 0
jne 0x406e3a
mov dword [ebp - 0x2fc], 0
push edx
push ecx
add esp, 4
sub edx, 0xe32d
sub edx, 0xf8de
or edx, 0xca03
xor edx, 0x5ba8
pop edx
push ebx
or ebx, 0x12e24
or ebx, 0x12621
or ebx, 0xeb65
pop ebx
cmp dword [ebp - 0x2fc], 0
jne 0x4079b0
mov eax, 0x6b
mov word [ebp - 0x1790], ax
mov ecx, 0x65
mov word [ebp - 0x178e], cx
mov edx, 0x72
mov word [ebp - 0x178c], dx
mov eax, 0x6e
mov word [ebp - 0x178a], ax
mov ecx, 0x65
mov word [ebp - 0x1788], cx
mov edx, 0x6c
mov word [ebp - 0x1786], dx
mov eax, 0x33
mov word [ebp - 0x1784], ax
mov ecx, 0x32
mov word [ebp - 0x1782], cx
mov edx, 0x2e
mov word [ebp - 0x1780], dx
mov eax, 0x64
mov word [ebp - 0x177e], ax
mov ecx, 0x6c
mov word [ebp - 0x177c], cx
mov edx, 0x6c
mov word [ebp - 0x177a], dx
xor eax, eax
mov word [ebp - 0x1778], ax
push ecx
xor ecx, 0x3812
xor ecx, 0x31d9
jmp 0x407167
pop ecx
push ebx
push edi
add esp, 4
sub ebx, 0xa9be
call 0x40717f
add byte [ebx + eax*2 + 0x3b], cl
inc ebx
xor edi, dword [ebx]
add esp, 4
pop ebx
mov byte [ebp - 0x8a4], 0x4c
mov byte [ebp - 0x8a3], 0x6f
mov byte [ebp - 0x8a2], 0x61
mov byte [ebp - 0x8a1], 0x64
mov byte [ebp - 0x8a0], 0x4c
mov byte [ebp - 0x89f], 0x69
mov byte [ebp - 0x89e], 0x62
mov byte [ebp - 0x89d], 0x72
mov byte [ebp - 0x89c], 0x61
mov byte [ebp - 0x89b], 0x72
mov byte [ebp - 0x89a], 0x79
mov byte [ebp - 0x899], 0x57
mov byte [ebp - 0x898], 0
mov ecx, dword fs:[0x18]
mov dword [ebp - 0x199c], ecx
mov edx, dword [ebp - 0x199c]
mov eax, dword [edx + 0x30]
mov dword [ebp - 0x19a0], eax
mov ecx, dword [ebp - 0x19a0]
mov dword [ebp - 0x1620], ecx
push edi
and edi, 0xdbcd
call 0x40721d
add byte [esi], dh
xor eax, 0x36504648
dec esi
inc esp
dec esi
add esp, 4
call 0x40722e
add byte [edi], bh
dec esp
dec ebp
xor eax, 0x834c4439
les eax, [ecx + eax*4]
iretd