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

Disassembly:
add esp, 4
or edx, 0x4df8
or edx, 0x17990
sub edx, 0xb24b
pop edx
push ebx
push ecx
add esp, 4
and ebx, 0xc275
pop ebx
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 edi
xor edi, 0x7792
xor edi, 0x1574a
call 0x406a8b
add byte [edx + edi], dh
inc esi
cmp bh, byte [esi]
inc ecx
dec esi
add esp, 4
xor edi, 0x15f25
pop edi
push ecx
add ecx, 0x3bea
sub ecx, 0x12eaf
pop ecx
cmp dword [ebp - 0x1614], 0
jne 0x406abb
mov dword [ebp - 0x2fc], 0
jmp 0x406d62
mov ecx, dword [ebp - 0x1614]
mov edx, dword [ecx + 0xc]
mov eax, dword [edx + 0xc]
mov dword [ebp - 0xcc4], eax
push ecx
push eax
add esp, 4
call 0x406ade
add byte [edi], bh
aas
aaa
push eax
inc ebx
add esp, 4
call 0x406aef
add byte [eax + 0x4a], cl
inc ebx
cmp al, 0x4b
dec ecx
cmp byte [0x8104c483], dh
int1
les eax, [ecx]
add dword [eax], eax
add ecx, 0xeb7d
pop ecx
cmp dword [ebp - 0xcc4], 0
jne 0x406b17
mov dword [ebp - 0x2fc], 0
jmp 0x406d62
mov ecx, dword [ebp - 0xcc4]
mov dword [ebp - 0x514], ecx
push edi
push edx
add esp, 4
and edi, 0x15fd3
pop edi
push esi
push eax
add esp, 4
sub esi, 0x18455
pop esi
push ecx
xor ecx, 0x18082
or ecx, 0x17b07
sub ecx, 0x115af
xor ecx, 0x5365
pop ecx
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 edx
call 0x406b8f
add byte [edx + 0x36], al
cmp dword ds:[edx + ecx*2 + 0x3b], ecx
inc ebx
dec edx
add esp, 4
call 0x406ba2
add byte [edx + eax*2], dh
inc esp
inc ebx
cmp byte [edi], bh
inc ebx
dec edi
aas
add esp, 4
pop edx
push eax
push edx
add esp, 4
jmp 0x406bb0
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 ebx
call 0x406c18
add byte [esi + 0x3c], al
cmp eax, 0x4f373948
inc esp
inc eax
add esp, 4
xor ebx, 0x6241
pop ebx
push ecx
push eax
add esp, 4
sub ecx, 0x12f43
sub ecx, 0xd2a3
sub ecx, 0x1477e
pop ecx
movzx eax, word [ebp - 0x38]
test eax, eax
jne 0x406c57
movzx ecx, word [ebp - 0x21c]
movzx edx, word [ebp - 0x38]
sub ecx, edx
mov dword [ebp - 0x161c], ecx
jmp 0x406cb1
movzx eax, word [ebp - 0x21c]
movzx ecx, word [ebp - 0x38]
cmp eax, ecx
je 0x406b7f
movzx edx, word [ebp - 0x21c]
xor edx, 0x20
movzx eax, word [ebp - 0x38]
cmp edx, eax
je 0x406b7f
movzx ecx, word [ebp - 0x21c]
movzx edx, word [ebp - 0x38]
cmp ecx, edx
jge 0x406c9b
mov dword [ebp - 0x1618], 0xffffffff
jmp 0x406ca5
mov dword [ebp - 0x1618], 1
mov eax, dword [ebp - 0x1618]
mov dword [ebp - 0x161c], eax
cmp dword [ebp - 0x161c], 0
jne 0x406cfa
push eax
call 0x406cca
add byte [ecx + eax*2], bh
dec edx
inc edi
xor al, 0x38
xor eax, dword [ebp + 0x3d]
add esp, 4
or eax, 0x1130c
sub eax, 0x7ca5
pop eax
push ebx
push eax
add esp, 4
or ebx, 0xf18a
jmp 0x406ceb
pop ebx
mov ecx, dword [ebp - 0x514]
mov dword [ebp - 0x2fc], ecx
jmp 0x406d62
push edi
push eax
add esp, 4
or edi, 0x721a
or edi, 0x14ba6
call 0x406d1a
add byte [ebx + eax*2 + 0x3f], cl
cmp dword [ebx + 0x41], eax
xor ecx, dword [ecx + ecx*2 - 0x7d]
les eax, [ecx + eax*4]
not ecx
sbb byte [ecx], al
add byte [edi + 0x57], bl
and edi, 0xc833
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 0x406d58
mov edx, dword [ebp - 0x514]
cmp dword [edx + 0x30], 0
jne 0x406b23
mov dword [ebp - 0x2fc], 0
push edi
xor edi, 0xf184
pop edi
push ebx
push eax
add esp, 4
and ebx, 0x14d36
call 0x406d84
add byte [esi + 0x4c], cl
cmp dword [ebx], edi
dec edx
dec esi
cmp al, 0x3f
add esp, 4
add ebx, 0x14039
add ebx, 0x34f9
pop ebx
cmp dword [ebp - 0x2fc], 0
jne 0x407699
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
add ecx, 0x9650
sub ecx, 0x3019
pop ecx
push ecx
push eax
add esp, 4
sub ecx, 0x85ed
add ecx, 0x114a4
or ecx, 0x6909
pop ecx
push ecx
push esi
add esp, 4
and ecx, 0xc95d
pop ecx
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 eax
xor eax, 0xbb56
pop eax
push edx
push edx
add esp, 4
call 0x406f08
add byte [ebx + 0x46], cl
inc edx
dec eax
cmp al, 0x3f
add esp, 4
call 0x406f17
add byte [esp + ecx*2 + 0x44], al
inc edi
dec ebx
aas
add esp, 4
sub edx, 0x1370b
pop edx
cmp dword [ebp - 0x1620], 0
jne 0x406f39
mov dword [ebp - 0x774], 0
jmp 0x4071e0
mov edx, dword [ebp - 0x1620]
mov eax, dword [edx + 0xc]
mov ecx, dword [eax + 0xc]
mov dword [ebp - 0xcd0], ecx
push esi
jmp 0x406f54
jmp 0x406f59
jmp 0x406f61
pop esi
push ebx
push esi
add esp, 4
add ebx, 0x1731a
and ebx, 0x3586
jmp 0x406f7c
pop ebx
cmp dword [ebp - 0xcd0], 0
jne 0x406f95
mov dword [ebp - 0x774], 0
jmp 0x4071e0
mov edx, dword [ebp - 0xcd0]
mov dword [ebp - 0x518], edx
push esi
jmp 0x4076a3
sub esi, 0x4553
pop esi
push eax
push edx
add esp, 4
and eax, 0x15975
or eax, 0x60df
add eax, 0x12b70
jmp 0x4076ca
pop eax
mov ecx, dword fs:[0x18]
mov dword [ebp - 0x19bc], ecx
mov edx, dword [ebp - 0x19bc]
mov eax, dword [edx + 0x30]
mov dword [ebp - 0x19c0], eax
mov ecx, dword [ebp - 0x19c0]
mov dword [ebp - 0x167c], ecx
push ecx
push ecx
add esp, 4
xor ecx, 0x122db
xor ecx, 0x80e6
or ecx, 0x17b78
pop ecx
push edx
push ecx
add esp, 4
xor edx, 0x152b7
jmp 0x40771e
sub edx, 0x1618c
pop edx
cmp dword [ebp - 0x167c], 0
jne 0x40773d
mov dword [ebp - 0x2fc], 0
jmp 0x4079e4
mov edx, dword [ebp - 0x167c]
mov eax, dword [edx + 0xc]
mov ecx, dword [eax + 0xc]
mov dword [ebp - 0xce0], ecx
push ebx
push esi
add esp, 4
call 0x407763
add byte [esp + esi + 0x42], al
inc esi
inc eax
cmp eax, dword [ecx + 0x44]
push eax
add esp, 4
add ebx, 0xa202
xor ebx, 0x14904
pop ebx
push esi
add esi, 0x7aa0
sub esi, 0x115a4
pop esi
cmp dword [ebp - 0xce0], 0
jne 0x407799
mov dword [ebp - 0x2fc], 0
jmp 0x4079e4
mov edx, dword [ebp - 0xce0]
mov dword [ebp - 0x51c], edx
push esi
or esi, 0x2da1
sub esi, 0x1dcb
and esi, 0xd369
pop esi
push esi
push ebx
add esp, 4
add esi, 0x10ec2
xor esi, 0xef16
or esi, 0x5453
add esi, 0x133f4
pop esi
lea eax, [ebp - 0x1738]
mov dword [ebp - 0xcdc], eax
mov ecx, dword [ebp - 0x51c]
mov edx, dword [ecx + 0x30]
mov dword [ebp - 0xcd8], edx
xor eax, eax
mov word [ebp - 0x224], ax
xor ecx, ecx
mov word [ebp - 0x40], cx
push edx
jmp 0x40780a
add edx, 0x667a
pop edx
push edx
add edx, 0x14849
add edx, 0x160e5
pop edx
push ebx
or ebx, 0x16ece
and ebx, 0xdd27
or ebx, 0x175d7
pop ebx
mov edx, dword [ebp - 0xcd8]
mov ax, word [edx]
mov word [ebp - 0x1046], ax
mov ecx, dword [ebp - 0xcd8]
add ecx, 2
mov dword [ebp - 0xcd8], ecx
mov dx, word [ebp - 0x1046]
mov word [ebp - 0x224], dx
mov eax, dword [ebp - 0xcdc]
mov cx, word [eax]
mov word [ebp - 0x1048], cx
mov edx, dword [ebp - 0xcdc]
add edx, 2
mov dword [ebp - 0xcdc], edx
mov ax, word [ebp - 0x1048]
mov word [ebp - 0x40], ax
push ecx
add ecx, 0x132c7
pop ecx
push ecx
and ecx, 0x128ec
pop ecx
push ebx
call 0x4078ab
add byte [ecx], bh
dec ebp
dec eax
inc eax
dec esp
cmp eax, dword [edx + eax*2 + 0x43]
add esp, 4
add ebx, 0xdd24
jmp 0x4078bb
pop ebx
movzx ecx, word [ebp - 0x40]
test ecx, ecx
jne 0x4078d9
movzx edx, word [ebp - 0x224]
movzx eax, word [ebp - 0x40]
sub edx, eax
mov dword [ebp - 0x1684], edx
jmp 0x407933
movzx ecx, word [ebp - 0x224]
movzx edx, word [ebp - 0x40]
cmp ecx, edx
je 0x407801
movzx eax, word [ebp - 0x224]
xor eax, 0x20
movzx ecx, word [ebp - 0x40]
cmp eax, ecx
je 0x407801
movzx edx, word [ebp - 0x224]
movzx eax, word [ebp - 0x40]
cmp edx, eax
jge 0x40791d
mov dword [ebp - 0x1680], 0xffffffff
jmp 0x407927
mov dword [ebp - 0x1680], 1
mov ecx, dword [ebp - 0x1680]
mov dword [ebp - 0x1684], ecx
cmp dword [ebp - 0x1684], 0
jne 0x40797c
push edx
push ecx
add esp, 4
call 0x407950
add byte [ebx + 0x45], al
aas
xor al, 0x37
dec esi
inc esp
cmp dword [ebx - 0x1d7efb3c], eax
std
pop ebx
add dword [eax], eax
pop edx
push esi
jmp 0x407961
add esi, 0x3b47
or esi, 0xcea9
pop esi
mov edx, dword [ebp - 0x51c]
mov dword [ebp - 0x2fc], edx
jmp 0x4079e4
push ecx
push esi
add esp, 4
add ecx, 0x85ee
add ecx, 0x2aef
pop ecx
push eax
push ebx
add esp, 4
add eax, 0xffc3
or eax, 0x5b8b
pop eax
push esi
xor esi, 0x185f1
add esi, 0x277d
pop esi
mov eax, dword [ebp - 0x51c]
mov ecx, dword [eax]
mov dword [ebp - 0x51c], ecx
mov edx, dword [ebp - 0x51c]
cmp edx, dword [ebp - 0xce0]
je 0x4079da
mov eax, dword [ebp - 0x51c]
cmp dword [eax + 0x30], 0
jne 0x4077a5
mov dword [ebp - 0x2fc], 0
push ecx
add ecx, 0xefca
jmp 0x4079f2
or ecx, 0x11497
pop ecx
push ecx
and ecx, 0x6eb2
add ecx, 0x10f62
sub ecx, 0x38ca
jmp 0x407a15
pop ecx
mov ecx, dword [ebp - 0x2fc]
mov edx, dword [ecx + 0x18]
mov dword [ebp - 0x338], edx
push esi
push esi
add esp, 4
jmp 0x407a2f
sub esi, 0xe3d2
add esi, 0x9ad
pop esi
push edi
sub edi, 0x10173
jmp 0x407a4a
sub edi, 0x8f23
xor edi, 0x1445b
pop edi
mov dword [ebp - 0x794], 0
mov eax, dword [ebp - 0x338]
mov dword [ebp - 0x1688], eax
cmp dword [ebp - 0x1688], 0
jne 0x407a87
mov ecx, dword [ebp - 0x794]
mov dword [ebp - 0x520], ecx
jmp 0x407d78
mov edx, dword [ebp - 0x1688]
mov eax, dword [ebp - 0x338]
add eax, dword [edx + 0x3c]
mov dword [ebp - 0x168c], eax
jne 0x407aaf
mov ecx, dword [ebp - 0x794]
mov dword [ebp - 0x520], ecx
jmp 0x407d78
mov edx, 8
imul eax, edx, 0
mov ecx, dword [ebp - 0x168c]
mov edx, dword [ecx + eax + 0x78]
mov dword [ebp - 0x1690], edx
cmp dword [ebp - 0x1690], 0
jne 0x407ae1
mov eax, dword [ebp - 0x794]
mov dword [ebp - 0x520], eax
jmp 0x407d78
mov ecx, dword [ebp - 0x338]