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

Disassembly:
mov edx, dword [ebp - 0x758]
mov dword [ebp - 0xca8], 1
cmp dword [ebp - 0xca8], 0
jne 0x4065d5
mov ecx, dword [ebp - 0x1970]
mov dword [ebp - 0x3f4], ecx
jmp 0x4065e6
jmp 0x4063bf
cmp dword [ebp - 0x3f4], 0
je 0x4066c1
push esi
push eax
add esp, 4
jmp 0x4065ff
and esi, 0x1ca1
pop esi
push edx
push ebx
add esp, 4
or edx, 0x9ca7
call 0x406621
add byte [ecx], bh
inc ecx
cmp eax, 0x4f423550
dec esp
cmp al, 0x4c
add esp, 4
pop edx
mov eax, dword [ebp - 0x3f4]
mov dword [ebp - 0x1974], eax
push esi
push ebx
add esp, 4
add esi, 0x11871
jmp 0x406642
or esi, 0x95a8
or esi, 0x17bfe
pop esi
push edi
sub edi, 0x11f26
add edi, 0x13487
and edi, 0x10250
pop edi
mov ecx, dword [ebp - 0x1974]
mov dword [ebp - 0x1978], ecx
lea edx, [ebp - 0x1738]
push edx
call dword [ebp - 0x1978]
test eax, eax
jne 0x4066c1
push edx
push edx
add esp, 4
xor edx, 0x14581
sub edx, 0x185c1
xor edx, 0x180bf
pop edx
push edi
or edi, 0x1cfe
sub edi, 0x5c89
pop edi
push ecx
push edi
add esp, 4
and ecx, 0x7748
pop ecx
mov dword [ebp - 0x79c], 0
jmp 0x406dab
push esi
push ecx
add esp, 4
and esi, 0x4465
sub esi, 0x8865
xor esi, 0x14143
and esi, 0x17148
pop esi
push esi
push ebx
add esp, 4
and esi, 0x7010
pop esi
push esi
add esi, 0x8794
pop esi
mov eax, dword fs:[0x18]
mov dword [ebp - 0x197c], eax
mov ecx, dword [ebp - 0x197c]
mov edx, dword [ecx + 0x30]
mov dword [ebp - 0x1980], edx
mov eax, dword [ebp - 0x1980]
mov dword [ebp - 0x15fc], eax
push edx
push esi
add esp, 4
xor edx, 0x2793
sub edx, 0x6402
add edx, 0xcf10
xor edx, 0x13455
pop edx
push eax
or eax, 0xc0c6
add eax, 0x1c48
xor eax, 0x12bae
pop eax
cmp dword [ebp - 0x15fc], 0
jne 0x406764
mov dword [ebp - 0x31c], 0
jmp 0x406a0b
mov ecx, dword [ebp - 0x15fc]
mov edx, dword [ecx + 0xc]
mov eax, dword [edx + 0xc]
mov dword [ebp - 0xcb4], eax
push esi
push ebx
add esp, 4
xor esi, 0x153c
and esi, 0x121b5
sub esi, 0xe8f7
pop esi
push ebx
and ebx, 0x87e3
pop ebx
push ebx
push edx
add esp, 4
and ebx, 0xfe1b
sub ebx, 0x1534b
pop ebx
cmp dword [ebp - 0xcb4], 0
jne 0x4067c0
mov dword [ebp - 0x31c], 0
jmp 0x406a0b
mov ecx, dword [ebp - 0xcb4]
mov dword [ebp - 0x50c], ecx
push edi
push eax
add esp, 4
and edi, 0x97a5
call 0x4067e6
add byte [ebp + 0x49], al
aas
inc ebp
inc esi
dec ecx
xor al, 0x47
cmp byte [ebx + 0x515f04c4], al
sub ecx, 0x16c9d
jmp 0x4067f7
add ecx, 0xc3e8
pop ecx
lea edx, [ebp - 0x1738]
mov dword [ebp - 0xcb0], edx
mov eax, dword [ebp - 0x50c]
mov ecx, dword [eax + 0x30]
mov dword [ebp - 0xcac], ecx
xor edx, edx
mov word [ebp - 0x218], dx
xor eax, eax
mov word [ebp - 0x34], ax
push ecx
push edx
add esp, 4
and ecx, 0xe650
pop ecx
push ebx
push eax
add esp, 4
call 0x406848
add byte [ecx + 0x35], cl
dec ecx
inc ebx
dec esp
inc esp
inc ebp
xor eax, 0x4c48340
add ebx, 0x3b39
pop ebx
push eax
sub eax, 0x6ea6
pop eax
mov ecx, dword [ebp - 0xcac]
mov dx, word [ecx]
mov word [ebp - 0x103a], dx
mov eax, dword [ebp - 0xcac]
add eax, 2
mov dword [ebp - 0xcac], eax
mov cx, word [ebp - 0x103a]
mov word [ebp - 0x218], cx
mov edx, dword [ebp - 0xcb0]
mov ax, word [edx]
mov word [ebp - 0x103c], ax
mov ecx, dword [ebp - 0xcb0]
add ecx, 2
mov dword [ebp - 0xcb0], ecx
mov dx, word [ebp - 0x103c]
mov word [ebp - 0x34], dx
push ecx
push ecx
add esp, 4
add ecx, 0x9b5b
or ecx, 0xd9e7
pop ecx
push ebx
and ebx, 0x14fa3
pop ebx
push edx
push eax
add esp, 4
and edx, 0xee5c
pop edx
push eax
push ecx
add esp, 4
or eax, 0x17ba6
pop eax
movzx eax, word [ebp - 0x34]
test eax, eax
jne 0x406900
movzx ecx, word [ebp - 0x218]
movzx edx, word [ebp - 0x34]
sub ecx, edx
mov dword [ebp - 0x1604], ecx
jmp 0x40695a
movzx eax, word [ebp - 0x218]
movzx ecx, word [ebp - 0x34]
cmp eax, ecx
je 0x406828
movzx edx, word [ebp - 0x218]
xor edx, 0x20
movzx eax, word [ebp - 0x34]
cmp edx, eax
je 0x406828
movzx ecx, word [ebp - 0x218]
movzx edx, word [ebp - 0x34]
cmp ecx, edx
jge 0x406944
mov dword [ebp - 0x1600], 0xffffffff
jmp 0x40694e
mov dword [ebp - 0x1600], 1
mov eax, dword [ebp - 0x1600]
mov dword [ebp - 0x1604], eax
cmp dword [ebp - 0x1604], 0
jne 0x4069a3
push esi
or esi, 0xa001
pop esi
push ebx
push eax
add esp, 4
add ebx, 0x6a4
or ebx, 0x13f65
pop ebx
push edx
push edi
add esp, 4
or edx, 0x8df8
sub edx, 0xc4c8
sub edx, 0x12a0d
pop edx
mov ecx, dword [ebp - 0x50c]
mov dword [ebp - 0x31c], ecx
jmp 0x406a0b
push eax
push esi
add esp, 4
xor eax, 0x169fd
sub eax, 0x8423
or eax, 0x15e01
and eax, 0x3077
pop eax
push eax
add eax, 0x3631
xor eax, 0x10571
xor eax, 0x3de7
pop eax
mov edx, dword [ebp - 0x50c]
mov eax, dword [edx]
mov dword [ebp - 0x50c], eax
mov ecx, dword [ebp - 0x50c]
cmp ecx, dword [ebp - 0xcb4]
je 0x406a01
mov edx, dword [ebp - 0x50c]
cmp dword [edx + 0x30], 0
jne 0x4067cc
mov dword [ebp - 0x31c], 0
push edi
or edi, 0xd15f
and edi, 0xc6a9
call 0x406a25
add byte [ebx], bh
xor al, 0x43
cmp al, 0x3a
inc esi
dec edx
add esp, 4
and edi, 0x2c00
pop edi
push edx
sub edx, 0xfac6
sub edx, 0xbdd5
pop edx
mov eax, dword [ebp - 0x31c]
mov ecx, dword [eax + 0x18]
mov dword [ebp - 0x324], ecx
push edx
push edi
add esp, 4
and edx, 0x1576d
jmp 0x406a5d
or edx, 0x47ed
pop edx
push ebx
jmp 0x406a6b
and ebx, 0xa4d5
jmp 0x406a77
or ebx, 0xc3c0
pop ebx
mov dword [ebp - 0x770], 0
mov edx, dword [ebp - 0x324]
mov dword [ebp - 0x1608], edx
cmp dword [ebp - 0x1608], 0
jne 0x406aae
mov eax, dword [ebp - 0x770]
mov dword [ebp - 0x510], eax
jmp 0x406d9f
mov ecx, dword [ebp - 0x1608]
mov edx, dword [ebp - 0x324]
add edx, dword [ecx + 0x3c]
mov dword [ebp - 0x160c], edx
jne 0x406ad6
mov eax, dword [ebp - 0x770]
mov dword [ebp - 0x510], eax
jmp 0x406d9f
mov ecx, 8
imul edx, ecx, 0
mov eax, dword [ebp - 0x160c]
mov ecx, dword [eax + edx + 0x78]
mov dword [ebp - 0x1610], ecx
cmp dword [ebp - 0x1610], 0
jne 0x406b08
mov edx, dword [ebp - 0x770]
mov dword [ebp - 0x510], edx
jmp 0x406d9f
mov eax, dword [ebp - 0x324]
add eax, dword [ebp - 0x1610]
mov dword [ebp - 0x764], eax
jne 0x406b2d
mov ecx, dword [ebp - 0x770]
mov dword [ebp - 0x510], ecx
jmp 0x406d9f
mov edx, dword [ebp - 0x764]
mov eax, dword [ebp - 0x324]
add eax, dword [edx + 0x20]
mov dword [ebp - 0x1984], eax
mov ecx, dword [ebp - 0x764]
mov edx, dword [ebp - 0x324]
add edx, dword [ecx + 0x24]
mov dword [ebp - 0x1988], edx
mov eax, dword [ebp - 0x764]
mov ecx, dword [ebp - 0x324]
add ecx, dword [eax + 0x1c]
mov dword [ebp - 0x1d10], ecx
mov dword [ebp - 0x768], 0
jmp 0x406b87
mov eax, dword [ebp - 0x764]
mov ecx, dword [ebp - 0x768]
cmp ecx, dword [eax + 0x18]
jae 0x406d93
mov edx, dword [ebp - 0x768]
mov eax, dword [ebp - 0x1984]
mov ecx, dword [ebp - 0x324]
add ecx, dword [eax + edx*4]
mov dword [ebp - 0x76c], ecx
mov edx, dword [ebp - 0x768]
mov eax, dword [ebp - 0x1988]
movzx ecx, word [eax + edx*2]
mov edx, dword [ebp - 0x1d10]
mov eax, dword [ebp - 0x324]
add eax, dword [edx + ecx*4]
mov dword [ebp - 0x198c], eax
mov dword [ebp - 0x19c], 0
jmp 0x406bf7
mov ecx, dword [ebp - 0x19c]
add ecx, 1
mov dword [ebp - 0x19c], ecx
mov edx, dword [ebp - 0x76c]
add edx, dword [ebp - 0x19c]
movsx eax, byte [edx]
test eax, eax
je 0x406ca9
mov ecx, dword [ebp - 0x19c]
movsx edx, byte [ebp + ecx - 0x878]
test edx, edx
je 0x406ca9
push eax
or eax, 0xe013
pop eax
push esi
push esi
add esp, 4
or esi, 0xb7bc
xor esi, 0x6fc2
xor esi, 0xf82e
sub esi, 0x92e9
pop esi
push edi
push ecx
add esp, 4
add edi, 0xe59a
pop edi
mov eax, dword [ebp - 0x76c]
add eax, dword [ebp - 0x19c]
movsx ecx, byte [eax]
mov edx, dword [ebp - 0x19c]
movsx eax, byte [ebp + edx - 0x878]
cmp ecx, eax
je 0x406c9b
mov ecx, dword [ebp - 0x76c]
add ecx, dword [ebp - 0x19c]
movsx edx, byte [ecx]
xor edx, 0x20
mov eax, dword [ebp - 0x19c]
movsx ecx, byte [ebp + eax - 0x878]
cmp edx, ecx
jne 0x406ca2
jmp 0x406be8
jmp 0x406ca9
push edi
push eax
add esp, 4
sub edi, 0x2a36
call 0x406cc1
add byte [edi], dh
xor bh, byte [esi]
dec ecx
xor eax, 0xc4834546
add al, 0x81
invalid
mov edx, dword [ebp - 0x770]
mov dword [ebp - 0x510], edx
mov eax, dword [ebp - 0x510]
mov dword [ebp - 0x79c], eax
push ecx
call 0x406dbb
add byte [ebx], dh
dec esi
xor eax, dword ss:[edi + 0x48]
xor eax, 0xc483343b
add al, 0x59
push edi
sub edi, 0x2db2
or edi, 0x17bf4
pop edi
push ecx
or ecx, 0xfc33
pop ecx
push edx
and edx, 0x3334
pop edx
mov ecx, dword [ebp - 0x3e8]
add ecx, 0xe
mov dword [ebp - 0x19dc], ecx
push edx
add edx, 0x9a19
sub edx, 0x167cf
add edx, 0xf8c5
xor edx, 0xf596
pop edx
push ecx
xor ecx, 0xa6fb
call 0x406e1a
add byte [ebx + 0x3c], cl
dec ebp
xor eax, 0x8341343c
les eax, [ecx + ebx*2]
cmp dword [ebp - 0x3e8], 0
je 0x406e30
cmp dword [ebp - 0xab8], 0
jne 0x406e76
push edi
push esi
add esp, 4
sub edi, 0x89e0
add edi, 0x14096
add edi, 0x1453c
sub edi, 0x8501
pop edi
push edi
sub edi, 0xb6e0
add edi, 0x10e6
add edi, 0x25d3
pop edi
mov edx, dword [ebp - 0x79c]
mov dword [ebp - 0x1990], edx
push 0
call dword [ebp - 0x1990]
mov dword [ebp - 0x20a8], 0xa
push edi
sub edi, 0x78fd
and edi, 0x487
pop edi
push ecx
jmp 0x406e95
pop ecx
push ecx
and ecx, 0x28e5
add ecx, 0x5ddd
jmp 0x406eab
add ecx, 0x10e6f
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 edx
push edi
add esp, 4
and edx, 0x950e
pop edx
push ecx
push eax
add esp, 4
add ecx, 0xc954
sub ecx, 0x145aa
or ecx, 0x23fc
pop ecx
push edx
xor edx, 0x89da
add edx, 0x13a00
pop edx
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 eax
call 0x406f88
add byte [eax], bh
dec esi
dec edi
xor dh, byte [esi]
xor dh, byte [edx]
dec ecx
inc esi
add esp, 4
pop eax
push eax
jmp 0x406f92
call 0x406fa0
add byte [eax + 0x39], dl
dec edx
xor al, byte [ebp + 0x40]
inc ecx
cmp byte [ebx - 0x377efb3c], al
invalid