Function at 0x140008310
Capabilities:
Delete registry value
Persist via run registry key
Set registry value

Disassembly:
mov rax, rsp
push rbp
lea rbp, [rax - 0x1e8]
sub rsp, 0x2e0
mov qword [rsp + 0x38], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rdi
mov rax, qword [0x140133088]
xor rax, rsp
mov qword [rbp + 0x1d0], rax
movzx ebx, dl
movaps xmm0, xmmword [str.SoftwareMicrosoftWindowsCurrentVersionRun]
movaps xmmword [rbp - 0x40], xmm0
movaps xmm1, xmmword [0x1400f5a30]
movaps xmmword [rbp - 0x30], xmm1
movaps xmm0, xmmword [0x1400f5a40]
movaps xmmword [rbp - 0x20], xmm0
movaps xmm1, xmmword [0x1400f5a50]
movaps xmmword [rbp - 0x10], xmm1
movaps xmm0, xmmword [0x1400f5a60]
movaps xmmword [rbp], xmm0
movsd xmm1, qword [0x1400f5a70]
movsd qword [rbp + 0x10], xmm1
mov eax, dword [0x1400f5a78]
mov dword [rbp + 0x18], eax
xor edx, edx
mov r8d, 0x1ac
lea rcx, [rbp + 0x1c]
call fcn.1400a8b60
lea r8, [rsp + 0x30]
lea rdx, [rbp - 0x40]
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
test bl, bl
je 0x140008524
test eax, eax
jne 0x1400085bb
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x70], xmm0
movdqa xmm1, xmmword [0x1400fe370]
movdqu xmmword [rbp - 0x70], xmm1
xor ebx, ebx
mov word [rbp - 0x80], bx
lea r8d, [rax + 0xc]
lea rdx, str.HaoZipCD.exe
lea rcx, [rbp - 0x80]
call fcn.1400025d0
nop
lea rdx, [rbp - 0x80]
lea rcx, [rsp + 0x40]
call fcn.140017718
nop
lea rcx, [rbp - 0x80]
call fcn.140002550
nop
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x50], xmm0
movdqa xmm1, xmmword [0x1400fe370]
movdqu xmmword [rbp - 0x50], xmm1
mov word [rbp - 0x60], bx
movdqu xmmword [rsp + 0x70], xmm0
movdqu xmmword [rsp + 0x70], xmm1
mov word [rsp + 0x60], bx
lea r8d, [rbx + 8]
lea rdx, str.haozipcd
lea rcx, [rsp + 0x60]
call fcn.1400025d0
nop
lea r8, [rbp - 0x60]
lea rdx, [rsp + 0x60]
mov rcx, qword [rsp + 0x30]
call fcn.140004670
movzx ebx, al
lea rcx, [rsp + 0x60]
call fcn.140002550
nop
test bl, bl
je 0x1400084be
lea rcx, [rbp - 0x60]
call fcn.1400025c0
mov rdi, rax
lea rcx, [rsp + 0x40]
call fcn.1400025c0
cmp rax, rdi
cmovae rdi, rax
lea rcx, [rbp - 0x60]
call fcn.1400024e0
mov rbx, rax
lea rcx, [rsp + 0x40]
call fcn.1400024e0
mov rcx, rax
mov r8, rdi
mov rdx, rbx
call fcn.14001f1b0
test eax, eax
je 0x1400084fe
mov eax, dword [rsp + 0x50]
lea eax, [rax*2 + 2]
lea rcx, [rsp + 0x40]
cmp qword [rsp + 0x58], 8
mov dword [rsp + 0x28], eax
cmovae rcx, qword [rsp + 0x40]
mov qword [rsp + 0x20], rcx
mov r9d, 1
xor r8d, r8d
lea rdx, str.haozipcd
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
lea rcx, [rbp - 0x60]
call fcn.140002550
nop
lea rcx, [rsp + 0x40]
call fcn.140002550
nop
jmp 0x1400085bb
test eax, eax
jne 0x1400085bb
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x70], xmm0
movdqa xmm1, xmmword [0x1400fe370]
movdqu xmmword [rbp - 0x70], xmm1
xor ebx, ebx
mov word [rbp - 0x80], bx
movdqu xmmword [rsp + 0x70], xmm0
movdqu xmmword [rsp + 0x70], xmm1
mov word [rsp + 0x60], bx
lea r8d, [rax + 8]
lea rdx, str.haozipcd
lea rcx, [rsp + 0x60]
call fcn.1400025d0
nop
lea r8, [rbp - 0x80]
lea rdx, [rsp + 0x60]
mov rcx, qword [rsp + 0x30]
call fcn.140004670
movzx ebx, al
lea rcx, [rsp + 0x60]
call fcn.140002550
nop
test bl, bl
je 0x1400085a5
lea rdx, str.haozipcd
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
lea rcx, [rbp - 0x80]
call fcn.140002550
nop
mov rcx, qword [rbp + 0x1d0]
xor rcx, rsp
call fcn.1400a6810
lea r11, [rsp + 0x2e0]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
mov rsp, r11
pop rbp
ret