Function at 0x10001a10
Capabilities:
Check os version
Get number of processors
Read file on windows

Disassembly:
mov al, byte [ecx + 0x14]
test al, al
jne 0x10001a1c
jmp 0x10001a20
ret
push 0xffffffffffffffff
push 0x1003c078
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x164
push ebx
push ebp
push esi
push edi
mov edi, ecx
mov dword [esp + 0x30], edi
lea ecx, [edi + 0x18]
mov byte [edi + 0x14], 1
call fcn.10002d60
mov eax, dword [edi + 8]
xor esi, esi
cmp eax, esi
jne 0x10001a5f
mov eax, 0x1003d36c
push 0x10047040
push eax
call dword [sym.imp.MSVCRT.dll_fopen]
add esp, 8
mov dword [esp + 0x2c], eax
mov dword [esp + 0x64], eax
cmp eax, esi
mov dword [esp + 0x17c], esi
je 0x1000201b
call fcn.10035b00
mov word [esp + 0x38], si
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x38]
push esi
lea ecx, [esp + 0x18]
mov dword [esp + 0x1c], eax
call fcn.10002ae0
mov byte [esp + 0x17c], 1
mov ecx, dword [0x1003d370]
push ecx
push 0
lea ecx, [esp + 0x1c]
call fcn.100022e0
mov byte [esp + 0x13], 0
mov esi, dword [esp + 0x2c]
lea edx, [esp + 0x110]
push esi
push 0x64
push 1
push edx
call dword [sym.imp.MSVCRT.dll_fread]
mov ebx, eax
mov al, byte [esi + 0xc]
add esp, 0x10
test al, 0x20
je 0x10001b4f
push edi
lea eax, [esp + 0x40]
push str.Error_reading_config_file:
push eax
call fcn.10003760
mov ecx, dword [esp + 0x48]
sub esp, 8
mov esi, esp
mov dword [esp + 0x3c], esp
push 0
mov byte [esp + 0x194], 2
mov dword [esi], ecx
mov edx, dword [esp + 0x58]
mov ecx, esi
mov dword [esi + 4], edx
call fcn.10002ae0
mov eax, dword [0x1003d370]
lea ecx, [esp + 0x50]
push eax
push 0
push ecx
mov ecx, esi
call fcn.10002670
push 1
call fcn.10036d20
add esp, 0x18
lea ecx, [esp + 0x3c]
mov byte [esp + 0x17c], 1
push 1
call fcn.10002ae0
xor ebp, ebp
test ebx, ebx
jle 0x10001b7c
mov al, byte [esp + ebp + 0x110]
cmp al, 0xa
je 0x10001c6e
cmp al, 0xd
je 0x10001b72
mov al, byte [esp + 0x13]
test al, al
jne 0x10001beb
jmp 0x10001b77
mov byte [esp + 0x13], 1
inc ebp
cmp ebp, ebx
jl 0x10001b55
mov edx, dword [0x1003d370]
mov ecx, dword [esp + 0x20]
sub edx, ecx
cmp edx, ebx
ja 0x10001b92
call dword [sym.imp.MSVCP60.dll_void___cdecl_std::_Xlen_void_]
test ebx, ebx
jbe 0x10001bdd
mov eax, dword [esp + 0x20]
push 0
lea ecx, [esp + 0x18]
lea ebp, [eax + ebx]
push ebp
call fcn.100029c0
test al, al
je 0x10001bdd
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x1c]
lea esi, [esp + 0x110]
push ebp
lea edi, [edx + ecx]
mov ecx, ebx
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x18]
call fcn.10002920
mov edi, dword [esp + 0x30]
cmp ebx, 0x64
jne 0x10001d22
jmp 0x10001ac4
mov ecx, dword [0x1003d370]
mov edx, dword [esp + 0x20]
sub ecx, edx
cmp ecx, ebp
ja 0x10001c01
call dword [sym.imp.MSVCP60.dll_void___cdecl_std::_Xlen_void_]
test ebp, ebp
jbe 0x10001c56
mov edx, dword [esp + 0x20]
push 0
lea ecx, [esp + 0x18]
lea eax, [edx + ebp]
push eax
mov dword [esp + 0x30], eax
call fcn.100029c0
test al, al
je 0x10001c56
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x1c]
lea esi, [esp + 0x110]
lea edi, [ecx + eax]
mov ecx, ebp
mov edx, ecx
mov eax, dword [esp + 0x28]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x1c]
mov edi, dword [esp + 0x30]
mov dword [esp + 0x20], eax
mov byte [ecx + eax], 0
mov edx, dword [esp + 0x2c]
sub ebp, ebx
push 1
push ebp
push edx
call dword [sym.imp.MSVCRT.dll_fseek]
add esp, 0xc
jmp 0x10001d68
mov eax, dword [0x1003d370]
mov edx, dword [esp + 0x20]
sub eax, edx
cmp eax, ebp
ja 0x10001c83
call dword [sym.imp.MSVCP60.dll_void___cdecl_std::_Xlen_void_]
test ebp, ebp
jbe 0x10001cd8
mov ecx, dword [esp + 0x20]
push 0
lea eax, [ecx + ebp]
lea ecx, [esp + 0x18]
push eax
mov dword [esp + 0x30], eax
call fcn.100029c0
test al, al
je 0x10001cd8
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x1c]
mov ecx, ebp
lea esi, [esp + 0x110]
lea edi, [eax + edx]
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov eax, dword [esp + 0x28]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x1c]
mov edi, dword [esp + 0x30]
mov dword [esp + 0x20], eax
mov byte [ecx + eax], 0
mov edx, dword [esp + 0x2c]
sub ebp, ebx
inc ebp
push 1
push ebp
push edx
call dword [sym.imp.MSVCRT.dll_fseek]
mov al, byte [esp + 0x1f]
add esp, 0xc
test al, al
je 0x10001d68
mov ecx, dword [esp + 0x20]
lea eax, [ecx - 1]
cmp eax, ecx
ja 0x10001d12
mov ecx, dword [0x1003d370]
push ecx
push eax
lea ecx, [esp + 0x1c]
call fcn.100022e0
jmp 0x10001d68
sub eax, ecx
push 0
push eax
lea ecx, [esp + 0x1c]
call fcn.100025a0
jmp 0x10001d68
mov al, byte [esp + 0x13]
test al, al
je 0x10001d56
mov ecx, dword [esp + 0x20]
lea eax, [ecx - 1]
cmp eax, ecx
ja 0x10001d48
mov edx, dword [0x1003d370]
lea ecx, [esp + 0x14]
push edx
push eax
call fcn.100022e0
jmp 0x10001d56
sub eax, ecx
push 0
push eax
lea ecx, [esp + 0x1c]
call fcn.100025a0
mov eax, dword [esp + 0x20]
xor esi, esi
cmp eax, esi
jne 0x10001d68
cmp ebx, esi
je 0x10001fcc
lea eax, [esp + 0x14]
push eax
call fcn.100014b0
lea ecx, [esp + 0x18]
push ecx
call fcn.10001140
mov eax, dword [esp + 0x28]
add esp, 8
test eax, eax
je 0x10001aad
push 1
lea edx, [esp + 0x17]
push 0
push edx
lea ecx, [esp + 0x20]
mov byte [esp + 0x1f], 0x3d
call fcn.10002890
cmp eax, dword [0x1003d370]
jne 0x10001e81
push str.:_illegal_line__
lea eax, [esp + 0xc4]
push edi
push eax
call fcn.100038d0
lea ecx, [esp + 0x20]
lea edx, [esp + 0xe0]
push ecx
push eax
push edx
mov byte [esp + 0x194], 3
call fcn.10003a10
push 0x10047060
push eax
lea eax, [esp + 0x70]
mov byte [esp + 0x19c], 4
push eax
call fcn.100038d0
add esp, 0x24
push 1
lea ecx, [esp + 0xd8]
mov byte [esp + 0x180], 7
call fcn.10002ae0
push 1
lea ecx, [esp + 0xc4]
mov byte [esp + 0x180], 6
call fcn.10002ae0
mov ecx, dword [esp + 0x50]
sub esp, 0x14
mov esi, esp
mov dword [esp + 0x3c], esp
push 0
mov dword [esi], ecx
mov edx, dword [esp + 0x6c]
mov ecx, esi
mov dword [esi + 4], edx
call fcn.10002ae0
mov eax, dword [0x1003d370]
lea ecx, [esp + 0x64]
push eax
push 0
push ecx
mov ecx, esi
call fcn.10002670
mov bl, byte [edi + 0x15]
xor edx, edx
test bl, bl
setne dl
push edx
call fcn.10036d20
add esp, 0x18
lea ecx, [esp + 0x50]
mov byte [esp + 0x17c], 1
push 1
call fcn.10002ae0
jmp 0x10001aad
lea eax, [esp + 0x34]
lea ecx, [esp + 0x14]
push eax
lea edx, [esp + 0x6c]
push ecx
push edx
call fcn.10001790
lea eax, [esp + 0x74]
mov byte [esp + 0x188], 8
push eax
call fcn.100012d0
mov ecx, dword [esp + 0x44]
add esp, 0x10
lea edx, [esp + 0x14]
push ecx
sub esp, 0x14
mov ecx, esp
mov dword [esp + 0x40], esp
push edx
call fcn.100021a0
lea eax, [esp + 0x94]
push eax
call fcn.10001850
lea ecx, [esp + 0x98]
lea edx, [esp + 0x84]
push ecx
lea eax, [esp + 0x108]
push edx
push eax
mov byte [esp + 0x1a4], 9
call fcn.10003b50
add esp, 0x28
mov esi, eax
push esi
lea ecx, [esp + 0x94]
mov byte [esp + 0x180], 0xa
call fcn.100021a0
add esi, 0x14
lea ecx, [esp + 0xa4]
push esi
mov byte [esp + 0x180], 0xb
call fcn.100021a0
lea ecx, [esp + 0x90]
lea edx, [esp + 0xb8]
push ecx
push edx
lea ecx, [edi + 0x18]
mov byte [esp + 0x184], 0xc
call fcn.10002b30
push 1
lea ecx, [esp + 0xa8]
mov byte [esp + 0x180], 0xd
call fcn.10002ae0
push 1
lea ecx, [esp + 0x94]
mov byte [esp + 0x180], 0xa
call fcn.10002ae0
push 1
lea ecx, [esp + 0x100]
mov byte [esp + 0x180], 0xe
call fcn.10002ae0
push 1
lea ecx, [esp + 0xec]
mov byte [esp + 0x180], 9
call fcn.10002ae0
push 1
lea ecx, [esp + 0x80]
mov byte [esp + 0x180], 8
call fcn.10002ae0
push 1
lea ecx, [esp + 0x6c]
mov byte [esp + 0x180], 1
call fcn.10002ae0
jmp 0x10001aad
mov eax, dword [esp + 0x1c]
mov byte [esp + 0x17c], 0
cmp eax, esi
je 0x10001ff6
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x10001fec
dec al
mov byte [ecx], al
jmp 0x10001ff6
push ecx
mov ecx, dword [esp + 0x18]
call fcn.100359a0
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x1c], esi
push eax
mov dword [esp + 0x24], esi
mov dword [esp + 0x28], esi
mov dword [esp + 0x180], 0xffffffff
call dword [sym.imp.MSVCRT.dll_fclose]
add esp, 4
mov ecx, dword [esp + 0x174]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x170
ret