Function at 0x410be0
Capabilities:
Identify system language via api

Disassembly:
mov qword [rsp + 8], rcx
mov rax, rsp
sub rsp, 0xf8
mov qword [rsp + 0x58], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov qword [rax - 8], r12
mov qword [rax - 0x10], r13
mov r13, rcx
call sub.MFC42u.dll_Ordinal_1463
mov r12, qword [rax + 8]
lea rax, [0x00698b20]
mov qword [rsp + 0x70], rax
mov rax, qword [r12 + 0x1a8]
test rax, rax
jne 0x410c36
mov rcx, rax
jmp 0x410c47
mov rcx, qword [r12 + 0x1b0]
sub rcx, rax
sar rcx, 5
xor eax, eax
test rcx, rcx
cmovs rcx, rax
shl rcx, 5
call sub.MFC42u.dll_CMonthCalCtrl::SetDayState
mov rbx, rax
mov qword [rsp + 0x80], rax
mov rsi, qword [r12 + 0x1b0]
mov rdi, qword [r12 + 0x1a8]
mov qword [rsp + 0x28], rax
cmp rdi, rsi
je 0x410ca9
nop
mov qword [rsp + 0x50], rbx
test rbx, rbx
je 0x410c97
mov rdx, rdi
mov rcx, rbx
call qword [sym.imp.msvcp60.dll_public:_void___cdecl_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::constructor_class_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int___const____ptr64____ptr64]
nop
add rbx, 0x20
mov qword [rsp + 0x28], rbx
add rdi, 0x20
cmp rdi, rsi
jne 0x410c80
mov qword [rsp + 0x88], rbx
mov qword [rsp + 0x90], rbx
lea rdx, [r12 + 0x1c0]
lea rcx, [rsp + 0x98]
call fcn.00410790
nop
lea rcx, [rsp + 0x70]
call fcn.00411440
mov rdi, rax
xor r9d, r9d
xor r8d, r8d
mov edx, 0x14b
mov rcx, qword [r13 + 0x40]
call qword [sym.imp.USER32.dll_SendMessageW]
mov rcx, qword [rdi + 8]
mov rbx, qword [rcx]
cmp rbx, rcx
je 0x410d8f
mov r9, qword [rbx + 0x30]
test r9, r9
cmove r9, qword [sym.imp.msvcp60.dll_unsigned_short_int_const__private:_static_unsigned_short_int_const____ptr64___cdecl_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Nullstr_void_::_2::_C]
xor r8d, r8d
mov edx, 0x143
mov rcx, qword [r13 + 0x40]
call qword [sym.imp.USER32.dll_SendMessageW]
movsxd r9, dword [rbx + 0x20]
movsxd r8, eax
mov edx, reloc.MFC42u.dll_CDocTemplate::CDocTemplate
mov rcx, qword [r13 + 0x40]
call qword [sym.imp.USER32.dll_SendMessageW]
mov r11, qword [rbx + 0x10]
mov rcx, qword [0x00772568]
cmp r11, rcx
je 0x410d60
mov rbx, r11
mov rax, qword [r11]
cmp rax, rcx
je 0x410d85
mov rbx, rax
mov rax, qword [rax]
cmp rax, rcx
jne 0x410d53
jmp 0x410d85
mov rax, qword [rbx + 8]
cmp rbx, qword [rax + 0x10]
jne 0x410d7d
nop
nop
mov rbx, rax
mov rax, qword [rax + 8]
cmp rbx, qword [rax + 0x10]
je 0x410d70
cmp qword [rbx + 0x10], rax
cmovne rbx, rax
cmp rbx, qword [rdi + 8]
jne 0x410d01
call sub.MFC42u.dll_Ordinal_1463
mov rcx, qword [rax + 8]
call fcn.00401ff0
mov ebx, eax
test eax, eax
jne 0x410dac
call qword [sym.imp.KERNEL32.dll_GetUserDefaultUILanguage]
movzx ebx, ax
xor eax, eax
mov byte [rsp + 0x21], al
lea rdx, [rsp + 0x21]
lea rcx, [rsp + 0x30]
call qword [sym.imp.msvcp60.dll_public:_void___cdecl_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::constructor_class_std::allocator_unsigned_short_int__const____ptr64____ptr64]
nop
mov edx, ebx
lea rcx, [rsp + 0x70]
call fcn.00412c50
lea rdx, [rax + 8]
lea rcx, [rsp + 0x30]
call qword [sym.imp.msvcp60.dll_public:_class_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int______ptr64___cdecl_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::operator_class_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int___const____ptr64____ptr64]
nop
jmp 0x410de9
mov r9, qword [rsp + 0x38]
test r9, r9
cmove r9, qword [sym.imp.msvcp60.dll_unsigned_short_int_const__private:_static_unsigned_short_int_const____ptr64___cdecl_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Nullstr_void_::_2::_C]
xor r8d, r8d
mov edx, CDocTemplate::CDocTemplate
mov rcx, qword [r13 + 0x40]
call qword [sym.imp.USER32.dll_SendMessageW]
nop
lea rcx, [rsp + 0x30]
call qword [sym.imp.msvcp60.dll_public:_void___cdecl_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::destructor_void____ptr64]
nop
lea rcx, [rsp + 0x70]
call fcn.004135d0
mov rbx, qword [rsp + 0x108]
mov rsi, qword [rsp + 0x110]
mov rdi, qword [rsp + 0x118]
mov r12, qword [rsp + 0xf0]
mov r13, qword [rsp + 0xe8]
add rsp, 0xf8
ret