Function at 0x42bd70
Capabilities:
Identify system language via api

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5644cf
mov eax, dword fs:[0]
push eax
sub esp, 0xf0
mov eax, dword [0x5d6c64]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0xb0], str.tpf_uilocalizationChineseSimplified.xml
call dword [sym.imp.KERNEL32.dll_GetUserDefaultUILanguage]
mov word [ebp - 0xac], ax
movzx eax, word [ebp - 0xac]
and eax, 0xff
mov byte [ebp - 0xa5], al
movzx eax, byte [ebp - 0xa5]
cmp eax, 4
jne 0x42be10
mov dword [ebp - 0xb0], 0x570d00
movzx eax, word [ebp - 0xac]
cmp eax, 0x404
je 0x42be04
movzx eax, word [ebp - 0xac]
cmp eax, 0xc04
je 0x42be04
movzx eax, word [ebp - 0xac]
cmp eax, 0x1404
jne 0x42be0e
mov dword [ebp - 0xb0], str.tpf_uilocalizationChineseTraditional.xml
jmp 0x42be1a
mov dword [ebp - 0xb0], str.tpf_uilocalizationEnglish.xml
lea eax, [ebp - 0xb9]
mov dword [ebp - 0xb8], eax
lea eax, [ebp - 0x88]
mov dword [ebp - 0xe0], eax
and dword [ebp - 4], 0
push 0
push 0
lea ecx, [ebp - 0x88]
call fcn.00406430
mov dword [ebp - 4], 1
push dword [ebp - 0xb0]
lea ecx, [ebp - 0x2c]
call fcn.00404e60
mov byte [ebp - 4], 2
lea eax, [ebp - 0x88]
push eax
lea eax, [ebp - 0x2c]
push eax
call fcn.0041ba38
pop ecx
pop ecx
mov byte [ebp - 4], 3
push 0
push 1
lea ecx, [ebp - 0x2c]
call fcn.00406660
mov byte [ebp - 4], 1
push 4
call fcn.0041b640
pop ecx
movzx eax, al
test eax, eax
je 0x42bed8
cmp dword [ebp - 0x74], 0x10
jb 0x42bea7
mov eax, dword [ebp - 0x88]
mov dword [ebp - 0xe4], eax
jmp 0x42beb3
lea eax, [ebp - 0x88]
mov dword [ebp - 0xe4], eax
push dword [ebp - 0xe4]
movzx eax, byte [ebp - 0xa5]
push eax
movzx eax, word [ebp - 0xac]
push eax
push str._uihelper__SetLangBySysDef:_lid0x_04x__pri_lang0x_02x__pkg_path_s
push 4
call fcn.0041b5a4
add esp, 0x14
lea eax, [ebp - 0x48]
push eax
call fcn.00427da7
pop ecx
mov dword [ebp - 0xe8], eax
mov eax, dword [ebp - 0xe8]
mov dword [ebp - 0xec], eax
mov byte [ebp - 4], 4
push 0x570cfc
push dword [ebp - 0xec]
lea eax, [ebp - 0x64]
push eax
call fcn.00412118
add esp, 0xc
mov dword [ebp - 0xf0], eax
mov eax, dword [ebp - 0xf0]
mov dword [ebp - 0xf4], eax
mov byte [ebp - 4], 5
push dword [ebp - 0xb0]
push dword [ebp - 0xf4]
lea eax, [ebp - 0xa4]
push eax
call fcn.00412118
add esp, 0xc
mov byte [ebp - 4], 8
push 0
push 1
lea ecx, [ebp - 0x64]
call fcn.00406660
mov byte [ebp - 4], 7
mov byte [ebp - 4], 0xa
push 0
push 1
lea ecx, [ebp - 0x48]
call fcn.00406660
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x6c]
call fcn.0042c0e8
mov byte [ebp - 4], 0xb
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0xd8], eax
cmp dword [ebp - 0xd8], 0
je 0x42bfd8
mov eax, dword [ebp - 0xdc]
mov dword [ebp - 0xf8], eax
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0xf8], eax
cmp dword [ebp - 0x90], 8
jb 0x42bfb2
mov eax, dword [ebp - 0xa4]
mov dword [ebp - 0xfc], eax
jmp 0x42bfbe
lea eax, [ebp - 0xa4]
mov dword [ebp - 0xfc], eax
push dword [ebp - 0xfc]
mov eax, dword [ebp - 0xf8]
mov eax, dword [eax]
mov ecx, dword [ebp - 0xf8]
call dword [eax + 0xc8]
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x6c]
call fcn.0042c185
mov byte [ebp - 4], 0xc
push 0
push 1
lea ecx, [ebp - 0xa4]
call fcn.00406660
mov byte [ebp - 4], 1
mov dword [ebp - 4], 0xd
push 0
push 1
lea ecx, [ebp - 0x88]
call fcn.00406430
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004610a0
leave
ret