Function at 0x14003d84c
Capabilities:
Delete file

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], r14
push rbp
lea rbp, [rax - 0x5f]
sub rsp, 0x90
mov rax, qword [0x1400d9e00]
xor rax, rsp
mov qword [rbp + 0x47], 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.14003d7fc
test al, al
je 0x14003d8a3
or rax, 0xffffffffffffffff
jmp 0x14003da9c
xor edx, edx
lea r8d, [rdx + 0x64]
lea r14, [0x1400dab50]
mov rcx, r14
call sub.VCRUNTIME140.dll_memset
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 0x14003d921
xor ebx, ebx
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
movsxd rcx, eax
movabs rax, 0x4ec4ec4ec4ec4ec5
mul rcx
shr rdx, 4
imul rax, rdx, 0x34
sub rcx, rax
lea rax, str.abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ
mov al, byte [rcx + rax]
mov byte [rbx + r14], al
inc rbx
cmp rbx, rdi
jl 0x14003d8ea
lea rcx, [rbp + 7]
call fcn.14003d3c4
nop
cmp qword [rbp + 0x17], 0
je 0x14003da8c
lea rcx, [rbp + 7]
cmp qword [rbp + 0x1f], 7
cmova rcx, qword [rbp + 7]
call qword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll__wremove]
mov r8d, 0x8708
lea rdx, [0x1400b0090]
lea rcx, [rbp + 7]
call fcn.140040e38
test al, al
je 0x14003da8c
lea rcx, [rbp + 7]
call fcn.1400407c0
test al, al
jne 0x14003d98e
lea rcx, [rbp + 7]
cmp qword [rbp + 0x1f], 7
cmova rcx, qword [rbp + 7]
call qword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll__wremove]
jmp 0x14003da8c
and 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, [0x1400b87a0]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rbx, rax
dec rax
cmp rax, 0xfffffffffffffffd
ja 0x14003da84
xorps xmm0, xmm0
movups xmmword [rbp + 0x27], xmm0
movdqa xmm1, xmmword [0x1400afd40]
movdqu xmmword [rbp + 0x37], xmm1
movsd xmm0, qword [0x1400b87e8]
movsd qword [rbp + 0x27], xmm0
mov eax, dword [0x1400b87f0]
mov dword [rbp + 0x2f], eax
mov byte [rbp + 0x33], 0
lea rcx, [rbp + 0x27]
call fcn.140041178
mov qword [0x1400dabb8], rax
mov rdx, qword [rbp + 0x3f]
cmp rdx, 0xf
jbe 0x14003da4f
inc rdx
mov rcx, qword [rbp + 0x27]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14003da43
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14003da43
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400a2ff8
mov rax, qword [0x1400dabb8]
test rax, rax
je 0x14003da84
mov rcx, rbx
call fcn.14003c6b0
test al, al
je 0x14003da84
mov rcx, rbx
call fcn.14003bfdc
test al, al
je 0x14003da84
mov rcx, rbx
call fcn.14003c438
test al, al
je 0x14003da84
mov rcx, rbx
call fcn.14003c924
test al, al
jne 0x14003da90
mov rcx, rbx
call fcn.14003e7e0
or rbx, 0xffffffffffffffff
lea rcx, [rbp + 7]
call fcn.140033264
mov rax, rbx
mov rcx, qword [rbp + 0x47]
xor rcx, rsp
call fcn.1400a3090
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
mov r14, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret