Function at 0x403c0b
Capabilities:
Identify system language via api
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x414
mov eax, dword [ebp + 0xc]
sub eax, 0x110
push ebx
push esi
push edi
je 0x403c75
dec eax
jne 0x403f56
xor ebx, ebx
push ebx
push ebx
push 0x188
push 0x3f0
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
mov dword [0x40a00c], eax
mov eax, dword [ebp + 0x10]
mov ecx, eax
shr ecx, 0x10
cmp cx, 2
jne 0x403c5c
xor eax, eax
inc eax
cmp ax, 1
je 0x403c6c
cmp ax, 2
jne 0x403f56
movzx eax, ax
push eax
jmp 0x403f37
push dword [ebp + 8]
call fcn.00403a8e
mov eax, dword [0x40a008]
pop ecx
xor ebx, ebx
jmp 0x403c88
inc eax
cmp byte [eax], bl
jne 0x403c87
mov edi, dword [sym.imp.USER32.dll_SetWindowTextA]
inc eax
push eax
push dword [ebp + 8]
call edi
mov esi, 0x104
push esi
lea eax, [ebp - 0x10c]
push eax
push dword [0x409a10]
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
cmp dword [0x409a00], ebx
jne 0x403ce0
cmp byte [0x409500], bl
je 0x403ce0
push 0x409500
push esi
lea eax, [ebp - 0x10c]
push eax
push eax
push str.ModuleFileName
push str.Settings
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea eax, [ebp - 0x10c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea eax, [ebp + eax - 0x10c]
jmp 0x403cfc
cmp byte [eax], 0x2e
je 0x403d0b
dec eax
lea ecx, [ebp - 0x10c]
cmp eax, ecx
ja 0x403cf6
cmp byte [eax], 0x2e
jne 0x403d17
push str..ini
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
cmp dword [0x409a00], ebx
mov esi, 0x208
je 0x403d41
movzx eax, byte [0x409d6f]
push eax
lea eax, [ebp - 0x314]
push eax
push dword [0x40a010]
call dword [sym.imp.KERNEL32.dll__lread]
jmp 0x403d65
lea eax, [ebp - 0x10c]
push eax
push esi
lea eax, [ebp - 0x314]
push eax
push 0x40747d
push str.WiseInitLangPrompt
push str.WiseInstaller
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
cmp byte [ebp - 0x314], bl
je 0x403d85
lea eax, [ebp - 0x314]
push eax
push 0x3f1
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call edi
cmp dword [0x409a00], ebx
je 0x403daa
movzx eax, byte [0x409d70]
push eax
lea eax, [ebp - 0x314]
push eax
push dword [0x40a010]
call dword [sym.imp.KERNEL32.dll__lread]
jmp 0x403dce
lea eax, [ebp - 0x10c]
push eax
push esi
lea eax, [ebp - 0x314]
push eax
push 0x40747d
push str.WiseInitLangDefault
push str.WiseInstaller
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
cmp byte [ebp - 0x314], bl
jne 0x403de8
push str.English
lea eax, [ebp - 0x314]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLangID]
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
movzx eax, ax
mov dword [ebp - 8], eax
mov dword [ebp + 0x10], ebx
mov dword [ebp - 4], ebx
mov al, byte [ebp - 0x314]
lea esi, [ebp - 0x314]
jmp 0x403e19
cmp al, 0x2c
je 0x403e1d
cmp al, 0x3b
je 0x403e1d
inc esi
mov al, byte [esi]
cmp al, bl
jne 0x403e0e
mov al, byte [esi]
cmp al, 0x2c
je 0x403e27
cmp al, 0x3b
jne 0x403e69
mov byte [esi], bl
inc esi
push esi
call fcn.00402fef
cmp eax, ebx
pop ecx
je 0x403e61
test byte [0x409d61], 0x80
jne 0x403e61
xor eax, dword [ebp - 8]
test ax, 0x3ff
jne 0x403e61
mov eax, dword [ebp + 0x10]
mov dword [0x40a00c], eax
mov dword [ebp - 4], 1
jmp 0x403e61
cmp al, 0x2c
je 0x403e1d
cmp al, 0x3b
je 0x403e1d
inc esi
mov al, byte [esi]
cmp al, bl
jne 0x403e58
jmp 0x403e1d
mov esi, dword [sym.imp.USER32.dll_GetDlgItem]
lea eax, [ebp - 0x314]
push eax
push ebx
push 0x180
push 0x3f0
push dword [ebp + 8]
call esi
push eax
call edi
inc dword [ebp + 0x10]
cmp byte [0x409d72], bl
ja 0x403ef6
cmp dword [0x409a00], ebx
jne 0x403f2a
push dword [ebp + 0x10]
lea eax, [ebp - 0x414]
push str.Language_d
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
lea eax, [ebp - 0x10c]
push eax
push 0x100
lea eax, [ebp - 0x314]
push eax
push 0x40747d
lea eax, [ebp - 0x414]
push eax
push str.WiseInstaller
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
dec byte [0x409d72]
cmp byte [ebp - 0x314], bl
jne 0x403e00
jmp 0x403f30
cmp dword [0x409a00], ebx
je 0x403ea0
push 2
lea eax, [ebp + 0xe]
push eax
push dword [0x40a010]
call dword [sym.imp.KERNEL32.dll__lread]
movzx eax, word [ebp + 0xe]
push eax
lea eax, [ebp - 0x314]
push eax
push dword [0x40a010]
call dword [sym.imp.KERNEL32.dll__lread]
jmp 0x403ee2
mov byte [ebp - 0x314], bl
cmp dword [ebp - 4], ebx
je 0x403f42
push 1
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_EndDialog]
jmp 0x403f56
push ebx
push ebx
push 0x186
push 0x3f0
push dword [ebp + 8]
call esi
push eax
call edi
pop edi
pop esi
xor eax, eax
pop ebx
leave
ret 0x10