Function at 0x14005c934
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 [0x1400fc800]
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.14005c8e4
test al, al
je 0x14005c9ae
lea rdx, str.____DeviceNal_is_already_in_use.
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
call fcn.14005893c
lea rdx, [0x14005a9dc]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64____cdecl___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64_____ptr64]
or rax, 0xffffffffffffffff
jmp 0x14005cbaa
xor edx, edx
lea r8d, [rdx + 0x64]
lea r14, [0x1400fd850]
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 0x14005ca2c
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 0x14005c9f5
lea rcx, [rbp + 7]
call fcn.14005c4a8
nop
cmp qword [rbp + 0x17], 0
je 0x14005cb9a
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, [0x1400cf770]
lea rcx, [rbp + 7]
call fcn.14005fb78
test al, al
je 0x14005cb9a
lea rcx, [rbp + 7]
call fcn.14005f84c
test al, al
jne 0x14005ca99
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 0x14005cb9a
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, str..Nal
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rbx, rax
dec rax
cmp rax, 0xfffffffffffffffd
ja 0x14005cb92
xorps xmm0, xmm0
movups xmmword [rbp + 0x27], xmm0
mov qword [rbp + 0x37], recvfrom
mov qword [rbp + 0x3f], reloc.WS2_32.dll_ntohs
movsd xmm0, qword [0x1400d7f18]
movsd qword [rbp + 0x27], xmm0
mov eax, dword [0x1400d7f20]
mov dword [rbp + 0x2f], eax
mov byte [rbp + 0x33], 0
lea rcx, [rbp + 0x27]
call fcn.14005fe8c
mov qword [0x1400fd8b8], rax
mov rdx, qword [rbp + 0x3f]
cmp rdx, 0xf
jbe 0x14005cb5d
inc rdx
mov rcx, qword [rbp + 0x27]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005cb51
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14005cb51
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400c1df4
mov rax, qword [0x1400fd8b8]
mov rcx, rbx
test rax, rax
je 0x14005cb95
call fcn.14005b7b8
mov rcx, rbx
test al, al
je 0x14005cb95
call fcn.14005b0b4
mov rcx, rbx
test al, al
je 0x14005cb95
call fcn.14005b540
mov rcx, rbx
test al, al
je 0x14005cb95
call fcn.14005ba2c
test al, al
jne 0x14005cb9e
mov rcx, rbx
call fcn.14005d8ec
or rbx, 0xffffffffffffffff
lea rcx, [rbp + 7]
call fcn.140052e90
mov rax, rbx
mov rcx, qword [rbp + 0x47]
xor rcx, rsp
call fcn.1400c20d0
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