Function at 0x14000d840
Capabilities:
Delete file
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov qword [rsp + 0x20], r14
push rbp
lea rbp, [rsp - 0xb0]
sub rsp, 0x1b0
mov rax, qword [0x1400a2080]
xor rax, rsp
mov qword [rbp + 0xa0], rax
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_time_l1_1_0.dll__time64]
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
imul eax, ebx
mov ecx, eax
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_srand]
call fcn.14000d6a0
test al, al
je 0x14000d8a6
mov rax, 0xffffffffffffffff
jmp 0x14000dcff
xorps xmm0, xmm0
xor eax, eax
movups xmmword [0x1400a5f30], xmm0
movups xmmword [0x1400a5f40], xmm0
movups xmmword [0x1400a5f50], xmm0
movups xmmword [0x1400a5f60], xmm0
movups xmmword [0x1400a5f70], xmm0
movups xmmword [0x1400a5f80], xmm0
mov dword [0x1400a5f90], eax
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
mov r8d, eax
mov eax, 0x66666667
imul r8d
sar edx, 3
mov ecx, edx
shr ecx, 0x1f
add edx, ecx
lea ecx, [rdx + rdx*4]
shl ecx, 2
sub r8d, ecx
add r8d, 0xa
movsxd rdi, r8d
test r8d, r8d
jle 0x14000d951
xor ebx, ebx
movabs r14, 0x4ec4ec4ec4ec4ec5
lea rsi, [0x140000000]
nop
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
movsxd rcx, eax
mov rax, r14
mul rcx
shr rdx, 4
imul rax, rdx, 0x34
sub rcx, rax
movzx eax, byte [rcx + rsi + 0x93638]
mov byte [rbx + rsi + 0xa5f30], al
inc rbx
cmp rbx, rdi
jl 0x14000d920
lea rcx, [rsp + 0x70]
call fcn.14000d400
nop
cmp qword [rbp - 0x80], 0
je 0x14000dcb1
lea rcx, [rsp + 0x70]
cmp qword [rbp - 0x78], 7
cmova rcx, qword [rsp + 0x70]
call qword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll__wremove]
xor edx, edx
mov r8d, 0x108
lea rcx, [rbp - 0x70]
call sub.VCRUNTIME140.dll_memset
lea rdx, [rsp + 0x70]
cmp qword [rbp - 0x78], 7
cmova rdx, qword [rsp + 0x70]
lea rcx, [rbp - 0x70]
call fcn.140010940
nop
mov r8d, 0x8708
lea rdx, [0x14008af30]
lea rcx, [rbp - 0x70]
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__::write_char_const____ptr64__long_long___int64_____ptr64]
mov rcx, qword [rax]
movsxd rcx, dword [rcx + 4]
add rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_bool___cdecl_std::ios_base::operator__void_const___ptr64]
lea rcx, [rbp - 0x68]
test al, al
je 0x14000da0c
call fcn.140010dc0
test rax, rax
jne 0x14000d9fe
mov rax, qword [rbp - 0x70]
movsxd rcx, dword [rax + 4]
lea rax, [rbp - 0x70]
add rcx, rax
xor r8d, r8d
lea edx, [r8 + 2]
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::setstate_int__bool____ptr64]
nop
lea rcx, [rbp - 0x70]
call fcn.14000e010
jmp 0x14000dcb1
call fcn.140010dc0
test rax, rax
jne 0x14000da33
mov rax, qword [rbp - 0x70]
movsxd rcx, dword [rax + 4]
lea rax, [rbp - 0x70]
add rcx, rax
xor r8d, r8d
lea edx, [r8 + 2]
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::setstate_int__bool____ptr64]
nop
lea rcx, [rbp - 0x70]
call fcn.14000e010
lea rcx, [rsp + 0x70]
call fcn.140013d10
test al, al
jne 0x14000da65
lea rcx, [rsp + 0x70]
cmp qword [rbp - 0x78], 7
cmova rcx, qword [rsp + 0x70]
call qword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll__wremove]
jmp 0x14000dcb1
movups xmm3, xmmword [0x14008ae80]
movups xmmword [rsp + 0x40], xmm3
pextrw eax, xmm3, 7
test ax, ax
je 0x14000dbb2
cmp dword [reloc.WS2_32.dll_accept], 2
jl 0x14000db72
movdqa xmm4, xmmword [0x140093860]
movdqa xmm2, xmmword [0x1400937e0]
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, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x140093810]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
paddw xmm2, xmmword [0x140093820]
movq xmm1, xmm3
xorps xmm2, xmm1
movq qword [rsp + 0x40], xmm2
movdqa xmm3, xmmword [0x1400937f0]
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, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x140093810]
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
paddw xmm2, xmmword [0x140093820]
movq xmm0, qword [rsp + 0x48]
xorps xmm2, xmm0
movq qword [rsp + 0x48], xmm2
jmp 0x14000dbb2
lea r8, [rsp + 0x40]
xor ecx, ecx
nop dword [rax]
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movzx eax, dx
imul edx, eax, 0x38
movzx eax, cx
sub ax, dx
add ax, 0x35
xor word [r8], ax
inc ecx
lea r8, [r8 + 2]
cmp ecx, 8
jl 0x14000db80
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 3
xor r9d, r9d
xor r8d, r8d
mov edx, 0xc0000000
lea rcx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rbx, rax
dec rax
cmp rax, 0xfffffffffffffffd
ja 0x14000dca9
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
mov qword [rsp + 0x60], select
mov qword [rsp + 0x68], reloc.WS2_32.dll_ntohs
movsd xmm0, qword [0x14008acb8]
movsd qword [rsp + 0x50], xmm0
mov eax, dword [0x14008acc0]
mov dword [rsp + 0x58], eax
mov byte [rsp + 0x5c], 0
lea rcx, [rsp + 0x50]
call fcn.140014310
mov qword [0x1400a5f28], rax
mov rdx, qword [rsp + 0x68]
cmp rdx, 0xf
jbe 0x14000dc80
inc rdx
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000dc74
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000dc74
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14007767c
mov rax, qword [0x1400a5f28]
mov rcx, rbx
test rax, rax
je 0x14000dcac
call fcn.14000eee0
mov rcx, rbx
test al, al
je 0x14000dcac
call fcn.14000f690
mov rcx, rbx
test al, al
je 0x14000dcac
call fcn.14000e720
test al, al
jne 0x14000dcb8
mov rcx, rbx
call fcn.14000dd30
mov rbx, 0xffffffffffffffff
mov rdx, qword [rbp - 0x78]
cmp rdx, 7
jbe 0x14000dcfc
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000dcf7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000dcf7
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14007767c
mov rax, rbx
mov rcx, qword [rbp + 0xa0]
xor rcx, rsp
call fcn.1400771f0
lea r11, [rsp + 0x1b0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r14, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret