Function at 0x4174c4
Capabilities:
Read .ini file

Disassembly:
sub esp, 0x66c
lea eax, [esp + 0x10]
push ebx
push ebp
push esi
push edi
mov esi, 0x20a
xor ebx, ebx
push esi
push ebx
push eax
mov edi, ecx
call fcn.004193f0
mov eax, dword [edi + 4]
add esp, 0xc
cmp dword [eax + 0x14], ebx
je 0x417770
push ecx
mov edx, 0x43f288
lea ecx, [esp + 0x24]
call fcn.00405025
pop ecx
test eax, eax
je 0x417770
push esi
lea eax, [esp + 0x46c]
push ebx
push eax
call fcn.004193f0
add esp, 0xc
lea eax, [esp + 0x468]
push 0x104
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea ecx, [esp + 0x14]
call fcn.00408052
mov eax, dword [edi + 4]
push dword [eax + 0x14]
call fcn.00408073
lea ecx, [esp + 0x230]
call fcn.0040326d
push ebx
mov esi, 0x10000000
lea eax, [esp + 0x46c]
push esi
push 3
push 3
push 0x80000000
push eax
lea ecx, [esp + 0x248]
call fcn.0040422b
test eax, eax
je 0x4175a0
mov eax, dword [edi + 4]
lea ecx, [esp + 0x230]
push ebx
push dword [esp + 0x20]
push dword [esp + 0x20]
push ebx
push dword [eax + 0x10]
call fcn.0040355a
lea ecx, [esp + 0x230]
call fcn.0040349c
push ebx
push esi
push 2
push 3
push 0x40000000
lea eax, [esp + 0x34]
push eax
lea ecx, [esp + 0x248]
call fcn.0040422b
test eax, eax
je 0x4175e3
push ebx
push dword [esp + 0x20]
lea ecx, [esp + 0x238]
push dword [esp + 0x20]
push ebx
push ebx
call fcn.0040351a
lea ecx, [esp + 0x230]
call fcn.0040349c
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
lea eax, [esp + 0x20]
push eax
push ebx
push str.NATIONDEFAUT
mov ebp, str.GENERAL
push ebp
call esi
lea ecx, [esp + 0x20]
push ecx
lea ebx, [edi + 0x848]
push eax
mov ecx, ebx
call fcn.0040b407
push 0x13e
mov ecx, ebx
call fcn.0040b474
push 0x13f
mov ecx, ebx
call fcn.0040b474
push 0x140
mov ecx, ebx
call fcn.0040b474
push 0x141
mov ecx, ebx
call fcn.0040b474
push 0x142
mov ecx, ebx
call fcn.0040b474
lea eax, [esp + 0x20]
push eax
push 0
push str.MODEPATCH
push ebp
call esi
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea ebp, [edi + 0x434]
mov dword [edi + 0x430], eax
lea eax, [esp + 0x20]
push eax
push 0x104
push ebp
push 0x4385c0
push str.APPPATCH
push str.GENERAL
call esi
lea eax, [esp + 0x20]
push eax
push 0x104
lea eax, [edi + 0x63e]
push eax
push 0x4385c0
push str.FICLICENCE
push str.GENERAL
call esi
push 0x13e
mov ecx, ebx
call fcn.0040b437
push eax
lea ecx, [esp + 0x14]
call fcn.00408ba7
mov esi, 0x43f2fc
lea ecx, [esp + 0x10]
push 0
mov edx, esi
call fcn.00408e27
test eax, eax
jle 0x4176e3
push ecx
push ebp
mov edx, esi
lea ecx, [esp + 0x18]
call fcn.00408fc1
lea ecx, [esp + 0x10]
call fcn.00408bd5
push eax
push dword [edi + 0xc]
call dword [sym.imp.USER32.dll_SetWindowTextW]
push 0x13f
mov ecx, ebx
call fcn.0040b437
mov esi, dword [sym.imp.USER32.dll_SetDlgItemTextW]
push eax
push 0x3e8
push dword [edi + 0xc]
call esi
push 0x140
mov ecx, ebx
call fcn.0040b437
push eax
push 0x3eb
push dword [edi + 0xc]
call esi
push 0x141
mov ecx, ebx
call fcn.0040b437
push eax
push 1
push dword [edi + 0xc]
call esi
push 0x142
mov ecx, ebx
call fcn.0040b437
push eax
push 2
push dword [edi + 0xc]
call esi
lea ecx, [esp + 0x10]
call fcn.00408bbc
lea ecx, [esp + 0x230]
call fcn.004032d0
lea ecx, [esp + 0x14]
call fcn.00408063
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x66c
ret