Function at 0x40ba20
Capabilities:
Get number of processors
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x438b89
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x449af0]
xor eax, esp
push eax
lea eax, [esp + 0x50]
mov dword fs:[0], eax
xor ebp, ebp
mov dword [esp + 0x14], ebp
mov eax, dword [0x44e610]
add eax, 0xfffffff0
push eax
mov dword [esp + 0x30], ebp
call fcn.00401f40
lea ebx, [eax + 0x10]
add esp, 4
mov dword [esp + 0x3c], ebx
push ebx
push ebp
push str.Count
push str.FilesCount
mov dword [esp + 0x68], ebp
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov esi, dword [esp + 0x60]
push ebp
push ebp
mov edi, eax
mov eax, dword [esi + 0x144]
push 0x402
push eax
mov dword [esp + 0x48], edi
call dword [sym.imp.USER32.dll_SendMessageA]
push esi
call fcn.0040cb90
test eax, eax
jne 0x40bae9
call fcn.0040f8f0
push 0x43f458
push 0x44062c
call fcn.0040f9c0
lea eax, [ebx - 0x10]
add esp, 8
mov dword [esp + 0x58], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40bae2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
jmp 0x40bf72
test edi, edi
mov dword [esp + 0x28], ebp
jle 0x40bf4a
cmp edi, 0x64
jge 0x40bb0a
mov eax, 0x64
cdq
idiv edi
mov dword [esi + 0x1f4], eax
jmp 0x40bb14
mov dword [esi + 0x1f4], 1
cmp edi, 0x64
jle 0x40bb38
mov eax, 0x51eb851f
imul edi
sar edx, 5
mov ecx, edx
shr ecx, 0x1f
lea ecx, [edx + ecx + 1]
mov eax, ebp
cdq
idiv ecx
test edx, edx
je 0x40bb3e
cmp edi, 0x64
jge 0x40bbd8
call fcn.0041259b
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
je 0x40bf88
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x1c], eax
push 0
push 0
mov byte [esp + 0x60], 1
mov ecx, dword [esi + 0x144]
push 0x408
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
push eax
lea edx, [esp + 0x20]
push 0x440644
push edx
call fcn.00405d50
add esp, 0xc
lea eax, [esp + 0x1c]
lea ecx, [esi + 0x190]
push eax
call fcn.00402000
mov ecx, dword [esi + 0x20]
push 0
push 0
push 0xc04
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
mov byte [esp + 0x58], 0
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40bbd8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push 0x43f1c0
lea ecx, [esp + 0x28]
call fcn.00403ce0
push ebp
lea ecx, [esp + 0x28]
push str.FileName_d
push ecx
mov byte [esp + 0x64], 2
call fcn.00405d50
add esp, 0xc
push 0x43f1c0
lea ecx, [esp + 0x1c]
call fcn.00403ce0
mov byte [esp + 0x58], 3
mov edx, dword [esp + 0x18]
mov eax, dword [edx - 8]
mov ecx, 1
sub ecx, dword [edx - 4]
sub eax, 0x104
or eax, ecx
jge 0x40bc3b
push 0x104
lea ecx, [esp + 0x1c]
call fcn.004021f0
mov edx, dword [esp + 0x18]
push ebx
push 0x104
push edx
mov edx, dword [esp + 0x30]
push 0x43f1c0
push edx
push str.FilesName
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
test eax, eax
jbe 0x40bef1
mov eax, dword [esp + 0x64]
mov eax, dword [eax]
sub eax, 0x10
push eax
call fcn.00401f40
add eax, 0x10
add esp, 4
mov dword [esp + 0x1c], eax
mov byte [esp + 0x58], 4
mov ecx, dword [esp + 0x18]
push ecx
lea edi, [esp + 0x20]
call fcn.0040ecc0
mov ebp, dword [esp + 0x20]
add esp, 4
push 0x5c
push ebp
call fcn.004235ac
add esp, 8
test eax, eax
jne 0x40bca6
or eax, 0xffffffff
jmp 0x40bca8
sub eax, ebp
lea ecx, [eax + 1]
mov eax, dword [ebp - 0xc]
sub eax, ecx
push eax
lea edx, [esp + 0x24]
push edx
lea ecx, [esp + 0x24]
call fcn.0040e600
push 0x440668
lea eax, [esp + 0x48]
push 0x44e61c
push eax
mov byte [esp + 0x64], 5
call fcn.004039e0
add esp, 0xc
lea ecx, [esp + 0x20]
push ecx
push eax
lea edx, [esp + 0x48]
push edx
mov byte [esp + 0x64], 6
call fcn.0040e700
add esp, 0xc
push eax
lea ecx, [esp + 0x24]
mov byte [esp + 0x5c], 7
call fcn.00402000
mov byte [esp + 0x58], 6
mov eax, dword [esp + 0x40]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40bd27
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x58], 5
mov eax, dword [esp + 0x44]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40bd4c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push 4
call fcn.00412566
add esp, 4
test eax, eax
je 0x40bd96
push 0x44066c
lea ecx, [esp + 0x34]
mov dword [eax], vtable.CFileProc.0
mov dword [esp + 0x38], eax
call fcn.00403ce0
lea ecx, [esp + 0x30]
push ecx
mov byte [esp + 0x5c], 8
or dword [esp + 0x18], 1
lea ecx, [esp + 0x20]
lea edx, [esp + 0x24]
call fcn.0040f280
test eax, eax
je 0x40bd9e
mov bl, 1
jmp 0x40bda0
mov dword [esp + 0x34], 0
xor bl, bl
mov dword [esp + 0x58], 5
test byte [esp + 0x14], 1
je 0x40bdd4
mov eax, dword [esp + 0x30]
and dword [esp + 0x14], 0xfffffffe
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40bdd4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
je 0x40bde5
mov dword [esp + 0x2c], 1
jmp 0x40be8f
call fcn.0041259b
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
je 0x40bf88
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x2c], eax
push ebp
lea ecx, [esp + 0x30]
push 0x440678
push ecx
mov byte [esp + 0x64], 9
call fcn.00405d50
add esp, 0xc
call fcn.0040f8f0
push ecx
mov ecx, esp
mov dword [esp + 0x4c], esp
push 0x43f1fc
call fcn.00403ce0
mov byte [esp + 0x5c], 0xa
mov esi, dword [esp + 0x30]
push ecx
add esi, 0xfffffff0
mov dword [esp + 0x54], esp
mov edi, esp
push esi
call fcn.00401f40
add eax, 0x10
mov dword [edi], eax
add esp, 4
mov byte [esp + 0x60], 9
call fcn.0040fb30
add esp, 8
mov dword [esp + 0x2c], 0
mov byte [esp + 0x58], 5
lea edx, [esi + 0xc]
or eax, 0xffffffff
lock xadd dword [edx], eax
dec eax
test eax, eax
jg 0x40be8b
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
mov esi, dword [esp + 0x60]
mov ecx, dword [esp + 0x34]
test ecx, ecx
je 0x40be9f
mov edx, dword [ecx]
mov eax, dword [edx]
push 1
call eax
mov byte [esp + 0x58], 4
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40bec4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [ebp - 0x10]
mov byte [esp + 0x58], 3
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40bee5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ebx, dword [esp + 0x3c]
mov ebp, dword [esp + 0x28]
mov edi, dword [esp + 0x38]
mov byte [esp + 0x58], 2
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40bf16
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x58], 0
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40bf3b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
add ebp, 1
cmp ebp, edi
mov dword [esp + 0x28], ebp
jl 0x40baf5
lea eax, [ebx - 0x10]
mov dword [esp + 0x58], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40bf6e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x50]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x48
ret 8
push 0x80004005
call fcn.00401ed0
int3