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

Disassembly:
push 0xffffffffffffffff
push 0x7d3a08
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x64
push ebx
push ebp
mov ebp, ecx
push esi
mov ecx, dword [ebp + 8]
push edi
mov eax, dword [ebp + 0xc]
lea esi, [ebp + 4]
push eax
push ecx
mov ecx, esi
mov dword [esp + 0x30], ebp
call fcn.00429350
lea ecx, [ebp + 0x14]
call fcn.00651640
mov edi, dword [esp + 0x84]
xor ebx, ebx
lea eax, [esp + 0x18]
push ebx
push eax
lea ecx, [esp + 0x18]
push 4
push ecx
push edi
mov dword [esp + 0x24], ebx
call dword [sym.imp.kernel32.dll_ReadFile]
mov dl, byte [esp + 0x84]
mov dword [esp + 0x34], ebx
mov byte [esp + 0x30], dl
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x7c], ebx
mov ebx, dword [esp + 0x10]
test ebx, ebx
jle 0x6502bd
mov eax, dword [esi + 8]
mov ecx, dword [esi + 0xc]
mov edi, dword [ebp + 8]
sub ecx, eax
sar ecx, 2
cmp ecx, ebx
mov dword [esp + 0x14], 0
jae 0x650156
mov ecx, esi
call fcn.004b2bf0
cmp ebx, eax
jae 0x6500b8
mov ecx, esi
call fcn.004b2bf0
mov ebp, eax
jmp 0x6500ba
mov ebp, ebx
mov ecx, esi
call fcn.004b2bf0
add eax, ebp
mov dword [esp + 0x24], eax
jns 0x6500cb
xor eax, eax
lea edx, [eax*4]
push edx
call fcn.007a2d8d
add esp, 4
mov ebp, eax
mov eax, dword [esi + 4]
mov ecx, esi
push ebp
push edi
push eax
call fcn.0073d2b0
lea ecx, [esp + 0x14]
mov dword [esp + 0x20], eax
push ecx
push ebx
push eax
mov ecx, esi
call fcn.0073d380
mov edx, dword [esp + 0x20]
mov ecx, dword [esi + 8]
lea eax, [edx + ebx*4]
push eax
push ecx
push edi
mov ecx, esi
call fcn.0073d2b0
mov edx, dword [esi + 8]
mov eax, dword [esi + 4]
push edx
push eax
mov ecx, esi
call fcn.006660a0
mov eax, dword [esi + 4]
push eax
call fcn.007a02e0
mov ecx, dword [esp + 0x28]
add esp, 4
lea edx, [ebp + ecx*4]
mov ecx, esi
mov dword [esi + 0xc], edx
call fcn.004b2bf0
add eax, ebx
mov ebx, dword [esp + 0x10]
mov dword [esi + 4], ebp
lea eax, [ebp + eax*4]
mov ebp, dword [esp + 0x28]
mov dword [esi + 8], eax
jmp 0x6501fc
mov ecx, eax
sub ecx, edi
sar ecx, 2
cmp ecx, ebx
jae 0x6501b4
lea ecx, [ebx*4]
mov dword [esp + 0x28], ecx
add ecx, edi
push ecx
push eax
push edi
mov ecx, esi
call fcn.0073d2b0
mov eax, dword [esi + 8]
lea edx, [esp + 0x14]
mov ecx, eax
push edx
sub ecx, edi
sar ecx, 2
sub ebx, ecx
mov ecx, esi
push ebx
push eax
call fcn.0073d380
mov eax, dword [esi + 8]
cmp edi, eax
je 0x6501a6
mov edx, dword [esp + 0x14]
mov dword [edi], edx
add edi, 4
cmp edi, eax
jne 0x650199
mov eax, dword [esp + 0x28]
mov ecx, dword [esi + 8]
add ecx, eax
mov dword [esi + 8], ecx
jmp 0x6501f8
test ebx, ebx
jbe 0x6501fc
shl ebx, 2
push eax
push eax
sub eax, ebx
mov ecx, esi
push eax
call fcn.0073d2b0
mov ecx, dword [esi + 8]
mov eax, ecx
sub eax, ebx
cmp edi, eax
je 0x6501e1
mov edx, dword [eax - 4]
sub eax, 4
sub ecx, 4
cmp eax, edi
mov dword [ecx], edx
jne 0x6501d2
lea eax, [ebx + edi]
cmp edi, eax
je 0x6501f5
mov ecx, dword [esp + 0x14]
mov dword [edi], ecx
add edi, 4
cmp edi, eax
jne 0x6501e8
add dword [esi + 8], ebx
mov ebx, dword [esp + 0x10]
mov eax, dword [ebp + 8]
lea edx, [esp + 0x18]
push 0
lea ecx, [ebx*4]
push edx
mov edx, dword [esp + 0x8c]
push ecx
push eax
push edx
call dword [sym.imp.kernel32.dll_ReadFile]
lea eax, [esp + 0x30]
mov ecx, ebp
push eax
call fcn.00653490
test eax, eax
jne 0x65025f
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x34]
push ecx
push edx
lea ecx, [esp + 0x38]
mov dword [esp + 0x84], 0xffffffff
call fcn.006660a0
mov eax, dword [esp + 0x34]
push eax
call fcn.007a02e0
add esp, 4
xor eax, eax
jmp 0x650375
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x34]
cmp dword [edx + ecx*4], 0x18
jne 0x650275
mov eax, dword [ebp + 8]
cmp dword [eax], 6
je 0x6502b6
mov eax, dword [esi + 8]
mov ecx, dword [esi + 4]
push eax
push ecx
mov ecx, esi
call fcn.00429350
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x34]
push eax
push ecx
lea ecx, [esp + 0x38]
mov dword [esp + 0x84], 0xffffffff
call fcn.006660a0
mov edx, dword [esp + 0x34]
push edx
call fcn.007a02e0
add esp, 4
xor eax, eax
jmp 0x650375
mov edi, dword [esp + 0x84]
lea eax, [esp + 0x18]
push 0
push eax
lea ecx, [esp + 0x24]
push 4
push ecx
push edi
call dword [sym.imp.kernel32.dll_ReadFile]
mov eax, dword [esp + 0x1c]
xor ebx, ebx
test eax, eax
jle 0x650345
jmp 0x6502e5
mov edi, dword [esp + 0x84]
mov eax, dword [esp + 0x10]
xor esi, esi
test eax, eax
jle 0x650313
mov edx, dword [esp + 0x34]
mov eax, dword [ebp + 8]
mov ecx, dword [edx + esi*4]
mov eax, dword [eax + esi*4]
lea edx, [esp + ecx + 0x40]
mov ecx, ebp
push edx
push eax
push edi
call fcn.00653260
mov eax, dword [esp + 0x10]
inc esi
cmp esi, eax
jl 0x6502ef
mov ecx, dword [esp + 0x40]
lea esi, [esp + 0x40]
mov dword [esp + 0x58], ecx
mov ecx, 6
lea edi, [esp + 0x5c]
lea edx, [esp + 0x58]
rep movsd dword es:[edi], dword [esi]
lea eax, [esp + 0x28]
push edx
push eax
lea ecx, [ebp + 0x14]
call fcn.00651320
mov eax, dword [esp + 0x1c]
inc ebx
cmp ebx, eax
jl 0x6502de
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x34]
push ecx
push edx
lea ecx, [esp + 0x38]
mov dword [esp + 0x84], 0xffffffff
call fcn.006660a0
mov eax, dword [esp + 0x34]
push eax
call fcn.007a02e0
add esp, 4
mov eax, 1
mov ecx, dword [esp + 0x74]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x70
ret 4