Function at 0x42ad9f
Capabilities:
Identify system language via api

Disassembly:
mov eax, 0x42f0b5
call fcn.0042c930
sub esp, 0x98
push ebx
push esi
push edi
push 0x9285ffff
push 0x40c9ffff
call fcn.004101be
mov cx, word [0x438bfe]
add cx, ax
mov word [0x438bfe], cx
inc cx
imul cx, word [0x438bfa]
mov word [0x438bfa], cx
call fcn.00401f2a
xor esi, esi
xor eax, eax
cmp dword [0x438c28], esi
push 0x6c9fffff
setne al
add word [0x438c02], ax
movsx eax, byte [0x438bee]
push eax
call fcn.004101be
add dword [0x438c18], eax
lea eax, [ebp - 0x48]
push 1
push eax
call fcn.0041f5b4
movsx eax, word [0x438bfa]
push eax
push 0xffdbffff
mov dword [ebp - 4], esi
call fcn.004101be
add word [0x438bf8], ax
movsx eax, byte [0x438bf1]
push eax
movsx eax, byte [0x438bea]
push eax
call fcn.00410285
add word [0x438bf4], ax
push 0x3433ffff
movsx eax, word [0x438bf6]
push eax
call fcn.00410130
mov byte [0x438bef], al
lea eax, [ebp - 0x48]
push eax
call fcn.0041fa00
mov al, byte [0x438bf4]
inc byte [0x438bed]
imul byte [0x438bef]
mov byte [0x438bf0], al
mov eax, dword [0x438c20]
imul eax, eax, 0xdfc9ffff
add dword [0x438c28], eax
push 0x46
call fcn.004146c6
push 0x47
call fcn.004146c6
add esp, 0x3c
cmp dword [ebp - 0x40], esi
je 0x42b605
movsx eax, word [0x438bf8]
push eax
push 0x55ffffff
call fcn.0041020b
mov dword [0x438c08], eax
mov ecx, 0xafa3ffff
movsx eax, word [0x438bfa]
sub ecx, eax
movsx eax, word [0x438bf6]
push eax
push 0xceefffff
mov dword [0x438c18], ecx
call fcn.004100c8
add esp, 0x10
mov byte [0x438bef], al
push esi
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov esi, dword [0x432530]
mov bl, 0x66
push 0xfffffffffffffffc
mov al, byte [esi]
pop edi
add al, bl
movzx eax, al
add eax, 3
and eax, edi
call fcn.0042c950
mov ecx, esp
push 0
push 0
mov edx, esi
call fcn.00429cdb
push eax
push 0x46
call fcn.004146c6
pop ecx
call eax
mov esi, eax
test esi, esi
mov dword [ebp - 0x28], esi
je 0x42b605
push 0x47
call fcn.004146c6
pop ecx
call eax
cmp eax, 0xcb
je 0x42b605
movsx eax, word [0x438bf6]
push dword [0x438c08]
push eax
call fcn.00410285
push 0xf46bffff
push 0xb7edffff
mov byte [0x438bea], al
call fcn.004100f9
inc esi
mov word [0x438bfa], ax
push esi
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
mov esi, dword [0x432530]
mov dword [ebp - 0x14], eax
add esp, 0x14
mov al, byte [esi]
add al, bl
movzx eax, al
add eax, 3
and eax, edi
call fcn.0042c950
mov ecx, esp
push dword [ebp - 0x28]
mov edx, esi
push dword [ebp - 0x14]
call fcn.00429cdb
push eax
push 0x46
call fcn.004146c6
pop ecx
call eax
movsx eax, word [0x438bfa]
push 0xc5f5ffff
push eax
call fcn.00410167
push 0xd7b1ffff
push 0x645bffff
mov dword [0x438c18], eax
call fcn.0041003a
add word [0x438c04], ax
push 0xb613ffff
push 0xe383ffff
call fcn.00410285
add esp, 0x18
mov word [0x438bf6], ax
mov al, byte [ebp - 0xd]
xor esi, esi
push esi
lea ecx, [ebp - 0x68]
mov byte [ebp - 0x68], 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_]
push dword [ebp - 0x14]
call sub.MSVCRT.dll_strlen
pop ecx
push eax
lea ecx, [ebp - 0x68]
push dword [ebp - 0x14]
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_]
push dword [ebp - 0x14]
mov byte [ebp - 4], 1
call fcn.0042c88a
inc dword [0x438c2c]
push 0xdf1bffff
push 0xa199ffff
call fcn.0041020b
add esp, 0xc
mov dword [0x438c14], eax
mov al, byte [ebp - 0xd]
lea ecx, [ebp - 0x58]
push esi
mov byte [ebp - 0x58], 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_]
push dword [0x432534]
or al, 0xff
sub al, byte [0x438bf4]
mov byte [ebp - 4], 2
add byte [0x438bef], al
lea eax, [ebp - 0x58]
push eax
call fcn.00413a3a
pop ecx
test eax, eax
pop ecx
je 0x42b5b8
mov al, byte [ebp - 0xd]
inc dword [0x438c08]
dec word [0x438bfc]
push esi
lea ecx, [ebp - 0x24]
mov byte [ebp - 0x24], 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, dword [0x432538]
mov byte [ebp - 4], 3
mov al, byte [esi]
add al, bl
movzx eax, al
add eax, 3
and eax, edi
call fcn.0042c950
mov ecx, esp
mov edx, esi
call fcn.00429cdb
mov esi, eax
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_]
movsx eax, word [0x438bf8]
push eax
movsx eax, byte [0x438bed]
push eax
call fcn.00410092
push dword [0x438c0c]
mov word [0x438c02], ax
push 0xf9bdffff
call fcn.0041003a
mov esi, dword [0x43253c]
mov word [0x438bf8], ax
add esp, 0x10
mov al, byte [esi]
add al, bl
movzx eax, al
add eax, 3
and eax, edi
call fcn.0042c950
mov ecx, esp
mov edx, esi
call fcn.00429cdb
mov esi, eax
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_]
mov esi, dword [0x432540]
mov al, byte [esi]
add al, bl
movzx eax, al
add eax, 3
and eax, edi
call fcn.0042c950
mov ecx, esp
mov edx, esi
call fcn.00429cdb
mov esi, eax
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_]
mov eax, dword [sym.imp.MSVCP60.dll_unsigned_int_const_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::npos]
lea ecx, [ebp - 0x24]
push dword [eax]
lea eax, [ebp - 0x48]
push 0
push eax
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_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___unsigned_int__unsigned_int_]
mov esi, dword [0x432544]
mov al, byte [esi]
add al, bl
movzx eax, al
add eax, 3
and eax, edi
call fcn.0042c950
mov ecx, esp
mov edx, esi
call fcn.00429cdb
mov esi, eax
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 dword [0x438c10]
mov al, byte [0x438c08]
add byte [0x438bf1], al
push dword [0x438c18]
call fcn.00410130
mov esi, dword [0x432548]
mov byte [0x438bec], al
pop ecx
mov al, byte [esi]
pop ecx
add al, bl
movzx eax, al
add eax, 3
and eax, edi
call fcn.0042c950
mov ecx, esp
mov edx, esi
call fcn.00429cdb
mov esi, eax
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_]
mov eax, dword [sym.imp.MSVCP60.dll_unsigned_int_const_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::npos]
lea ecx, [ebp - 0x24]
push dword [eax]
lea eax, [ebp - 0x48]
push 0
push eax
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_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___unsigned_int__unsigned_int_]
mov esi, dword [0x43254c]
mov al, byte [esi]
add al, bl
movzx eax, al
add eax, 3
and eax, edi
call fcn.0042c950
mov ecx, esp
mov edx, esi
call fcn.00429cdb
mov esi, eax
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_]
mov esi, dword [0x432550]
mov al, byte [esi]
add al, bl
movzx eax, al
add eax, 3
and eax, edi
call fcn.0042c950
mov ecx, esp
mov edx, esi
call fcn.00429cdb
mov esi, eax
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_]
movsx eax, word [0x438bf8]
push eax
movsx eax, word [0x438c04]
push eax
call fcn.00410130
add dword [0x438c1c], eax
push 0xf4c5ffff
movsx eax, byte [0x438bea]
push eax
call fcn.00410285
mov esi, dword [0x432554]
add byte [0x438bf0], al
add esp, 0x10
mov al, byte [esi]
add al, bl
movzx eax, al
add eax, 3
and eax, edi
call fcn.0042c950
mov ecx, esp
mov edx, esi
call fcn.00429cdb
mov esi, eax
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_]
movsx ax, byte [0x438bea]
dec eax
mov word [0x438bfa], ax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.004137cc
pop ecx
test eax, eax
pop ecx
je 0x42b5a9
mov ax, word [0x438c0c]
mov esi, dword [0x432558]
add ax, word [0x438bf2]
add word [0x438c00], ax
mov al, byte [esi]
add al, bl
movzx eax, al
add eax, 3
and eax, edi
call fcn.0042c950
mov ecx, esp
mov edx, esi
call fcn.00429cdb
mov esi, eax
mov al, byte [ebp - 0xd]
push 0
lea ecx, [ebp - 0x38]
mov byte [ebp - 0x38], 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_]
push esi
call sub.MSVCRT.dll_strlen
pop ecx
push eax
push esi
lea ecx, [ebp - 0x38]
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 [sym.imp.MSVCP60.dll_unsigned_int_const_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::npos]
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 4
push dword [eax]
lea eax, [ebp - 0x58]
push 0
push eax
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_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___unsigned_int__unsigned_int_]
mov esi, dword [0x43255c]
mov al, byte [esi]
add al, bl
movzx eax, al
add eax, 3
and eax, edi
call fcn.0042c950
mov ecx, esp
mov edx, esi
call fcn.00429cdb
mov esi, eax
push esi
call sub.MSVCRT.dll_strlen
pop ecx
push eax
push esi
lea ecx, [ebp - 0x38]
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_]
xor eax, eax
cmp word [0x438bf6], ax
je 0x42b3f9
cmp dword [0x438c1c], eax
je 0x42b3f9
mov byte [0x438bea], 1
jmp 0x42b400
and byte [0x438bea], 0
mov ecx, dword [0x438c0c]
mov dword [ebp - 0x9c], eax
mov eax, dword [0x438c14]
push 0xf679ffff
add ecx, eax
push 0xc32bffff
mov dword [ebp - 0xa4], 0x3c
mov dword [0x438c20], ecx
call fcn.00410246
add byte [0x438be9], al
movsx eax, word [0x438bf2]
push eax
movsx eax, byte [0x438be9]
push eax
call fcn.0041020b
mov esi, dword [0x432560]
mov dword [0x438c24], eax
add esp, 0x10
mov al, byte [esi]
add al, bl
movzx eax, al
add eax, 3
and eax, edi
call fcn.0042c950
mov ecx, esp
mov edx, esi
call fcn.00429cdb
mov dword [ebp - 0x98], eax
mov eax, dword [ebp - 0x64]
xor esi, esi
cmp eax, esi
jne 0x42b489
mov eax, 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]
inc word [0x438bfc]
push 0x15b7ffff
push 0xafc1ffff
mov dword [ebp - 0x94], eax
call fcn.004100f9
mov byte [0x438bea], al
mov eax, dword [ebp - 0x34]
pop ecx
cmp eax, esi
pop ecx
jne 0x42b4b8
mov eax, 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]
movsx ecx, word [0x438bf4]
mov dword [ebp - 0x90], eax
mov dword [ebp - 0x8c], esi
movsx eax, byte [0x438bf1]
imul eax, ecx
add dword [0x438c20], eax
mov word [0x438bfa], 1
movsx eax, word [0x438c02]
push eax
push 0xb2c7ffff
mov dword [ebp - 0x88], esi
mov dword [ebp - 0xa0], 0x40
call fcn.004100f9
add dword [0x438c1c], eax
push 0x3755ffff
movsx eax, byte [0x438bee]
push eax
call fcn.00410285
add esp, 0x10
mov word [0x438bfc], ax
lea eax, [ebp - 0xa4]
push eax
push 0x19
call fcn.004146c6
pop ecx
call eax
add byte [0x438bed], 0xfe
cmp dword [0x438c14], esi
jne 0x42b557
cmp word [0x438bf4], si
mov word [0x438bf6], si
je 0x42b560
mov word [0x438bf6], 1
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLangID]
add word [0x438c04], ax
push esi
push 0x43
call fcn.004146c6
pop ecx
call eax
push eax
push 0x5b
call fcn.004146c6
pop ecx
call eax
push 0x54a1ffff
push 0x2a4fffff
call fcn.004100c8
add byte [0x438bec], al
pop ecx
pop ecx
mov byte [ebp - 4], 3
push 1
lea ecx, [ebp - 0x38]
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 1
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 2
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 [0x438c2c]
push 0x2a33ffff
call fcn.00410285
push 0x127dffff
mov dword [0x438c18], eax
push dword [0x438c28]
call fcn.00410246
add word [0x438c00], ax
add esp, 0x10
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 1
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_]
and byte [ebp - 4], 0
push 1
lea ecx, [ebp - 0x68]
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
dec word [0x438c00]
push 0x2261ffff
push 0x409ffff
call fcn.00410092
or dword [ebp - 4], 0xffffffff
pop ecx
pop ecx
mov dword [0x438c14], eax
push 1
lea ecx, [ebp - 0x48]
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 - 0xb0]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
leave
ret