Function at 0x180163100
Capabilities:
Persist via run registry key

Disassembly:
mov rax, rsp
push rbp
lea rbp, [rax - 0x1b8]
sub rsp, 0x2b0
mov qword [rsp + 0x38], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x1804400b0]
xor rax, rsp
mov qword [rbp + 0x1a0], rax
mov rdi, rcx
xor esi, esi
mov dword [rsp + 0x30], esi
mov qword [rcx + 0x10], rsi
mov rax, rcx
cmp qword [rcx + 0x18], 8
jb 0x180163152
mov rax, qword [rcx]
mov word [rax], si
call fcn.180174e90
mov rdx, rdi
test al, al
je 0x180163363
mov ecx, 0x1c
call fcn.1801ccf70
test al, al
jne 0x180163260
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp - 0x70]
call fcn.180281a60
mov qword [rsp + 0x60], rsi
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
lea rdx, str.SOFTWAREMicrosoftWindowsCurrentVersionExplorerShell_Folders
mov rcx, 0xffffffff80000001
call qword [section..rdata]
test eax, eax
jne 0x1801631f6
mov dword [rsp + 0x68], 0x208
lea rax, [rsp + 0x68]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x70]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea rdx, str.Local_AppData
mov rcx, qword [rsp + 0x60]
call qword [0x180301090]
mov rcx, qword [rsp + 0x60]
call qword [0x180301048]
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x80], xmm0
movdqa xmm1, xmmword [0x18037a1b0]
movdqu xmmword [rbp - 0x80], xmm1
mov word [rsp + 0x70], si
lea rax, [rbp - 0x70]
mov r8, 0xffffffffffffffff
nop dword [rax + rax]
inc r8
cmp word [rax + r8*2], 0
jne 0x180163220
lea rdx, [rbp - 0x70]
lea rcx, [rsp + 0x70]
call fcn.180033990
mov ebx, 1
mov dword [rsp + 0x30], ebx
lea rdx, [rsp + 0x70]
mov rcx, rdi
call fcn.180037b40
and ebx, 0xfffffffe
mov dword [rsp + 0x30], ebx
lea rcx, [rsp + 0x70]
call fcn.180033900
cmp qword [rdi + 0x10], 0
jne 0x18016326e
xor al, al
jmp 0x18016346d
call fcn.180174f10
test al, al
je 0x18016333c
mov rdx, rdi
lea rcx, [rsp + 0x70]
call fcn.180037bc0
nop
mov rbx, qword [rbp - 0x80]
test rbx, rbx
je 0x1801632d9
nop dword [rax]
nop word [rax + rax]
lea rax, [rsp + 0x70]
cmp qword [rbp - 0x78], 8
cmovae rax, qword [rsp + 0x70]
movzx ecx, word [rax + rsi*2]
call fcn.18029c32c
lea rcx, [rsp + 0x70]
cmp qword [rbp - 0x78], 8
cmovae rcx, qword [rsp + 0x70]
mov word [rcx + rsi*2], ax
inc rsi
cmp rsi, rbx
jb 0x1801632a0
mov rbx, qword [rbp - 0x80]
lea rcx, [rsp + 0x70]
cmp qword [rbp - 0x78], 8
cmovae rcx, qword [rsp + 0x70]
mov qword [rsp + 0x20], 0xa
lea r9, str.PACKAGES_
xor r8d, r8d
mov rdx, rbx
call fcn.18004ea60
cmp rax, 0xffffffffffffffff
je 0x180163332
mov r8d, eax
mov rdx, rdi
lea rcx, [rsp + 0x40]
call fcn.1801c18f0
nop
mov rdx, rax
mov rcx, rdi
call fcn.180037b40
nop
lea rcx, [rsp + 0x40]
call fcn.180033900
nop
lea rcx, [rsp + 0x70]
call fcn.180033900
mov edx, 0x20
mov rcx, rdi
call fcn.1801c0940
mov r8d, 3
lea rdx, [0x180368fa8]
mov rcx, rdi
call fcn.180033c60
jmp 0x18016346b
mov ecx, 0x1a
call fcn.1801ccf70
test al, al
jne 0x180163460
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp - 0x70]
call fcn.180281a60
mov qword [rsp + 0x60], rsi
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
lea rdx, str.SOFTWAREMicrosoftWindowsCurrentVersionExplorerShell_Folders
mov rcx, 0xffffffff80000001
call qword [section..rdata]
test eax, eax
jne 0x1801633f4
mov dword [rsp + 0x68], 0x208
lea rax, [rsp + 0x68]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x70]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea rdx, str.AppData
mov rcx, qword [rsp + 0x60]
call qword [0x180301090]
mov rcx, qword [rsp + 0x60]
call qword [0x180301048]
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x80], xmm0
movdqa xmm1, xmmword [0x18037a1b0]
movdqu xmmword [rbp - 0x80], xmm1
mov word [rsp + 0x70], si
lea rax, [rbp - 0x70]
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp word [rax + r8*2], 0
jne 0x180163420
lea rdx, [rbp - 0x70]
lea rcx, [rsp + 0x70]
call fcn.180033990
mov ebx, 4
mov dword [rsp + 0x30], ebx
lea rdx, [rsp + 0x70]
mov rcx, rdi
call fcn.180037b40
and ebx, 0xfffffffb
mov dword [rsp + 0x30], ebx
lea rcx, [rsp + 0x70]
call fcn.180033900
cmp qword [rdi + 0x10], 0
je 0x180163267
mov al, 1
mov rcx, qword [rbp + 0x1a0]
xor rcx, rsp
call fcn.18027ebd0
lea r11, [rsp + 0x2b0]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret