Function at 0x140008200
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 [0x140137088]
xor rax, rsp
mov qword [rbp + 0x1d0], rax
movzx ebx, dl
movaps xmm0, xmmword [str.SoftwareMicrosoftWindowsCurrentVersionRun]
movaps xmmword [rbp - 0x40], xmm0
movaps xmm1, xmmword [0x1400f8a30]
movaps xmmword [rbp - 0x30], xmm1
movaps xmm0, xmmword [0x1400f8a40]
movaps xmmword [rbp - 0x20], xmm0
movaps xmm1, xmmword [0x1400f8a50]
movaps xmmword [rbp - 0x10], xmm1
movaps xmm0, xmmword [0x1400f8a60]
movaps xmmword [rbp], xmm0
movsd xmm1, qword [0x1400f8a70]
movsd qword [rbp + 0x10], xmm1
mov eax, dword [0x1400f8a78]
mov dword [rbp + 0x18], eax
xor edx, edx
mov r8d, 0x1ac
lea rcx, [rbp + 0x1c]
call fcn.1400ab220
lea r8, [rsp + 0x30]
lea rdx, [rbp - 0x40]
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
test bl, bl
je 0x140008414
test eax, eax
jne 0x1400084ab
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x70], xmm0
movdqa xmm1, xmmword [0x140101490]
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.140002400
nop
lea rdx, [rbp - 0x80]
lea rcx, [rsp + 0x40]
call fcn.1400179c8
nop
lea rcx, [rbp - 0x80]
call fcn.140002380
nop
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x50], xmm0
movdqa xmm1, xmmword [0x140101490]
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.140002400
nop
lea r8, [rbp - 0x60]
lea rdx, [rsp + 0x60]
mov rcx, qword [rsp + 0x30]
call fcn.140004560
movzx ebx, al
lea rcx, [rsp + 0x60]
call fcn.140002380
nop
test bl, bl
je 0x1400083ae
lea rcx, [rbp - 0x60]
call fcn.1400023f0
mov rdi, rax
lea rcx, [rsp + 0x40]
call fcn.1400023f0
cmp rax, rdi
cmovae rdi, rax
lea rcx, [rbp - 0x60]
call fcn.140002310
mov rbx, rax
lea rcx, [rsp + 0x40]
call fcn.140002310
mov rcx, rax
mov r8, rdi
mov rdx, rbx
call fcn.14001f460
test eax, eax
je 0x1400083ee
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.140002380
nop
lea rcx, [rsp + 0x40]
call fcn.140002380
nop
jmp 0x1400084ab
test eax, eax
jne 0x1400084ab
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x70], xmm0
movdqa xmm1, xmmword [0x140101490]
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.140002400
nop
lea r8, [rbp - 0x80]
lea rdx, [rsp + 0x60]
mov rcx, qword [rsp + 0x30]
call fcn.140004560
movzx ebx, al
lea rcx, [rsp + 0x60]
call fcn.140002380
nop
test bl, bl
je 0x140008495
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.140002380
nop
mov rcx, qword [rbp + 0x1d0]
xor rcx, rsp
call fcn.1400a8f20
lea r11, [rsp + 0x2e0]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
mov rsp, r11
pop rbp
ret