Function at 0x45bb80
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 [0x4f6014]
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.004ab560
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.004145a7
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 0x45bc58
mov eax, dword [ebp - 0x21c]
test eax, eax
je 0x45bc58
mov edi, dword [ebp - 0x220]
test edi, edi
jne 0x45bde5
push 0x208
push 0xff
push ebx
call fcn.004ab560
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.004145a7
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 0x45bcdb
mov eax, dword [ebp - 0x21c]
test eax, eax
je 0x45bcdb
mov edi, dword [ebp - 0x220]
test edi, edi
jne 0x45bde5
push 0x208
push 0xff
push ebx
call fcn.004ab560
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.004145a7
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 0x45bd5b
mov eax, dword [ebp - 0x21c]
test eax, eax
je 0x45bd5b
mov edi, dword [ebp - 0x220]
test edi, edi
jne 0x45bde5
push 0x208
push 0xff
push ebx
call fcn.004ab560
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.004145a7
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 0x45be6a
mov eax, dword [ebp - 0x21c]
test eax, eax
je 0x45be6a
mov edi, dword [ebp - 0x220]
test edi, edi
je 0x45be6a
mov ecx, dword [ebp + 0xc]
lea ebx, [edi - 1]
movzx edx, byte [ecx + 0xb]
test dl, dl
js 0x45be01
mov esi, ecx
cmp ebx, 4
jbe 0x45be24
mov esi, 4
jmp 0x45be11
mov esi, 0x7fffffff
and esi, dword [ecx + 8]
dec esi
cmp esi, ebx
jae 0x45be22
mov edx, dword [ecx + 4]
push eax
push ebx
sub ebx, esi
push edx
push 0
push edx
push ebx
push esi
call fcn.0044c070
jmp 0x45be4f
mov esi, dword [ecx]
lea ecx, [ebx + ebx]
push ecx
push eax
push esi
call fcn.004aafe0
mov eax, dword [ebp + 0xc]
add esp, 0xc
cmp byte [eax + 0xb], 0
js 0x45be45
cmp edi, 6
jae 0x45be6e
mov byte [eax + 0xb], bl
jmp 0x45be48
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.004a8de3
mov eax, ebx
add esp, 0x224
pop esi
pop edi
pop ebx
pop ebp
ret 8
xor ebx, ebx
jmp 0x45be51
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.00416514
int3