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

Disassembly:
add esp, 4
or edx, 0x6ed3
pop edx
push edi
push ecx
add esp, 4
add edi, 0xf695
sub edi, 0x13789
jmp 0x4178b3
pop edi
cmp dword [ebp - 0xcb4], 0
jne 0x4178cc
mov dword [ebp - 0x318], 0
jmp 0x417b17
mov ecx, dword [ebp - 0xcb4]
mov dword [ebp - 0x50c], ecx
push edi
or edi, 0x6bc7
or edi, 0x11396
pop edi
push ebx
push eax
add esp, 4
or ebx, 0xfb57
and ebx, 0x88de
pop ebx
push ecx
push ebx
add esp, 4
or ecx, 0x16711
xor ecx, 0x171f3
pop ecx
lea edx, [ebp - 0x1734]
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 - 0x214], dx
xor eax, eax
mov word [ebp - 0x34], ax
push esi
and esi, 0x16ecf
add esi, 0x547f
add esi, 0x5a2e
pop esi
push esi
push ebx
add esp, 4
call 0x41795a
add byte [edi + 0x3f], cl
aaa
push eax
inc ebx
cmp al, 0x50
add esp, 4
pop esi
push edi
add edi, 0xc13a
pop edi
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 - 0x214], cx
mov edx, dword [ebp - 0xcb0]
mov ax, word [edx]
mov word [ebp - 0x103c], ax
out dx, eax
invalid
dec dword [ebx - 0xcaf73]
inc dword [ebx - 0x7276fd3f]
push eax
invalid
invalid
jmp dword [esi - 0x75]
xchg ebp, eax
invalid
out dx, eax
invalid
jmp dword [esi - 0x77]
push ebp
int3
push edx
push edx
add esp, 4
jmp 0x4179ca
jmp 0x4179d3
jmp 0x4179d8
pop edx
push edx
jmp 0x4179df
jmp 0x4179e8
xor edx, 0xec60
pop edx
movzx eax, word [ebp - 0x34]
test eax, eax
jne 0x417a0c
movzx ecx, word [ebp - 0x214]
movzx edx, word [ebp - 0x34]
sub ecx, edx
mov dword [ebp - 0x15fc], ecx
jmp 0x417a66
movzx eax, word [ebp - 0x214]
movzx ecx, word [ebp - 0x34]
cmp eax, ecx
je 0x417934
movzx edx, word [ebp - 0x214]
xor edx, 0x20
movzx eax, word [ebp - 0x34]
cmp edx, eax
je 0x417934
movzx ecx, word [ebp - 0x214]
movzx edx, word [ebp - 0x34]
cmp ecx, edx
jge 0x417a50
mov dword [ebp - 0x15f8], 0xffffffff
jmp 0x417a5a
mov dword [ebp - 0x15f8], 1
mov eax, dword [ebp - 0x15f8]
mov dword [ebp - 0x15fc], eax
cmp dword [ebp - 0x15fc], 0
jne 0x417aaf
push edx
push ebx
add esp, 4
add edx, 0x4a11
xor edx, 0xf859
jmp 0x417a88
pop edx
push edi
push edx
add esp, 4
and edi, 0xe142
xor edi, 0xda77
add edi, 0xf2f9
pop edi
mov ecx, dword [ebp - 0x50c]
mov dword [ebp - 0x318], ecx
jmp 0x417b17
push edi
and edi, 0x154c6
or edi, 0x6282
xor edi, 0x8e20
xor edi, 0x163df
pop edi
push eax
push ecx
add esp, 4
sub eax, 0xefd7
and eax, 0x100c5
sub eax, 0xfd13
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 0x417b0d
mov edx, dword [ebp - 0x50c]
cmp dword [edx + 0x30], 0
jne 0x4178d8
mov dword [ebp - 0x318], 0
push edx
and edx, 0x1400e
xor edx, 0xc77b
sub edx, 0x127d9
jmp 0x417b31
pop edx
push eax
xor eax, 0xee6a
call 0x417b45
add byte [edx + eax*2 + 0x4f], cl
inc edx
inc ecx
add esp, 4
pop eax
mov eax, dword [ebp - 0x318]
mov ecx, dword [eax + 0x18]
mov dword [ebp - 0x324], ecx
push ebx
jmp 0x417b5f
call fcn.00417b6f
add byte [0x3c333434], dh
dec esp
inc esp
inc ebx
cmp al, 0x4e