Function at 0x444900
Capabilities:
Check if file exists
Get number of processors
Read .ini file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x49e7a7
mov eax, dword fs:[0]
push eax
sub esp, 0x508
mov eax, dword [0x4c1bd8]
xor eax, esp
mov dword [esp + 0x500], eax
push ebx
push esi
push edi
mov eax, dword [0x4c1bd8]
xor eax, esp
push eax
lea eax, [esp + 0x518]
mov dword fs:[0], eax
mov esi, ecx
xor edi, edi
push 0x206
lea ecx, [esp + 0x102]
xor eax, eax
push edi
push ecx
mov dword [esp + 0x24], esi
mov dword [esp + 0x2c], edi
mov word [esp + 0x108], ax
call fcn.00454ce0
push 0x62
lea eax, [esp + 0xa6]
xor edx, edx
push edi
push eax
mov word [esp + 0xac], dx
call fcn.00454ce0
mov ecx, dword [esi + 0x44]
push 0x104
add ecx, 0x88
push ecx
lea edx, [esp + 0x11c]
push edx
call fcn.00455578
push 1
lea eax, [esp + 0x124]
push 0x4a0e7c
push eax
call fcn.004555c2
push 0xa
lea ecx, [esp + 0x130]
push str.uninst.ini
push ecx
call fcn.004555c2
add esp, 0x3c
lea ecx, [esp + 0x30]
call fcn.0040eac0
mov ecx, dword [esi + 0x8c]
lea edx, [esp + 0x30]
push edx
mov dword [esp + 0x524], edi
call fcn.00410730
mov eax, dword [esi + 0x44]
cmp byte [eax + 1], 0
je 0x444fb0
lea ecx, [esp + 0xfc]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x444fb0
lea edx, [esp + 0x1f]
push edx
lea eax, [esp + 0x23]
push eax
lea ecx, [esp + 0x60]
call fcn.00440030
lea ecx, [esp + 0xfc]
push ecx
push 0xa
lea edx, [esp + 0x88]
push edx
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
push str.Total
push str.LocalFiles
mov byte [esp + 0x538], 1
call edi
lea eax, [esp + 0x80]
push eax
call fcn.00454efb
mov ebx, eax
add esp, 4
test ebx, ebx
jle 0x444c54
mov esi, 1
cmp ebx, esi
jl 0x444b0a
push 0xa
lea ecx, [esp + 0x84]
push ecx
push esi
call fcn.004575d6
add esp, 0xc
lea edx, [esp + 0xfc]
push edx
push 0x104
lea eax, [esp + 0x30c]
push eax
push 0
lea ecx, [esp + 0x90]
push ecx
push str.LocalFiles
call edi
lea edx, [esp + 0x304]
push edx
lea ecx, [esp + 0x14]
call fcn.004190e0
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x28]
push ecx
lea ecx, [esp + 0x60]
mov byte [esp + 0x528], 2
call fcn.004412c0
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
mov byte [esp + 0x520], 1
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x444b01
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
inc esi
cmp esi, ebx
jle 0x444a74
mov ecx, dword [esp + 0x44]
mov eax, dword [ecx]
mov esi, dword [esp + 0x30]
mov ebx, eax
mov edi, dword [esp + 0x44]
test esi, esi
je 0x444b24
cmp esi, dword [esp + 0x30]
je 0x444b29
call fcn.004541b9
cmp ebx, edi
je 0x444b94
test esi, esi
jne 0x444b88
call fcn.004541b9
xor eax, eax
cmp ebx, dword [eax + 0x14]
jne 0x444b42
call fcn.004541b9
cmp dword [ebx + 8], 1
jne 0x444b6f
test esi, esi
jne 0x444b8c
call fcn.004541b9
xor eax, eax
cmp ebx, dword [eax + 0x14]
jne 0x444b5d
call fcn.004541b9
lea edx, [ebx + 0xc]
push edx
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x60]
call fcn.004412c0
test esi, esi
jne 0x444b90
call fcn.004541b9
xor eax, eax
cmp ebx, dword [eax + 0x14]
jne 0x444b84
call fcn.004541b9
mov ebx, dword [ebx]
jmp 0x444b16
mov eax, dword [esi]
jmp 0x444b38
mov eax, dword [esi]
jmp 0x444b53
mov eax, dword [esi]
jmp 0x444b7a
mov ebx, dword [esp + 0x18]
add ebx, 0x48
mov ecx, ebx
call fcn.0040f170
mov ecx, dword [esp + 0x70]
mov edi, dword [ecx]
mov esi, dword [esp + 0x58]
mov dword [esp + 0x24], esi
mov dword [esp + 0x28], edi
mov edx, dword [esp + 0x70]
mov dword [esp + 0x14], edx
test esi, esi
je 0x444bc6
cmp esi, dword [esp + 0x58]
je 0x444bcb
call fcn.004541b9
cmp edi, dword [esp + 0x14]
je 0x444c21
test esi, esi
jne 0x444c1d
call fcn.004541b9
cmp edi, dword [esi + 0x18]
jne 0x444be4
call fcn.004541b9
mov esi, dword [ebx + 0x14]
lea eax, [edi + 0xc]
push eax
mov eax, dword [esi + 4]
push eax
push esi
mov ecx, ebx
call fcn.0040eba0
push 1
mov ecx, ebx
mov edi, eax
call fcn.0040f1d0
mov dword [esi + 4], edi
mov ecx, dword [edi + 4]
mov dword [ecx], edi
lea ecx, [esp + 0x24]
call fcn.0043dbd0
mov edi, dword [esp + 0x28]
mov esi, dword [esp + 0x24]
jmp 0x444bb4
mov esi, dword [esi]
jmp 0x444bda
mov edx, dword [esp + 0x70]
mov eax, dword [edx + 4]
push eax
lea ecx, [esp + 0x5c]
call fcn.004418d0
mov eax, dword [esp + 0x70]
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov dword [eax + 4], eax
mov eax, dword [esp + 0x70]
mov dword [esp + 0x74], 0
mov dword [eax], eax
mov eax, dword [esp + 0x70]
mov dword [eax + 8], eax
lea ecx, [esp + 0xfc]
push ecx
push 0xa
lea edx, [esp + 0x88]
push edx
push 0
push str.Total
push str.OtherFiles
call edi
lea eax, [esp + 0x80]
push eax
call fcn.00454efb
mov ebx, eax
add esp, 4
test ebx, ebx
jle 0x444e31
mov esi, 1
cmp ebx, esi
jl 0x444d36
jmp 0x444ca0
push 0xa
lea ecx, [esp + 0x84]
push ecx
push esi
call fcn.004575d6
add esp, 0xc
lea edx, [esp + 0xfc]
push edx
push 0x104
lea eax, [esp + 0x30c]
push eax
push 0
lea ecx, [esp + 0x90]
push ecx
push str.OtherFiles
call edi
lea edx, [esp + 0x304]
push edx
lea ecx, [esp + 0x14]
call fcn.004190e0
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x50]
push ecx
lea ecx, [esp + 0x60]
mov byte [esp + 0x528], 3
call fcn.004412c0
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
mov byte [esp + 0x520], 1
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x444d2d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
inc esi
cmp esi, ebx
jle 0x444ca0
mov ebx, dword [esp + 0x18]
mov eax, dword [ebx + 0x78]
mov eax, dword [eax]
mov esi, dword [ebx + 0x64]
add ebx, 0x64
mov edi, eax
mov ecx, dword [ebx + 0x14]
mov eax, dword [ebx]
mov dword [esp + 0x14], ecx
test esi, esi
je 0x444d58
cmp esi, eax
je 0x444d5d
call fcn.004541b9
cmp edi, dword [esp + 0x14]
je 0x444dab
test esi, esi
jne 0x444da3
call fcn.004541b9
xor eax, eax
cmp edi, dword [eax + 0x14]
jne 0x444d78
call fcn.004541b9
lea edx, [edi + 8]
push edx
lea eax, [esp + 0x50]
push eax
lea ecx, [esp + 0x60]
call fcn.004412c0
test esi, esi
jne 0x444da7
call fcn.004541b9
xor eax, eax
cmp edi, dword [eax + 0x14]
jne 0x444d9f
call fcn.004541b9
mov edi, dword [edi]
jmp 0x444d47
mov eax, dword [esi]
jmp 0x444d6e
mov eax, dword [esi]
jmp 0x444d95
mov ecx, ebx
call fcn.0040f170
mov ecx, dword [esp + 0x70]
mov edi, dword [ecx]
mov esi, dword [esp + 0x58]
mov dword [esp + 0x24], esi
mov dword [esp + 0x28], edi
mov edx, dword [esp + 0x70]
mov dword [esp + 0x14], edx
test esi, esi
je 0x444dd6
cmp esi, dword [esp + 0x58]
je 0x444ddb
call fcn.004541b9
cmp edi, dword [esp + 0x14]
je 0x444e31
test esi, esi
jne 0x444e2d
call fcn.004541b9
cmp edi, dword [esi + 0x18]
jne 0x444df4
call fcn.004541b9
mov esi, dword [ebx + 0x14]
lea eax, [edi + 0xc]
push eax
mov eax, dword [esi + 4]
push eax
push esi
mov ecx, ebx
call fcn.0040eba0
push 1
mov ecx, ebx
mov edi, eax
call fcn.0040f1d0
mov dword [esi + 4], edi
mov ecx, dword [edi + 4]
mov dword [ecx], edi
lea ecx, [esp + 0x24]
call fcn.0043dbd0
mov edi, dword [esp + 0x28]
mov esi, dword [esp + 0x24]
jmp 0x444dc4
mov esi, dword [esi]
jmp 0x444dea
lea ecx, [esp + 0x58]
mov byte [esp + 0x520], 0
call fcn.00443f70
push 0
push 0x80
push 2
push 0
push 1
push 0x40000000
lea ecx, [esp + 0x114]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
cmp eax, 0xffffffff
je 0x4451f0
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x444e80
movzx ecx, word [eax + str.LocalFiles]
mov word [esp + eax + 0x94], cx
add eax, 2
test cx, cx
jne 0x444e80
xor eax, eax
mov dword [esp + 0x5a], eax
mov dword [esp + 0x5e], eax
mov dword [esp + 0x62], eax
mov dword [esp + 0x66], eax
mov dword [esp + 0x6a], eax
mov dword [esp + 0x6e], eax
mov dword [esp + 0x72], eax
mov dword [esp + 0x76], eax
mov dword [esp + 0x7a], eax
mov word [esp + 0x7e], ax
push 0xa
lea eax, [esp + 0x5c]
xor edx, edx
push eax
push edx
mov dword [esp + 0x1c], 0
mov word [esp + 0x64], dx
call fcn.004575d6
add esp, 0xc
lea ecx, [esp + 0xfc]
push ecx
lea edx, [esp + 0x5c]
push edx
push str.Total
lea eax, [esp + 0xa0]
push eax
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
mov ecx, dword [esp + 0x18]
cmp dword [ecx + 0x60], 0
je 0x4450bc
mov eax, ecx
mov ecx, dword [eax + 0x5c]
mov edi, dword [ecx]
mov esi, dword [eax + 0x48]
lea esp, [esp]
mov ebx, dword [eax + 0x5c]
mov eax, dword [eax + 0x48]
test esi, esi
je 0x444f2e
cmp esi, eax
je 0x444f33
call fcn.004541b9
lea edx, [esp + 0x58]
cmp edi, ebx
je 0x445098
mov eax, dword [esp + 0x10]
push 0xa
inc eax
push edx
push eax
mov dword [esp + 0x1c], eax
call fcn.004575d6
add esp, 0xc
test esi, esi
jne 0x44508a
call fcn.004541b9
xor eax, eax
cmp edi, dword [eax + 0x14]
jne 0x444f6d
call fcn.004541b9
mov ecx, dword [edi + 8]
lea eax, [esp + 0xfc]
push eax
push ecx
lea edx, [esp + 0x60]
push edx
lea eax, [esp + 0xa0]
push eax
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
test esi, esi
jne 0x445091
call fcn.004541b9
xor eax, eax
cmp edi, dword [eax + 0x14]
jne 0x444fa5
call fcn.004541b9
mov edi, dword [edi]
mov eax, dword [esp + 0x18]
jmp 0x444f20
mov ebx, dword [esp + 0x18]
add ebx, 0x48
mov ecx, ebx
call fcn.0040f170
mov esi, dword [esp + 0x30]
mov edx, dword [esp + 0x44]
mov dword [esp + 0x10], esi
mov eax, dword [edx]
mov edi, dword [esp + 0x44]
mov dword [esp + 0x14], eax
test esi, esi
je 0x444fde
cmp esi, dword [esp + 0x30]
je 0x444fe3
call fcn.004541b9
cmp dword [esp + 0x14], edi
je 0x444e42
test esi, esi
jne 0x44507b
call fcn.004541b9
xor eax, eax
mov ecx, dword [esp + 0x14]
cmp ecx, dword [eax + 0x14]
jne 0x44500a
call fcn.004541b9
mov edx, dword [esp + 0x14]
cmp dword [edx + 8], 1
jne 0x445059
test esi, esi
jne 0x445082
call fcn.004541b9
mov eax, dword [esp + 0x14]
cmp eax, dword [esi + 0x14]
jne 0x44502b
call fcn.004541b9
mov eax, dword [esp + 0x14]
mov esi, dword [ebx + 0x14]
mov ecx, dword [esi + 4]
add eax, 0xc
push eax
push ecx
push esi
mov ecx, ebx
call fcn.0040eba0
push 1
mov ecx, ebx
mov edi, eax
call fcn.0040f1d0
mov dword [esi + 4], edi
mov edx, dword [edi + 4]
mov esi, dword [esp + 0x10]
mov dword [edx], edi
test esi, esi
jne 0x445086
call fcn.004541b9
xor eax, eax
mov ecx, dword [esp + 0x14]
cmp ecx, dword [eax + 0x14]
jne 0x445072
call fcn.004541b9
mov edx, dword [esp + 0x14]
jmp 0x444fca
mov eax, dword [esi]
jmp 0x444ffc
mov esi, dword [esi]
jmp 0x44501d
mov eax, dword [esi]
jmp 0x445064
mov eax, dword [esi]
jmp 0x444f63
mov eax, dword [esi]
jmp 0x444f9b
lea ecx, [esp + 0xfc]
push ecx
push edx
push str.Total
lea eax, [esp + 0xa0]
push eax
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x20], ecx
push 0x64
lea edx, [esp + 0x98]
push 0
push edx
mov dword [esp + 0x1c], 0
call fcn.00454ce0
add esp, 0xc
xor eax, eax
lea ebx, [ebx]
movzx ecx, word [eax + str.OtherFiles]
mov word [esp + eax + 0x94], cx
add eax, 2
test cx, cx
jne 0x4450e0
mov eax, 0x30
lea edx, [esp + 0xfc]
push edx
mov word [esp + 0x5c], ax
xor ecx, ecx
lea eax, [esp + 0x5c]
push eax
mov word [esp + 0x62], cx
push str.Total
lea ecx, [esp + 0xa0]
push ecx
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
mov edx, dword [esp + 0x18]
cmp dword [edx + 0x7c], 0
je 0x4451f0
mov eax, edx
mov ecx, dword [eax + 0x78]
mov edi, dword [ecx]
mov esi, dword [eax + 0x64]
mov ebx, dword [eax + 0x78]
mov eax, dword [eax + 0x64]
test esi, esi
je 0x44514e
cmp esi, eax
je 0x445153
call fcn.004541b9
lea ecx, [esp + 0x58]
cmp edi, ebx
je 0x4451cc
mov eax, dword [esp + 0x10]
push 0xa
inc eax
push ecx
push eax
mov dword [esp + 0x1c], eax
call fcn.004575d6
add esp, 0xc
test esi, esi
jne 0x4451c4
call fcn.004541b9
xor eax, eax
cmp edi, dword [eax + 0x14]
jne 0x445185
call fcn.004541b9
mov eax, dword [edi + 8]
lea edx, [esp + 0xfc]
push edx
push eax
lea ecx, [esp + 0x60]
push ecx
lea edx, [esp + 0xa0]
push edx
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
test esi, esi
jne 0x4451c8
call fcn.004541b9
xor eax, eax
cmp edi, dword [eax + 0x14]
jne 0x4451b9
call fcn.004541b9
mov edi, dword [edi]
mov eax, dword [esp + 0x18]
jmp 0x445140
mov eax, dword [esi]
jmp 0x44517b
mov eax, dword [esi]
jmp 0x4451af
lea eax, [esp + 0xfc]
push eax
push ecx
push str.Total
lea edx, [esp + 0xa0]
push edx
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
mov eax, dword [esp + 0x10]
add dword [esp + 0x20], eax
lea ecx, [esp + 0x30]
mov dword [esp + 0x520], 4
call fcn.0040ef30
mov ecx, dword [esp + 0x44]
push ecx
call fcn.00453aa7
mov edx, dword [esp + 0x34]
push edx
mov dword [esp + 0x4c], 0
call fcn.00453aa7
mov eax, dword [esp + 0x28]
add esp, 8
mov ecx, dword [esp + 0x518]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x500]
xor ecx, esp
call fcn.00454cc7
mov esp, ebp
pop ebp
ret