Function at 0x40c6a0
Capabilities:
Get number of processors
Read file on windows

Disassembly:
push 0xffffffffffffffff
push 0x492176
mov eax, dword fs:[0]
push eax
sub esp, 0x2c4
mov eax, dword [0x4d01d4]
xor eax, esp
mov dword [esp + 0x2c0], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4d01d4]
xor eax, esp
push eax
lea eax, [esp + 0x2d8]
mov dword fs:[0], eax
mov eax, dword [esp + 0x2e8]
mov ebp, dword [esp + 0x2ec]
mov esi, ecx
mov ebx, edx
push 0x4a3840
push eax
mov dword [esp + 0x20], esi
mov dword [esp + 0x30], ebx
mov dword [esp + 0x38], ebp
call fcn.00471fbd
mov edi, eax
xor eax, eax
add esp, 8
mov dword [esp + 0x24], edi
cmp edi, eax
jne 0x40c76c
cmp ebx, eax
je 0x40c765
lea ecx, [esp + 0x34]
call fcn.0040d3f0
xor esi, esi
mov dword [esp + 0x2e0], esi
push 0xffffffffffffffff
push esi
mov ecx, ebx
call fcn.00403690
mov dword [esp + 0x2e0], 0xffffffff
cmp dword [esp + 0x4c], 8
jb 0x40c752
mov ecx, dword [esp + 0x38]
push ecx
call fcn.00471099
add esp, 4
xor edx, edx
mov dword [esp + 0x4c], 7
mov dword [esp + 0x48], esi
mov word [esp + 0x38], dx
xor al, al
jmp 0x40c9b2
cmp ebp, eax
je 0x40c779
mov ecx, dword [ebp]
mov dword [esp + 0x1c], ecx
jmp 0x40c77d
mov dword [esp + 0x1c], eax
xor edx, edx
mov dword [esp + 0x52], eax
mov dword [esp + 0x56], eax
mov dword [esp + 0x5a], eax
mov dword [esp + 0x5e], eax
mov dword [esp + 0x62], eax
mov dword [esp + 0x66], eax
mov dword [esp + 0x6a], eax
mov dword [esp + 0x6e], eax
mov dword [esp + 0x72], eax
mov word [esp + 0x76], ax
or eax, 0xffffffff
xor ebx, ebx
mov word [esp + 0x50], dx
call fcn.00403c40
push 2
push ebx
push edi
call fcn.004720b1
push edi
call fcn.004722d3
push 0
push 0
push edi
mov ebx, eax
call fcn.004720b1
add esp, 0x1c
xor ebp, ebp
test ebx, ebx
je 0x40c950
push ebx
call fcn.00470850
push edi
push 1
mov esi, eax
push ebx
push esi
mov dword [esp + 0x40], esi
call fcn.004725e1
add esp, 0x14
cmp ebx, 0x64
mov eax, ebx
jle 0x40c804
mov eax, 0x64
push eax
mov edx, esi
lea ecx, [esp + 0x144]
call fcn.0040cd90
xor ecx, ecx
mov word [esp + eax*2 + 0x144], cx
mov eax, esp
lea edx, [esp + 0x144]
lea edi, [esp + 0x38]
mov dword [esp + 0x18], 0xfde9
mov dword [esp + 0x24], esp
mov dword [eax], edx
call fcn.0040cf00
add esp, 4
mov dword [esp + 0x2e0], 1
cmp dword [esp + 0x48], 0
je 0x40c87c
cmp dword [esp + 0x4c], 8
mov ecx, dword [esp + 0x38]
jae 0x40c861
lea ecx, [esp + 0x38]
push 5
mov eax, str.UTF_8
call fcn.0040c620
add esp, 4
test eax, eax
je 0x40c87c
mov dword [esp + 0x14], 0
mov eax, dword [esp + 0x14]
push 0
push 0
push ebx
push esi
push 0
push eax
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov ebp, eax
mov eax, 0x51eb851f
imul ebp
sar edx, 5
mov edi, edx
shr edi, 0x1f
add edi, edx
add edi, ebp
xor ecx, ecx
lea eax, [edi + 1]
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00470850
mov ecx, dword [esp + 0x1c]
mov esi, eax
mov eax, 0x51eb851f
imul edi
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
add esp, 4
add eax, edi
mov dword [esp + 0x20], esi
call fcn.0040f270
mov edi, dword [esp + 0x2c]
mov eax, dword [esp + 0x14]
push ebp
push esi
push ebx
push edi
push 0
push eax
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov eax, esi
mov esi, dword [esp + 0x18]
push ebp
call fcn.00403b50
mov ecx, dword [esp + 0x20]
push ecx
call fcn.00471daf
push edi
call fcn.00471daf
add esp, 8
mov dword [esp + 0x2e0], 0xffffffff
cmp dword [esp + 0x4c], 8
jb 0x40c935
mov edx, dword [esp + 0x38]
push edx
call fcn.00471099
add esp, 4
mov edi, dword [esp + 0x24]
xor eax, eax
mov dword [esp + 0x4c], 7
mov dword [esp + 0x48], 0
mov word [esp + 0x38], ax
push ebp
push ebx
lea ecx, [esp + 0x58]
push ecx
push str._s_d_bytes_to__d_wide_chars
lea edx, [esp + 0x88]
call fcn.0040f920
mov esi, dword [esp + 0x38]
add esp, 0x10
test esi, esi
je 0x40c999
lea eax, [esp + 0x78]
lea edx, [eax + 2]
lea ebx, [ebx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x40c980
sub eax, edx
sar eax, 1
push eax
lea eax, [esp + 0x7c]
call fcn.00403b50
push edi
call fcn.00472728
mov eax, dword [esp + 0x34]
add esp, 4
test eax, eax
je 0x40c9b0
mov edx, dword [esp + 0x1c]
mov dword [eax], edx
mov al, 1
mov ecx, dword [esp + 0x2d8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x2c0]
xor ecx, esp
call fcn.00470f4c
add esp, 0x2d0
ret