Function at 0x416fa3
Capabilities:
Identify system language via api

Disassembly:
mov eax, 0x430190
call fcn.0042e9c0
sub esp, 0x74
movsx eax, word [0x438c2e]
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
push 0xd59bffff
push eax
call fcn.0040aa4f
add dword [0x438c50], eax
pop ecx
pop ecx
call dword [sym.imp.KERNEL32.dll_GetUserDefaultUILanguage]
add byte [0x438c20], al
push 0xd32bffff
push dword [0x438c5c]
call fcn.0040a8f9
add word [0x438c2c], ax
pop ecx
pop ecx
mov ecx, 0x4383f8
call fcn.0040ec97
call fcn.00402683
test al, al
jne 0x417776
push 1
xor ebx, ebx
pop edi
mov dword [ebp - 4], ebx
mov byte [0x438c20], 1
call fcn.00404718
movsx eax, byte [0x438c1a]
push 0x604bffff
push eax
call fcn.0040aa18
add dword [0x438c5c], eax
pop ecx
pop ecx
call fcn.004151c1
cmp al, bl
jne 0x41704d
call fcn.004165e9
jmp 0x417776
push 0x959fffff
push dword [0x438c38]
call fcn.0040ab0e
pop ecx
mov word [0x438c24], ax
movsx eax, word [0x438c30]
pop ecx
push 0x8febffff
push eax
call fcn.0040aa4f
pop ecx
mov dword [0x438c48], eax
pop ecx
call fcn.00416468
cmp al, bl
jne 0x417093
call fcn.0042daec
cmp al, bl
mov byte [ebp - 0x11], bl
je 0x417097
mov byte [ebp - 0x11], 1
movsx eax, word [0x438c30]
push eax
movsx eax, byte [0x438c1d]
push dword [0x438c4c]
push eax
call dword [sym.imp.KERNEL32.dll_MulDiv]
add word [0x438c34], ax
mov ax, word [0x438c30]
sub word [0x438c2e], ax
movsx eax, word [0x438c26]
push eax
push 0x8895ffff
call fcn.0040a96f
add byte [0x438c19], al
pop ecx
pop ecx
call fcn.00415f38
call fcn.0041643f
call fcn.00416db7
movsx eax, byte [0x438c1a]
inc word [0x438c24]
push eax
push 0x86f7ffff
call fcn.0040aa18
pop ecx
mov byte [0x438c1b], al
pop ecx
push 0xa0efffff
push dword [0x438c40]
call fcn.0040a9de
add dword [0x438c50], eax
mov eax, dword [ebp + 8]
pop ecx
mov dword [0x4390c0], eax
pop ecx
push eax
call fcn.0041b018
movsx eax, byte [0x438c1d]
pop ecx
push eax
push 0xb30dffff
call fcn.0040a96f
add byte [0x438c20], al
pop ecx
pop ecx
push ebx
call fcn.00417789
mov esi, eax
pop ecx
movsx eax, byte [0x438c20]
push eax
push 0xe731ffff
call fcn.0040aa4f
pop ecx
mov byte [0x438c1e], al
pop ecx
mov dword [ebp - 0x18], ebx
call fcn.00415372
mov ecx, esi
call fcn.00410525
call fcn.00422ae8
push 7
mov esi, eax
call fcn.0040481f
cmp esi, eax
pop ecx
jae 0x4172b3
call dword [sym.imp.USER32.dll_GetDesktopWindow]
add byte [0x438c18], al
cmp dword [ebp - 0x18], 3
jb 0x417182
cmp byte [0x438c20], bl
jne 0x4171bf
cmp dword [0x438c5c], ebx
jne 0x4171bf
xor eax, eax
jmp 0x4171c1
mov eax, edi
add dword [0x438c48], eax
push 0xed85ffff
movsx eax, byte [0x438c1c]
push eax
call fcn.0040a96f
add dword [0x438c44], eax
pop ecx
pop ecx
push 0x49a5ffff
push 0x6c3bffff
call fcn.0040a8f9
add dword [0x438c58], eax
pop ecx
pop ecx
call fcn.00411e52
push 0x56
call fcn.0040ebd2
pop ecx
push 0x1388
call eax
movsx eax, byte [0x438c1e]
mov ecx, 0x449ffff
mov word [0x438c2c], di
sub ecx, eax
inc dword [0x438c3c]
mov dword [0x438c5c], ecx
call fcn.00422ae8
push 0x4fb3ffff
push 0xcdd5ffff
mov esi, eax
call fcn.0040aac5
or byte [0x438c1e], 0xff
pop ecx
pop ecx
mov dword [0x438c3c], eax
push 7
call fcn.0040481f
cmp esi, eax
pop ecx
jae 0x417296
call fcn.0042d8b8
cmp byte [0x438c1d], bl
je 0x417276
cmp dword [0x438c58], ebx
je 0x417276
mov eax, edi
jmp 0x417278
xor eax, eax
add dword [0x438c4c], eax
push 0x857ffff
push dword [0x438c58]
call fcn.0040aa83
pop ecx
mov word [0x438c2e], ax
pop ecx
push dword [0x438c38]
push 0x48e7ffff
call fcn.0040ab0e
add byte [0x438c1d], al
pop ecx
pop ecx
jmp 0x417182
mov al, byte [ebp + 0xb]
push ebx
lea ecx, [ebp - 0x40]
mov byte [ebp - 0x40], al
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 ax, word [0x438c2c]
push ebx
dec ax
lea ecx, [ebp - 0x30]
add word [0x438c28], ax
mov al, byte [ebp + 0xb]
mov byte [ebp - 4], 1
mov byte [ebp - 0x30], al
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
movsx eax, byte [0x438c1d]
push dword [0x438c4c]
mov byte [ebp - 4], 2
push eax
call fcn.0040aa18
inc word [0x438c2e]
pop ecx
mov word [0x438c2c], ax
pop ecx
movsx eax, byte [0x438c1a]
push 0xaddfffff
push eax
mov byte [0x438c1e], bl
call fcn.0040aa18
add byte [0x438c19], al
pop ecx
pop ecx
lea eax, [ebp - 0x60]
push eax
call fcn.00420af4
pop ecx
lea eax, [ebp - 0x60]
mov byte [ebp - 4], 3
push eax
push 4
call fcn.00404b85
pop ecx
lea eax, [ebp + 8]
pop ecx
push eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.00406dc0
add esp, 0x10
cmp al, bl
je 0x41767a
cmp byte [ebp - 0x11], bl
jne 0x417372
mov eax, dword [ebp + 8]
mov byte [eax + 0x68], bl
movsx eax, word [0x438c34]
push dword [0x438c50]
push eax
call fcn.0040aa4f
cmp dword [ebp - 0x38], ebx
pop ecx
pop ecx
mov dword [0x438c58], eax
ja 0x41739d
mov eax, dword [ebp + 8]
cmp dword [eax + 0x28], ebx
jbe 0x41765b
mov eax, dword [ebp + 8]
inc dword [ebp - 0x18]
mov al, byte [eax + 0x68]
push eax
call fcn.00417789
mov edi, eax
pop ecx
movsx eax, byte [0x438c1d]
push eax
push 0x16c1ffff
call fcn.0040aa18
add dword [0x438c38], eax
pop ecx
pop ecx
mov ecx, edi
call fcn.00410f7d
xor eax, eax
cmp dword [0x438c48], ebx
setne al
add word [0x438c28], ax
call dword [sym.imp.KERNEL32.dll_GetUserDefaultUILanguage]
movzx eax, ax
add dword [0x438c54], eax
push 0x9881ffff
movsx eax, word [0x438c2e]
push eax
call fcn.0040ab0e
add word [0x438c24], ax
pop ecx
pop ecx
mov ecx, edi
call fcn.0040fdbf
mov ecx, edi
call fcn.00410525
xor eax, eax
cmp dword [0x438c44], ebx
setne al
mov word [0x438c24], ax
xor eax, eax
cmp dword [0x438c50], ebx
setne al
add dword [0x438c48], eax
mov eax, dword [ebp + 8]
cmp byte [eax + 0x74], bl
je 0x41744e
push eax
call fcn.0042c326
mov eax, dword [ebp + 8]
pop ecx
cmp byte [eax + 0x68], bl
jne 0x417547
cmp dword [eax + 0x28], ebx
jbe 0x417547
add eax, 0x20
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.0040c6f6
mov esi, dword [ebp + 8]
pop ecx
pop ecx
push 0x438b64
call sub.MSVCRT.dll_strlen
pop ecx
push eax
push 0x438b64
mov ecx, esi
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_char_const___unsigned_int_]
mov eax, dword [ebp + 8]
push 0x438b64
lea esi, [eax + 0x10]
call sub.MSVCRT.dll_strlen
pop ecx
push eax
push 0x438b64
mov ecx, esi
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_char_const___unsigned_int_]
mov eax, dword [ebp + 8]
push 0x88
mov dword [eax + 0x30], ebx
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
pop ecx
mov ecx, eax
mov dword [ebp - 0x20], ecx
cmp ecx, ebx
mov byte [ebp - 4], 4
je 0x4174d1
call fcn.00403a8a
mov esi, eax
jmp 0x4174d3
xor esi, esi
lea eax, [ebp + 8]
lea ecx, [esi + 0x38]
push eax
mov byte [ebp - 4], 3
call fcn.004092bd
mov dword [esi + 0x30], ebx
mov dword [esi + 0x34], ebx
mov eax, dword [ebp + 8]
push esi
mov ecx, edi
mov byte [eax + 0x68], bl
mov eax, dword [ebp + 8]
mov al, byte [eax + 0x69]
mov byte [esi + 0x69], al
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x70]
mov dword [esi + 0x70], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x6c]
mov dword [esi + 0x6c], eax
call fcn.00410e89
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x70]
push eax
call fcn.00407ae9
pop ecx
pop ecx
mov eax, dword [eax + 4]
mov byte [ebp - 4], 5
cmp eax, ebx
jne 0x417531
mov eax, dword [sym.imp.MSVCP60.dll_unsigned_short_int_const__private:_static_unsigned_short_int_const____cdecl_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Nullstr_void_::_2::_C]
push eax
mov ecx, edi
call fcn.0040fc7a
mov byte [ebp - 4], 3
push 1
lea ecx, [ebp - 0x70]
jmp 0x417616
push eax
mov ecx, edi
call fcn.00410e89
mov al, byte [ebp + 0xb]
or byte [0x438c1a], 0xff
push ebx
lea ecx, [ebp - 0x50]
mov byte [ebp - 0x50], al
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 esi, 0x438b64
push esi
call sub.MSVCRT.dll_strlen
pop ecx
push eax
push esi
lea ecx, [ebp - 0x50]
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_char_const___unsigned_int_]
lea eax, [ebp - 0x30]
mov byte [ebp - 4], 6
push eax
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.00425d8f
add esp, 0xc
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 3
push 1
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
movsx eax, word [0x438c2e]
push dword [0x438c3c]
push eax
call fcn.0040a9de
add byte [0x438c1f], al
cmp byte [0x438c19], bl
pop ecx
pop ecx
push dword [0x438c5c]
setne al
push dword [0x438c38]
mov byte [0x438c1b], al
call fcn.0040a9de
add dword [0x438c54], eax
pop ecx
pop ecx
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x80]
push eax
call fcn.00407ae9
pop ecx
pop ecx
mov eax, dword [eax + 4]
mov byte [ebp - 4], 7
cmp eax, ebx
jne 0x417605
mov eax, dword [sym.imp.MSVCP60.dll_unsigned_short_int_const__private:_static_unsigned_short_int_const____cdecl_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Nullstr_void_::_2::_C]
push eax
mov ecx, edi
call fcn.0040fc7a
mov byte [ebp - 4], 3
push 1
lea ecx, [ebp - 0x80]
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Tidy_bool_]
movsx eax, byte [0x438c20]
push 0x3fe5ffff
push eax
call fcn.0040aa83
add dword [0x438c5c], eax
cmp dword [0x438c38], ebx
pop ecx
pop ecx
push 1
pop eax
mov word [0x438c26], ax
je 0x417650
cmp word [0x438c30], bx
jne 0x417652
xor eax, eax
add byte [0x438c20], al
push 1
pop edi
push 0x56
mov dword [0x438c38], edi
call fcn.0040ebd2
pop ecx
push 0xea60
call eax
or word [0x438c28], 0xffff
jmp 0x4176e8
push 0x7727ffff
push 0x7e9dffff
call fcn.0040a9de
pop ecx
mov byte [0x438c1b], al
movsx eax, word [0x438c34]
pop ecx
push 0x8d9ffff
push eax
call fcn.0040a9a5
pop ecx
mov dword [0x438c40], eax
pop ecx
push 0x56
call fcn.0040ebd2
pop ecx
push 0x36ee80
call eax
movsx ax, byte [0x438c1f]
movsx cx, byte [0x438c1b]
imul eax, ecx
push 0x25a5ffff
push 0x5421ffff
mov word [0x438c2a], ax
call fcn.0040aa83
add byte [0x438c21], al
pop ecx
pop ecx
movsx eax, byte [0x438c21]
push 0x396dffff
push eax
mov byte [0x438c18], bl
call fcn.0040ab0e
add word [0x438c2c], ax
pop ecx
pop ecx
mov byte [ebp - 4], 2
push edi
lea ecx, [ebp - 0x60]
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 edi
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 1
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 edi
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], bl
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
jmp 0x417182
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
xor eax, eax
mov dword fs:[0], ecx
pop ebx
leave
ret 0x10