Function at 0x43e790
Capabilities:
Identify system language via api

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x224
mov edi, ecx
mov eax, dword [0x4e3014]
xor eax, ebp
mov dword [ebp - 0x10], eax
movzx eax, word [ecx + 0x14]
mov dword [ebp - 0x230], eax
movzx ebx, word [ecx + 0x16]
mov esi, dword [sym.imp.KERNEL32.dll_GetUserDefaultLangID]
call esi
mov word [ebp - 0x224], ax
movzx eax, word [edi + 0x16]
mov dword [ebp - 0x22c], eax
movzx eax, word [edi + 0x14]
mov dword [ebp - 0x228], eax
call esi
mov esi, edi
mov word [ebp - 0x222], ax
lea edi, [ebp - 0x218]
push 0x208
push 0xff
push edi
call fcn.0049bea0
add esp, 0xc
push dword [ebp + 8]
push ebx
mov ebx, edi
push dword [ebp - 0x230]
push str.StringFileInfo_04x_04x_ls
push 0x104
push 0x104
push edi
call fcn.0043eaa0
add esp, 0x1c
mov dword [ebp - 0x21c], 0
mov dword [ebp - 0x220], 0xffffffff
lea eax, [ebp - 0x220]
lea ecx, [ebp - 0x21c]
push eax
push ecx
push edi
push dword [esi + 0x10]
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x43e868
mov eax, dword [ebp - 0x21c]
test eax, eax
je 0x43e868
mov edi, dword [ebp - 0x220]
test edi, edi
jne 0x43e9f5
push 0x208
push 0xff
push ebx
call fcn.0049bea0
add esp, 0xc
movzx eax, word [ebp - 0x224]
push dword [ebp + 8]
push dword [ebp - 0x22c]
push eax
push str.StringFileInfo_04x_04x_ls
push 0x104
push 0x104
push ebx
call fcn.0043eaa0
add esp, 0x1c
mov dword [ebp - 0x21c], 0
mov dword [ebp - 0x220], 0xffffffff
lea eax, [ebp - 0x220]
push eax
lea eax, [ebp - 0x21c]
push eax
push ebx
push dword [esi + 0x10]
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x43e8eb
mov eax, dword [ebp - 0x21c]
test eax, eax
je 0x43e8eb
mov edi, dword [ebp - 0x220]
test edi, edi
jne 0x43e9f5
push 0x208
push 0xff
push ebx
call fcn.0049bea0
add esp, 0xc
push dword [ebp + 8]
push 0x4e4
push dword [ebp - 0x228]
push str.StringFileInfo_04x_04x_ls
push 0x104
push 0x104
push ebx
call fcn.0043eaa0
add esp, 0x1c
mov dword [ebp - 0x21c], 0
mov dword [ebp - 0x220], 0xffffffff
lea eax, [ebp - 0x220]
push eax
lea eax, [ebp - 0x21c]
push eax
push ebx
push dword [esi + 0x10]
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x43e96b
mov eax, dword [ebp - 0x21c]
test eax, eax
je 0x43e96b
mov edi, dword [ebp - 0x220]
test edi, edi
jne 0x43e9f5
push 0x208
push 0xff
push ebx
call fcn.0049bea0
add esp, 0xc
movzx eax, word [ebp - 0x222]
push dword [ebp + 8]
push 0x4e4
push eax
push str.StringFileInfo_04x_04x_ls
push 0x104
push 0x104
push ebx
call fcn.0043eaa0
add esp, 0x1c
mov dword [ebp - 0x21c], 0
mov dword [ebp - 0x220], 0xffffffff
lea eax, [ebp - 0x220]
push eax
lea eax, [ebp - 0x21c]
push eax
push ebx
push dword [esi + 0x10]
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x43ea7a
mov eax, dword [ebp - 0x21c]
test eax, eax
je 0x43ea7a
mov edi, dword [ebp - 0x220]
test edi, edi
je 0x43ea7a
mov ecx, dword [ebp + 0xc]
lea ebx, [edi - 1]
movzx edx, byte [ecx + 0xb]
test dl, dl
js 0x43ea11
mov esi, ecx
cmp ebx, 4
jbe 0x43ea34
mov esi, 4
jmp 0x43ea21
mov esi, 0x7fffffff
and esi, dword [ecx + 8]
dec esi
cmp esi, ebx
jae 0x43ea32
mov edx, dword [ecx + 4]
push eax
push ebx
sub ebx, esi
push edx
push 0
push edx
push ebx
push esi
call fcn.0043d190
jmp 0x43ea5f
mov esi, dword [ecx]
lea ecx, [ebx + ebx]
push ecx
push eax
push esi
call fcn.0049b920
mov eax, dword [ebp + 0xc]
add esp, 0xc
cmp byte [eax + 0xb], 0
js 0x43ea55
cmp edi, 6
jae 0x43ea7e
mov byte [eax + 0xb], bl
jmp 0x43ea58
mov dword [eax + 4], ebx
mov word [esi + edi*2 - 2], 0
mov bl, 1
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00499333
mov eax, ebx
add esp, 0x224
pop esi
pop edi
pop ebx
pop ebp
ret 8
xor ebx, ebx
jmp 0x43ea61
push str.__s_should_never_be_greater_than_or_equal_to_the_short_string_capacity
push str.__s_____min_cap
push 0x6cf
push str....._buildtools_third_partylibc_trunkinclude_string
push str._s:_d:_assertion__s_failed:__s
call fcn.00414fd8
int3