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

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 8]
push 1
push 0x42cfe2
push 0x42b02c
call sub.kernel32.dll_GetPrivateProfileIntA
mov dword [0x42c7da], eax
push dword [ebp + 8]
push 3
push 0x42cffa
push 0x42b02c
call sub.kernel32.dll_GetPrivateProfileIntA
mov dword [0x42c8e6], eax
push dword [ebp + 8]
push 3
push 0x42d005
push 0x42b02c
call sub.kernel32.dll_GetPrivateProfileIntA
mov dword [0x42c7de], eax
push dword [ebp + 8]
push 3
push 0x42d00f
push 0x42b02c
call sub.kernel32.dll_GetPrivateProfileIntA
mov dword [0x42c9f2], eax
push dword [ebp + 8]
push 0
push 0x42d01d
push 0x42b02c
call sub.kernel32.dll_GetPrivateProfileIntA
mov dword [0x42cafa], eax
push dword [ebp + 8]
push 1
push 0x42d030
push 0x42b02c
call sub.kernel32.dll_GetPrivateProfileIntA
mov dword [0x42cafe], eax
push dword [ebp + 8]
push 1
push 0x42d045
push 0x42b02c
call sub.kernel32.dll_GetPrivateProfileIntA
mov dword [0x42cb02], eax
cmp dword [0x42c8e6], 1
jne 0x403d67
push 0x42c8ea
push 0x104
call sub.kernel32.dll_GetCurrentDirectoryA
jmp 0x403dfd
cmp dword [0x42c8e6], 2
jne 0x403d81
push 0x42c8ea
push 0x104
call sub.kernel32.dll_GetTempPathA
jmp 0x403dfd
cmp dword [0x42c8e6], 3
je 0x403d93
cmp dword [0x42c8e6], 4
jne 0x403dfd
push dword [ebp + 8]
push 0x104
push 0x42c8ea
push 0x42bf53
push 0x42d056
push 0x42b02c
call sub.kernel32.dll_GetPrivateProfileStringA
or eax, eax
je 0x403dfd
push 0x42bf53
push 0x42c8ea
call fcn.00411af0
or eax, eax
jne 0x403dee
push 0x42c8ea
call sub.kernel32.dll_GetFileAttributesA
and eax, 0x10
cmp eax, 0x10
je 0x403dfd
push 0x42c8ea
push 0x104
call sub.kernel32.dll_GetCurrentDirectoryA
jmp 0x403dfd
push 0x42c8ea
push 0x104
call sub.kernel32.dll_GetCurrentDirectoryA
cmp dword [0x42c9f2], 1
jne 0x403e1a
push 0x42c9f6
push 0x104
call sub.kernel32.dll_GetCurrentDirectoryA
jmp 0x403eb0
cmp dword [0x42c9f2], 2
jne 0x403e34
push 0x42c9f6
push 0x104
call sub.kernel32.dll_GetTempPathA
jmp 0x403eb0
cmp dword [0x42c9f2], 3
je 0x403e46
cmp dword [0x42c9f2], 4
jne 0x403eb0
push dword [ebp + 8]
push 0x104
push 0x42c9f6
push 0x42bf53
push 0x42d067
push 0x42b02c
call sub.kernel32.dll_GetPrivateProfileStringA
or eax, eax
je 0x403eb0
push 0x42bf53
push 0x42c9f6
call fcn.00411af0
or eax, eax
jne 0x403ea1
push 0x42c9f6
call sub.kernel32.dll_GetFileAttributesA
and eax, 0x10
cmp eax, 0x10
je 0x403eb0
push 0x42c9f6
push 0x104
call sub.kernel32.dll_GetCurrentDirectoryA
jmp 0x403eb0
push 0x42c9f6
push 0x104
call sub.kernel32.dll_GetCurrentDirectoryA
cmp dword [0x42c7de], 1
jne 0x403ecd
push 0x42c7e2
push 0x104
call sub.kernel32.dll_GetCurrentDirectoryA
jmp 0x403f63
cmp dword [0x42c7de], 2
jne 0x403ee7
push 0x42c7e2
push 0x104
call sub.kernel32.dll_GetTempPathA
jmp 0x403f63
cmp dword [0x42c7de], 3
je 0x403ef9
cmp dword [0x42c7de], 4
jne 0x403f63
push dword [ebp + 8]
push 0x104
push 0x42c7e2
push 0x42bf53
push 0x42d07b
push 0x42b02c
call sub.kernel32.dll_GetPrivateProfileStringA
or eax, eax
je 0x403f63
push 0x42bf53
push 0x42c7e2
call fcn.00411af0
or eax, eax
jne 0x403f54
push 0x42c7e2
call sub.kernel32.dll_GetFileAttributesA
and eax, 0x10
cmp eax, 0x10
je 0x403f63
push 0x42c7e2
push 0x104
call sub.kernel32.dll_GetCurrentDirectoryA
jmp 0x403f63
push 0x42c7e2
push 0x104
call sub.kernel32.dll_GetCurrentDirectoryA
leave
ret 4