Function at 0x14000a510
Capabilities:
Delete file

Disassembly:
push rdi
sub rsp, 0x120
mov rax, qword [0x1400b30c0]
xor rax, rsp
mov qword [rsp + 0x110], rax
xor ecx, ecx
call fcn.14000f9f0
mov qword [rsp + 0x58], rax
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov rcx, qword [rsp + 0x58]
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.14000a480
movzx eax, al
test eax, eax
je 0x14000a567
mov rax, 0xffffffffffffffff
jmp 0x14000a911
lea rax, [0x1400b38d0]
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 0x14000a5a5
mov eax, dword [rsp + 0x50]
inc eax
mov dword [rsp + 0x50], eax
mov eax, dword [rsp + 0x54]
cmp dword [rsp + 0x50], eax
jge 0x14000a5e0
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, [0x140095760]
movsxd rdx, dword [rsp + 0x50]
lea rdi, [0x1400b38d0]
movzx eax, byte [rcx + rax]
mov byte [rdi + rdx], al
jmp 0x14000a59b
lea rcx, [rsp + 0xf0]
call fcn.140009eb0
nop
lea rcx, [rsp + 0xf0]
call fcn.14000de80
movzx eax, al
test eax, eax
je 0x14000a622
mov qword [rsp + 0x60], 0xffffffffffffffff
lea rcx, [rsp + 0xf0]
call fcn.1400067e0
mov rax, qword [rsp + 0x60]
jmp 0x14000a911
lea rcx, [rsp + 0xf0]
call fcn.14000d060
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll__wremove]
mov r8d, 0x8708
lea rdx, [0x14008cf90]
lea rcx, [rsp + 0xf0]
call fcn.14001fc80
movzx eax, al
test eax, eax
jne 0x14000a679
mov qword [rsp + 0x68], 0xffffffffffffffff
lea rcx, [rsp + 0xf0]
call fcn.1400067e0
mov rax, qword [rsp + 0x68]
jmp 0x14000a911
lea rcx, [rsp + 0xf0]
call fcn.14001edb0
movzx eax, al
test eax, eax
jne 0x14000a6c3
lea rcx, [rsp + 0xf0]
call fcn.14000d060
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll__wremove]
mov qword [rsp + 0x70], 0xffffffffffffffff
lea rcx, [rsp + 0xf0]
call fcn.1400067e0
mov rax, qword [rsp + 0x70]
jmp 0x14000a911
lea rax, [rsp + 0x40]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rdx, [rsp + 0xe0]
lea rcx, [rsp + 0x40]
call fcn.140006f40
mov rcx, rax
call fcn.140006a00
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 0x14000a730
cmp qword [rsp + 0x48], 0xffffffffffffffff
jne 0x14000a75a
mov rcx, qword [rsp + 0x48]
call fcn.14000ba70
mov qword [rsp + 0x78], 0xffffffffffffffff
lea rcx, [rsp + 0xf0]
call fcn.1400067e0
mov rax, qword [rsp + 0x78]
jmp 0x14000a911
lea rax, [rsp + 0x41]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rdx, [rsp + 0xd0]
lea rcx, [rsp + 0x41]
call fcn.1400074f0
mov rcx, rax
call fcn.14000de40
mov rdx, rax
lea rcx, [rsp + 0xb0]
call fcn.140005c10
nop
lea rcx, [rsp + 0xb0]
call fcn.140020110
mov qword [0x1400b3938], rax
lea rcx, [rsp + 0xb0]
call fcn.1400067b0
cmp qword [0x1400b3938], 0
jne 0x14000a7f1
mov rcx, qword [rsp + 0x48]
call fcn.14000ba70
mov qword [rsp + 0x80], 0xffffffffffffffff
lea rcx, [rsp + 0xf0]
call fcn.1400067e0
mov rax, qword [rsp + 0x80]
jmp 0x14000a911
mov rcx, qword [rsp + 0x48]
call fcn.1400089b0
movzx eax, al
test eax, eax
jne 0x14000a832
mov rcx, qword [rsp + 0x48]
call fcn.14000ba70
mov qword [rsp + 0x88], 0xffffffffffffffff
lea rcx, [rsp + 0xf0]
call fcn.1400067e0
mov rax, qword [rsp + 0x88]
jmp 0x14000a911
mov rcx, qword [rsp + 0x48]
call fcn.140007dd0
movzx eax, al
test eax, eax
jne 0x14000a873
mov rcx, qword [rsp + 0x48]
call fcn.14000ba70
mov qword [rsp + 0x90], 0xffffffffffffffff
lea rcx, [rsp + 0xf0]
call fcn.1400067e0
mov rax, qword [rsp + 0x90]
jmp 0x14000a911
mov rcx, qword [rsp + 0x48]
call fcn.1400085d0
movzx eax, al
test eax, eax
jne 0x14000a8b1
mov rcx, qword [rsp + 0x48]
call fcn.14000ba70
mov qword [rsp + 0x98], 0xffffffffffffffff
lea rcx, [rsp + 0xf0]
call fcn.1400067e0
mov rax, qword [rsp + 0x98]
jmp 0x14000a911
mov rcx, qword [rsp + 0x48]
call fcn.140008f60
movzx eax, al
test eax, eax
jne 0x14000a8ef
mov rcx, qword [rsp + 0x48]
call fcn.14000ba70
mov qword [rsp + 0xa0], 0xffffffffffffffff
lea rcx, [rsp + 0xf0]
call fcn.1400067e0
mov rax, qword [rsp + 0xa0]
jmp 0x14000a911
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0xa8], rax
lea rcx, [rsp + 0xf0]
call fcn.1400067e0
mov rax, qword [rsp + 0xa8]
mov rcx, qword [rsp + 0x110]
xor rcx, rsp
call fcn.140087a80
add rsp, 0x120
pop rdi
ret