Function at 0x14003b670
Capabilities:
Execute command

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
lea rbp, [rsp - 0x47]
sub rsp, 0xe0
mov rax, qword [0x14019f0c0]
xor rax, rsp
mov qword [rbp + 0x37], rax
mov rdi, rdx
mov rbx, rcx
xor esi, esi
mov rcx, qword [rcx + 0x10]
movabs rax, 0x7fffffffffffffff
sub rax, rcx
cmp rax, 0x2d
jb 0x14003b97f
mov rax, rbx
cmp qword [rbx + 0x18], 0xf
jbe 0x14003b6c2
mov rax, qword [rbx]
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], reloc.WLDAP32.dll_Ordinal_45
lea r9, str.powershell__command__Invoke_WebRequest__Uri_
mov r8, rbx
movzx edx, byte [rbp - 0x59]
lea rcx, [rbp - 9]
call fcn.140045190
nop
mov r8d, recv
lea rdx, str.__OutFile_
lea rcx, [rbp - 9]
call fcn.1400433c0
xorps xmm0, xmm0
movups xmmword [rbp - 0x31], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x21], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x31], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x21], xmm1
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
mov rdx, rdi
cmp qword [rdi + 0x18], 0xf
jbe 0x14003b73d
mov rdx, qword [rdi]
mov r8, qword [rdi + 0x10]
lea rcx, [rbp - 0x31]
call fcn.1400433c0
xorps xmm0, xmm0
movups xmmword [rbp - 0x51], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x41], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x51], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x41], xmm1
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov qword [rax + 0x10], rsi
mov byte [rax], 0
mov r8d, 2
lea rdx, [0x140184f80]
lea rcx, [rbp - 0x51]
call fcn.1400433c0
xorps xmm0, xmm0
movups xmmword [rbp + 0x17], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x27], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x17], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x27], xmm1
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
mov rdx, qword [rbp - 0x39]
cmp rdx, 0xf
jbe 0x14003b7f8
inc rdx
mov rcx, qword [rbp - 0x51]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14003b7f3
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14003b7f3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1401159d4
movdqa xmm0, xmmword [0x140186650]
movdqu xmmword [rbp - 0x41], xmm0
mov byte [rbp - 0x51], 0
mov rdx, qword [rbp - 0x19]
cmp rdx, 0xf
jbe 0x14003b84f
inc rdx
mov rcx, qword [rbp - 0x31]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14003b842
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14003b842
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1401159d4
movdqa xmm0, xmmword [0x140186650]
movdqu xmmword [rbp - 0x21], xmm0
mov byte [rbp - 0x31], 0
mov rdx, qword [rbp + 0xf]
cmp rdx, 0xf
jbe 0x14003b89e
inc rdx
mov rcx, qword [rbp - 9]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14003b891
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14003b891
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1401159d4
movdqa xmm0, xmmword [0x140186650]
movdqu xmmword [rbp + 7], xmm0
mov byte [rbp - 9], 0
lea rcx, [rbp + 0x17]
cmp qword [rbp + 0x2f], 0xf
cmova rcx, qword [rbp + 0x17]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
test eax, eax
je 0x14003b8e5
lea rdx, str.Download_failed_for_URL:
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.140043b40
mov r8, qword [rbx + 0x10]
cmp qword [rbx + 0x18], 0xf
jbe 0x14003b8e0
mov rbx, qword [rbx]
mov rdx, rbx
jmp 0x14003b909
lea rdx, str.Downloaded:
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140043b40
mov r8, qword [rdi + 0x10]
cmp qword [rdi + 0x18], 0xf
jbe 0x14003b906
mov rdi, qword [rdi]
mov rdx, rdi
mov rcx, rax
call fcn.1400453f0
lea rdx, [0x140043d20]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
nop
mov rdx, qword [rbp + 0x2f]
cmp rdx, 0xf
jbe 0x14003b960
inc rdx
mov rcx, qword [rbp + 0x17]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14003b95b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14003b95b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1401159d4
mov rcx, qword [rbp + 0x37]
xor rcx, rsp
call fcn.1401152a0
mov rbx, qword [rsp + 0x110]
add rsp, 0xe0
pop rdi
pop rsi
pop rbp
ret
call fcn.140037170
int3