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

Disassembly:
sub esp, 0x218
mov eax, dword [0x10189710]
xor eax, esp
mov dword [esp + 0x214], eax
push ebp
push esi
push edi
lea eax, [esp + 0x114]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
test eax, eax
jne 0x1008e419
or eax, 0xffffffff
pop edi
pop esi
pop ebp
mov ecx, dword [esp + 0x214]
xor ecx, esp
call fcn.10127db1
add esp, 0x218
ret
mov esi, dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea ecx, [esp + 0x114]
push ecx
lea edx, [esp + 0x10]
push edx
call esi
cmp byte [esp + 0xc], 0
mov ebp, dword [sym.imp.KERNEL32.dll_lstrcatA]
je 0x1008e45f
lea eax, [esp + 0xc]
nop
inc eax
cmp byte [eax], 0
jne 0x1008e440
lea ecx, [esp + 0xc]
sub eax, ecx
je 0x1008e45f
cmp byte [esp + eax + 0xb], 0x5c
je 0x1008e45f
push 0x10158184
mov edx, ecx
push edx
call ebp
lea eax, [esp + 0xc]
dec eax
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x1008e464
mov ecx, dword [str.msg.lan]
mov edx, dword [0x1016fb20]
mov dword [eax], ecx
mov dword [eax + 4], edx
push 1
push 0
xor edx, edx
lea ecx, [esp + 0x14]
call fcn.10060eb0
add esp, 8
test eax, eax
je 0x1008e4fd
lea eax, [esp + 0x114]
push eax
lea ecx, [esp + 0x10]
push ecx
call esi
lea ecx, [esp + 0xc]
call fcn.10065200
lea eax, [esp + 0xc]
dec eax
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x1008e4b0
mov edx, dword [str.schedule.lan]
mov ecx, dword [0x1016fb28]
mov dword [eax], edx
mov edx, dword [0x1016fb2c]
mov dword [eax + 4], ecx
mov cl, byte [0x1016fb30]
mov dword [eax + 8], edx
mov byte [eax + 0xc], cl
push 1
push 0
xor edx, edx
lea ecx, [esp + 0x14]
call fcn.10060eb0
add esp, 8
test eax, eax
je 0x1008e4fd
lea edi, [esp + 0x114]
call fcn.1005d0a0
lea edx, [esp + 0x114]
push edx
lea eax, [esp + 0x10]
push eax
call esi
cmp byte [esp + 0xc], 0
je 0x1008e536
lea eax, [esp + 0xc]
inc eax
cmp byte [eax], 0
jne 0x1008e517
lea ecx, [esp + 0xc]
sub eax, ecx
je 0x1008e536
cmp byte [esp + eax + 0xb], 0x5c
je 0x1008e536
push 0x10158184
mov edx, ecx
push edx
call ebp
lea eax, [esp + 0xc]
dec eax
jmp 0x1008e540
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x1008e540
mov ecx, dword [str.msg.lan]
mov edx, dword [0x1016fb20]
mov dword [eax], ecx
mov dword [eax + 4], edx
push 1
push 0
xor edx, edx
lea ecx, [esp + 0x14]
call fcn.10060eb0
add esp, 8
test eax, eax
je 0x1008e658
lea eax, [esp + 0x114]
push eax
lea ecx, [esp + 0x10]
push ecx
call esi
lea ecx, [esp + 0xc]
call fcn.10065200
lea eax, [esp + 0xc]
dec eax
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x1008e590
cmp byte [0x101b7154], 0
mov edx, dword [str.schedule.lan]
mov ecx, dword [0x1016fb28]
mov dword [eax], edx
mov edx, dword [0x1016fb2c]
mov dword [eax + 4], ecx
mov cl, byte [0x1016fb30]
mov dword [eax + 8], edx
mov byte [eax + 0xc], cl
jne 0x1008e63e
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea eax, [esp + 0xc]
push eax
push 0x31
push 0x101b7154
push 0x1016fb34
push str.BTNok
push str.Common
call esi
lea ecx, [esp + 0xc]
push ecx
push 0x31
push 0x101b728c
push str.Yes
push str.BTNyes
push str.Common
call esi
lea edx, [esp + 0xc]
push edx
push 0x31
push 0x101b7b4c
push 0x1016fb48
push str.BTNno
push str.Common
call esi
lea eax, [esp + 0xc]
push eax
push 0x31
push 0x101b7d88
push str.Cancel
push str.BTNcancel
push str.Common
call esi
mov ecx, dword [esp + 0x220]
pop edi
pop esi
pop ebp
xor ecx, esp
xor eax, eax
call fcn.10127db1
add esp, 0x218
ret
cmp byte [0x101b7154], 0
jne 0x1008e63e
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea edx, [esp + 0xc]
push edx
push 0x31
push 0x101b7154
push 0x1016fb34
push 0x1016fb38
push str.general
call esi
lea eax, [esp + 0xc]
push eax
push 0x31
push 0x101b728c
push str.Yes
push 0x1016fb44
push str.general
call esi
lea ecx, [esp + 0xc]
push ecx
push 0x31
push 0x101b7b4c
push 0x1016fb48
push 0x1016fb4c
push str.general
call esi
lea edx, [esp + 0xc]
push edx
push 0x31
push 0x101b7d88
push str.Cancel
push 0x1016fb58
push str.general
jmp 0x1008e63c