Function at 0x42c7e0
Capabilities:
Get common file path
Read .ini file

Disassembly:
push 0xffffffffffffffff
mov eax, dword fs:[0]
push 0x4529d6
push eax
mov eax, 0x1032c
mov dword fs:[0], esp
call fcn.00445710
push ebx
push ebp
push esi
push edi
xor edi, edi
mov dword [esp + 0x1c], edi
mov dword [esp + 0x10344], edi
mov eax, dword [0x45c050]
mov dword [esp + 0x10], eax
mov ecx, dword [esp + 0x1035c]
mov eax, dword [esp + 0x10358]
push ecx
mov ecx, dword [esp + 0x10358]
lea edx, [esp + 0x340]
push 0xffff
push edx
mov edx, dword [esp + 0x1035c]
push eax
push ecx
push edx
mov byte [esp + 0x1035c], 4
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea eax, [esp + 0x33c]
test eax, eax
jne 0x42c867
mov ebp, dword [sym.imp.KERNEL32.dll_lstrlenA]
jmp 0x42c877
mov ebp, dword [sym.imp.KERNEL32.dll_lstrlenA]
lea ecx, [esp + 0x33c]
push ecx
call ebp
lea edx, [esp + 0x33c]
lea ecx, [esp + 0x10]
push edx
push eax
call fcn.00403580
lea eax, [esp + 0x30]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
cmp eax, edi
jbe 0x42c8ad
mov cl, byte [esp + eax + 0x2f]
lea eax, [esp + eax + 0x2f]
cmp cl, 0x5c
jne 0x42c8ad
mov byte [eax], 0
lea ecx, [esp + 0x134]
push ecx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
cmp eax, edi
jbe 0x42c8da
mov cl, byte [esp + eax + 0x133]
lea eax, [esp + eax + 0x133]
cmp cl, 0x5c
jne 0x42c8da
mov byte [eax], 0
lea edx, [esp + 0x238]
push 0x104
push edx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
cmp eax, edi
jbe 0x42c907
mov cl, byte [esp + eax + 0x237]
lea eax, [esp + eax + 0x237]
cmp cl, 0x5c
jne 0x42c907
mov byte [eax], 0
lea eax, [esp + 0x2c]
push edi
push eax
call fcn.00429980
add esp, 8
push edi
push str._module_path_
lea ecx, [esp + 0x18]
mov byte [esp + 0x1034c], 5
call fcn.0042ab50
cmp eax, 0xffffffff
je 0x42cad2
mov esi, dword [esp + 0x2c]
mov ecx, str._module_path_
test ecx, ecx
mov dword [esp + 0x20], esi
je 0x42ccd1
push ecx
call ebp
mov ebx, eax
cmp ebx, edi
je 0x42ccd1
cmp esi, edi
jne 0x42c961
mov dword [esp + 0x14], edi
jmp 0x42c968
push esi
call ebp
mov dword [esp + 0x14], eax
mov esi, dword [esp + 0x10]
mov ebp, dword [esi - 8]
add ebp, esi
cmp esi, ebp
jae 0x42ccd1
push str._module_path_
push esi
call fcn.00445b15
add esp, 8
test eax, eax
je 0x42c9a1
lea esi, [eax + ebx]
push str._module_path_
push esi
inc edi
call fcn.00445b15
add esp, 8
test eax, eax
jne 0x42c98b
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esi + eax + 1]
cmp esi, ebp
jb 0x42c979
test edi, edi
jle 0x42ccd1
lea ecx, [esp + 0x10]
call fcn.00425a40
mov ebp, dword [esp + 0x14]
mov esi, dword [esp + 0x10]
sub ebp, ebx
imul ebp, edi
mov eax, dword [esi - 8]
mov dword [esp + 0x18], eax
add ebp, eax
mov eax, dword [esi - 4]
mov dword [esp + 0x24], ebp
cmp eax, ebp
jl 0x42c9e8
cmp dword [esi - 0xc], 1
jle 0x42ca24
lea edi, [esi - 0xc]
push ebp
lea ecx, [esp + 0x14]
mov dword [esp + 0x2c], edi
call fcn.00425830
test eax, eax
je 0x42ccd1
mov ecx, dword [edi + 4]
mov edi, dword [esp + 0x10]
mov edx, ecx
mov eax, dword [esp + 0x28]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
push eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call fcn.004258d0
mov esi, dword [esp + 0x10]
mov eax, dword [esi - 8]
add eax, esi
cmp esi, eax
mov dword [esp + 0x1c], eax
jae 0x42caca
push str._module_path_
push esi
call fcn.00445b15
mov edi, eax
add esp, 8
test edi, edi
je 0x42caaf
mov ebp, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
mov esi, dword [esp + 0x14]
sub ebp, edi
sub ebp, ebx
lea ecx, [edi + ebx]
add ebp, edx
lea eax, [edi + esi]
push ebp
push ecx
push eax
mov dword [esp + 0x34], eax
call fcn.004457e0
mov ecx, esi
mov esi, dword [esp + 0x2c]
mov edx, ecx
push str._module_path_
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
mov eax, edx
and ecx, 3
sub eax, ebx
rep movsb byte es:[edi], byte [esi]
mov esi, dword [esp + 0x38]
push esi
mov byte [esi + ebp], 0
mov ebp, dword [esp + 0x2c]
add ebp, eax
mov dword [esp + 0x2c], ebp
call fcn.00445b15
mov edi, eax
add esp, 0x14
test edi, edi
jne 0x42ca49
mov ebp, dword [esp + 0x24]
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esi + eax + 1]
mov eax, dword [esp + 0x1c]
cmp esi, eax
jb 0x42ca35
mov esi, dword [esp + 0x10]
mov dword [esi - 8], ebp
jmp 0x42ccd1
push edi
push str._window_path_
lea ecx, [esp + 0x18]
call fcn.0042ab50
cmp eax, 0xffffffff
je 0x42cc84
mov ecx, str._window_path_
test ecx, ecx
je 0x42ccd1
push ecx
call ebp
mov ebx, eax
cmp ebx, edi
je 0x42ccd1
lea edx, [esp + 0x30]
test edx, edx
jne 0x42cb12
mov dword [esp + 0x14], edi
jmp 0x42cb1d
lea eax, [esp + 0x30]
push eax
call ebp
mov dword [esp + 0x14], eax
mov esi, dword [esp + 0x10]
mov ebp, dword [esi - 8]
add ebp, esi
cmp esi, ebp
jae 0x42ccd1
push str._window_path_
push esi
call fcn.00445b15
add esp, 8
test eax, eax
je 0x42cb56
lea esi, [eax + ebx]
push str._window_path_
push esi
inc edi
call fcn.00445b15
add esp, 8
test eax, eax
jne 0x42cb40
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esi + eax + 1]
cmp esi, ebp
jb 0x42cb2e
test edi, edi
jle 0x42ccd1
lea ecx, [esp + 0x10]
call fcn.00425a40
mov ebp, dword [esp + 0x14]
mov esi, dword [esp + 0x10]
sub ebp, ebx
imul ebp, edi
mov eax, dword [esi - 8]
mov dword [esp + 0x18], eax
add ebp, eax
mov eax, dword [esi - 4]
mov dword [esp + 0x24], ebp
cmp eax, ebp
jl 0x42cb9d
cmp dword [esi - 0xc], 1
jle 0x42cbd9
lea edi, [esi - 0xc]
push ebp
lea ecx, [esp + 0x14]
mov dword [esp + 0x20], edi
call fcn.00425830
test eax, eax
je 0x42ccd1
mov ecx, dword [edi + 4]
mov edi, dword [esp + 0x10]
mov edx, ecx
mov eax, dword [esp + 0x1c]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
push eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call fcn.004258d0
mov esi, dword [esp + 0x10]
mov eax, dword [esi - 8]
add eax, esi
cmp esi, eax
mov dword [esp + 0x20], eax
jae 0x42caca
push str._window_path_
push esi
call fcn.00445b15
mov edi, eax
add esp, 8
test edi, edi
je 0x42cc64
mov ebp, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
mov esi, dword [esp + 0x14]
sub ebp, edi
sub ebp, ebx
lea ecx, [edi + ebx]
add ebp, edx
lea eax, [edi + esi]
push ebp
push ecx
push eax
mov dword [esp + 0x28], eax
call fcn.004457e0
mov ecx, esi
lea esi, [esp + 0x3c]
mov edx, ecx
push str._window_path_
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
mov eax, edx
and ecx, 3
sub eax, ebx
rep movsb byte es:[edi], byte [esi]
mov esi, dword [esp + 0x2c]
push esi
mov byte [esi + ebp], 0
mov ebp, dword [esp + 0x2c]
add ebp, eax
mov dword [esp + 0x2c], ebp
call fcn.00445b15
mov edi, eax
add esp, 0x14
test edi, edi
jne 0x42cbfe
mov ebp, dword [esp + 0x24]
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esi + eax + 1]
mov eax, dword [esp + 0x20]
cmp esi, eax
jb 0x42cbea
mov esi, dword [esp + 0x10]
mov dword [esi - 8], ebp
jmp 0x42ccd1
push edi
push str._system_path_
lea ecx, [esp + 0x18]
call fcn.0042ab50
cmp eax, 0xffffffff
je 0x42cca7
lea ecx, [esp + 0x238]
push ecx
push str._system_path_
jmp 0x42ccc8
push edi
push str._temp_path_
lea ecx, [esp + 0x18]
call fcn.0042ab50
cmp eax, 0xffffffff
je 0x42ccd1
lea edx, [esp + 0x134]
push edx
push str._temp_path_
lea ecx, [esp + 0x18]
call fcn.004274f0
mov esi, dword [esp + 0x1034c]
lea eax, [esp + 0x10]
push eax
mov ecx, esi
call fcn.00425750
lea ecx, [esp + 0x2c]
call fcn.00429590
lea ecx, [esp + 0x10]
call fcn.00429590
lea ecx, [esp + 0x10350]
call fcn.00429590
lea ecx, [esp + 0x10354]
call fcn.00429590
lea ecx, [esp + 0x10358]
call fcn.00429590
lea ecx, [esp + 0x1035c]
call fcn.00429590
mov ecx, dword [esp + 0x1033c]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x10338
ret