Function at 0x1400c9ad0
Capabilities:
Delete file

Disassembly:
push rdi
sub rsp, 0x150
xor ecx, ecx
call fcn.1400c9790
mov qword [rsp + 0x78], rax
call qword [sym.imp.KERNEL32.DLL_GetCurrentThreadId]
mov rcx, qword [rsp + 0x78]
imul ecx, eax
mov eax, ecx
mov ecx, eax
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_srand]
call fcn.1400c99a0
movzx eax, al
test eax, eax
je 0x1400c9b15
mov rax, 0xffffffffffffffff
jmp 0x1400c9f0d
lea rax, [0x1401ce9f0]
mov rdi, rax
xor eax, eax
mov ecx, 0x64
rep stosb byte [rdi], al
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
cdq
mov ecx, reloc.WS2_32.dll_sendto
idiv ecx
mov eax, edx
add eax, 0xa
mov dword [rsp + 0x54], eax
mov dword [rsp + 0x50], 0
jmp 0x1400c9b53
mov eax, dword [rsp + 0x50]
inc eax
mov dword [rsp + 0x50], eax
mov eax, dword [rsp + 0x54]
cmp dword [rsp + 0x50], eax
jge 0x1400c9b8e
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
cdqe
xor edx, edx
mov ecx, 0x34
div rcx
mov rax, rdx
lea rcx, str.abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ
movsxd rdx, dword [rsp + 0x50]
lea rdi, [0x1401ce9f0]
movzx eax, byte [rcx + rax]
mov byte [rdi + rdx], al
jmp 0x1400c9b49
lea rcx, [rsp + 0x58]
call fcn.1400c9890
nop
lea rcx, [rsp + 0x58]
call fcn.140015ed0
movzx eax, al
test eax, eax
je 0x1400c9bcd
mov qword [rsp + 0x80], 0xffffffffffffffff
lea rcx, [rsp + 0x58]
call fcn.140015de0
mov rax, qword [rsp + 0x80]
jmp 0x1400c9f0d
lea rcx, [rsp + 0x58]
call fcn.140047710
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll__wremove]
mov r8d, 0x8708
lea rdx, [0x140189a90]
lea rcx, [rsp + 0x58]
call fcn.1400d6c90
movzx eax, al
test eax, eax
jne 0x1400c9c21
mov qword [rsp + 0x88], 0xffffffffffffffff
lea rcx, [rsp + 0x58]
call fcn.140015de0
mov rax, qword [rsp + 0x88]
jmp 0x1400c9f0d
lea rcx, [rsp + 0x58]
call fcn.1400d5c40
movzx eax, al
test eax, eax
jne 0x1400c9c9b
lea rax, [rsp + 0x40]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rdx, [rsp + 0x124]
lea rcx, [rsp + 0x40]
call fcn.1400c9f20
mov rcx, rax
call fcn.1400cd7c0
mov rcx, rax
call fcn.14000d020
lea rcx, [rsp + 0x58]
call fcn.140047710
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll__wremove]
mov qword [rsp + 0x90], 0xffffffffffffffff
lea rcx, [rsp + 0x58]
call fcn.140015de0
mov rax, qword [rsp + 0x90]
jmp 0x1400c9f0d
lea rax, [rsp + 0x41]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rdx, [rsp + 0xfe]
lea rcx, [rsp + 0x41]
call fcn.1400c9a30
mov rcx, rax
call fcn.1400cd7e0
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 3
xor r9d, r9d
xor r8d, r8d
mov edx, 0xc0000000
mov rcx, rax
call qword [sym.imp.KERNEL32.DLL_CreateFileW]
mov qword [rsp + 0x48], rax
cmp qword [rsp + 0x48], 0
je 0x1400c9d08
cmp qword [rsp + 0x48], 0xffffffffffffffff
jne 0x1400c9d68
lea rax, [rsp + 0x42]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rdx, [rsp + 0x10e]
lea rcx, [rsp + 0x42]
call fcn.1400c9fc0
mov rcx, rax
call fcn.1400cd7a0
mov rcx, rax
call fcn.14000d020
mov rcx, qword [rsp + 0x48]
call fcn.1400ca740
mov qword [rsp + 0x98], 0xffffffffffffffff
lea rcx, [rsp + 0x58]
call fcn.140015de0
mov rax, qword [rsp + 0x98]
jmp 0x1400c9f0d
lea rax, [rsp + 0x43]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rdx, [rsp + 0xf0]
lea rcx, [rsp + 0x43]
call fcn.1400ca060
mov rcx, rax
call fcn.1400cd760
mov rdx, rax
lea rcx, [rsp + 0xd0]
call fcn.140016480
nop
lea rcx, [rsp + 0xd0]
call fcn.1400d6d70
mov qword [0x1401cea58], rax
lea rcx, [rsp + 0xd0]
call fcn.140016350
cmp qword [0x1401cea58], 0
jne 0x1400c9dfc
mov rcx, qword [rsp + 0x48]
call fcn.1400ca740
mov qword [rsp + 0xa0], 0xffffffffffffffff
lea rcx, [rsp + 0x58]
call fcn.140015de0
mov rax, qword [rsp + 0xa0]
jmp 0x1400c9f0d
mov rcx, qword [rsp + 0x48]
call fcn.1400cc770
movzx eax, al
test eax, eax
jne 0x1400c9e3a
mov rcx, qword [rsp + 0x48]
call fcn.1400ca740
mov qword [rsp + 0xa8], 0xffffffffffffffff
lea rcx, [rsp + 0x58]
call fcn.140015de0
mov rax, qword [rsp + 0xa8]
jmp 0x1400c9f0d
mov rcx, qword [rsp + 0x48]
call fcn.1400ccdd0
movzx eax, al
test eax, eax
jne 0x1400c9e78
mov rcx, qword [rsp + 0x48]
call fcn.1400ca740
mov qword [rsp + 0xb0], 0xffffffffffffffff
lea rcx, [rsp + 0x58]
call fcn.140015de0
mov rax, qword [rsp + 0xb0]
jmp 0x1400c9f0d
mov rcx, qword [rsp + 0x48]
call fcn.1400cbe60
movzx eax, al
test eax, eax
jne 0x1400c9eb3
mov rcx, qword [rsp + 0x48]
call fcn.1400ca740
mov qword [rsp + 0xb8], 0xffffffffffffffff
lea rcx, [rsp + 0x58]
call fcn.140015de0
mov rax, qword [rsp + 0xb8]
jmp 0x1400c9f0d
mov rcx, qword [rsp + 0x48]
call fcn.1400ca100
movzx eax, al
test eax, eax
jne 0x1400c9eee
mov rcx, qword [rsp + 0x48]
call fcn.1400ca740
mov qword [rsp + 0xc0], 0xffffffffffffffff
lea rcx, [rsp + 0x58]
call fcn.140015de0
mov rax, qword [rsp + 0xc0]
jmp 0x1400c9f0d
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0xc8], rax
lea rcx, [rsp + 0x58]
call fcn.140015de0
mov rax, qword [rsp + 0xc8]
add rsp, 0x150
pop rdi
ret