Function at 0x140020690
Capabilities:
Persist via default file association registry key
Persist via filter handlers registry key
Set registry value

Disassembly:
mov rax, rsp
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0x100
mov qword [rbp - 0x59], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x1400c0140]
xor rax, rsp
mov qword [rbp + 0x27], rax
mov rsi, rcx
mov qword [rbp - 0x39], 7
xor r12d, r12d
mov qword [rbp - 0x41], r12
mov word [rbp - 0x51], r12w
lea rax, [rbp - 0x79]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
lea rdx, str.SoftwareClasses.exe
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov ebx, eax
mov rcx, qword [rbp - 0x79]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea r13, str.exefile
lea r14d, [r12 + 4]
test ebx, ebx
je 0x1400207ff
mov qword [rsp + 0x40], r12
lea rax, [rbp - 0x79]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], r12
mov dword [rsp + 0x28], 0xf013f
mov dword [rsp + 0x20], r12d
xor r9d, r9d
xor r8d, r8d
lea rdx, str.SoftwareClasses.exe
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x14002079b
mov edx, 0x1000
mov rcx, r13
call fcn.140066080
lea ecx, [rax + rax + 2]
mov dword [rsp + 0x28], ecx
mov qword [rsp + 0x20], r13
lea r9d, [r12 + 1]
xor r8d, r8d
lea rdx, [0x14008db30]
mov rcx, qword [rbp - 0x79]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x1400207a5
mov rcx, qword [rbp - 0x79]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rdx, str.___HKLMSoftwareClasses.exe_did_not_exist_and_was_recreated__r_n_r_n
mov rcx, rsi
call fcn.140018560
mov rdi, rax
mov ebx, r12d
mov rcx, qword [rax]
movsxd rcx, dword [rcx + 4]
test byte [rcx + rax + 0x10], 6
jne 0x1400207da
mov rcx, qword [rcx + rax + 0x48]
mov rdx, qword [rcx]
call qword [rdx + 0x68]
cmp eax, 0xffffffff
cmove ebx, r14d
mov rax, qword [rdi]
movsxd rcx, dword [rax + 4]
add rcx, rdi
test ebx, ebx
je 0x1400207ff
mov edx, dword [rcx + 0x10]
or edx, ebx
cmp qword [rcx + 0x48], 0
jne 0x1400207f7
or edx, r14d
xor r8d, r8d
call fcn.140003090
mov qword [rsp + 0x40], r12
lea rax, [rbp - 0x79]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], r12
mov dword [rsp + 0x28], 0xf013f
mov dword [rsp + 0x20], r12d
xor r9d, r9d
xor r8d, r8d
lea rdx, str.SoftwareClasses.exePersistentHandler
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
lea rbx, str.098f2470_bae0_11cd_b579_08002b30bfeb
test eax, eax
jne 0x14002087c
mov edx, 0x1000
mov rcx, rbx
call fcn.140066080
lea ecx, [rax + rax + 2]
mov dword [rsp + 0x28], ecx
mov qword [rsp + 0x20], rbx
mov r9d, 1
xor r8d, r8d
lea rdx, [0x14008db30]
mov rcx, qword [rbp - 0x79]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x140020886
mov rcx, qword [rbp - 0x79]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rsp + 0x40], r12
lea rax, [rbp - 0x79]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], r12
mov dword [rsp + 0x28], 0xf013f
mov dword [rsp + 0x20], r12d
xor r9d, r9d
xor r8d, r8d
lea rdx, str.SoftwareClasses.exe
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x140020903
mov edx, 0x1000
lea rbx, str.application_x_msdownload
mov rcx, rbx
call fcn.140066080
lea ecx, [rax + rax + 2]
mov dword [rsp + 0x28], ecx
mov qword [rsp + 0x20], rbx
mov r9d, 1
xor r8d, r8d
lea rdx, str.Content_Type
mov rcx, qword [rbp - 0x79]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x14002090d
mov rcx, qword [rbp - 0x79]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea r9, [0x14008db30]
lea r8, str.SoftwareClasses.exe
mov rdx, 0xffffffff80000002
lea rcx, [rbp - 0x29]
call fcn.14001e270
mov rbx, rax
lea rax, [rbp - 0x51]
cmp rax, rbx
je 0x1400209a1
cmp qword [rbp - 0x39], 8
jb 0x140020947
mov rcx, qword [rbp - 0x51]
call fcn.140063290
mov qword [rbp - 0x39], 7
mov qword [rbp - 0x41], r12
mov word [rbp - 0x51], r12w
cmp qword [rbx + 0x18], 8
jae 0x140020977
mov r8, qword [rbx + 0x10]
inc r8
add r8, r8
mov rdx, rbx
lea rcx, [rbp - 0x51]
call fcn.1400632b0
jmp 0x140020981
mov rax, qword [rbx]
mov qword [rbp - 0x51], rax
mov qword [rbx], r12
mov rax, qword [rbx + 0x10]
mov qword [rbp - 0x41], rax
mov rax, qword [rbx + 0x18]
mov qword [rbp - 0x39], rax
mov qword [rbx + 0x18], 7
mov qword [rbx + 0x10], r12
mov word [rbx], r12w
cmp qword [rbp - 0x11], 8
jb 0x1400209b1
mov rcx, qword [rbp - 0x29]
call fcn.140063290
mov r9d, 1
mov r8, r13
lea rdx, [0x14008db30]
lea rcx, str.SoftwareClasses.exe
call fcn.14001e130
test eax, eax
je 0x140020aa4
lea rdx, str.___HKLMSoftwareClasses.exe_____has_been_changed_to
mov rcx, rsi
call fcn.140018560
mov rcx, rax
lea rdx, [rbp - 0x51]
call fcn.1400187c0
mov rcx, rax
lea rdx, [0x140093f34]
call fcn.140018f30
mov rdi, rax
mov ebx, r12d
mov rcx, qword [rax]
movsxd rcx, dword [rcx + 4]
test byte [rcx + rax + 0x10], 6
jne 0x140020a25
mov rcx, qword [rcx + rax + 0x48]
mov rdx, qword [rcx]
call qword [rdx + 0x68]
cmp eax, 0xffffffff
cmove ebx, r14d
mov rax, qword [rdi]
movsxd rcx, dword [rax + 4]
add rcx, rdi
test ebx, ebx
je 0x140020a4a
mov edx, dword [rcx + 0x10]
or edx, ebx
cmp qword [rcx + 0x48], 0
jne 0x140020a42
or edx, 4
xor r8d, r8d
call fcn.140003090
lea rdx, str.___HKLMSoftwareClasses.exe_____was_reset_to_exefile__r_n_r_n
mov rcx, rsi
call fcn.140018560
mov rdi, rax
mov ebx, r12d
mov rcx, qword [rax]
movsxd rcx, dword [rcx + 4]
test byte [rcx + rax + 0x10], 6
jne 0x140020a7f
mov rcx, qword [rcx + rax + 0x48]
mov rdx, qword [rcx]
call qword [rdx + 0x68]
cmp eax, 0xffffffff
cmove ebx, r14d
mov rax, qword [rdi]
movsxd rcx, dword [rax + 4]
add rcx, rdi
test ebx, ebx
je 0x140020aa4
mov edx, dword [rcx + 0x10]
or edx, ebx
cmp qword [rcx + 0x48], 0
jne 0x140020a9c
or edx, 4
xor r8d, r8d
call fcn.140003090
lea rdx, str.SoftwareClasses.exe_shell
mov rcx, 0xffffffff80000002
call fcn.14001dea0
test eax, eax
je 0x140020b15
lea rdx, str.___HKLMSoftwareClasses.exe_shell_found_and_deleted__r_n_r_n
mov rcx, rsi
call fcn.140018560
mov rdi, rax
mov ebx, r12d
mov rcx, qword [rax]
movsxd rcx, dword [rcx + 4]
test byte [rcx + rax + 0x10], 6
jne 0x140020af0
mov rcx, qword [rcx + rax + 0x48]
mov rdx, qword [rcx]
call qword [rdx + 0x68]
cmp eax, 0xffffffff
cmove ebx, r14d
mov rax, qword [rdi]
movsxd rcx, dword [rax + 4]
add rcx, rdi
test ebx, ebx
je 0x140020b15
mov edx, dword [rcx + 0x10]
or edx, ebx
cmp qword [rcx + 0x48], 0
jne 0x140020b0d
or edx, 4
xor r8d, r8d
call fcn.140003090
lea rdx, str.SoftwareClasses.exeDefaultIcon
mov rcx, 0xffffffff80000002
call fcn.14001dea0
test eax, eax
je 0x140020b86
lea rdx, str.___HKLMSoftwareClasses.exeDefaultIcon_found_and_deleted__r_n_r_n
mov rcx, rsi
call fcn.140018560
mov rdi, rax
mov ebx, r12d
mov rcx, qword [rax]
movsxd rcx, dword [rcx + 4]
test byte [rcx + rax + 0x10], 6
jne 0x140020b61
mov rcx, qword [rcx + rax + 0x48]
mov rdx, qword [rcx]
call qword [rdx + 0x68]
cmp eax, 0xffffffff
cmove ebx, r14d
mov rax, qword [rdi]
movsxd rcx, dword [rax + 4]
add rcx, rdi
test ebx, ebx
je 0x140020b86
mov edx, dword [rcx + 0x10]
or edx, ebx
cmp qword [rcx + 0x48], 0
jne 0x140020b7e
or edx, 4
xor r8d, r8d
call fcn.140003090
lea rax, [rbp - 0x79]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
lea rdx, str.SoftwareClassesexefile
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov ebx, eax
mov rcx, qword [rbp - 0x79]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea r13, str.__1___
test ebx, ebx
je 0x140020e21
mov qword [rsp + 0x40], r12
lea rax, [rbp - 0x79]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], r12
mov dword [rsp + 0x28], 0xf013f
mov dword [rsp + 0x20], r12d
xor r9d, r9d
xor r8d, r8d
lea rdx, str.SoftwareClassesexefile_shellopencommand
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x140020c3d
mov edx, 0x1000
mov rcx, r13
call fcn.140066080
lea ecx, [rax + rax + 2]
mov dword [rsp + 0x28], ecx
mov qword [rsp + 0x20], r13
mov r9d, 1
xor r8d, r8d
lea rdx, [0x14008db30]
mov rcx, qword [rbp - 0x79]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x140020c47
mov rcx, qword [rbp - 0x79]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rsp + 0x40], r12
lea rax, [rbp - 0x79]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], r12
mov dword [rsp + 0x28], 0xf013f
mov dword [rsp + 0x20], r12d
xor r9d, r9d
xor r8d, r8d
lea rdx, str.SoftwareClassesexefile_shellopencommand
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x140020cbd
mov edx, 0x1000
mov rcx, r13
call fcn.140066080
lea ecx, [rax + rax + 2]
mov dword [rsp + 0x28], ecx
mov qword [rsp + 0x20], r13
mov r9d, 1
xor r8d, r8d
lea rdx, str.IsolatedCommand
mov rcx, qword [rbp - 0x79]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x140020cc7
mov rcx, qword [rbp - 0x79]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rsp + 0x40], r12
lea rax, [rbp - 0x79]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], r12
mov dword [rsp + 0x28], 0xf013f
mov dword [rsp + 0x20], r12d
xor r9d, r9d
xor r8d, r8d
lea rdx, str.SoftwareClassesexefile_shell_runascommand
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x140020d3d
mov edx, 0x1000
mov rcx, r13
call fcn.140066080
lea ecx, [rax + rax + 2]
mov dword [rsp + 0x28], ecx
mov qword [rsp + 0x20], r13
mov r9d, 1
xor r8d, r8d
lea rdx, [0x14008db30]
mov rcx, qword [rbp - 0x79]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x140020d47
mov rcx, qword [rbp - 0x79]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rsp + 0x40], r12
lea rax, [rbp - 0x79]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], r12
mov dword [rsp + 0x28], 0xf013f
mov dword [rsp + 0x20], r12d
xor r9d, r9d
xor r8d, r8d
lea rdx, str.SoftwareClassesexefile_shell_runascommand
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x140020dbd
mov edx, 0x1000
mov rcx, r13
call fcn.140066080
lea ecx, [rax + rax + 2]
mov dword [rsp + 0x28], ecx
mov qword [rsp + 0x20], r13
mov r9d, 1
xor r8d, r8d
lea rdx, str.IsolatedCommand
mov rcx, qword [rbp - 0x79]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x140020dc7
mov rcx, qword [rbp - 0x79]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rdx, str.___HKLMSoftwareClassesexefile_did_not_exist_and_was_recreated__r_n_r_n
mov rcx, rsi
call fcn.140018560
mov rdi, rax
mov ebx, r12d
mov rcx, qword [rax]
movsxd rcx, dword [rcx + 4]
test byte [rcx + rax + 0x10], 6
jne 0x140020dfc
mov rcx, qword [rcx + rax + 0x48]
mov rdx, qword [rcx]
call qword [rdx + 0x68]
cmp eax, 0xffffffff
cmove ebx, r14d
mov rax, qword [rdi]
movsxd rcx, dword [rax + 4]
add rcx, rdi
test ebx, ebx
je 0x140020e21
mov edx, dword [rcx + 0x10]
or edx, ebx
cmp qword [rcx + 0x48], 0
jne 0x140020e19
or edx, 4
xor r8d, r8d
call fcn.140003090
mov qword [rsp + 0x40], r12
lea rax, [rbp - 0x79]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], r12
mov dword [rsp + 0x28], 0xf013f
mov dword [rsp + 0x20], r12d
xor r9d, r9d
xor r8d, r8d
lea rdx, str.SoftwareClassesexefile
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x140020e9e
mov edx, 0x1000
lea rbx, str.Application
mov rcx, rbx
call fcn.140066080
lea ecx, [rax + rax + 2]
mov dword [rsp + 0x28], ecx
mov qword [rsp + 0x20], rbx
mov r9d, 1
xor r8d, r8d
lea rdx, [0x14008db30]
mov rcx, qword [rbp - 0x79]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x140020ea8
mov rcx, qword [rbp - 0x79]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [rbp - 0x69], 0x738
mov dword [rbp - 0x6d], 0
mov qword [rsp + 0x40], r12
lea rax, [rbp - 0x79]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], r12
mov dword [rsp + 0x28], 0xf013f
mov dword [rsp + 0x20], r12d
xor r9d, r9d
xor r8d, r8d
lea rdx, str.SoftwareClassesexefile
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov rcx, qword [rbp - 0x79]
test eax, eax
jne 0x140020f24
mov dword [rsp + 0x28], r14d
lea rax, [rbp - 0x69]
mov qword [rsp + 0x20], rax
mov r9d, 3
xor r8d, r8d
lea rdx, str.EditFlags
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x140020f2a
mov rcx, qword [rbp - 0x79]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rsp + 0x40], r12
lea rax, [rbp - 0x79]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], r12
mov dword [rsp + 0x28], 0xf013f
mov dword [rsp + 0x20], r12d
xor r9d, r9d
xor r8d, r8d
lea rdx, str.SoftwareClassesexefile_shellopen
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov rcx, qword [rbp - 0x79]
test eax, eax
jne 0x140020f98
mov dword [rsp + 0x28], r14d
lea rax, [rbp - 0x6d]
mov qword [rsp + 0x20], rax
mov r9d, 3
xor r8d, r8d
lea rdx, str.EditFlags
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x140020f9e
mov rcx, qword [rbp - 0x79]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rsp + 0x40], r12
lea rax, [rbp - 0x79]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], r12
mov dword [rsp + 0x28], 0xf013f
mov dword [rsp + 0x20], r12d
xor r9d, r9d
xor r8d, r8d
lea rdx, str.SoftwareClassesexefileDefaultIcon
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x14002101b
mov edx, 0x1000
lea rbx, [0x1400943d8]
mov rcx, rbx
call fcn.140066080
lea ecx, [rax + rax + 2]
mov dword [rsp + 0x28], ecx
mov qword [rsp + 0x20], rbx
mov r9d, 1
xor r8d, r8d
lea rdx, [0x14008db30]
mov rcx, qword [rbp - 0x79]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x140021025
mov rcx, qword [rbp - 0x79]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rsp + 0x40], r12
lea rax, [rbp - 0x79]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], r12
mov dword [rsp + 0x28], 0xf013f
mov dword [rsp + 0x20], r12d
xor r9d, r9d
xor r8d, r8d
lea rdx, str.SoftwareClassesexefile
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x1400210a2
mov edx, 0x1000
lea rbx, str.__SystemRoot_System32_shell32.dll__10156
mov rcx, rbx
call fcn.140066080
lea ecx, [rax + rax + 2]
mov dword [rsp + 0x28], ecx
mov qword [rsp + 0x20], rbx
mov r9d, 2
xor r8d, r8d
lea rdx, str.FriendlyTypeName
mov rcx, qword [rbp - 0x79]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x1400210ac
mov rcx, qword [rbp - 0x79]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rsp + 0x40], r12
lea rax, [rbp - 0x79]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], r12
mov dword [rsp + 0x28], 0xf013f
mov dword [rsp + 0x20], r12d
xor r9d, r9d
xor r8d, r8d
lea rdx, str.SoftwareClassesexefile_shellexDropHandler
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
lea rbx, str.86C86720_42A0_1069_A2E8_08002B30309D
test eax, eax
jne 0x140021129
mov edx, 0x1000
mov rcx, rbx
call fcn.140066080
lea ecx, [rax + rax + 2]
mov dword [rsp + 0x28], ecx
mov qword [rsp + 0x20], rbx
mov r9d, 1
xor r8d, r8d
lea rdx, [0x14008db30]
mov rcx, qword [rbp - 0x79]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x140021133
mov rcx, qword [rbp - 0x79]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rsp + 0x40], r12
lea rax, [rbp - 0x79]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], r12
mov dword [rsp + 0x28], 0xf013f
mov dword [rsp + 0x20], r12d
xor r9d, r9d
xor r8d, r8d
lea rdx, str.SoftwareClassesexefile_shellexPropertySheetHandlersShimLayer_Property_Page
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
lea rbx, str.513D916F_2A8E_4F51_AEAB_0CBC76FB1AF8
test eax, eax
jne 0x1400211b0
mov edx, 0x1000
mov rcx, rbx
call fcn.140066080
lea ecx, [rax + rax + 2]
mov dword [rsp + 0x28], ecx
mov qword [rsp + 0x20], rbx
mov r9d, 1
xor r8d, r8d
lea rdx, [0x14008db30]
mov rcx, qword [rbp - 0x79]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x1400211ba
mov rcx, qword [rbp - 0x79]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov r9d, 1
mov r8, r13
lea rdx, [0x14008db30]
lea rcx, str.SoftwareClassesexefile_shellopencommand
call fcn.14001e130
test eax, eax
je 0x140021234
lea rdx, str.___HKLMSoftwareClassesexefile_shellopencommand_____was_changed._It_was_reset_to___1_____r_n_r_n
mov rcx, rsi
call fcn.140018560
mov rdi, rax
mov ebx, r12d
mov rcx, qword [rax]
movsxd rcx, dword [rcx + 4]
test byte [rcx + rax + 0x10], 6
jne 0x14002120f
mov rcx, qword [rcx + rax + 0x48]
mov rdx, qword [rcx]
call qword [rdx + 0x68]
cmp eax, 0xffffffff
cmove ebx, r14d
mov rax, qword [rdi]
movsxd rcx, dword [rax + 4]
add rcx, rdi
test ebx, ebx
je 0x140021234
mov edx, dword [rcx + 0x10]
or edx, ebx
cmp qword [rcx + 0x48], 0
jne 0x14002122c
or edx, 4
xor r8d, r8d
call fcn.140003090
mov r9d, 1
mov r8, r13
lea rdx, str.IsolatedCommand
lea rcx, str.SoftwareClassesexefile_shellopencommand
call fcn.14001e130
test eax, eax
je 0x1400212ae
lea rdx, str.___HKLMSoftwareClassesexefile_shellopencommandIsolatedCommand_was_changed._It_was_reset_to___1_____r_n_r_n
mov rcx, rsi
call fcn.140018560
mov rdi, rax
mov ebx, r12d
mov rcx, qword [rax]
movsxd rcx, dword [rcx + 4]
test byte [rcx + rax + 0x10], 6
jne 0x140021289
mov rcx, qword [rcx + rax + 0x48]
mov rdx, qword [rcx]
call qword [rdx + 0x68]
cmp eax, 0xffffffff
cmove ebx, r14d
mov rax, qword [rdi]
movsxd rcx, dword [rax + 4]
add rcx, rdi
test ebx, ebx
je 0x1400212ae
mov edx, dword [rcx + 0x10]
or edx, ebx
cmp qword [rcx + 0x48], 0
jne 0x1400212a6
or edx, 4
xor r8d, r8d
call fcn.140003090
mov r9d, 1
mov r8, r13
lea rdx, [0x14008db30]
lea rcx, str.SoftwareClassesexefile_shell_runascommand
call fcn.14001e130
test eax, eax
je 0x140021328
lea rdx, str.___HKLMSoftwareClassesexefile_shell_runascommand_____was_changed._It_was_reset_to___1_____r_n_r_n
mov rcx, rsi
call fcn.140018560
mov rdi, rax
mov ebx, r12d
mov rcx, qword [rax]
movsxd rcx, dword [rcx + 4]
test byte [rcx + rax + 0x10], 6
jne 0x140021303
mov rcx, qword [rcx + rax + 0x48]
mov rdx, qword [rcx]
call qword [rdx + 0x68]
cmp eax, 0xffffffff
cmove ebx, r14d
mov rax, qword [rdi]
movsxd rcx, dword [rax + 4]
add rcx, rdi
test ebx, ebx
je 0x140021328
or ebx, dword [rcx + 0x10]
cmp qword [rcx + 0x48], 0
jne 0x14002131e
or ebx, 4
xor r8d, r8d
mov edx, ebx
call fcn.140003090
mov r9d, 1
mov r8, r13
lea rdx, str.IsolatedCommand
lea rcx, str.SoftwareClassesexefile_shell_runascommand
call fcn.14001e130
test eax, eax
je 0x1400213a2
lea rdx, str.___HKLMSoftwareClassesexefile_shell_runascommandIsolatedCommand_was_changed._It_was_reset_to___1_____r_n_r_n
mov rcx, rsi
call fcn.140018560
mov rdi, rax
mov ebx, r12d
mov rcx, qword [rax]
movsxd rcx, dword [rcx + 4]
test byte [rcx + rax + 0x10], 6
jne 0x14002137d
mov rcx, qword [rcx + rax + 0x48]
mov rdx, qword [rcx]
call qword [rdx + 0x68]
cmp eax, 0xffffffff
cmove ebx, r14d
mov rax, qword [rdi]
movsxd rcx, dword [rax + 4]
add rcx, rdi
test ebx, ebx
je 0x1400213a2
mov edx, dword [rcx + 0x10]
or edx, ebx
cmp qword [rcx + 0x48], 0
jne 0x14002139a
or edx, 4
xor r8d, r8d
call fcn.140003090
lea rax, [rbp - 0x79]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
lea rdx, str.SOFTWAREClasses.exe
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov ebx, eax
mov rcx, qword [rbp - 0x79]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test ebx, ebx
jne 0x14002165c
mov qword [rbp - 0x41], r12
lea rax, [rbp - 0x51]
cmp qword [rbp - 0x39], 8
cmovae rax, qword [rbp - 0x51]
mov word [rax], r12w
lea r9, [0x14008db30]
lea r8, str.SOFTWAREClasses.exe
mov rdx, 0xffffffff80000001
lea rcx, [rbp - 1]
call fcn.14001e270
mov rbx, rax
lea rax, [rbp - 0x51]
cmp rax, rbx
je 0x140021486
cmp qword [rbp - 0x39], 8
jb 0x14002142c
mov rcx, qword [rbp - 0x51]
call fcn.140063290
mov qword [rbp - 0x39], 7
mov qword [rbp - 0x41], r12
mov word [rbp - 0x51], r12w
cmp qword [rbx + 0x18], 8
jae 0x14002145c
mov r8, qword [rbx + 0x10]
inc r8
add r8, r8
mov rdx, rbx
lea rcx, [rbp - 0x51]
call fcn.1400632b0
jmp 0x140021466
mov rax, qword [rbx]
mov qword [rbp - 0x51], rax
mov qword [rbx], r12
mov rax, qword [rbx + 0x10]
mov qword [rbp - 0x41], rax
mov rax, qword [rbx + 0x18]
mov qword [rbp - 0x39], rax
mov qword [rbx + 0x18], 7
mov qword [rbx + 0x10], r12
mov word [rbx], r12w
cmp qword [rbp + 0x17], 8
jb 0x140021496
mov rcx, qword [rbp - 1]
call fcn.140063290
lea rdx, str.___HKCUSOFTWAREClasses.exe_____exists_and_is_set_to
mov rcx, rsi
call fcn.140018560
mov rcx, rax
lea rdx, [rbp - 0x51]
call fcn.1400187c0
mov rcx, rax
lea rdx, [0x140093f34]
call fcn.140018f30
mov rdi, rax
mov ebx, r12d
mov rcx, qword [rax]
movsxd rcx, dword [rcx + 4]
test byte [rcx + rax + 0x10], 6
jne 0x1400214e6
mov rcx, qword [rcx + rax + 0x48]
mov rdx, qword [rcx]
call qword [rdx + 0x68]
cmp eax, 0xffffffff
cmove ebx, r14d
mov rax, qword [rdi]
movsxd rcx, dword [rax + 4]
add rcx, rdi
test ebx, ebx
je 0x14002150b
mov edx, dword [rcx + 0x10]
or edx, ebx
cmp qword [rcx + 0x48], 0
jne 0x140021503
or edx, 4
xor r8d, r8d
call fcn.140003090
lea rdx, str.SOFTWAREClasses.exe
mov rcx, 0xffffffff80000001
call fcn.14001dea0
test eax, eax
je 0x14002157c
lea rdx, str.___HKCUSOFTWAREClasses.exe_has_been_deleted__r_n
mov rcx, rsi
call fcn.140018560
mov rdi, rax
mov ebx, r12d
mov rcx, qword [rax]
movsxd rcx, dword [rcx + 4]
test byte [rcx + rax + 0x10], 6
jne 0x140021557
mov rcx, qword [rcx + rax + 0x48]
mov rdx, qword [rcx]
call qword [rdx + 0x68]
cmp eax, 0xffffffff
cmove ebx, r14d
mov rax, qword [rdi]
movsxd rcx, dword [rax + 4]
add rcx, rdi
test ebx, ebx
je 0x14002157c
mov edx, dword [rcx + 0x10]
or edx, ebx
cmp qword [rcx + 0x48], 0
jne 0x140021574
or edx, 4
xor r8d, r8d
call fcn.140003090
mov qword [rbp - 0x11], 7
mov qword [rbp - 0x19], r12
mov word [rbp - 0x29], r12w
mov r8d, 0x11
lea rdx, str.SOFTWAREClasses_
lea rcx, [rbp - 0x29]
call fcn.140001780
nop
or r9, 0xffffffffffffffff
xor r8d, r8d
lea rdx, [rbp - 0x51]
lea rcx, [rbp - 0x29]
call fcn.1400158d0
lea rdx, [rbp - 0x29]
cmp qword [rbp - 0x11], 8
cmovae rdx, qword [rbp - 0x29]
mov rcx, 0xffffffff80000001
call fcn.14001dea0
test eax, eax
je 0x14002164c
lea rdx, str.___HKCUSOFTWAREClasses_
mov rcx, rsi
call fcn.140018560
mov rcx, rax
lea rdx, [rbp - 0x51]
call fcn.1400187c0
mov rcx, rax
lea rdx, str._has_been_deleted__r_n_r_n
call fcn.140018560
mov rdi, rax
mov ebx, r12d
mov rcx, qword [rax]
movsxd rcx, dword [rcx + 4]
test byte [rcx + rax + 0x10], 6
jne 0x140021626
mov rcx, qword [rcx + rax + 0x48]
mov rdx, qword [rcx]
call qword [rdx + 0x68]
cmp eax, 0xffffffff
cmove ebx, r14d
mov rax, qword [rdi]
movsxd rcx, dword [rax + 4]
add rcx, rdi
test ebx, ebx
je 0x14002164c
mov edx, dword [rcx + 0x10]
or edx, ebx
cmp qword [rcx + 0x48], 0
jne 0x140021643
or edx, 4
xor r8d, r8d
call fcn.140003090
nop
cmp qword [rbp - 0x11], 8
jb 0x14002165c
mov rcx, qword [rbp - 0x29]
call fcn.140063290
lea rax, [rbp - 0x79]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
lea rdx, str.SoftwareClasses.bat
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov ebx, eax
mov rcx, qword [rbp - 0x79]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea r13, str.batfile
test ebx, ebx
je 0x140021777
mov qword [rsp + 0x40], r12
lea rax, [rbp - 0x79]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], r12
mov dword [rsp + 0x28], 0xf013f
mov dword [rsp + 0x20], r12d
xor r9d, r9d
xor r8d, r8d
lea rdx, str.SoftwareClasses.bat
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x140021713
mov edx, 0x1000
mov rcx, r13
call fcn.140066080
lea ecx, [rax + rax + 2]
mov dword [rsp + 0x28], ecx
mov qword [rsp + 0x20], r13
mov r9d, 1
xor r8d, r8d
lea rdx, [0x14008db30]
mov rcx, qword [rbp - 0x79]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x14002171d
mov rcx, qword [rbp - 0x79]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rdx, str.___HKLMSoftwareClasses.bat_did_not_exist_and_was_recreated__r_n_r_n
mov rcx, rsi
call fcn.140018560
mov rdi, rax
mov ebx, r12d
mov rcx, qword [rax]
movsxd rcx, dword [rcx + 4]
test byte [rcx + rax + 0x10], 6
jne 0x140021752
mov rcx, qword [rcx + rax + 0x48]
mov rdx, qword [rcx]
call qword [rdx + 0x68]
cmp eax, 0xffffffff
cmove ebx, r14d
mov rax, qword [rdi]
movsxd rcx, dword [rax + 4]
add rcx, rdi
test ebx, ebx
je 0x140021777
mov edx, dword [rcx + 0x10]
or edx, ebx
cmp qword [rcx + 0x48], 0
jne 0x14002176f
or edx, 4
xor r8d, r8d
call fcn.140003090
mov qword [rbp - 0x41], r12
lea rax, [rbp - 0x51]
cmp qword [rbp - 0x39], 8
cmovae rax, qword [rbp - 0x51]
mov word [rax], r12w
lea r9, [0x14008db30]
lea r8, str.SoftwareClasses.bat
mov rdx, 0xffffffff80000002
lea rcx, [rbp - 1]
call fcn.14001e270
mov rbx, rax
lea rax, [rbp - 0x51]
cmp rax, rbx
je 0x140021821
cmp qword [rbp - 0x39], 8
jb 0x1400217c7
mov rcx, qword [rbp - 0x51]
call fcn.140063290
mov qword [rbp - 0x39], 7
mov qword [rbp - 0x41], r12
mov word [rbp - 0x51], r12w
cmp qword [rbx + 0x18], 8
jae 0x1400217f7
mov r8, qword [rbx + 0x10]
inc r8
add r8, r8
mov rdx, rbx
lea rcx, [rbp - 0x51]
call fcn.1400632b0
jmp 0x140021801
mov rax, qword [rbx]
mov qword [rbp - 0x51], rax
mov qword [rbx], r12
mov rax, qword [rbx + 0x10]
mov qword [rbp - 0x41], rax
mov rax, qword [rbx + 0x18]
mov qword [rbp - 0x39], rax
mov qword [rbx + 0x18], 7
mov qword [rbx + 0x10], r12
mov word [rbx], r12w
cmp qword [rbp + 0x17], 8
jb 0x140021831
mov rcx, qword [rbp - 1]
call fcn.140063290
mov r9d, 1
mov r8, r13
lea rdx, [0x14008db30]
lea rcx, str.SoftwareClasses.bat
call fcn.14001e130
test eax, eax
je 0x140021924
lea rdx, str.___HKLMSoftwareClasses.bat_____was_changed_to
mov rcx, rsi
call fcn.140018560
mov rcx, rax
lea rdx, [rbp - 0x51]
call fcn.1400187c0
mov rcx, rax
lea rdx, [0x140093f34]
call fcn.140018f30
mov rdi, rax
mov ebx, r12d
mov rcx, qword [rax]
movsxd rcx, dword [rcx + 4]
test byte [rcx + rax + 0x10], 6
jne 0x1400218a5
mov rcx, qword [rcx + rax + 0x48]
mov rdx, qword [rcx]
call qword [rdx + 0x68]
cmp eax, 0xffffffff
cmove ebx, r14d
mov rax, qword [rdi]
movsxd rcx, dword [rax + 4]
add rcx, rdi
test ebx, ebx
je 0x1400218ca
mov edx, dword [rcx + 0x10]
or edx, ebx
cmp qword [rcx + 0x48], 0
jne 0x1400218c2
or edx, 4
xor r8d, r8d
call fcn.140003090
lea rdx, str.___HKLMSoftwareClasses.bat_____was_reset_to_batfile__r_n_r_n
mov rcx, rsi
call fcn.140018560
mov rdi, rax
mov ebx, r12d
mov rcx, qword [rax]
movsxd rcx, dword [rcx + 4]
test byte [rcx + rax + 0x10], 6
jne 0x1400218ff
mov rcx, qword [rcx + rax + 0x48]
mov rdx, qword [rcx]
call qword [rdx + 0x68]
cmp eax, 0xffffffff
cmove ebx, r14d
mov rax, qword [rdi]
movsxd rcx, dword [rax + 4]
add rcx, rdi
test ebx, ebx
je 0x140021924
mov edx, dword [rcx + 0x10]
or edx, ebx
cmp qword [rcx + 0x48], 0
jne 0x14002191c
or edx, 4
xor r8d, r8d
call fcn.140003090
mov qword [rsp + 0x40], r12
lea rax, [rbp - 0x79]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], r12
mov dword [rsp + 0x28], 0xf013f
mov dword [rsp + 0x20], r12d
xor r9d, r9d
xor r8d, r8d
lea rdx, str.SoftwareClasses.batPersistentHandler_
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x1400219a1
mov edx, 0x1000
lea rbx, str.5e941d80_bf96_11cd_b579_08002b30bfeb
mov rcx, rbx
call fcn.140066080
lea ecx, [rax + rax + 2]
mov dword [rsp + 0x28], ecx
mov qword [rsp + 0x20], rbx
mov r9d, 1
xor r8d, r8d
lea rdx, [0x14008db30]
mov rcx, qword [rbp - 0x79]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x1400219ab
mov rcx, qword [rbp - 0x79]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rax, [rbp - 0x79]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
lea rdx, str.SoftwareClasses_batfile
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov ebx, eax
mov rcx, qword [rbp - 0x79]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea r13, str._SystemRoot_System32NOTEPAD.EXE__1
lea r14, str._SystemRoot_System32NOTEPAD.EXE__p__1
lea r15, str._SystemRoot_System32cmd.exe__C___1___
test ebx, ebx
je 0x140021c5f
mov qword [rsp + 0x40], r12
lea rax, [rbp - 0x79]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], r12
mov dword [rsp + 0x28], 0xf013f
mov dword [rsp + 0x20], r12d
xor r9d, r9d
xor r8d, r8d
lea rdx, str.SoftwareClasses_batfile_shelleditcommand
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x140021a70
mov edx, 0x1000
mov rcx, r13
call fcn.140066080
lea ecx, [rax + rax + 2]
mov dword [rsp + 0x28], ecx
mov qword [rsp + 0x20], r13
mov r9d, 2
xor r8d, r8d
lea rdx, [0x14008db30]
mov rcx, qword [rbp - 0x79]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x140021a7a
mov rcx, qword [rbp - 0x79]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rsp + 0x40], r12
lea rax, [rbp - 0x79]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], r12
mov dword [rsp + 0x28], 0xf013f
mov dword [rsp + 0x20], r12d
xor r9d, r9d
xor r8d, r8d
lea rdx, str.SoftwareClasses_batfile_shellopencommand
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x140021af7
mov edx, 0x1000
lea rbx, str.__1___
mov rcx, rbx
call fcn.140066080
lea ecx, [rax + rax + 2]
mov dword [rsp + 0x28], ecx
mov qword [rsp + 0x20], rbx
mov r9d, 1
xor r8d, r8d
lea rdx, [0x14008db30]
mov rcx, qword [rbp - 0x79]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x140021b01
mov rcx, qword [rbp - 0x79]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rsp + 0x40], r12
lea rax, [rbp - 0x79]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], r12
mov dword [rsp + 0x28], 0xf013f
mov dword [rsp + 0x20], r12d
xor r9d, r9d
xor r8d, r8d
lea rdx, str.SoftwareClasses_batfile_shellprintcommand
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x140021b77
mov edx, 0x1000
mov rcx, r14
call fcn.140066080
lea ecx, [rax + rax + 2]
mov dword [rsp + 0x28], ecx
mov qword [rsp + 0x20], r14
mov r9d, 2
xor r8d, r8d
lea rdx, [0x14008db30]
mov rcx, qword [rbp - 0x79]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x140021b81
mov rcx, qword [rbp - 0x79]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rsp + 0x40], r12
lea rax, [rbp - 0x79]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], r12
mov dword [rsp + 0x28], 0xf013f
mov dword [rsp + 0x20], r12d
xor r9d, r9d
xor r8d, r8d
lea rdx, str.SoftwareClasses_batfile_shell_runascommand
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x140021bf7
mov edx, 0x1000
mov rcx, r15
call fcn.140066080
lea ecx, [rax + rax + 2]
mov dword [rsp + 0x28], ecx
mov qword [rsp + 0x20], r15
mov r9d, 2
xor r8d, r8d
lea rdx, [0x14008db30]
mov rcx, qword [rbp - 0x79]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x140021c01
mov rcx, qword [rbp - 0x79]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rdx, str.___HKLMSoftwareClasses.bat_did_not_exist_and_was_recreated__r_n_r_n
mov rcx, rsi
call fcn.140018560
mov rdi, rax
mov ebx, r12d
mov rcx, qword [rax]
movsxd rcx, dword [rcx + 4]
test byte [rcx + rax + 0x10], 6
jne 0x140021c3a
mov rcx, qword [rcx + rax + 0x48]
mov rdx, qword [rcx]
call qword [rdx + 0x68]
cmp eax, 0xffffffff
mov eax, 4
cmove ebx, eax
mov rax, qword [rdi]
movsxd rcx, dword [rax + 4]
add rcx, rdi
test ebx, ebx
je 0x140021c5f
mov edx, dword [rcx + 0x10]
or edx, ebx
cmp qword [rcx + 0x48], 0
jne 0x140021c57
or edx, 4
xor r8d, r8d
call fcn.140003090
mov qword [rsp + 0x40], r12
lea rax, [rbp - 0x79]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], r12
mov dword [rsp + 0x28], 0xf013f
mov dword [rsp + 0x20], r12d
xor r9d, r9d
xor r8d, r8d
lea rdx, str.SoftwareClasses_batfile
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x140021cdc
mov edx, 0x1000
lea rbx, str.Windows_Batch_File
mov rcx, rbx
call fcn.140066080
lea ecx, [rax + rax + 2]
mov dword [rsp + 0x28], ecx
mov qword [rsp + 0x20], rbx
mov r9d, 1
xor r8d, r8d
lea rdx, [0x14008db30]
mov rcx, qword [rbp - 0x79]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x140021ce6
mov rcx, qword [rbp - 0x79]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [rbp - 0x61], 0x430
mov dword [rbp - 0x65], 0
mov qword [rsp + 0x40], r12
lea rax, [rbp - 0x79]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], r12
mov dword [rsp + 0x28], 0xf013f
mov dword [rsp + 0x20], r12d
xor r9d, r9d
xor r8d, r8d
lea rdx, str.SoftwareClasses_batfile
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov rcx, qword [rbp - 0x79]
test eax, eax
jne 0x140021d6c
mov ebx, 4
mov dword [rsp + 0x28], ebx
lea rax, [rbp - 0x61]
mov qword [rsp + 0x20], rax
lea r9d, [rbx - 1]
xor r8d, r8d
lea rdx, str.EditFlags
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x140021d77
mov rcx, qword [rbp - 0x79]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x140021d77
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ebx, 4
mov qword [rsp + 0x40], r12
lea rax, [rbp - 0x79]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], r12
mov dword [rsp + 0x28], 0xf013f
mov dword [rsp + 0x20], r12d
xor r9d, r9d
xor r8d, r8d
lea rdx, str.SoftwareClasses_batfile_shellopen
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov rcx, qword [rbp - 0x79]
test eax, eax
jne 0x140021de4
mov dword [rsp + 0x28], ebx
lea rax, [rbp - 0x65]
mov qword [rsp + 0x20], rax
mov r9d, 3
xor r8d, r8d
lea rdx, str.EditFlags
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x140021dea
mov rcx, qword [rbp - 0x79]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov r9d, 2
mov r8, r13
lea rdx, [0x14008db30]
lea rcx, str.SoftwareClasses_batfile_shelleditcommand
call fcn.14001e130
test eax, eax
je 0x140021e68
lea rdx, str.___HKLM_batfile_shelleditcommand_____was_changed._r_n____It_was_reset_to___1_____r_n_r_n
mov rcx, rsi
call fcn.140018560
mov rdi, rax
mov ebx, r12d
mov rcx, qword [rax]
movsxd rcx, dword [rcx + 4]
test byte [rcx + rax + 0x10], 6
jne 0x140021e43
mov rcx, qword [rcx + rax + 0x48]
mov rdx, qword [rcx]
call qword [rdx + 0x68]
cmp eax, 0xffffffff
mov eax, 4
cmove ebx, eax
mov rax, qword [rdi]
movsxd rcx, dword [rax + 4]
add rcx, rdi
test ebx, ebx
je 0x140021e68
mov edx, dword [rcx + 0x10]
or edx, ebx
cmp qword [rcx + 0x48], 0
jne 0x140021e60
or edx, 4
xor r8d, r8d
call fcn.140003090
mov r9d, 1
lea rdi, str.__1___
mov r8, rdi
lea rdx, [0x14008db30]
lea rcx, str.SoftwareClasses_batfile_shellopencommand
call fcn.14001e130
test eax, eax
je 0x140021ef4
lea rdx, str.___HKLM_batfile_shellopencommand_____was_changed._r_n____It_was_reset_to___1_____r_n_r_n
mov rcx, rsi
call fcn.140018560
mov rdi, rax
mov ebx, r12d
mov rcx, qword [rax]
movsxd rcx, dword [rcx + 4]
test byte [rcx + rax + 0x10], 6
jne 0x140021ec8
mov rcx, qword [rcx + rax + 0x48]
mov rdx, qword [rcx]
call qword [rdx + 0x68]
cmp eax, 0xffffffff
mov eax, 4
cmove ebx, eax
mov rax, qword [rdi]
movsxd rcx, dword [rax + 4]
add rcx, rdi
test ebx, ebx
je 0x140021eed
mov edx, dword [rcx + 0x10]
or edx, ebx
cmp qword [rcx + 0x48], 0
jne 0x140021ee5
or edx, 4
xor r8d, r8d
call fcn.140003090
lea rdi, str.__1___
mov r9d, 2
mov r8, r14
lea rdx, [0x14008db30]
lea rcx, str.SoftwareClasses_batfile_shellprintcommand
call fcn.14001e130
test eax, eax
je 0x140021f2b
lea rdx, str.___HKLM_batfile_shellprintcommand_____was_changed._r_n____It_was_reset_to___1_____r_n_r_n
mov rcx, rsi
call fcn.140018560
mov rcx, rax
call fcn.140003410
mov r9d, 2
mov r8, r15
lea rdx, [0x14008db30]
lea rcx, str.SoftwareClasses_batfile_shell_runascommand
call fcn.14001e130
test eax, eax
je 0x140021f62
lea rdx, str.___HKLM_batfile_shellprintcommand_____was_changed._r_n____It_was_reset_to___1_____r_n_r_n
mov rcx, rsi
call fcn.140018560
mov rcx, rax
call fcn.140003410
mov r9d, 1
lea r8, [0x14008db30]
lea rdx, [0x14008db30]
lea rcx, str.SoftwareClasses_batfile_shellprint
call fcn.14001e390
mov r9d, 2
lea r8, str.__SystemRoot_System32_acppage.dll__6002
lea rdx, str.FriendlyTypeName
lea rcx, str.SoftwareClasses_batfile
call fcn.14001e390
mov r9d, 2
lea r8, str._SystemRoot_System32imageres.dll__68
lea rdx, [0x14008db30]
lea rcx, str.SoftwareClasses_batfileDefaultIcon
call fcn.14001e390
mov r9d, 1
lea r8, str.86C86720_42A0_1069_A2E8_08002B30309D
lea rdx, [0x14008db30]
lea rcx, str.SoftwareClasses_batfile_shellexDropHandler
call fcn.14001e390
mov r9d, 1
lea r8, str.513D916F_2A8E_4F51_AEAB_0CBC76FB1AF8
lea rdx, [0x14008db30]
lea rcx, str.SoftwareClasses_batfile_shellexPropertySheetHandlersShimLayer_Property_Page
call fcn.14001e390
lea r11, [rbp - 0x79]
mov qword [rsp + 0x20], r11
mov r9d, 0x20019
xor r8d, r8d
lea rdx, str.SOFTWAREClasses.bat
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov ebx, eax
mov rcx, qword [rbp - 0x79]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test ebx, ebx
jne 0x14002218b
mov qword [rbp - 0x41], r12
lea rax, [rbp - 0x51]
cmp qword [rbp - 0x39], 8
cmovae rax, qword [rbp - 0x51]
mov word [rax], r12w
lea r9, [0x14008db30]
lea r8, str.SOFTWAREClasses.bat
mov rdx, 0xffffffff80000001
lea rcx, [rbp - 1]
call fcn.14001e270
nop
mov rdx, rax
lea rcx, [rbp - 0x51]
call fcn.140001540
nop
cmp qword [rbp + 0x17], 8
jb 0x14002208e
mov rcx, qword [rbp - 1]
call fcn.140063290
lea rdx, str.___HKCUSOFTWAREClasses.bat_____exists_and_is_set_to
mov rcx, rsi
call fcn.140018560
mov rcx, rax
lea rdx, [rbp - 0x51]
call fcn.1400187c0
mov rcx, rax
lea rdx, [0x140093f34]
call fcn.140018f30
mov rcx, rax
call fcn.140003410
lea rdx, str.SOFTWAREClasses.bat
mov rcx, 0xffffffff80000001
call fcn.14001dea0
test eax, eax
je 0x1400220ee
lea rdx, str.___HKCUSOFTWAREClasses.bat_has_been_deleted__r_n
mov rcx, rsi
call fcn.140018560
mov rcx, rax
call fcn.140003410
mov qword [rbp - 0x11], 7
mov qword [rbp - 0x19], r12
mov word [rbp - 0x29], r12w
mov r8d, 0x11
lea rdx, str.SOFTWAREClasses_
lea rcx, [rbp - 0x29]
call fcn.140001780
nop
or r9, 0xffffffffffffffff
xor r8d, r8d
lea rdx, [rbp - 0x51]
lea rcx, [rbp - 0x29]
call fcn.1400158d0
lea rdx, [rbp - 0x29]
cmp qword [rbp - 0x11], 8
cmovae rdx, qword [rbp - 0x29]
mov rcx, 0xffffffff80000001
call fcn.14001dea0
test eax, eax
je 0x14002217b
lea rdx, str.___HKCUSOFTWAREClasses_
mov rcx, rsi
call fcn.140018560
mov rcx, rax
lea rdx, [rbp - 0x51]
call fcn.1400187c0
mov rcx, rax
lea rdx, str._has_been_deleted__r_n_r_n
call fcn.140018560
mov rcx, rax
call fcn.140003410
nop
cmp qword [rbp - 0x11], 8
jb 0x14002218b
mov rcx, qword [rbp - 0x29]
call fcn.140063290
lea rax, [rbp - 0x79]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
lea rdx, str.SoftwareClasses.com
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov ebx, eax
mov rcx, qword [rbp - 0x79]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test ebx, ebx
je 0x1400221f8
mov r9d, 1
lea r8, str.comfile
lea rdx, [0x14008db30]
lea rcx, str.SoftwareClasses.com
call fcn.14001e390
lea rdx, str.___HKLMSoftwareClasses.com_did_not_exist_and_was_recreated__r_n_r_n
mov rcx, rsi
call fcn.140018560
mov rcx, rax
call fcn.140003410
mov qword [rbp - 0x41], r12
lea rax, [rbp - 0x51]
cmp qword [rbp - 0x39], 8
cmovae rax, qword [rbp - 0x51]
mov word [rax], r12w
lea r9, [0x14008db30]
lea r8, str.SoftwareClasses.com
mov rdx, 0xffffffff80000002
lea rcx, [rbp - 1]
call fcn.14001e270
nop
mov rdx, rax
lea rcx, [rbp - 0x51]
call fcn.140001540
nop
cmp qword [rbp + 0x17], 8
jb 0x14002224a
mov rcx, qword [rbp - 1]
call fcn.140063290
mov r9d, 1
lea r8, str.comfile
lea rdx, [0x14008db30]
lea rcx, str.SoftwareClasses.com
call fcn.14001e130
test eax, eax
je 0x1400222b7
lea rdx, str.___HKLMSoftwareClasses.com_____has_been_changed_to
mov rcx, rsi
call fcn.140018560
mov rcx, rax
lea rdx, [rbp - 0x51]
call fcn.1400187c0
mov rcx, rax
lea rdx, [0x140093f34]
call fcn.140018f30
mov rcx, rax
call fcn.140003410
lea rdx, str.___HKLMSoftwareClasses.com_____was_reset_to_comfile__r_n_r_n
mov rcx, rsi
call fcn.140018560
mov rcx, rax
call fcn.140003410
mov r9d, 1
lea r8, str.098f2470_bae0_11cd_b579_08002b30bfeb
lea rdx, [0x14008db30]
lea rcx, str.SoftwareClasses.comPersistentHandler_
call fcn.14001e390
lea r11, [rbp - 0x79]
mov qword [rsp + 0x20], r11
mov r9d, 0x20019
xor r8d, r8d
lea rdx, str.SoftwareClassescomfile
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov ebx, eax
mov rcx, qword [rbp - 0x79]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test ebx, ebx
je 0x140022340
mov r9d, 1
mov r8, rdi
lea rdx, [0x14008db30]
lea rcx, str.SoftwareClassescomfile_shellopencommand
call fcn.14001e390
lea rdx, str.___HKLMSoftwareClassescomfile_did_not_exist_and_was_recreated__r_n_r_n
mov rcx, rsi
call fcn.140018560
mov rcx, rax
call fcn.140003410
mov r9d, 1
lea r8, str.MS_DOS_Application
lea rdx, [0x14008db30]
lea rcx, str.SoftwareClassescomfile
call fcn.14001e390
mov dword [rbp - 0x71], 0x30
lea rdx, [rbp - 0x71]
lea rcx, str.SoftwareClassescomfile
call fcn.14001e500
mov r9d, 2
lea r8, str.__SystemRoot_System32_shell32.dll__8464
lea rdx, str.FriendlyTypeName
lea rcx, str.SoftwareClassescomfile
call fcn.14001e390
lea r8, str.EditFlags
lea rdx, str.SoftwareClassescomfile_shellopen
mov rcx, 0xffffffff80000002
call fcn.14001e460
mov r9d, 2
lea r8, str._SystemRoot_System32_shell32.dll_2
lea rdx, [0x14008db30]
lea rcx, str.SoftwareClassescomfileDefaultIcon
call fcn.14001e390
mov r9d, 1
lea r8, str.86C86720_42A0_1069_A2E8_08002B30309D
lea rdx, [0x14008db30]
lea rcx, str.SoftwareClassescomfile_shellexDropHandler
call fcn.14001e390
mov r9d, 1
mov r8, rdi
lea rdx, [0x14008db30]
lea rcx, str.SoftwareClassescomfile_shellopencommand
call fcn.14001e130
test eax, eax
je 0x140022428
lea rdx, str.___HKLMSoftwareClassescomfile_shellopencommand_____was_changed._r_n____It_was_reset_to___1_____r_n_r_n
mov rcx, rsi
call fcn.140018560
mov rcx, rax
call fcn.140003410
lea rax, [rbp - 0x79]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
lea rdx, str.SOFTWAREClasses.com
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov ebx, eax
mov rcx, qword [rbp - 0x79]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test ebx, ebx
jne 0x1400225b2
mov qword [rbp - 0x41], r12
lea rax, [rbp - 0x51]
cmp qword [rbp - 0x39], 8
cmovae rax, qword [rbp - 0x51]
mov word [rax], r12w
lea r9, [0x14008db30]
lea r8, str.SOFTWAREClasses.com
mov rdx, 0xffffffff80000001
lea rcx, [rbp - 1]
call fcn.14001e270
nop
mov rdx, rax
lea rcx, [rbp - 0x51]
call fcn.140001540
nop
cmp qword [rbp + 0x17], 8
jb 0x1400224b4
mov rcx, qword [rbp - 1]
call fcn.140063290
lea rdx, str.___HKCUSOFTWAREClasses.com_____exists_and_is_set_to
mov rcx, rsi
call fcn.140018560
mov rcx, rax
lea rdx, [rbp - 0x51]
call fcn.1400187c0
mov rcx, rax
lea rdx, [0x140093f34]
call fcn.140018f30
mov rcx, rax
call fcn.140003410
lea rdx, str.SOFTWAREClasses.com
mov rcx, 0xffffffff80000001
call fcn.14001dea0
test eax, eax
je 0x140022514
lea rdx, str.___HKCUSOFTWAREClasses.com_has_been_deleted__r_n
mov rcx, rsi
call fcn.140018560
mov rcx, rax
call fcn.140003410
mov qword [rbp - 0x11], 7
mov qword [rbp - 0x19], r12
mov word [rbp - 0x29], r12w
mov r8d, 0x11
lea rdx, str.SOFTWAREClasses_
lea rcx, [rbp - 0x29]
call fcn.140001780
nop
or r9, 0xffffffffffffffff
xor r8d, r8d
lea rdx, [rbp - 0x51]
lea rcx, [rbp - 0x29]
call fcn.1400158d0
lea rdx, [rbp - 0x29]
cmp qword [rbp - 0x11], 8
cmovae rdx, qword [rbp - 0x29]
mov rcx, 0xffffffff80000001
call fcn.14001dea0
test eax, eax
je 0x1400225a1
lea rdx, str.___HKCUSOFTWAREClasses_
mov rcx, rsi
call fcn.140018560
mov rcx, rax
lea rdx, [rbp - 0x51]
call fcn.1400187c0
mov rcx, rax
lea rdx, str._has_been_deleted__r_n_r_n
call fcn.140018560
mov rcx, rax
call fcn.140003410
nop
cmp qword [rbp - 0x11], 8
jb 0x1400225b2
mov rcx, qword [rbp - 0x29]
call fcn.140063290
nop
cmp qword [rbp - 0x39], 8
jb 0x1400225c2
mov rcx, qword [rbp - 0x51]
call fcn.140063290
mov rcx, qword [rbp + 0x27]
xor rcx, rsp
call fcn.140063080
lea r11, [rsp + 0x100]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret