Function at 0x4215fb
Capabilities:
Identify system language via api

Disassembly:
mov eax, 0x4306b1
call fcn.0042e9c0
mov eax, 0x3020
call fcn.0042e9e0
push ebx
push esi
push edi
push 0x2075ffff
push dword [0x438c50]
call fcn.0040aa18
add dword [0x438c44], eax
movsx eax, word [0x438c24]
push eax
movsx eax, byte [0x438c1d]
push eax
call fcn.0040a9de
add dword [0x438c48], eax
mov al, byte [ebp - 0xd]
add esp, 0x10
xor esi, esi
lea ecx, [ebp - 0x24]
mov byte [ebp - 0x24], al
push esi
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
push dword [0x438c38]
mov dword [ebp - 4], esi
push 0xcf53ffff
call fcn.0040aac5
add byte [0x438c21], al
pop ecx
movsx eax, byte [0x438c1b]
mov edi, dword [sym.imp.USER32.dll_GetDesktopWindow]
pop ecx
movsx ecx, byte [0x438c21]
and eax, ecx
add dword [0x438c40], eax
call edi
and byte [ebp - 0x102c], 0
mov dword [0x438c5c], eax
push esi
lea eax, [ebp - 0x102c]
push 0x24
push eax
push esi
push 0x14
call fcn.0040ebd2
pop ecx
call eax
or word [0x438c32], 0xffff
cmp byte [ebp - 0x102c], 0
push 3
pop ebx
jne 0x4216fe
mov esi, dword [0x433190]
mov al, byte [esi]
sub al, bl
movzx eax, al
add eax, ebx
and al, 0xfc
call fcn.0042e9e0
mov eax, esp
lea ecx, [ebp - 0x102c]
push 0x1000
push ecx
push esi
push eax
call fcn.0042bd2b
pop ecx
pop ecx
push eax
push 0x42
call fcn.0040ebd2
pop ecx
call eax
movsx eax, byte [0x438c1a]
push dword [0x438c3c]
push eax
call fcn.0040a96f
add word [0x438c26], ax
cmp byte [ebp - 0x102c], 0
pop ecx
pop ecx
jne 0x42175b
mov esi, dword [0x433194]
mov al, byte [esi]
sub al, bl
movzx eax, al
add eax, ebx
and al, 0xfc
call fcn.0042e9e0
mov eax, esp
lea ecx, [ebp - 0x102c]
push 0x1000
push ecx
push esi
push eax
call fcn.0042bd2b
pop ecx
pop ecx
push eax
push 0x42
call fcn.0040ebd2
pop ecx
call eax
push dword [0x438c58]
push 0x8003ffff
call fcn.0040a933
add dword [0x438c50], eax
cmp byte [ebp - 0x102c], 0
pop ecx
mov dword [0x438c44], 1
pop ecx
jne 0x4217b5
mov esi, dword [0x433198]
mov al, byte [esi]
sub al, bl
movzx eax, al
add eax, ebx
and al, 0xfc
call fcn.0042e9e0
mov eax, esp
push esi
push eax
call fcn.0042bd2b
push eax
lea eax, [ebp - 0x102c]
push eax
call sub.MSVCRT.dll_strcpy
add esp, 0x10
lea eax, [ebp - 0x102c]
push eax
push 0xd
call fcn.0040ebd2
pop ecx
call eax
mov ebx, eax
movsx ax, byte [0x438c18]
or ax, word [0x438c2e]
mov word [0x438c28], ax
call edi
mov word [0x438c2a], ax
mov al, byte [0x438c24]
dec al
add byte [0x438c18], al
test ebx, ebx
jl 0x4217fb
cmp ebx, 0x19
jle 0x4217fe
push 2
pop ebx
call dword [sym.imp.KERNEL32.dll_GetUserDefaultUILanguage]
movzx eax, ax
add dword [0x438c5c], eax
add bl, 0x41
push ebx
push 1
lea ecx, [ebp - 0x24]
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::assign_unsigned_int__char_]
mov esi, 0x438310
push esi
call sub.MSVCRT.dll_strlen
pop ecx
push eax
push esi
lea ecx, [ebp - 0x24]
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::append_char_const___unsigned_int_]
push 0x1485ffff
push 0x92f5ffff
xor esi, esi
call fcn.0040a8f9
pop ecx
mov dword [0x438c5c], eax
mov ax, word [0x438c28]
pop ecx
mov ecx, dword [ebp - 0x20]
dec ax
add word [0x438c34], ax
test ecx, ecx
jne 0x421867
mov ecx, dword [sym.imp.MSVCP60.dll_char_const__private:_static_char_const____cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Nullstr_void_::_2::_C]
mov eax, 0x1000
lea edx, [ebp - 0x202c]
push eax
push edx
lea edx, [ebp - 0x2c]
push edx
lea edx, [ebp - 0x28]
push edx
lea edx, [ebp - 0x14]
push edx
push eax
lea eax, [ebp - 0x302c]
push eax
push ecx
push 0x4b
call fcn.0040ebd2
pop ecx
call eax
test eax, eax
je 0x42189a
mov esi, dword [ebp - 0x14]
movsx ax, byte [0x438c18]
movsx cx, byte [0x438c1d]
add eax, ecx
push 0x969ffff
add word [0x438c24], ax
push 0x6005ffff
call fcn.0040a96f
pop ecx
mov word [0x438c26], ax
pop ecx
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLangID]
or dword [ebp - 4], 0xffffffff
push 1
movzx eax, ax
add dword [0x438c3c], eax
lea ecx, [ebp - 0x24]
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
mov ecx, dword [ebp - 0xc]
lea esp, [ebp - 0x3038]
mov eax, esi
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
leave
ret