Function at 0x41d490
Capabilities:
Get common file path
Get number of processors
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x439a52
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x120
mov al, byte [esp + 3]
push ebx
push ebp
push esi
mov esi, ecx
push edi
push 0xc
mov dword [esp + 0x18], esi
mov byte [esi + 0xc58], al
call fcn.0042fffb
xor ebx, ebx
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [esi + 0xc5c], eax
mov dword [esi + 0xc60], ebx
mov cl, byte [esp + 0x17]
push 0xc
mov dword [esp + 0x140], ebx
mov byte [esi + 0xc64], cl
call fcn.0042fffb
mov dword [eax], eax
mov dword [eax + 4], eax
add esp, 8
mov dword [esi + 0xc68], eax
mov dword [esi + 0xc6c], ebx
lea edi, [esi + 0xc74]
mov byte [esp + 0x138], 1
push edi
mov dword [esi], 0x440d3c
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
push edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea edx, [esp + 0x2c]
push 0x104
push edx
mov dword [esi + 0x10], ebx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
lea eax, [esp + 0x2c]
push 0x44fe6c
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatA]
lea ecx, [esp + 0x18]
mov ebp, 1
push 0x44bfdc
push ecx
mov dword [esi + 0xc70], ebp
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea edx, [esp + 0x2c]
lea eax, [esp + 0x18]
push edx
push 0x14
push eax
push 0x44bfdc
push 0x44fe50
push 0x44fe44
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea ecx, [esp + 0x18]
push ecx
call fcn.00430c52
mov dword [esi + 0xc70], eax
mov dword [esi + 0x54], ebx
mov dword [esi + 0x50], ebx
mov dword [esi + 0x900], ebx
mov dword [esi + 0x70], ebx
mov byte [esi + 0xb54], bl
mov dword [esi + 0xb48], ebx
mov edx, dword [0x456358]
mov dword [esi + 0xb4c], edx
mov dword [esi + 0xb50], ebp
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
mov dword [esi + 0x4c0], ebx
mov dword [esi + 0x18], ebx
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x20], ebx
mov dword [esi + 0x24], ebx
mov dword [esi + 0x28], ebx
add esp, 4
mov dword [esi + 0x14], ebp
mov ecx, esi
call fcn.0041dd50
mov dword [esi + 0x28], ebx
mov dword [esi + 0x44], ebx
mov dword [esi + 0x48], ebx
mov dword [esi + 0x4c], ebx
mov dword [esi + 0x60], ebx
mov dword [esi + 0x58], ebx
mov ecx, esi
mov dword [esi + 0x5c], ebx
call fcn.004203c0
mov ecx, esi
call fcn.0041df80
mov ecx, esi
mov dword [esi + 0x40], ebx
mov dword [esi + 0x3c], ebx
call fcn.0041de30
mov dword [esi + 0x34], ebx
mov dword [esi + 0x30], ebx
mov dword [esi + 0x38], ebx
mov eax, dword [0x456274]
cmp eax, ebx
jne 0x41d634
mov ecx, esi
call fcn.0041ddc0
push ebx
mov dword [esi + 0x4a0], 0x14
mov dword [esi + 0x4ac], 0x64
mov dword [esi + 0x4c8], ebx
mov dword [esi + 0x6c], ebx
mov dword [esi + 0x4d0], ebx
mov dword [esi + 0x4c4], ebx
call dword [sym.imp.USER32.dll_GetDC]
mov ebp, eax
cmp ebp, ebx
je 0x41d6b3
push 0xc
push ebp
call dword [sym.imp.GDI32.dll_GetDeviceCaps]
push 0xa
push ebp
mov dword [esi + 0x4b4], eax
call dword [sym.imp.GDI32.dll_GetDeviceCaps]
mov dword [esp + 0x14], eax
cdq
idiv dword [esi + 0x4a0]
test edx, edx
je 0x41d6a9
mov eax, dword [esp + 0x14]
mov ecx, dword [esi + 0x4a0]
cdq
dec ecx
idiv ecx
mov dword [esi + 0x4a0], ecx
test edx, edx
jne 0x41d691
push ebp
push ebx
call dword [sym.imp.USER32.dll_ReleaseDC]
jmp 0x41d6bd
mov dword [esi + 0x4b4], 0x100
mov dword [esi + 0x4bc], ebx
mov dword [esi + 0xb44], 6
mov dword [esi + 0x904], ebx
mov dword [esi + 0x910], ebx
mov dword [esi + 0x914], ebx
mov dword [esi + 0x918], ebx
mov dword [esi + 0x91c], ebx
mov dword [esi + 0x920], ebx
mov dword [esi + 0x924], ebx
mov dword [esi + 0x928], ebx
mov dword [esi + 0x92c], ebx
mov dword [esi + 0x930], ebx
mov dword [esi + 0x64], ebx
mov dword [esi + 0x68], ebx
mov byte [esi + 0x938], bl
mov byte [esi + 0xa3c], bl
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x4b8], ebx
mov dword [esi + 0xb40], ebx
mov eax, dword [0x45a6b4]
push ebx
push ebx
push 0x404
push eax
call dword [sym.imp.USER32.dll_PostMessageA]
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [esp + 0x130]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x12c
ret