Function at 0x407a39
Capabilities:
Identify system language via api

Disassembly:
push 0x10
mov eax, 0x42f8b4
call fcn.004191c6
mov esi, ecx
push str.Setup.ini
lea ecx, [ebp - 0x10]
call fcn.00401778
lea eax, [ebp - 0x10]
xor ebx, ebx
push eax
mov ecx, esi
mov dword [ebp - 4], ebx
call fcn.00406de0
test eax, eax
jne 0x407aa5
cmp dword [esi + 0xac], ebx
je 0x407a87
push dword [ebp - 0x10]
lea eax, [esi + 0xa4]
push str.Initialization:_Unable_to_locate_default_INI_file___s__file._n
push eax
call fcn.004016b0
add esp, 0xc
mov ecx, esi
call fcn.00407209
mov eax, dword [esi + 0xe8]
cmp dword [eax - 0xc], ebx
je 0x407dd5
lea ecx, [ebp - 0x10]
call fcn.00401264
lea edi, [esi + 0xe8]
mov eax, dword [edi]
mov eax, dword [eax - 0xc]
cmp eax, ebx
jne 0x407b1e
push str.CmdLine
lea ecx, [ebp - 0x18]
call fcn.00401778
push str.Startup
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 1
call fcn.00401778
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x1c]
push eax
mov ecx, esi
mov byte [ebp - 4], 2
call fcn.00406bdf
push eax
mov ecx, edi
mov byte [ebp - 4], 3
call fcn.0040163e
mov ecx, dword [ebp - 0x1c]
add ecx, 0xfffffff0
call fcn.0040110f
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.0040110f
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
mov byte [ebp - 4], 0
call fcn.0040110f
mov ecx, edi
call fcn.00404caf
push ebx
push 0x433f0c
mov ecx, edi
call fcn.00401cd8
cmp eax, 0xffffffff
je 0x407b66
push str._u_t_tUI_Mode_n_s_t_tSilent_Mode__default__n_sAll_t_tSilent_Mode_for_all_products_n_sPB_t_tSilent_Mode_with_Progress_Bar_for_products_n_rs_t_tReboot_Suppress_n_rps_t_tReboot_Prompt_Suppress_n_ini__PATH__tAlternative_initialization_file_n_l_t_tEnable_Error_Logging
lea ecx, [ebp - 0x18]
call fcn.00401778
push ebx
push 0x41
push dword [ebp - 0x18]
mov byte [ebp - 4], 4
call fcn.004067ca
mov ecx, dword [ebp - 0x18]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.0040110f
jmp 0x407dd5
push ebx
push 0x433d1c
mov ecx, edi
call fcn.00401cd8
cmp eax, 0xffffffff
je 0x407b7e
mov dword [esi + 0x100], ebx
push ebx
push 0x433d14
mov ecx, edi
call fcn.00401cd8
cmp eax, 0xffffffff
je 0x407b9a
mov dword [esi + 0x100], 1
push ebx
push str._sall
mov ecx, edi
call fcn.00401cd8
cmp eax, 0xffffffff
je 0x407bb6
mov dword [esi + 0xb4], 1
cmp dword [esi + 0xb4], ebx
jne 0x407bda
push ebx
push str._spb
mov ecx, edi
call fcn.00401cd8
cmp eax, 0xffffffff
je 0x407bda
mov dword [esi + 0xb8], 1
push ebx
push 0x432b00
mov ecx, edi
call fcn.00401cd8
cmp eax, 0xffffffff
je 0x407bf6
mov dword [esi + 0xfc], 1
cmp dword [esi + 0xfc], ebx
jne 0x407c1a
push ebx
push str._rps
mov ecx, edi
call fcn.00401cd8
cmp eax, 0xffffffff
jne 0x407c1a
mov dword [esi + 0xf8], 1
push ebx
push 0x433d0c
mov ecx, edi
call fcn.00401cd8
cmp eax, 0xffffffff
je 0x407c36
mov dword [esi + 0xac], 1
push ebx
push str._ini
mov ecx, edi
call fcn.00401cd8
cmp eax, 0xffffffff
je 0x407cd7
add eax, 4
push eax
push 0x22
mov ecx, edi
call fcn.00401ca6
mov ebx, eax
inc ebx
push ebx
push 0x22
mov ecx, edi
call fcn.00401ca6
sub eax, ebx
push eax
push ebx
lea eax, [ebp - 0x14]
push eax
mov ecx, edi
call fcn.00401d68
mov eax, dword [ebp - 0x14]
cmp dword [eax - 0xc], 0
mov byte [ebp - 4], 5
je 0x407c9f
lea eax, [ebp - 0x14]
push eax
mov ecx, esi
call fcn.00406de0
test eax, eax
je 0x407c9f
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x10]
call fcn.0040163e
jmp 0x407cc6
cmp dword [esi + 0xac], 0
je 0x407cc6
push dword [ebp - 0x14]
lea eax, [esi + 0xa4]
push str.Initialization:_Unable_to_locate_alternative_INI_file___s___revert_to_the_default_INI._n
push eax
call fcn.004016b0
add esp, 0xc
mov ecx, esi
call fcn.00407209
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
mov byte [ebp - 4], 0
call fcn.0040110f
xor ebx, ebx
lea eax, [ebp - 0x10]
lea ecx, [esi + 0xa8]
push eax
call fcn.0040163e
cmp dword [esi + 0x100], ebx
jne 0x407dce
push str.Image
lea ecx, [ebp - 0x14]
call fcn.00401778
push str.Startup
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 6
call fcn.00401778
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x1c]
push eax
mov ecx, esi
mov byte [ebp - 4], 7
call fcn.00406bdf
lea edi, [esi + 0xf0]
push eax
mov ecx, edi
mov byte [ebp - 4], 8
call fcn.0040163e
mov ecx, dword [ebp - 0x1c]
add ecx, 0xfffffff0
call fcn.0040110f
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
call fcn.0040110f
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
mov byte [ebp - 4], 0
call fcn.0040110f
mov eax, dword [edi]
cmp dword [eax - 0xc], ebx
je 0x407da2
push edi
mov ecx, esi
call fcn.00406de0
test eax, eax
je 0x407da2
push dword [edi]
mov ecx, esi
call fcn.0040681d
test eax, eax
jne 0x407dce
cmp dword [esi + 0xac], ebx
je 0x407dbd
push dword [edi]
lea eax, [esi + 0xa4]
push str.Initialization:_Image_file___s__is_not_a_Windows_Bitmap__default_to_silent_mode.
push eax
call fcn.004016b0
add esp, 0xc
jmp 0x407dbd
cmp dword [esi + 0xac], ebx
je 0x407dbd
lea eax, [esi + 0xa4]
push str.Initialization:_Image_file_not_found__default_to_silent_mode.
push eax
call fcn.004016b0
pop ecx
pop ecx
mov ecx, esi
call fcn.00407209
mov dword [esi + 0x100], 1
mov ecx, esi
call fcn.00407538
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.0040110f
call fcn.00419265
ret