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

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x870
mov qword [rsp + 0x70], 0xfffffffffffffffe
mov qword [rsp + 0x8c0], rbx
mov rax, qword [0x1400c2038]
xor rax, rsp
mov qword [rsp + CMemFile::Detach], rax
mov r13d, edx
mov r12, rcx
xor r14d, r14d
cmp qword [rcx + 0x20], r14
jbe 0x1400701af
lea rcx, [rsp + 0x480]
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 + 0x4a8], r14d
cmp qword [r12 + 0x28], 0x10
jb 0x14006f68e
mov rdx, qword [r12 + 0x10]
jmp 0x14006f693
lea rdx, [r12 + 0x10]
test rdx, rdx
je 0x14006f6a6
lea rcx, [rsp + 0x480]
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 r15d, 0x9a
cmp qword [rsp + 0x498], 0x20
jne 0x14006fb73
mov byte [rsp + AfxThrowResourceException], 0
xor eax, eax
mov qword [rsp + AfxThrowResourceException], rax
mov qword [rsp + 0x4e9], rax
mov qword [rsp + 0x4f1], rax
mov qword [rsp + 0x4f9], rax
mov qword [rsp + CDaoRecordset::AllocDatabase], rax
mov qword [rsp + 0x509], rax
mov qword [rsp + 0x511], rax
mov dword [rsp + COleControl::AmbientTextAlign], eax
mov word [rsp + COleControl::AmbientTextAlign], ax
mov byte [rsp + 0x51f], al
lea r8, [rsp + 0x488]
cmp qword [rsp + 0x4a0], 0x10
cmovae r8, qword [rsp + 0x488]
lea edx, [rax + 0x40]
lea rcx, [rsp + 0x4e0]
call qword [sym.imp.MSVCR90.dll_strcpy_s]
xor r11d, r11d
mov qword [rsp + 0x4f8], r11
mov ebx, r14d
mov r9d, r14d
lea r10, [rsp + 0x80]
nop word [rax + rax]
mov edx, r9d
shl edx, 0x18
mov ecx, r14d
mov r8d, 8
nop
mov eax, ecx
xor eax, edx
bt eax, 0x1f
jae 0x14006f784
add ecx, ecx
xor ecx, 0x4c10db7
jmp 0x14006f786
add ecx, ecx
add edx, edx
sub r8, 1
jne 0x14006f770
mov dword [r10], ecx
inc r9d
add r10, 4
cmp r9d, 0x100
jb 0x14006f760
lea r9, [rsp + 0x4e2]
lea r10d, [r8 + 8]
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 + 0x80]
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 + 0x80]
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 + 0x80]
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 + 0x80]
xor ebx, edx
add r9, 4
sub r10, 1
jne 0x14006f7b0
lea r8, [rsp + 0x488]
cmp qword [rsp + 0x4a0], 0x10
cmovae r8, qword [rsp + 0x488]
lea edx, [r10 + 0x40]
lea rcx, [rsp + 0x4e0]
call qword [sym.imp.MSVCR90.dll_strcpy_s]
mov byte [rsp + 0x5e0], 0
xor edx, edx
lea r8d, [rdx + 0x7f]
lea rcx, [rsp + 0x5e1]
call sub.MSVCR90.dll_memset
lea r8, [rsp + 0x4f8]
mov edx, 0x80
lea rcx, [rsp + 0x5e0]
call qword [sym.imp.MSVCR90.dll_strcpy_s]
mov byte [rsp + reloc.mfc90u.dll_CDaoTableDef::classCDaoTableDef], 0
mov dword [rsp + 0x4c], r14d
lea r8, [rsp + 0x4c]
lea rdx, [0x14008be28]
lea rcx, [rsp + 0x5e0]
call qword [sym.imp.MSVCR90.dll_sscanf]
cmp dword [rsp + 0x4c], ebx
jne 0x14006fb73
mov byte [rsp + 0x6e0], 0
xor edx, edx
lea r8d, [rdx + 0x7f]
lea rcx, [rsp + 0x6e1]
call sub.MSVCR90.dll_memset
lea r8, [rsp + 0x4e0]
mov edx, 0x80
lea rcx, [rsp + 0x6e0]
call qword [sym.imp.MSVCR90.dll_strcpy_s]
mov byte [rsp + CIPAddressCtrl::CreateEx], 0
mov dword [rsp + 0x48], r14d
lea r8, [rsp + 0x48]
lea rdx, [0x14008be28]
lea rcx, [rsp + 0x6e0]
call qword [sym.imp.MSVCR90.dll_sscanf]
mov ebx, dword [rsp + 0x48]
mov byte [rsp + 0x7e0], 0
xor edx, edx
lea r8d, [rdx + 0x7f]
lea rcx, [rsp + 0x7e1]
call sub.MSVCR90.dll_memset
lea r8, [rsp + 0x4e8]
mov edx, 0x80
lea rcx, [rsp + 0x7e0]
call qword [sym.imp.MSVCR90.dll_strcpy_s]
mov byte [rsp + 0x7e8], 0
mov dword [rsp + 0x54], r14d
lea r8, [rsp + 0x54]
lea rdx, [0x14008be28]
lea rcx, [rsp + 0x7e0]
call qword [sym.imp.MSVCR90.dll_sscanf]
mov esi, dword [rsp + 0x54]
mov byte [rsp + 0x760], 0
xor edx, edx
lea r8d, [rdx + 0x7f]
lea rcx, [rsp + 0x761]
call sub.MSVCR90.dll_memset
lea r8, [rsp + 0x4f0]
mov edx, 0x80
lea rcx, [rsp + 0x760]
call qword [sym.imp.MSVCR90.dll_strcpy_s]
mov byte [rsp + 0x768], 0
mov dword [rsp + 0x44], r14d
lea r8, [rsp + 0x44]
lea rdx, [0x14008be28]
lea rcx, [rsp + 0x760]
call qword [sym.imp.MSVCR90.dll_sscanf]
mov r11d, dword [rsp + 0x44]
xor ebx, r11d
xor esi, r11d
cmp bx, 0x1e
jne 0x14006fb73
shr ebx, 0x10
cmp bx, 1
jne 0x14006fb73
cmp esi, r15d
je 0x14006fa0e
lea eax, [rsi - 0x99]
cmp eax, 4
ja 0x14006fb73
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 + 0x488]
cmp qword [rsp + 0x4a0], 0x10
cmovae r8, qword [rsp + 0x488]
lea edx, [rax + 0x40]
lea rcx, [rsp + 0x520]
call qword [sym.imp.MSVCR90.dll_strcpy_s]
mov byte [rsp + COleServerDoc::XOleInPlaceObject::ContextSensitiveHelp], 0
xor edx, edx
lea r8d, [rdx + 0x7f]
lea rcx, [rsp + 0x661]
call sub.MSVCR90.dll_memset
lea r8, [rsp + 0x528]
mov edx, 0x80
lea rcx, [rsp + 0x660]
call qword [sym.imp.MSVCR90.dll_strcpy_s]
mov byte [rsp + 0x668], 0
mov dword [rsp + 0x58], r14d
lea r8, [rsp + 0x58]
lea rdx, [0x14008be28]
lea rcx, [rsp + 0x660]
call qword [sym.imp.MSVCR90.dll_sscanf]
mov ebx, dword [rsp + 0x58]
mov byte [rsp + 0x560], 0
xor edx, edx
lea r8d, [rdx + 0x7f]
lea rcx, [rsp + 0x561]
call sub.MSVCR90.dll_memset
lea r8, [rsp + 0x530]
mov edx, 0x80
lea rcx, [rsp + 0x560]
call qword [sym.imp.MSVCR90.dll_strcpy_s]
mov byte [rsp + COleControlSite::BindDefaultProperty], 0
mov dword [rsp + 0x38], r14d
lea r8, [rsp + 0x38]
lea rdx, [0x14008be28]
lea rcx, [rsp + 0x560]
call qword [sym.imp.MSVCR90.dll_sscanf]
xor ebx, dword [rsp + 0x38]
cmp ebx, r15d
je 0x14006fb73
cmp ebx, 0x99
jne 0x14006fb73
lea rcx, [rsp + 0x480]
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 0x1400701af
lea rdx, [0x14008ac97]
lea rcx, [rsp + 0x4b0]
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
cmp qword [r12 + 0x28], 0x10
jb 0x14006fb98
mov rbx, qword [r12 + 0x10]
jmp 0x14006fb9d
lea rbx, [r12 + 0x10]
call fcn.140007060
test rbx, rbx
jne 0x14006fbac
mov rsi, r14
jmp 0x14006fbda
lea r8, [rsp + 0x4b0]
mov rdx, rbx
mov rcx, rax
call fcn.1400070e0
mov rsi, rax
test rax, rax
je 0x14006fbda
lea rdx, [rsp + 0x4b0]
lea rcx, [r12 + 8]
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]
cmp dword [r12 + 0x30], 0
je 0x14006fc11
cmp qword [r12 + 0x28], 0x10
jb 0x14006fbf1
mov rbx, qword [r12 + 0x10]
jmp 0x14006fbf6
lea rbx, [r12 + 0x10]
call fcn.140007060
lea r8, [r12 + 0x998]
mov rdx, rbx
mov rcx, rax
call fcn.140007f30
mov rsi, rax
test rsi, rsi
je 0x140070192
cmp qword [rsi + 0x18], 0x20
jne 0x140070192
mov byte [rsp + AfxThrowResourceException], 0
xor eax, eax
mov qword [rsp + AfxThrowResourceException], rax
mov qword [rsp + 0x4e9], rax
mov qword [rsp + 0x4f1], rax
mov qword [rsp + 0x4f9], rax
mov qword [rsp + CDaoRecordset::AllocDatabase], rax
mov qword [rsp + 0x509], rax
mov qword [rsp + 0x511], rax
mov dword [rsp + COleControl::AmbientTextAlign], eax
mov word [rsp + COleControl::AmbientTextAlign], ax
mov byte [rsp + 0x51f], al
cmp qword [rsi + 0x20], 0x10
jb 0x14006fc8e
lea rbp, [rsi + 8]
mov r8, qword [rbp]
jmp 0x14006fc95
lea rbp, [rsi + 8]
mov r8, rbp
mov edx, 0x40
lea rcx, [rsp + 0x4e0]
call qword [sym.imp.MSVCR90.dll_strcpy_s]
xor r11d, r11d
mov qword [rsp + 0x4f8], r11
mov ebx, r14d
mov r9d, r14d
lea r10, [rsp + 0x80]
mov edx, r9d
shl edx, 0x18
mov ecx, r14d
mov r8d, 8
mov eax, ecx
xor eax, edx
bt eax, 0x1f
jae 0x14006fce4
add ecx, ecx
xor ecx, 0x4c10db7
jmp 0x14006fce6
add ecx, ecx
add edx, edx
sub r8, 1
jne 0x14006fcd0
mov dword [r10], ecx
inc r9d
add r10, 4
cmp r9d, 0x100
jb 0x14006fcc1
lea r9, [rsp + 0x4e2]
lea r10d, [r8 + 8]
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 + 0x80]
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 + 0x80]
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 + 0x80]
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 + 0x80]
xor ebx, edx
add r9, 4
sub r10, 1
jne 0x14006fd10
cmp qword [rsi + 0x20], 0x10
jb 0x14006fd93
mov r8, qword [rbp]
jmp 0x14006fd96
mov r8, rbp
mov edx, 0x40
lea rcx, [rsp + 0x4e0]
call qword [sym.imp.MSVCR90.dll_strcpy_s]
lea rcx, [rsp + 0x4f8]
call fcn.1400040c0
cmp eax, ebx
jne 0x140070192
mov byte [rsp + 0x560], 0
xor edx, edx
lea r8d, [rdx + 0x7f]
lea rcx, [rsp + 0x561]
call sub.MSVCR90.dll_memset
lea r8, [rsp + 0x4e0]
mov edx, 0x80
lea rcx, [rsp + 0x560]
call qword [sym.imp.MSVCR90.dll_strcpy_s]
mov byte [rsp + COleControlSite::BindDefaultProperty], 0
mov dword [rsp + 0x38], r14d
lea r8, [rsp + 0x38]
lea rdx, [0x14008be28]
lea rcx, [rsp + 0x560]
call qword [sym.imp.MSVCR90.dll_sscanf]
mov ebx, dword [rsp + 0x38]
lea rcx, [rsp + 0x4e8]
call fcn.1400040c0
mov edi, eax
lea rcx, [rsp + 0x4f0]
call fcn.1400040c0
xor ebx, eax
xor edi, eax
cmp bx, 0x1e
jne 0x140070192
shr ebx, 0x10
cmp bx, 1
jne 0x140070192
cmp edi, r15d
je 0x14006fe6a
lea eax, [rdi - 0x99]
cmp eax, 4
ja 0x140070192
cmp qword [rsi + 0x18], 0x20
jne 0x14007015a
mov byte [rsp + AfxThrowResourceException], 0
xor eax, eax
mov qword [rsp + AfxThrowResourceException], rax
mov qword [rsp + 0x4e9], rax
mov qword [rsp + 0x4f1], rax
mov qword [rsp + 0x4f9], rax
mov qword [rsp + CDaoRecordset::AllocDatabase], rax
mov qword [rsp + 0x509], rax
mov qword [rsp + 0x511], rax
mov dword [rsp + COleControl::AmbientTextAlign], eax
mov word [rsp + COleControl::AmbientTextAlign], ax
mov byte [rsp + 0x51f], al
cmp qword [rsi + 0x20], 0x10
jb 0x14006feda
mov r8, qword [rbp]
jmp 0x14006fedd
mov r8, rbp
mov edx, 0x40
lea rcx, [rsp + 0x4e0]
call qword [sym.imp.MSVCR90.dll_strcpy_s]
xor r11d, r11d
mov qword [rsp + 0x4f8], r11
mov ebx, r14d
mov r9d, r14d
lea r10, [rsp + 0x80]
nop dword [rax]
mov edx, r9d
shl edx, 0x18
mov ecx, r14d
mov r8d, 8
nop
mov eax, ecx
xor eax, edx
bt eax, 0x1f
jae 0x14006ff34
add ecx, ecx
xor ecx, 0x4c10db7
jmp 0x14006ff36
add ecx, ecx
add edx, edx
sub r8, 1
jne 0x14006ff20
mov dword [r10], ecx
inc r9d
add r10, 4
cmp r9d, 0x100
jb 0x14006ff10
lea r9, [rsp + 0x4e2]
lea r10d, [r8 + 8]
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 + 0x80]
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 + 0x80]
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 + 0x80]
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 + 0x80]
xor ebx, edx
add r9, 4
sub r10, 1
jne 0x14006ff60
cmp qword [rsi + 0x20], 0x10
jb 0x14006ffe3
mov r8, qword [rbp]
jmp 0x14006ffe6
mov r8, rbp
mov edx, 0x40
lea rcx, [rsp + 0x4e0]
call qword [sym.imp.MSVCR90.dll_strcpy_s]
lea rcx, [rsp + 0x4f8]
call fcn.1400040c0
cmp eax, ebx
jne 0x14007015a
mov byte [rsp + 0x560], 0
xor edx, edx
lea r8d, [rdx + 0x7f]
lea rcx, [rsp + 0x561]
call sub.MSVCR90.dll_memset
lea r8, [rsp + 0x4e0]
mov edx, 0x80
lea rcx, [rsp + 0x560]
call qword [sym.imp.MSVCR90.dll_strcpy_s]
mov byte [rsp + COleControlSite::BindDefaultProperty], 0
mov dword [rsp + 0x38], r14d
lea r8, [rsp + 0x38]
lea rdx, [0x14008be28]
lea rcx, [rsp + 0x560]
call qword [sym.imp.MSVCR90.dll_sscanf]
mov ebx, dword [rsp + 0x38]
lea rcx, [rsp + 0x4e8]
call fcn.1400040c0
mov edi, eax
lea rcx, [rsp + 0x4f0]
call fcn.1400040c0
xor ebx, eax
xor edi, eax
cmp bx, 0x1e
jne 0x14007015a
shr ebx, 0x10
cmp bx, 1
jne 0x14007015a
cmp edi, r15d
je 0x1400700ba
lea eax, [rdi - 0x99]
cmp eax, 4
ja 0x14007015a
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 0x14007011d
mov rbp, qword [rbp]
mov r8, rbp
mov edx, 0x40
lea rcx, [rsp + 0x520]
call qword [sym.imp.MSVCR90.dll_strcpy_s]
lea rcx, [rsp + 0x528]
call fcn.1400040c0
mov ebx, eax
lea rcx, [rsp + 0x530]
call fcn.1400040c0
xor ebx, eax
cmp ebx, r15d
cmove ebx, r15d
jmp 0x14007015f
mov ebx, 0x9e
lea rcx, [rsp + 0x4b0]
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 + 0x480]
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]
cmp ebx, 0x99
jle 0x1400701af
cmp ebx, 0x9e
jl 0x140070466
jmp 0x1400701af
lea rcx, [rsp + 0x4b0]
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 + 0x480]
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]
mov qword [rsp + 0x60], r14
mov dword [rsp + 0x68], r14d
mov edi, 1
test r13d, r13d
je 0x1400701c7
mov dword [r12], edi
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 + 0x58]
call fcn.140004960
nop
mov r9, rax
lea r8, [rsp + 0x60]
mov rdx, 0xffffffff80000002
lea rcx, [rsp + 0x40]
call fcn.14001f570
mov ebx, eax
lea rcx, [rsp + 0x58]
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 0x140070239
mov rcx, qword [rsp + 0x60]
test rcx, rcx
je 0x140070466
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x140070466
shr r13d, 0xa
test r13d, r13d
cmove r13d, edi
mov dword [rsp + 0x30], r14d
xor eax, eax
mov dword [rsp + 0x34], eax
mov dword [rsp + 0x50], 8
lea rax, [rsp + 0x50]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x30]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x38]
xor r8d, r8d
lea rdx, str.sizeKey
mov rbx, qword [rsp + 0x60]
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp dword [rsp + 0x50], 8
je 0x1400702a6
test rbx, rbx
je 0x140070466
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x140070466
mov r9d, r14d
lea r10, [rsp + 0x80]
mov edx, r9d
shl edx, 0x18
mov ecx, r14d
mov r8d, 8
mov eax, ecx
xor eax, edx
bt eax, 0x1f
jae 0x1400702d4
add ecx, ecx
xor ecx, 0x4c10db7
jmp 0x1400702d6
add ecx, ecx
add edx, edx
sub r8, 1
jne 0x1400702c0
mov dword [r10], ecx
inc r9d
add r10, 4
cmp r9d, 0x100
jb 0x1400702b1
movzx eax, byte [rsp + 0x30]
mov edx, dword [rsp + rax*4 + 0x80]
mov rcx, rdx
shr rcx, 0x18
movzx eax, byte [rsp + 0x31]
xor rcx, rax
shl edx, 8
mov r8d, dword [rsp + rcx*4 + 0x80]
xor r8d, edx
mov ecx, r8d
shr rcx, 0x18
movzx eax, byte [rsp + 0x32]
xor rcx, rax
shl r8d, 8
mov edx, dword [rsp + rcx*4 + 0x80]
xor edx, r8d
mov ecx, edx
shr rcx, 0x18
movzx eax, byte [rsp + 0x33]
xor rcx, rax
shl edx, 8
mov eax, dword [rsp + rcx*4 + 0x80]
xor eax, edx
cmp eax, dword [rsp + 0x34]
jne 0x140070427
mov eax, dword [rsp + 0x30]
cmp eax, r13d
jbe 0x140070427
sub eax, r13d
mov dword [rsp + 0x30], eax
mov r9d, r14d
lea r10, [rsp + 0x80]
nop word [rax + rax]
mov edx, r9d
shl edx, 0x18
mov ecx, r14d
mov r8d, 8
nop
mov eax, ecx
xor eax, edx
bt eax, 0x1f
jae 0x1400703a4
add ecx, ecx
xor ecx, 0x4c10db7
jmp 0x1400703a6
add ecx, ecx
add edx, edx
sub r8, 1
jne 0x140070390
mov dword [r10], ecx
inc r9d
add r10, 4
cmp r9d, 0x100
jb 0x140070380
movzx eax, byte [rsp + 0x30]
mov edx, dword [rsp + rax*4 + 0x80]
mov rcx, rdx
shr rcx, 0x18
movzx eax, byte [rsp + 0x31]
xor rcx, rax
shl edx, 8
mov r8d, dword [rsp + rcx*4 + 0x80]
xor r8d, edx
mov ecx, r8d
shr rcx, 0x18
movzx eax, byte [rsp + 0x32]
xor rcx, rax
shl r8d, 8
mov edx, dword [rsp + rcx*4 + 0x80]
xor edx, r8d
mov ecx, edx
shr rcx, 0x18
movzx eax, byte [rsp + 0x33]
xor rcx, rax
shl edx, 8
mov eax, dword [rsp + rcx*4 + 0x80]
xor eax, edx
mov dword [rsp + 0x34], eax
jmp 0x14007042c
mov qword [rsp + 0x30], r14
mov dword [rsp + 0x28], 8
lea rax, [rsp + 0x30]
mov qword [rsp + 0x20], rax
mov r9d, 3
xor r8d, r8d
lea rdx, str.sizeKey
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
nop
test rbx, rbx
je 0x140070466
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rsp + 0x860]
xor rcx, rsp
call fcn.140077470
mov rbx, qword [rsp + 0x8c0]
add rsp, 0x870
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret