Function at 0x40187e
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x660
push esi
push edi
xor esi, esi
xor eax, eax
mov word [ebp - 0x21c], si
mov ecx, 0x82
lea edi, [ebp - 0x21a]
rep stosd dword es:[edi], eax
mov eax, dword [ebx + 4]
cmp dword [eax + 0x14], esi
je 0x401b30
push esi
lea eax, [ebp - 0x21c]
push 0x41643c
push eax
call fcn.004094ef
add esp, 0xc
test eax, eax
je 0x401b30
xor eax, eax
mov word [ebp - 0x660], si
mov ecx, 0x82
lea edi, [ebp - 0x65e]
rep stosd dword es:[edi], eax
push 0x104
lea eax, [ebp - 0x660]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov eax, dword [ebx + 4]
push dword [eax + 0x14]
lea ecx, [ebp - 0x10]
mov dword [ebp - 0xc], esi
mov dword [ebp - 8], esi
mov dword [ebp - 0x10], 0x41b560
call fcn.0040b0b1
lea eax, [ebp - 0x454]
call fcn.00407678
push esi
mov edi, 0x10000000
push edi
push 3
push 3
push 0x80000000
lea eax, [ebp - 0x660]
push eax
lea ecx, [ebp - 0x454]
call fcn.00408857
test eax, eax
je 0x401963
mov eax, dword [ebx + 4]
push esi
push dword [ebp - 8]
lea ecx, [ebp - 0x454]
push dword [ebp - 0xc]
push esi
push dword [eax + 0x10]
call fcn.0040794b
lea ecx, [ebp - 0x454]
call fcn.0040788f
push esi
push edi
push 2
push 3
push 0x40000000
lea eax, [ebp - 0x21c]
push eax
lea ecx, [ebp - 0x454]
call fcn.00408857
test eax, eax
je 0x4019a3
push esi
push dword [ebp - 8]
lea ecx, [ebp - 0x454]
push dword [ebp - 0xc]
push esi
push esi
call fcn.00407907
lea ecx, [ebp - 0x454]
call fcn.0040788f
lea eax, [ebp - 0x21c]
push eax
push esi
push str.NATIONDEFAUT
mov esi, str.GENERAL
push esi
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
lea ecx, [ebp - 0x21c]
push ecx
lea edi, [ebx + 0x840]
push eax
mov eax, edi
call fcn.0040ba08
push 0x13e
call fcn.0040ba72
push 0x13f
call fcn.0040ba72
push 0x140
call fcn.0040ba72
push 0x141
call fcn.0040ba72
push 0x142
call fcn.0040ba72
lea eax, [ebp - 0x21c]
push eax
push 0
push str.MODEPATCH
push esi
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
lea ecx, [ebp - 0x21c]
push ecx
push 0x104
mov dword [ebx + 0x428], eax
lea eax, [ebx + 0x42c]
push eax
push 0x4162fc
push str.APPPATCH
push esi
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [ebp - 0x21c]
push eax
push 0x104
lea eax, [ebx + 0x636]
push eax
push 0x4162fc
push str.FICLICENCE
push esi
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
push 0x13e
mov eax, edi
call fcn.0040ba39
push eax
lea esi, [ebp - 4]
call fcn.0040bd8d
push 0x4163c8
xor ecx, ecx
call fcn.0040c0af
test eax, eax
jle 0x401aa3
push 0
push 0
lea eax, [ebx + 0x42c]
push eax
push 0x4163c8
mov eax, esi
push eax
call fcn.0040c1b4
mov eax, dword [ebp - 4]
test eax, eax
jne 0x401aaf
mov eax, 0x4162fc
push eax
push dword [ebx + 0xc]
call dword [sym.imp.USER32.dll_SetWindowTextW]
push 0x13f
mov eax, edi
call fcn.0040ba39
mov esi, dword [sym.imp.USER32.dll_SetDlgItemTextW]
push eax
push 0x3e8
push dword [ebx + 0xc]
call esi
push 0x140
mov eax, edi
call fcn.0040ba39
push eax
push 0x3eb
push dword [ebx + 0xc]
call esi
push 0x141
mov eax, edi
call fcn.0040ba39
push eax
push 1
push dword [ebx + 0xc]
call esi
push 0x142
mov eax, edi
call fcn.0040ba39
push eax
push 2
push dword [ebx + 0xc]
call esi
lea eax, [ebp - 4]
call fcn.0040bda0
lea ecx, [ebp - 0x454]
call fcn.004076d3
lea ecx, [ebp - 0x10]
call fcn.0040b09b
pop edi
pop esi
leave
ret