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

Disassembly:
push 0xffffffffffffffff
push 0x4820b6
mov eax, dword fs:[0]
push eax
sub esp, 0x2a4
mov eax, dword [0x4ad980]
xor eax, esp
mov dword [esp + 0x2a0], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4ad980]
xor eax, esp
push eax
lea eax, [esp + 0x2b8]
mov dword fs:[0], eax
mov eax, dword [esp + 0x2c8]
mov ebp, dword [esp + 0x2cc]
mov edi, ecx
mov esi, edx
push 0x490a38
push eax
mov dword [esp + 0x2c], edi
mov dword [esp + 0x30], esi
call fcn.00465096
mov ebx, eax
xor eax, eax
add esp, 8
mov dword [esp + 0x20], ebx
cmp ebx, eax
jne 0x426718
cmp edi, eax
je 0x426711
lea esi, [esp + 0x14]
call fcn.00427aa0
mov dword [esp + 0x2c0], 0
push eax
mov ecx, edi
call fcn.00406530
mov dword [esp + 0x2c0], 0xffffffff
mov ecx, esi
call fcn.004065d0
xor al, al
jmp 0x426913
cmp esi, eax
je 0x426724
mov ecx, dword [esi]
mov dword [esp + 0x14], ecx
jmp 0x426728
mov dword [esp + 0x14], eax
xor edx, edx
mov ecx, ebp
mov word [esp + 0x30], dx
mov dword [esp + 0x32], eax
mov dword [esp + 0x36], eax
mov dword [esp + 0x3a], eax
mov dword [esp + 0x3e], eax
mov dword [esp + 0x42], eax
mov dword [esp + 0x46], eax
mov dword [esp + 0x4a], eax
mov dword [esp + 0x4e], eax
mov dword [esp + 0x52], eax
mov word [esp + 0x56], ax
call fcn.004066f0
push 2
push 0
push ebx
call fcn.00465c38
push ebx
call fcn.00465e5a
push 0
push 0
push ebx
mov edi, eax
call fcn.00465c38
add esp, 0x1c
xor esi, esi
test edi, edi
je 0x4268b1
push edi
call fcn.00444919
mov ebx, eax
mov eax, dword [esp + 0x24]
push eax
push 1
push edi
push ebx
call fcn.00466168
add esp, 0x14
cmp edi, 0x64
mov eax, edi
jle 0x4267ad
mov eax, 0x64
push eax
mov edx, ebx
lea ecx, [esp + 0x124]
call fcn.00427280
xor ecx, ecx
mov word [esp + eax*2 + 0x124], cx
mov eax, esp
lea edx, [esp + 0x124]
mov dword [eax], edx
lea eax, [esp + 0x20]
mov dword [esp + 0x30], esp
push eax
mov dword [esp + 0x20], 0xfde9
call fcn.004273f0
add esp, 8
mov dword [esp + 0x2c0], 1
mov ecx, dword [esp + 0x1c]
cmp dword [ecx - 0xc], 0
je 0x42681a
push 5
mov eax, 0x494f34
call fcn.00426570
add esp, 4
test eax, eax
je 0x42681a
mov dword [esp + 0x18], 0
mov ecx, dword [esp + 0x18]
push 0
push 0
push edi
push ebx
push 0
push ecx
call dword [0x4853bc]
mov esi, eax
mov eax, 0x51eb851f
imul esi
sar edx, 5
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
add ecx, esi
mov eax, 0x51eb851f
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
add eax, ecx
mov ecx, dword [ebp]
sub ecx, 0x10
mov edx, 1
sub edx, dword [ecx + 0xc]
mov ecx, dword [ecx + 8]
sub ecx, eax
or ecx, edx
jge 0x426874
push eax
mov ecx, ebp
call fcn.00406850
mov eax, dword [ebp]
mov edx, dword [esp + 0x18]
push esi
push eax
push edi
push ebx
push 0
push edx
call dword [0x4853bc]
push esi
mov ecx, ebp
call fcn.0040e250
push ebx
call fcn.00444924
add esp, 4
mov dword [esp + 0x2c0], 0xffffffff
lea ecx, [esp + 0x1c]
call fcn.004065d0
mov ebx, dword [esp + 0x20]
push esi
push edi
lea eax, [esp + 0x38]
push eax
push 0x494f40
lea edx, [esp + 0x68]
call fcn.004119c0
mov ecx, dword [esp + 0x34]
add esp, 0x10
test ecx, ecx
je 0x4268fa
lea eax, [esp + 0x58]
lea esi, [eax + 2]
jmp 0x4268e0
mov dx, word [eax]
add eax, 2
test dx, dx
jne 0x4268e0
sub eax, esi
sar eax, 1
push eax
lea edx, [esp + 0x5c]
push edx
call fcn.00406920
push ebx
call fcn.0046535b
mov eax, dword [esp + 0x2c]
add esp, 4
test eax, eax
je 0x426911
mov ecx, dword [esp + 0x14]
mov dword [eax], ecx
mov al, 1
mov ecx, dword [esp + 0x2b8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x2a0]
xor ecx, esp
call fcn.004644a2
add esp, 0x2b0
ret