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

Disassembly:
add esp, 4
or ebx, 0x1521c
pop ebx
cmp dword [ebp - 0xcc4], 0
jne 0x412c35
mov dword [ebp - 0x2fc], 0
jmp 0x412e80
mov ecx, dword [ebp - 0xcc4]
mov dword [ebp - 0x514], ecx
push eax
xor eax, 0x11803
jmp 0x412c4e
pop eax
push edx
or edx, 0x92e6
add edx, 0x16701
call 0x412c69
add byte [ebx + eax*2], bh
cmp al, 0x35
inc edx
dec edx
add esp, 4
or edx, 0xa07b
pop edx
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 esi
push ebx
add esp, 4
jmp 0x412ca7
pop esi
push ebx
push esi
add esp, 4
xor ebx, 0x9c98
xor ebx, 0x14133
add ebx, 0xdd97
call 0x412ccb
add byte [ecx + 0x38], cl
xor bh, byte [0xc4833a3a]
add al, 0x5b
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
push edx
add esp, 4
add eax, 0x15860
xor eax, 0x4ce
pop eax
push eax
push ecx
add esp, 4
xor eax, 0x1794f
sub eax, 0xb0c2
pop eax
push ebx
xor ebx, 0x81f0
and ebx, 0x16e5e
pop ebx
movzx eax, word [ebp - 0x38]
test eax, eax
jne 0x412d75
movzx ecx, word [ebp - 0x21c]
movzx edx, word [ebp - 0x38]
sub ecx, edx
mov dword [ebp - 0x161c], ecx
jmp 0x412dcf
movzx eax, word [ebp - 0x21c]
movzx ecx, word [ebp - 0x38]
cmp eax, ecx
je 0x412c9d
movzx edx, word [ebp - 0x21c]
xor edx, 0x20
movzx eax, word [ebp - 0x38]
cmp edx, eax
je 0x412c9d
movzx ecx, word [ebp - 0x21c]
movzx edx, word [ebp - 0x38]
cmp ecx, edx
jge 0x412db9
mov dword [ebp - 0x1618], 0xffffffff
jmp 0x412dc3
mov dword [ebp - 0x1618], 1
mov eax, dword [ebp - 0x1618]
mov dword [ebp - 0x161c], eax
cmp dword [ebp - 0x161c], 0
jne 0x412e18
push esi
push esi
add esp, 4
or esi, 0x16363
pop esi
push edi
push edx
add esp, 4
and edi, 0x25c5
sub edi, 0x14ecd
pop edi
push edx
sub edx, 0xa35e
or edx, 0xf0a8
xor edx, 0x6661
pop edx
mov ecx, dword [ebp - 0x514]
mov dword [ebp - 0x2fc], ecx
jmp 0x412e80
push eax
sub eax, 0xadee
add eax, 0xf078
call 0x412e33
add byte [ebx + 0x50], al
inc ecx
inc ecx
dec ecx
dec edx
cmp bh, byte [edi]
add esp, 4
or eax, 0xfa7b
pop eax
push edi
jmp 0x412e43
xor edi, 0x17b2c
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 0x412e76
mov edx, dword [ebp - 0x514]
cmp dword [edx + 0x30], 0
jne 0x412c41
mov dword [ebp - 0x2fc], 0
push edi
push edi
add esp, 4
jmp 0x412e8c
and edi, 0x33a0
jmp 0x412e97
pop edi
push ebx
jmp 0x412e9e
sub ebx, 0xa86e
or ebx, 0x17e33
jmp 0x412eb1
pop ebx
cmp dword [ebp - 0x2fc], 0
jne 0x4137b7
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 esi
add esi, 0xbbbd
pop esi
push ebx
xor ebx, 0x9fb9
xor ebx, 0x1738b
and ebx, 0xc420
jmp 0x412f7a
pop ebx
push ecx
and ecx, 0x170c9
pop ecx
push eax
jmp 0x412f89
pop eax
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 esi
push edi
add esp, 4
sub esi, 0xdfd2
pop esi
push edx
xor edx, 0xc80
sub edx, 0x5aa
pop edx
push ecx
push edi
add esp, 4
and ecx, 0x11a19
add ecx, 0xc670
or ecx, 0xf704
pop ecx
cmp dword [ebp - 0x1620], 0
jne 0x413057
mov dword [ebp - 0x774], 0
jmp 0x4132fe
mov edx, dword [ebp - 0x1620]
mov eax, dword [edx + 0xc]
mov ecx, dword [eax + 0xc]
mov dword [ebp - 0xcd0], ecx
push ebx
push ebx
add esp, 4
or ebx, 0x1168f
sub ebx, 0x981f
and ebx, 0x10db0
pop ebx
push ebx
xor ebx, 0x12e36
pop ebx
push edi
push esi
add esp, 4
or edi, 0x9044
xor edi, 0xadf4
pop edi
cmp dword [ebp - 0xcd0], 0
jne 0x4130b3
mov dword [ebp - 0x774], 0
jmp 0x4132fe
mov edx, dword [ebp - 0xcd0]
mov dword [ebp - 0x518], edx
push eax
jmp 0x4130c7
or eax, 0xc166
pop eax
push edi
jmp 0x4130d8
or edi, 0xcb28
call 0x4130ed
add byte [ebx + 0x4e], cl
push eax
dec edi
dec eax
inc ebp
push eax
inc eax
dec esp
add esp, 4
pop edi
lea eax, [ebp - 0x1790]
mov dword [ebp - 0xccc], eax
mov ecx, dword [ebp - 0x518]
mov edx, dword [ecx + 0x30]
mov dword [ebp - 0xcc8], edx
xor eax, eax
mov word [ebp - 0x220], ax
xor ecx, ecx
mov word [ebp - 0x3c], cx
push ecx
or ecx, 0x4bce
pop ecx
push esi
jmp 0x41312d
jmp 0x413134
pop esi
push ecx
push edi
add esp, 4
add ecx, 0x12f2c
sub ecx, 0x11b2f
or ecx, 0x50e4
pop ecx
mov edx, dword [ebp - 0xcc8]
mov ax, word [edx]
mov word [ebp - 0x1042], ax
mov ecx, dword [ebp - 0xcc8]
add ecx, 2
mov dword [ebp - 0xcc8], ecx
mov dx, word [ebp - 0x1042]
mov word [ebp - 0x220], dx
mov eax, dword [ebp - 0xccc]
mov cx, word [eax]
mov word [ebp - 0x1044], cx
mov edx, dword [ebp - 0xccc]
add edx, 2
mov dword [ebp - 0xccc], edx
mov ax, word [ebp - 0x1044]
mov word [ebp - 0x3c], ax
push ecx
call 0x4131b4
add byte [eax + 0x4c], cl
inc ecx
aaa
dec edx
cmp al, 0x47
cmp eax, dword [ebx + 0x7e804c4]
add byte [eax], al
add byte [eax], al
dec eax
cmp al, 0x45
inc edi
inc edi
xor eax, dword [ebx + 0x7e804c4]
add byte [eax], al
add byte [eax], al
dec eax
inc ebp
cmp byte [ecx + edi + 0x4e], al
add esp, 4
pop ecx
movzx ecx, word [ebp - 0x3c]
test ecx, ecx
jne 0x4131f3
movzx edx, word [ebp - 0x220]
movzx eax, word [ebp - 0x3c]
sub edx, eax
mov dword [ebp - 0x1668], edx
jmp 0x41324d
movzx ecx, word [ebp - 0x220]
movzx edx, word [ebp - 0x3c]
cmp ecx, edx
je 0x41311b
movzx eax, word [ebp - 0x220]
xor eax, 0x20
movzx ecx, word [ebp - 0x3c]
cmp eax, ecx
je 0x41311b
movzx edx, word [ebp - 0x220]
movzx eax, word [ebp - 0x3c]
cmp edx, eax
jge 0x413237
mov dword [ebp - 0x1624], 0xffffffff
jmp 0x413241
mov dword [ebp - 0x1624], 1
mov ecx, dword [ebp - 0x1624]
mov dword [ebp - 0x1668], ecx
cmp dword [ebp - 0x1668], 0
jne 0x413296
push eax
push edx
add esp, 4
xor eax, 0xd8a4
call 0x41326f
add byte [esp + eax*2 + 0x32], cl
xor bh, byte [ecx]
cmp eax, 0xc4833344
add al, 0xeb
add al, 0x47
inc eax
inc edx
call 0x413284
add byte [edx], bh
dec edi
xor edx, dword [eax + 0x4d]
cmp eax, 0x5804c483
mov edx, dword [ebp - 0x518]
mov dword [ebp - 0x774], edx
jmp 0x4132fe
push esi
push edx
add esp, 4
sub esi, 0x1034a
or esi, 0xe9e0
add esi, 0x2417
pop esi
push edi
add edi, 0xdef1
add edi, 0xa978
and edi, 0x10c9
or edi, 0x17dde
pop edi
mov eax, dword [ebp - 0x518]
mov ecx, dword [eax]
mov dword [ebp - 0x518], ecx
mov edx, dword [ebp - 0x518]
cmp edx, dword [ebp - 0xcd0]
je 0x4132f4
mov eax, dword [ebp - 0x518]
cmp dword [eax + 0x30], 0
jne 0x4130bf
mov dword [ebp - 0x774], 0
push ecx
push edi
add esp, 4
or ecx, 0xf031
xor ecx, 0xf07f
pop ecx
push edx
or edx, 0xde5
and edx, 0x1520d
or edx, 0x16178
pop edx
push eax
push ecx
add esp, 4
sub eax, 0x3f4a
pop eax
cmp dword [ebp - 0x774], 0
jne 0x41337a
push edx
push eax
add esp, 4
and edx, 0x53e9
jmp 0x41334b
and edx, 0x180e4
pop edx
push edx
push ebx
add esp, 4
call 0x413367
add byte [esi], dh
dec eax
dec ebp
inc ebp
inc ebx
dec eax
dec eax
cmp byte ds:[0x5a04c483], bh
mov dword [ebp - 0xab4], 0
inc dword [eax]
add byte [eax], al
add cl, ch
sub byte [ebx], cl
add byte [eax], al