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

Disassembly:
push edx
push eax
add esp, 4
call fcn.004076e7
add byte [esp + eax*2 + 0x34], cl
xor esi, dword [esi]
dec edi
inc ebx
dec ecx
push eax
add esp, 4
call 0x4076fa
add byte [edi + 0x4e], cl
inc ecx
cmp edi, dword [0x4c4f3733]
add esp, 4
and edx, 0x93ab
pop edx
lea ecx, [ebp - 0x2b0]
mov dword [ebp - 0x1e8], ecx
mov edx, dword [ebp - 0xc4]
mov eax, dword [edx + 0x30]
mov dword [ebp - 0x1e4], eax
push eax
push ecx
add esp, 4
and eax, 0xaf9b
or eax, 0xbaa0
xor eax, 0x6008
or eax, 0x15faf
pop eax
push edx
xor edx, 0xd04a
or edx, 0x879a
or edx, 0x4cad
pop edx
xor ecx, ecx
mov word [ebp - 0x54], cx
xor edx, edx
mov word [ebp - 8], dx
push edi
sub edi, 0xa1f2
pop edi
push eax
push eax
add esp, 4
xor eax, 0x51f1
pop eax
push edx
push eax
add esp, 4
sub edx, 0x13767
add edx, 0x26b
jmp 0x407788
xor edx, 0xa60c
pop edx
mov eax, dword [ebp - 0x1e4]
mov cx, word [eax]
mov word [ebp - 0x288], cx
mov edx, dword [ebp - 0x1e4]
add edx, 2
mov dword [ebp - 0x1e4], edx
mov ax, word [ebp - 0x288]
mov word [ebp - 0x54], ax
push edi
push edx
add esp, 4
jmp 0x4077c6
pop edi
push edx
push ecx
add esp, 4
jmp 0x4077d2
call 0x4077df
add byte [0x37453443], dh
push eax
push eax
add esp, 4
jmp 0x4077ea
pop edx
mov ecx, dword [ebp - 0x1e8]
mov dx, word [ecx]
mov word [ebp - 0x28a], dx
mov eax, dword [ebp - 0x1e8]
add eax, 2
mov dword [ebp - 0x1e8], eax
mov cx, word [ebp - 0x28a]
mov word [ebp - 8], cx
push ebx
sub ebx, 0x109b0
xor ebx, 0x85ed
xor ebx, 0x15b94
xor ebx, 0x10912
pop ebx
push edx
push eax
add esp, 4
xor edx, 0x101ad
sub edx, 0x11e6f
and edx, 0x1588c
pop edx
movzx edx, word [ebp - 8]
test edx, edx
jne 0x407864
movzx eax, word [ebp - 0x54]
movzx ecx, word [ebp - 8]
sub eax, ecx
mov dword [ebp - 0x370], eax
jmp 0x4078e7
movzx edx, word [ebp - 0x54]
movzx eax, word [ebp - 8]
cmp edx, eax
je 0x40775d
movzx ecx, word [ebp - 0x54]
xor ecx, 0x20
movzx edx, word [ebp - 8]
cmp ecx, edx
je 0x40775d
push eax
xor eax, 0xf7c2
sub eax, 0x514b
and eax, 0x3f4c
pop eax
push ecx
push edi
add esp, 4
and ecx, 0x14e82
xor ecx, 0xad11
sub ecx, 0xf5cf
add ecx, 0xe036
pop ecx
movzx eax, word [ebp - 0x54]
movzx ecx, word [ebp - 8]
cmp eax, ecx
jge 0x4078d1
mov dword [ebp - 0x36c], 0xffffffff
jmp 0x4078db
mov dword [ebp - 0x36c], 1
mov edx, dword [ebp - 0x36c]
mov dword [ebp - 0x370], edx
cmp dword [ebp - 0x370], 0
jne 0x407930
push ecx
push ecx
add esp, 4
sub ecx, 0x1696f
or ecx, 0x182b
jmp 0x407908
pop ecx
push ebx
push edx
add esp, 4
call 0x40791e
add byte [ecx + ecx*2], dh
inc ebx
inc edx
dec ebx
inc ebx
dec ebx
inc ebx
cmp eax, 0x4c4833d
pop ebx
mov eax, dword [ebp - 0xc4]
mov dword [ebp - 0x6c], eax
jmp 0x4079c7
mov ecx, dword [ebp - 0xc4]
mov edx, dword [ecx]
mov dword [ebp - 0xc4], edx
push esi
push esi
add esp, 4
xor esi, 0x41f6
pop esi
push esi
push edx
add esp, 4
sub esi, 0x2b8
pop esi
push edi
xor edi, 0x2787
and edi, 0x95be
sub edi, 0x5033
xor edi, 0xd842
pop edi
mov eax, dword [ebp - 0xc4]
cmp eax, dword [ebp - 0x1ec]
je 0x40798e
mov ecx, dword [ebp - 0xc4]
cmp dword [ecx + 0x30], 0
jne 0x4076d2
push eax
push edi
add esp, 4
xor eax, 0x91c
pop eax
push eax
push edi
add esp, 4
xor eax, 0x59e5
pop eax
push ecx
sub ecx, 0xe10f
call 0x4079bc
add byte [0x4c3b344a], bh
dec eax
xor al, byte [ebp + 0x4e]
add esp, 4
pop ecx
mov dword [ebp - 0x6c], 0