Function at 0x417130
Capabilities:
Identify system language via api

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x228
mov ebx, ecx
mov eax, dword [0x5ce440]
xor eax, ebp
mov dword [ebp - 0x10], eax
movzx eax, word [ecx + 0x14]
mov dword [ebp - 0x234], eax
movzx edi, word [ecx + 0x16]
mov esi, dword [sym.imp.KERNEL32.dll_GetUserDefaultLangID]
call esi
mov word [ebp - 0x228], ax
movzx eax, word [ebx + 0x16]
mov dword [ebp - 0x230], eax
movzx eax, word [ebx + 0x14]
mov dword [ebp - 0x22c], eax
call esi
mov esi, ebx
mov word [ebp - 0x226], ax
lea ebx, [ebp - 0x218]
push 0x208
push 0xff
push ebx
call fcn.005083f0
add esp, 0xc
push dword [ebp + 8]
push edi
mov edi, ebx
push dword [ebp - 0x234]
push str.StringFileInfo_04x_04x_ls
push 0x104
push 0x104
push ebx
call fcn.004173f0
add esp, 0x1c
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x224], 0xffffffff
lea eax, [ebp - 0x224]
lea ecx, [ebp - 0x220]
push eax
push ecx
push ebx
push dword [esi + 0x10]
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x417208
mov eax, dword [ebp - 0x220]
test eax, eax
je 0x417208
mov ebx, dword [ebp - 0x224]
test ebx, ebx
jne 0x417385
push 0x208
push 0xff
push edi
call fcn.005083f0
add esp, 0xc
movzx eax, word [ebp - 0x228]
push dword [ebp + 8]
push dword [ebp - 0x230]
push eax
push str.StringFileInfo_04x_04x_ls
push 0x104
push 0x104
push edi
call fcn.004173f0
add esp, 0x1c
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x224], 0xffffffff
lea eax, [ebp - 0x224]
push eax
lea eax, [ebp - 0x220]
push eax
push edi
push dword [esi + 0x10]
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x41728b
mov eax, dword [ebp - 0x220]
test eax, eax
je 0x41728b
mov ebx, dword [ebp - 0x224]
test ebx, ebx
jne 0x417385
push 0x208
push 0xff
push edi
call fcn.005083f0
add esp, 0xc
push dword [ebp + 8]
push 0x4e4
push dword [ebp - 0x22c]
push str.StringFileInfo_04x_04x_ls
push 0x104
push 0x104
push edi
call fcn.004173f0
add esp, 0x1c
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x224], 0xffffffff
lea eax, [ebp - 0x224]
push eax
lea eax, [ebp - 0x220]
push eax
push edi
push dword [esi + 0x10]
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x417307
mov eax, dword [ebp - 0x220]
test eax, eax
je 0x417307
mov ebx, dword [ebp - 0x224]
test ebx, ebx
jne 0x417385
push 0x208
push 0xff
push edi
call fcn.005083f0
add esp, 0xc
movzx eax, word [ebp - 0x226]
push dword [ebp + 8]
push 0x4e4
push eax
push str.StringFileInfo_04x_04x_ls
push 0x104
push 0x104
push edi
call fcn.004173f0
add esp, 0x1c
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x224], 0xffffffff
lea eax, [ebp - 0x224]
push eax
lea eax, [ebp - 0x220]
push eax
push edi
push dword [esi + 0x10]
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x4173e8
mov eax, dword [ebp - 0x220]
test eax, eax
je 0x4173e8
mov ebx, dword [ebp - 0x224]
test ebx, ebx
je 0x4173e8
mov ecx, dword [ebp + 0xc]
lea edx, [ebx - 1]
mov edi, dword [ecx + 0x14]
cmp edi, edx
jae 0x4173ad
sub esp, 0xc
mov bl, byte [ebp - 0x21c]
mov byte [esp + 4], bl
mov dword [esp + 8], eax
mov dword [esp], edx
call fcn.004065d0
jmp 0x4173cd
mov esi, ecx
cmp edi, 8
jb 0x4173b6
mov esi, dword [ecx]
mov dword [ecx + 0x10], edx
add edx, edx
push edx
push eax
push esi
call fcn.00507e70
add esp, 0xc
mov word [esi + ebx*2 - 2], 0
mov bl, 1
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005051b5
mov eax, ebx
add esp, 0x228
pop esi
pop edi
pop ebx
pop ebp
ret 8
xor ebx, ebx
jmp 0x4173cf