Function at 0x40bfa0
Capabilities:
Get number of processors
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x41c669
mov eax, dword fs:[0]
push eax
sub esp, 0x48
mov eax, dword [0x427020]
xor eax, esp
mov dword [esp + 0x40], eax
push ebx
push esi
push edi
mov eax, dword [0x427020]
xor eax, esp
push eax
lea eax, [esp + 0x58]
mov dword fs:[0], eax
mov eax, dword [ecx]
mov ebx, dword [ebp + 0xc]
mov esi, dword [ebp + 0x10]
mov edx, dword [eax + 0x40]
mov edi, dword [ebp + 8]
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x30], esi
call edx
test edx, edx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], edx
jg 0x40c00d
jl 0x40c1df
test eax, eax
jbe 0x40c1df
test ebx, ebx
je 0x40c02d
push esi
push edx
push eax
push 0
push 0
push 0
push 0
push 0
push 0
call ebx
add esp, 0x24
test eax, eax
je 0x40c1df
push 0x4222f8
lea eax, [esp + 0x18]
push edi
push eax
mov dword [esp + 0x20], 0
call dword [sym.imp.MSVCR80.dll__wfopen_s]
xor esi, esi
add esp, 0xc
cmp dword [esp + 0x14], esi
je 0x40c1df
lea ecx, [esp + 0x34]
mov dword [esp + 0x28], esi
xor edi, edi
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_void_]
mov dword [esp + 0x60], esi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x2c]
lea ebx, [esp + 0x34]
call fcn.0040b720
test eax, eax
je 0x40c166
mov ebx, dword [esp + 0x24]
test ebx, ebx
je 0x40c09e
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [esp + 0x18]
mov dword [esp + 0x18], eax
cmp dword [esp + 0x4c], 0x10
mov eax, dword [esp + 0x38]
jae 0x40c0ad
lea eax, [esp + 0x38]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x48]
push ecx
push edx
push 1
push eax
call dword [sym.imp.MSVCR80.dll_fwrite]
mov ecx, dword [esp + 0x58]
mov eax, ecx
cdq
add esp, 0x10
add esi, eax
adc edi, edx
test ebx, ebx
je 0x40c141
mov ebx, dword [esp + 0x18]
test ebx, ebx
jbe 0x40c0ea
mov eax, ecx
imul eax, eax, 0x3e8
xor edx, edx
div ebx
mov dword [esp + 0x28], eax
cmp dword [esp + 0x4c], 0x10
mov eax, dword [esp + 0x38]
jae 0x40c0f9
lea eax, [esp + 0x38]
mov edx, dword [esp + 0x30]
mov ebx, dword [esp + 0x1c]
push edx
mov edx, dword [esp + 0x24]
push edx
push ebx
push edi
push esi
push ecx
push eax
mov eax, dword [esp + 0x44]
push eax
push 0
push 0x64
push edi
push esi
call fcn.0041bf00
mov ecx, dword [esp + 0x40]
push ecx
push ebx
push edx
push eax
call fcn.0041be50
push eax
call dword [esp + 0x48]
add esp, 0x24
test eax, eax
je 0x40c19f
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esp + 0x18], eax
jmp 0x40c145
mov ebx, dword [esp + 0x1c]
cmp edi, dword [esp + 0x20]
jg 0x40c16a
jl 0x40c151
cmp esi, ebx
jae 0x40c16a
mov eax, dword [esp + 0x2c]
lea ebx, [esp + 0x34]
call fcn.0040b720
test eax, eax
jne 0x40c088
mov ebx, dword [esp + 0x1c]
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.MSVCR80.dll_fclose]
mov ecx, dword [esp + 0x24]
add esp, 4
cmp edi, ecx
jl 0x40c1af
jg 0x40c186
cmp esi, ebx
jb 0x40c1af
lea ecx, [esp + 0x34]
mov dword [esp + 0x60], 0xffffffff
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov eax, 1
jmp 0x40c1e1
mov edx, dword [esp + 0x14]
push edx
call dword [sym.imp.MSVCR80.dll_fclose]
add esp, 4
jmp 0x40c1cd
mov eax, dword [esp + 0x24]
test eax, eax
je 0x40c1cd
mov edx, dword [esp + 0x30]
push edx
push ecx
push ebx
push edi
push esi
push 0
push 0
push 0
push 0xffffffffffffffff
call eax
add esp, 0x24
lea ecx, [esp + 0x34]
mov dword [esp + 0x60], 0xffffffff
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
xor eax, eax
mov ecx, dword [esp + 0x58]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x40]
xor ecx, esp
call fcn.00413588
mov esp, ebp
pop ebp
ret 0xc