Function at 0x1000d1a4
Capabilities:
Check if file exists
Get file attributes
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x10087004]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
lea ecx, [ebp - 0x20c]
mov byte [ebp - 0x20c], 0
call fcn.10017060
mov esi, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [ebp - 0x20c]
push 0x10081250
push eax
call esi
mov edi, str.K7CmnRes.dat
lea eax, [ebp - 0x20c]
push edi
push eax
call esi
mov esi, dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
lea eax, [ebp - 0x20c]
push eax
call esi
cmp eax, 0xffffffff
jne 0x1000d245
push 0x104
lea eax, [ebp - 0x20c]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea eax, [ebp - 0x20c]
push 0x5c
push eax
call fcn.1004593b
pop ecx
pop ecx
test eax, eax
je 0x1000d233
push edi
inc eax
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea eax, [ebp - 0x20c]
push eax
call esi
cmp eax, 0xffffffff
je 0x1000d6e0
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea eax, [ebp - 0x20c]
push ebx
push eax
push 0x20
pop ebx
push ebx
mov esi, 0x10089a14
push esi
push 0x1007efc0
push 0x10081314
push str.MessageBoxResource
call edi
test eax, eax
lea eax, [ebp - 0x20c]
push eax
cmove esi, dword [0x10087af4]
push ebx
mov dword [0x10087af4], esi
mov esi, 0x10089af0
push esi
push 0x1007efc0
push str.Cancel
push str.MessageBoxResource
call edi
test eax, eax
lea eax, [ebp - 0x20c]
push eax
cmove esi, dword [0x10087b0c]
push ebx
mov dword [0x10087b0c], esi
mov esi, 0x10089ad0
push esi
push 0x1007efc0
push str.Abort
push str.MessageBoxResource
call edi
test eax, eax
lea eax, [ebp - 0x20c]
push eax
cmove esi, dword [0x10087a9c]
push ebx
mov dword [0x10087a9c], esi
mov esi, 0x10089b30
push esi
push 0x1007efc0
push str.Retry
push str.MessageBoxResource
call edi
test eax, eax
lea eax, [ebp - 0x20c]
push eax
cmove esi, dword [0x10087a1c]
push ebx
mov dword [0x10087a1c], esi
mov esi, 0x10089ab0
push esi
push 0x1007efc0
push str.Ignore
push str.MessageBoxResource
call edi
test eax, eax
lea eax, [ebp - 0x20c]
push eax
cmove esi, dword [0x10087b08]
push ebx
mov dword [0x10087b08], esi
mov esi, 0x10089a70
push esi
push 0x1007efc0
push 0x10081338
push str.MessageBoxResource
call edi
test eax, eax
lea eax, [ebp - 0x20c]
push eax
cmove esi, dword [str.Yes]
mov dword [str.Yes], esi
mov esi, 0x10089b10
push ebx
push esi
push 0x1007efc0
push 0x1008133c
push str.MessageBoxResource
call edi
test eax, eax
lea eax, [ebp - 0x20c]
push eax
cmove esi, dword [0x10087b10]
push ebx
mov dword [0x10087b10], esi
mov esi, 0x100899f4
push esi
push 0x1007efc0
push str.Help
push str.MessageBoxResource
call edi
test eax, eax
lea eax, [ebp - 0x20c]
push eax
cmove esi, dword [0x10087b04]
push ebx
mov dword [0x10087b04], esi
mov esi, 0x10089a90
push esi
push 0x1007efc0
push str.TryAgain
push str.MessageBoxResource
call edi
test eax, eax
lea eax, [ebp - 0x20c]
push eax
cmove esi, dword [str.Try_Again]
push ebx
mov dword [str.Try_Again], esi
mov ebx, str.MessageBoxResource
mov esi, 0x10089a50
push esi
push 0x1007efc0
push str.Continue
push ebx
call edi
test eax, eax
lea eax, [ebp - 0x20c]
push eax
cmove esi, dword [0x10087a98]
push 0x1c
mov dword [0x10087a98], esi
mov esi, 0x10089a34
push esi
push 0x1007efc0
push str.Prompt
push ebx
call edi
test eax, eax
lea eax, [ebp - 0x20c]
push eax
cmove esi, dword [str.Do_not_confirm_with_me_again]
lea eax, [ebp - 0x108]
mov dword [str.Do_not_confirm_with_me_again], esi
xor ebx, ebx
mov esi, 0x104
mov byte [ebp - 0x108], bl
push esi
push eax
push 0x1007efc0
push str.BtnTextColor
push str.K7UIDefaults
call edi
test eax, eax
je 0x1000d497
cmp byte [ebp - 0x108], bl
je 0x1000d497
push 0xa
lea eax, [ebp - 0x108]
push ebx
push eax
call fcn.10045f8a
add esp, 0xc
mov dword [0x1008799c], eax
lea eax, [ebp - 0x20c]
mov byte [ebp - 0x108], bl
push eax
push esi
lea eax, [ebp - 0x108]
push eax
push 0x1007efc0
push str.CapRightOffset
push str.K7UIDefaults
call edi
test eax, eax
je 0x1000d4e0
cmp byte [ebp - 0x108], bl
je 0x1000d4e0
push 0xa
lea eax, [ebp - 0x108]
push ebx
push eax
call fcn.10045f8a
add esp, 0xc
mov dword [0x10089438], eax
lea eax, [ebp - 0x20c]
mov byte [ebp - 0x108], bl
push eax
push esi
lea eax, [ebp - 0x108]
push eax
push 0x1007efc0
push str.CapTopOffset
push str.K7UIDefaults
call edi
test eax, eax
je 0x1000d529
cmp byte [ebp - 0x108], bl
je 0x1000d529
push 0xa
lea eax, [ebp - 0x108]
push ebx
push eax
call fcn.10045f8a
add esp, 0xc
mov dword [0x10087a10], eax
lea eax, [ebp - 0x20c]
mov byte [ebp - 0x108], bl
push eax
push esi
lea eax, [ebp - 0x108]
push eax
push 0x1007efc0
push str.CapBtnSpacing
push str.K7UIDefaults
call edi
test eax, eax
je 0x1000d572
cmp byte [ebp - 0x108], bl
je 0x1000d572
push 0xa
lea eax, [ebp - 0x108]
push ebx
push eax
call fcn.10045f8a
add esp, 0xc
mov dword [0x10087a14], eax
lea eax, [ebp - 0x20c]
mov byte [ebp - 0x108], bl
push eax
push esi
lea eax, [ebp - 0x108]
push eax
push 0x1007efc0
push str.WinNoReSize
push str.K7UIDefaults
call edi
test eax, eax
je 0x1000d5bb
cmp byte [ebp - 0x108], bl
je 0x1000d5bb
push 0xa
lea eax, [ebp - 0x108]
push ebx
push eax
call fcn.10045f8a
add esp, 0xc
mov dword [0x10088f2c], eax
lea eax, [ebp - 0x20c]
mov byte [ebp - 0x108], bl
push eax
push esi
lea eax, [ebp - 0x108]
push eax
push 0x1007efc0
push str.WinTitleSkipChar
push str.K7UIDefaults
call edi
test eax, eax
je 0x1000d604
cmp byte [ebp - 0x108], bl
je 0x1000d604
push 0xa
lea eax, [ebp - 0x108]
push ebx
push eax
call fcn.10045f8a
add esp, 0xc
mov dword [0x1008943c], eax
lea eax, [ebp - 0x20c]
mov byte [ebp - 0x108], bl
push eax
push esi
lea eax, [ebp - 0x108]
push eax
push 0x1007efc0
push str.WinInBrdrColor
push str.K7UIDefaults
call edi
test eax, eax
je 0x1000d64d
cmp byte [ebp - 0x108], bl
je 0x1000d64d
push 0xa
lea eax, [ebp - 0x108]
push ebx
push eax
call fcn.10045f8a
add esp, 0xc
mov dword [0x10087a0c], eax
lea eax, [ebp - 0x20c]
mov byte [ebp - 0x108], bl
push eax
push esi
lea eax, [ebp - 0x108]
push eax
push 0x1007efc0
push str.WinInBrdrWidth
push str.K7UIDefaults
call edi
test eax, eax
je 0x1000d696
cmp byte [ebp - 0x108], bl
je 0x1000d696
push 0xa
lea eax, [ebp - 0x108]
push ebx
push eax
call fcn.10045f8a
add esp, 0xc
mov dword [0x10087a18], eax
lea eax, [ebp - 0x20c]
mov byte [ebp - 0x108], bl
push eax
push esi
lea eax, [ebp - 0x108]
push eax
push 0x1007efc0
push str.CapTxtLeftOffset
push str.K7UIDefaults
call edi
test eax, eax
je 0x1000d6df
cmp byte [ebp - 0x108], bl
je 0x1000d6df
push 0xa
lea eax, [ebp - 0x108]
push ebx
push eax
call fcn.10045f8a
add esp, 0xc
mov dword [0x10089440], eax
pop ebx
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
xor ecx, ebp
inc eax
pop esi
call fcn.10029e88
leave
ret