Function at 0x4153e8
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.00417170
mov eax, dword [edi + 4]
add esp, 0xc
cmp dword [eax + 0x14], ebx
je 0x415694
push ecx
mov edx, 0x43bf94
lea ecx, [esp + 0x24]
call fcn.00404502
pop ecx
test eax, eax
je 0x415694
push esi
lea eax, [esp + 0x46c]
push ebx
push eax
call fcn.00417170
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.00407368
mov eax, dword [edi + 4]
push dword [eax + 0x14]
call fcn.0040738f
lea ecx, [esp + 0x230]
call fcn.00402907
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.0040388e
test eax, eax
je 0x4154c4
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.00402c17
lea ecx, [esp + 0x230]
call fcn.00402b54
push ebx
push esi
push 2
push 3
push 0x40000000
lea eax, [esp + 0x34]
push eax
lea ecx, [esp + 0x248]
call fcn.0040388e
test eax, eax
je 0x415507
push ebx
push dword [esp + 0x20]
lea ecx, [esp + 0x238]
push dword [esp + 0x20]
push ebx
push ebx
call fcn.00402bd7
lea ecx, [esp + 0x230]
call fcn.00402b54
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 + 0x840]
push eax
mov ecx, ebx
call fcn.0040a478
push 0x13e
mov ecx, ebx
call fcn.0040a4e5
push 0x13f
mov ecx, ebx
call fcn.0040a4e5
push 0x140
mov ecx, ebx
call fcn.0040a4e5
push 0x141
mov ecx, ebx
call fcn.0040a4e5
push 0x142
mov ecx, ebx
call fcn.0040a4e5
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 + 0x42c]
mov dword [edi + 0x428], eax
lea eax, [esp + 0x20]
push eax
push 0x104
push ebp
push 0x43644c
push str.APPPATCH
push str.GENERAL
call esi
lea eax, [esp + 0x20]
push eax
push 0x104
lea eax, [edi + 0x636]
push eax
push 0x43644c
push str.FICLICENCE
push str.GENERAL
call esi
push 0x13e
mov ecx, ebx
call fcn.0040a4a8
push eax
lea ecx, [esp + 0x14]
call fcn.00407ea3
mov esi, 0x43c008
lea ecx, [esp + 0x10]
push 0
mov edx, esi
call fcn.00408123
test eax, eax
jle 0x415607
push ecx
push ebp
mov edx, esi
lea ecx, [esp + 0x18]
call fcn.004082bd
lea ecx, [esp + 0x10]
call fcn.00407ed1
push eax
push dword [edi + 0xc]
call dword [sym.imp.USER32.dll_SetWindowTextW]
push 0x13f
mov ecx, ebx
call fcn.0040a4a8
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.0040a4a8
push eax
push 0x3eb
push dword [edi + 0xc]
call esi
push 0x141
mov ecx, ebx
call fcn.0040a4a8
push eax
push 1
push dword [edi + 0xc]
call esi
push 0x142
mov ecx, ebx
call fcn.0040a4a8
push eax
push 2
push dword [edi + 0xc]
call esi
lea ecx, [esp + 0x10]
call fcn.00407eb8
lea ecx, [esp + 0x230]
call fcn.00402981
lea ecx, [esp + 0x14]
call fcn.00407379
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x66c
ret