Function at 0x140075880
Capabilities:
Encode data using xor
Query or enumerate registry value

Disassembly:
push rdi
push r12
push r14
mov eax, 0x10b0
call fcn.140077f10
sub rsp, rax
mov qword [rsp + 0x68], 0xfffffffffffffffe
mov qword [rsp + COleLinkingDoc::XPersistFile::IsDirty], rbx
mov qword [rsp + CFileFind::IsDots], rbp
mov qword [rsp + 0x10e8], rsi
mov rax, qword [0x1400c2038]
xor rax, rsp
mov qword [rsp + 0x10a0], rax
mov r12, rcx
xor r14d, r14d
mov qword [rsp + 0x58], r14
mov dword [rsp + 0x60], r14d
call fcn.140074e20
test al, al
je 0x1400758ed
mov dword [r12 + 0x30], 1
jmp 0x1400762f5
lea rdx, str.IDS_REGISTER_REG_PATH
lea rcx, [rsp + 0x38]
call qword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_class]
nop
lea rdx, [rsp + 0x38]
lea rcx, [rsp + 0x50]
call fcn.140004960
nop
mov r9, rax
lea r8, [rsp + 0x58]
mov rdx, 0xffffffff80000002
lea rcx, [rsp + 0x40]
call fcn.14001f570
mov ebx, eax
lea rcx, [rsp + 0x50]
call qword [sym.imp.mfc90u.dll_CView::CView]
nop
lea rcx, [rsp + 0x38]
call qword [sym.imp.mfc90u.dll_CView::CView]
test ebx, ebx
je 0x14007595d
lea rcx, [r12 + 8]
lea rdx, [0x14008ac97]
call qword [sym.imp.MSVCP90.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______ptr64___cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::operator_char_const____ptr64____ptr64]
jmp 0x1400762e2
mov word [rsp + 0x8a0], r14w
xor edx, edx
mov r8d, 0x7fe
lea rcx, [rsp + 0x8a2]
call sub.MSVCR90.dll_memset
mov dword [rsp + 0x30], 0x800
mov ebx, r14d
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x8a0]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x38]
xor r8d, r8d
lea rdx, str.keyCode
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1400759f5
mov eax, dword [rsp + 0x38]
cmp eax, 1
je 0x1400759c9
cmp eax, 2
jne 0x1400759f5
mov ecx, dword [rsp + 0x30]
test ecx, ecx
je 0x1400759e8
test cl, 1
jne 0x1400759f5
mov rax, rcx
shr rax, 1
cmp word [rsp + rax*2 + 0x89e], bx
je 0x1400759f1
jmp 0x1400759f5
mov word [rsp + 0x8a0], r14w
mov ebx, ecx
shr ebx, 1
mov eax, ebx
mov word [rsp + rax*2 + 0x8a0], r14w
lea rcx, [rsp + 0x470]
call qword [sym.imp.MSVCP90.dll_public:_void___cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_void____ptr64]
mov dword [rsp + 0x498], r14d
lea rdx, [rsp + 0x8a0]
lea rcx, [rsp + 0x4a0]
call fcn.140034610
nop
cmp qword [rsp + 0x4c0], 0x10
jb 0x140075a46
mov rdx, qword [rsp + 0x4a8]
test rdx, rdx
je 0x140075a5c
jmp 0x140075a4e
lea rdx, [rsp + 0x4a8]
lea rcx, [rsp + 0x470]
call qword [sym.imp.MSVCP90.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______ptr64___cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::operator_char_const____ptr64____ptr64]
mov ebp, 8
cmp qword [rsp + 0x488], 0x20
jne 0x140075f40
mov byte [rsp + 0x520], 0
xor eax, eax
mov qword [rsp + 0x521], rax
mov qword [rsp + 0x529], rax
mov qword [rsp + 0x531], rax
mov qword [rsp + 0x539], rax
mov qword [rsp + 0x541], rax
mov qword [rsp + 0x549], rax
mov qword [rsp + 0x551], rax
mov dword [rsp + 0x559], eax
mov word [rsp + 0x55d], ax
mov byte [rsp + 0x55f], al
lea r8, [rsp + 0x478]
cmp qword [rsp + 0x490], 0x10
cmovae r8, qword [rsp + 0x478]
lea edx, [rbp + 0x38]
lea rcx, [rsp + 0x520]
call qword [sym.imp.MSVCR90.dll_strcpy_s]
xor r11d, r11d
mov qword [rsp + 0x538], r11
mov ebx, r14d
mov r9d, r14d
lea r10, [rsp + 0x70]
nop dword [rax]
mov edx, r9d
shl edx, 0x18
mov ecx, r14d
mov r8, rbp
nop dword [rax]
mov eax, ecx
xor eax, edx
bt eax, 0x1f
jae 0x140075b34
add ecx, ecx
xor ecx, 0x4c10db7
jmp 0x140075b36
add ecx, ecx
add edx, edx
sub r8, 1
jne 0x140075b20
mov dword [r10], ecx
inc r9d
add r10, 4
cmp r9d, 0x100
jb 0x140075b10
lea r9, [rsp + 0x522]
mov r10, rbp
nop dword [rax]
movzx ecx, byte [r9 - 2]
mov eax, ebx
shr rax, 0x18
xor rcx, rax
shl ebx, 8
mov edx, dword [rsp + rcx*4 + 0x70]
xor edx, ebx
movzx ecx, byte [r9 - 1]
mov eax, edx
shr rax, 0x18
xor rcx, rax
shl edx, 8
mov r8d, dword [rsp + rcx*4 + 0x70]
xor r8d, edx
mov ecx, r8d
shr rcx, 0x18
movzx eax, byte [r9]
xor rcx, rax
shl r8d, 8
mov edx, dword [rsp + rcx*4 + 0x70]
xor edx, r8d
movzx ecx, byte [r9 + 1]
mov eax, edx
shr rax, 0x18
xor rcx, rax
shl edx, 8
mov ebx, dword [rsp + rcx*4 + 0x70]
xor ebx, edx
add r9, 4
sub r10, 1
jne 0x140075b60
lea r8, [rsp + 0x478]
cmp qword [rsp + 0x490], 0x10
cmovae r8, qword [rsp + 0x478]
lea edx, [r10 + 0x40]
lea rcx, [rsp + 0x520]
call qword [sym.imp.MSVCR90.dll_strcpy_s]
mov byte [rsp + 0x720], 0
xor edx, edx
lea r8d, [rdx + 0x7f]
lea rcx, [rsp + 0x721]
call sub.MSVCR90.dll_memset
lea r8, [rsp + 0x538]
mov edx, 0x80
lea rcx, [rsp + 0x720]
call qword [sym.imp.MSVCR90.dll_strcpy_s]
mov byte [rsp + 0x728], 0
mov dword [rsp + 0x30], r14d
lea r8, [rsp + 0x30]
lea rdx, [0x14008be28]
lea rcx, [rsp + 0x720]
call qword [sym.imp.MSVCR90.dll_sscanf]
cmp dword [rsp + 0x30], ebx
jne 0x140075f40
mov byte [rsp + CMiniFrameWnd::Create], 0
xor edx, edx
lea r8d, [rdx + 0x7f]
lea rcx, [rsp + 0x6a1]
call sub.MSVCR90.dll_memset
lea r8, [rsp + 0x520]
mov edx, 0x80
lea rcx, [rsp + 0x6a0]
call qword [sym.imp.MSVCR90.dll_strcpy_s]
mov byte [rsp + 0x6a8], 0
mov dword [rsp + 0x48], r14d
lea r8, [rsp + 0x48]
lea rdx, [0x14008be28]
lea rcx, [rsp + 0x6a0]
call qword [sym.imp.MSVCR90.dll_sscanf]
mov ebx, dword [rsp + 0x48]
mov byte [rsp + CDHtmlDialog::DDX_DHtml_ElementText], 0
xor edx, edx
lea r8d, [rdx + 0x7f]
lea rcx, [rsp + 0x7a1]
call sub.MSVCR90.dll_memset
lea r8, [rsp + 0x528]
mov edx, 0x80
lea rcx, [rsp + 0x7a0]
call qword [sym.imp.MSVCR90.dll_strcpy_s]
mov byte [rsp + CDHtmlDialog::DDX_DHtml_ElementTextWithFormat], 0
mov dword [rsp + 0x4c], r14d
lea r8, [rsp + 0x4c]
lea rdx, [0x14008be28]
lea rcx, [rsp + 0x7a0]
call qword [sym.imp.MSVCR90.dll_sscanf]
mov edi, dword [rsp + 0x4c]
mov byte [rsp + CFtpFileFind::CloseContext], 0
xor edx, edx
lea r8d, [rdx + 0x7f]
lea rcx, [rsp + 0x621]
call sub.MSVCR90.dll_memset
lea r8, [rsp + 0x530]
mov edx, 0x80
lea rcx, [rsp + 0x620]
call qword [sym.imp.MSVCR90.dll_strcpy_s]
mov byte [rsp + reloc.mfc90u.dll_CThemeHelper::CloseThemeData], 0
mov dword [rsp + 0x44], r14d
lea r8, [rsp + 0x44]
lea rdx, [0x14008be28]
lea rcx, [rsp + 0x620]
call qword [sym.imp.MSVCR90.dll_sscanf]
mov r11d, dword [rsp + 0x44]
xor ebx, r11d
xor edi, r11d
cmp bx, 0x1e
jne 0x140075f40
shr ebx, 0x10
cmp bx, 1
jne 0x140075f40
cmp edi, 0x9a
je 0x140075db5
lea eax, [rdi - 0x99]
cmp eax, 4
ja 0x140075f40
mov byte [rsp + 0x560], 0
xor eax, eax
mov qword [rsp + 0x561], rax
mov qword [rsp + COleControlSite::BindDefaultProperty], rax
mov qword [rsp + 0x571], rax
mov qword [rsp + 0x579], rax
mov qword [rsp + 0x581], rax
mov qword [rsp + CMiniFrameWnd::CalcBorders], rax
mov qword [rsp + CStatusBar::CalcFixedLayout], rax
mov dword [rsp + 0x599], eax
mov word [rsp + 0x59d], ax
mov byte [rsp + 0x59f], al
lea r8, [rsp + 0x478]
cmp qword [rsp + 0x490], 0x10
cmovae r8, qword [rsp + 0x478]
lea edx, [rax + 0x40]
lea rcx, [rsp + 0x560]
call qword [sym.imp.MSVCR90.dll_strcpy_s]
mov byte [rsp + CException::Delete], 0
xor edx, edx
lea r8d, [rdx + 0x7f]
lea rcx, [rsp + 0x821]
call sub.MSVCR90.dll_memset
lea r8, [rsp + 0x568]
mov edx, 0x80
lea rcx, [rsp + 0x820]
call qword [sym.imp.MSVCR90.dll_strcpy_s]
mov byte [rsp + 0x828], 0
mov dword [rsp + 0x50], r14d
lea r8, [rsp + 0x50]
lea rdx, [0x14008be28]
lea rcx, [rsp + 0x820]
call qword [sym.imp.MSVCR90.dll_sscanf]
mov ebx, dword [rsp + 0x50]
mov byte [rsp + 0x5a0], 0
xor edx, edx
lea r8d, [rdx + 0x7f]
lea rcx, [rsp + 0x5a1]
call sub.MSVCR90.dll_memset
lea r8, [rsp + 0x570]
mov edx, 0x80
lea rcx, [rsp + 0x5a0]
call qword [sym.imp.MSVCR90.dll_strcpy_s]
mov byte [rsp + CDragListBox::CancelDrag], 0
mov dword [rsp + 0x38], r14d
lea r8, [rsp + 0x38]
lea rdx, [0x14008be28]
lea rcx, [rsp + 0x5a0]
call qword [sym.imp.MSVCR90.dll_sscanf]
xor ebx, dword [rsp + 0x38]
cmp ebx, 0x9a
je 0x140075f40
cmp ebx, 0x99
jne 0x140075f40
lea rcx, [r12 + 8]
lea rdx, [rsp + 0x4a0]
call qword [sym.imp.MSVCP90.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______ptr64___cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::operator_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const____ptr64____ptr64]
nop
lea rcx, [rsp + 0x4a0]
call qword [sym.imp.MSVCP90.dll_public:_void___cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void____ptr64]
nop
lea rcx, [rsp + 0x470]
call qword [sym.imp.MSVCP90.dll_public:_void___cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void____ptr64]
jmp 0x1400762e2
lea rdx, [0x14008ac97]
lea rcx, [rsp + 0x4f0]
call qword [sym.imp.MSVCP90.dll_public:_void___cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const____ptr64____ptr64]
nop
lea rdx, [rsp + 0x8a0]
lea rcx, [rsp + 0x4c8]
call fcn.140034610
nop
lea rbx, [rsp + 0x4d0]
cmp qword [rsp + 0x4e8], 0x10
cmovae rbx, qword [rsp + 0x4d0]
mov eax, dword [0x1400c9bb0]
test al, 1
jne 0x140075fd9
or eax, 1
mov dword [0x1400c9bb0], eax
mov dword [0x1400c9b50], r14d
mov dword [0x1400c9b54], 1
lea rcx, [0x1400c9b58]
call qword [sym.imp.MSVCP90.dll_public:_void___cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_void____ptr64]
mov dword [0x1400c9b80], r14d
lea rcx, [0x1400c9b88]
call qword [sym.imp.MSVCP90.dll_public:_void___cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_void____ptr64]
nop
lea rcx, [0x140088a60]
call fcn.140077554
nop
test rbx, rbx
je 0x140076293
lea r8, [rsp + 0x4f0]
mov rdx, rbx
lea rcx, [0x1400c9b50]
call fcn.1400070e0
mov rsi, rax
test rax, rax
je 0x140076293
cmp qword [rax + 0x18], 0x20
jne 0x140076293
mov byte [rsp + 0x520], 0
xor eax, eax
mov qword [rsp + 0x521], rax
mov qword [rsp + 0x529], rax
mov qword [rsp + 0x531], rax
mov qword [rsp + 0x539], rax
mov qword [rsp + 0x541], rax
mov qword [rsp + 0x549], rax
mov qword [rsp + 0x551], rax
mov dword [rsp + 0x559], eax
mov word [rsp + 0x55d], ax
mov byte [rsp + 0x55f], al
cmp qword [rsi + 0x20], 0x10
jb 0x140076078
lea rdi, [rsi + 8]
mov r8, qword [rdi]
jmp 0x14007607f
lea rdi, [rsi + 8]
mov r8, rdi
mov edx, 0x40
lea rcx, [rsp + 0x520]
call qword [sym.imp.MSVCR90.dll_strcpy_s]
xor r11d, r11d
mov qword [rsp + 0x538], r11
mov ebx, r14d
mov r9d, r14d
lea r10, [rsp + 0x70]
nop dword [rax + rax]
mov edx, r9d
shl edx, 0x18
mov ecx, r14d
mov r8, rbp
nop dword [rax]
mov eax, ecx
xor eax, edx
bt eax, 0x1f
jae 0x1400760d4
add ecx, ecx
xor ecx, 0x4c10db7
jmp 0x1400760d6
add ecx, ecx
add edx, edx
sub r8, 1
jne 0x1400760c0
mov dword [r10], ecx
inc r9d
add r10, 4
cmp r9d, 0x100
jb 0x1400760b0
lea r9, [rsp + 0x522]
nop dword [rax]
movzx ecx, byte [r9 - 2]
mov eax, ebx
shr rax, 0x18
xor rcx, rax
shl ebx, 8
mov edx, dword [rsp + rcx*4 + 0x70]
xor edx, ebx
movzx ecx, byte [r9 - 1]
mov eax, edx
shr rax, 0x18
xor rcx, rax
shl edx, 8
mov r8d, dword [rsp + rcx*4 + 0x70]
xor r8d, edx
mov ecx, r8d
shr rcx, 0x18
movzx eax, byte [r9]
xor rcx, rax
shl r8d, 8
mov edx, dword [rsp + rcx*4 + 0x70]
xor edx, r8d
movzx ecx, byte [r9 + 1]
mov eax, edx
shr rax, 0x18
xor rcx, rax
shl edx, 8
mov ebx, dword [rsp + rcx*4 + 0x70]
xor ebx, edx
add r9, 4
sub rbp, 1
jne 0x140076100
cmp qword [rsi + 0x20], 0x10
jb 0x140076174
mov rdi, qword [rdi]
mov r8, rdi
mov edx, 0x40
lea rcx, [rsp + 0x520]
call qword [sym.imp.MSVCR90.dll_strcpy_s]
lea rcx, [rsp + 0x538]
call fcn.1400040c0
cmp eax, ebx
jne 0x140076293
mov byte [rsp + 0x5a0], 0
xor edx, edx
lea r8d, [rdx + 0x7f]
lea rcx, [rsp + 0x5a1]
call sub.MSVCR90.dll_memset
lea r8, [rsp + 0x520]
mov edx, 0x80
lea rcx, [rsp + 0x5a0]
call qword [sym.imp.MSVCR90.dll_strcpy_s]
mov byte [rsp + CDragListBox::CancelDrag], 0
mov dword [rsp + 0x38], r14d
lea r8, [rsp + 0x38]
lea rdx, [0x14008be28]
lea rcx, [rsp + 0x5a0]
call qword [sym.imp.MSVCR90.dll_sscanf]
mov ebx, dword [rsp + 0x38]
lea rcx, [rsp + 0x528]
call fcn.1400040c0
mov edi, eax
lea rcx, [rsp + 0x530]
call fcn.1400040c0
xor ebx, eax
xor edi, eax
cmp bx, 0x1e
jne 0x140076293
shr ebx, 0x10
cmp bx, 1
jne 0x140076293
cmp edi, 0x9a
je 0x140076242
lea eax, [rdi - 0x99]
cmp eax, 4
ja 0x140076293
lea rcx, [r12 + 8]
lea rdx, [rsp + 0x4c8]
call qword [sym.imp.MSVCP90.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______ptr64___cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::operator_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const____ptr64____ptr64]
nop
lea rcx, [rsp + 0x4c8]
call qword [sym.imp.MSVCP90.dll_public:_void___cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void____ptr64]
nop
lea rcx, [rsp + 0x4f0]
call qword [sym.imp.MSVCP90.dll_public:_void___cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void____ptr64]
nop
lea rcx, [rsp + 0x4a0]
call qword [sym.imp.MSVCP90.dll_public:_void___cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void____ptr64]
nop
lea rcx, [rsp + 0x470]
call qword [sym.imp.MSVCP90.dll_public:_void___cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void____ptr64]
jmp 0x1400762e2
lea rcx, [r12 + 8]
lea rdx, [0x14008ac97]
call qword [sym.imp.MSVCP90.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______ptr64___cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::operator_char_const____ptr64____ptr64]
nop
lea rcx, [rsp + 0x4c8]
call qword [sym.imp.MSVCP90.dll_public:_void___cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void____ptr64]
nop
lea rcx, [rsp + 0x4f0]
call qword [sym.imp.MSVCP90.dll_public:_void___cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void____ptr64]
nop
lea rcx, [rsp + 0x4a0]
call qword [sym.imp.MSVCP90.dll_public:_void___cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void____ptr64]
nop
lea rcx, [rsp + 0x470]
call qword [sym.imp.MSVCP90.dll_public:_void___cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void____ptr64]
nop
cmp qword [rsp + 0x58], 0
je 0x1400762f5
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rsp + 0x10a0]
xor rcx, rsp
call fcn.140077470
lea r11, [rsp + 0x10b0]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop r12
pop rdi
ret