Function at 0x403b09
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 0x403b73
dec eax
jne 0x403e54
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 0x403b5a
xor eax, eax
inc eax
cmp ax, 1
je 0x403b6a
cmp ax, 2
jne 0x403e54
movzx eax, ax
push eax
jmp 0x403e35
push dword [ebp + 8]
call fcn.0040398c
mov eax, dword [0x40a008]
pop ecx
xor ebx, ebx
jmp 0x403b86
inc eax
cmp byte [eax], bl
jne 0x403b85
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 0x403bde
cmp byte [0x409500], bl
je 0x403bde
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 0x403bfa
cmp byte [eax], 0x2e
je 0x403c09
dec eax
lea ecx, [ebp - 0x10c]
cmp eax, ecx
ja 0x403bf4
cmp byte [eax], 0x2e
jne 0x403c15
push str..ini
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
cmp dword [0x409a00], ebx
mov esi, 0x208
je 0x403c3f
movzx eax, byte [0x409d6f]
push eax
lea eax, [ebp - 0x314]
push eax
push dword [0x40a010]
call dword [sym.imp.KERNEL32.dll__lread]
jmp 0x403c63
lea eax, [ebp - 0x10c]
push eax
push esi
lea eax, [ebp - 0x314]
push eax
push 0x407475
push str.WiseInitLangPrompt
push str.WiseInstaller
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
cmp byte [ebp - 0x314], bl
je 0x403c83
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 0x403ca8
movzx eax, byte [0x409d70]
push eax
lea eax, [ebp - 0x314]
push eax
push dword [0x40a010]
call dword [sym.imp.KERNEL32.dll__lread]
jmp 0x403ccc
lea eax, [ebp - 0x10c]
push eax
push esi
lea eax, [ebp - 0x314]
push eax
push 0x407475
push str.WiseInitLangDefault
push str.WiseInstaller
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
cmp byte [ebp - 0x314], bl
jne 0x403ce6
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 0x403d17
cmp al, 0x2c
je 0x403d1b
cmp al, 0x3b
je 0x403d1b
inc esi
mov al, byte [esi]
cmp al, bl
jne 0x403d0c
mov al, byte [esi]
cmp al, 0x2c
je 0x403d25
cmp al, 0x3b
jne 0x403d67
mov byte [esi], bl
inc esi
push esi
call fcn.00402fda
cmp eax, ebx
pop ecx
je 0x403d5f
test byte [0x409d61], 0x80
jne 0x403d5f
xor eax, dword [ebp - 8]
test ax, 0x3ff
jne 0x403d5f
mov eax, dword [ebp + 0x10]
mov dword [0x40a00c], eax
mov dword [ebp - 4], 1
jmp 0x403d5f
cmp al, 0x2c
je 0x403d1b
cmp al, 0x3b
je 0x403d1b
inc esi
mov al, byte [esi]
cmp al, bl
jne 0x403d56
jmp 0x403d1b
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 0x403df4
cmp dword [0x409a00], ebx
jne 0x403e28
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 0x407475
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 0x403cfe
jmp 0x403e2e
cmp dword [0x409a00], ebx
je 0x403d9e
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 0x403de0
mov byte [ebp - 0x314], bl
cmp dword [ebp - 4], ebx
je 0x403e40
push 1
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_EndDialog]
jmp 0x403e54
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