Function at 0x14001c740
Capabilities:
Delete file

Disassembly:
push rdi
sub rsp, 0x1c0
mov qword [rsp + 0x198], 0xfffffffffffffffe
xor ecx, ecx
call fcn.14001f8c0
mov qword [rsp + 0x190], rax
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov rcx, qword [rsp + 0x190]
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.14001c6e0
movzx eax, al
test eax, eax
je 0x14001c7e1
mov rax, qword [0x1400352a8]
mov qword [rsp + 0x78], rax
lea rcx, [0x14003ea28]
call fcn.1403b04e7
nop
mov qword [rsp + 0x70], rax
mov rdx, qword [rsp + 0x70]
mov rcx, qword [rsp + 0x78]
call fcn.140012720
mov qword [rsp + 0x80], rax
lea rdx, [0x140013fa0]
mov rcx, qword [rsp + 0x80]
call qword [0x140035288]
mov rax, 0xffffffffffffffff
jmp 0x14001cd9b
lea rax, [0x14004f450]
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, 0x14
idiv ecx
mov eax, edx
add eax, 0xa
mov dword [rsp + 0x4c], eax
mov dword [rsp + 0x48], 0
jmp 0x14001c81f
mov eax, dword [rsp + 0x48]
inc eax
mov dword [rsp + 0x48], eax
mov eax, dword [rsp + 0x4c]
cmp dword [rsp + 0x48], eax
jge 0x14001c85a
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 + 0x48]
lea rdi, [0x14004f450]
movzx eax, byte [rcx + rax]
mov byte [rdi + rdx], al
jmp 0x14001c815
lea rcx, [rsp + 0x50]
call fcn.14001c170
nop
lea rcx, [rsp + 0x50]
call fcn.140016840
movzx eax, al
test eax, eax
je 0x14001c8ef
mov rax, qword [0x1400352a8]
mov qword [rsp + 0x90], rax
lea rcx, [0x14003ea40]
call fcn.1403b04e7
nop
mov qword [rsp + 0x88], rax
mov rdx, qword [rsp + 0x88]
mov rcx, qword [rsp + 0x90]
call fcn.140012720
mov qword [rsp + 0x98], rax
lea rdx, [0x140013fa0]
mov rcx, qword [rsp + 0x98]
call qword [0x140035288]
mov qword [rsp + 0xa0], 0xffffffffffffffff
lea rcx, [rsp + 0x50]
call fcn.1400144e0
mov rax, qword [rsp + 0xa0]
jmp 0x14001cd9b
lea rcx, [rsp + 0x50]
call fcn.140016780
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll__wremove]
mov r8d, 0x8708
lea rdx, [0x140035fa0]
lea rcx, [rsp + 0x50]
call fcn.14002bc10
movzx eax, al
test eax, eax
jne 0x14001c999
mov rax, qword [0x1400352a8]
mov qword [rsp + 0xb0], rax
lea rcx, [0x14003ea58]
call fcn.1403b04e7
nop
mov qword [rsp + 0xa8], rax
mov rdx, qword [rsp + 0xa8]
mov rcx, qword [rsp + 0xb0]
call fcn.140012720
mov qword [rsp + 0xb8], rax
lea rdx, [0x140013fa0]
mov rcx, qword [rsp + 0xb8]
call qword [0x140035288]
mov qword [rsp + 0xc0], 0xffffffffffffffff
lea rcx, [rsp + 0x50]
call fcn.1400144e0
mov rax, qword [rsp + 0xc0]
jmp 0x14001cd9b
lea rcx, [rsp + 0x50]
call fcn.14002b570
movzx eax, al
test eax, eax
jne 0x14001ca23
mov rax, qword [0x1400352a8]
mov qword [rsp + 0xd0], rax
lea rcx, [0x14003ea70]
call fcn.1403b04e7
nop
mov qword [rsp + 0xc8], rax
mov rdx, qword [rsp + 0xc8]
mov rcx, qword [rsp + 0xd0]
call fcn.140012720
mov qword [rsp + 0xd8], rax
lea rdx, [0x140013fa0]
mov rcx, qword [rsp + 0xd8]
call qword [0x140035288]
mov qword [rsp + 0xe0], 0xffffffffffffffff
lea rcx, [rsp + 0x50]
call fcn.1400144e0
mov rax, qword [rsp + 0xe0]
jmp 0x14001cd9b
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], pe_nt_image_headers64
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 qword [rsp + 0x40], rax
cmp qword [rsp + 0x40], 0
je 0x14001ca6d
cmp qword [rsp + 0x40], 0xffffffffffffffff
jne 0x14001caf0
mov rcx, qword [rsp + 0x40]
call fcn.14001d810
mov rax, qword [0x1400352a8]
mov qword [rsp + 0xf0], rax
lea rcx, [0x14003ea98]
call fcn.1403b04e7
nop
mov qword [rsp + 0xe8], rax
mov rdx, qword [rsp + 0xe8]
mov rcx, qword [rsp + 0xf0]
call fcn.140012720
mov qword [rsp + 0xf8], rax
lea rdx, [0x140013fa0]
mov rcx, qword [rsp + 0xf8]
call qword [0x140035288]
mov qword [rsp + 0x100], 0xffffffffffffffff
lea rcx, [rsp + 0x50]
call fcn.1400144e0
mov rax, qword [rsp + 0x100]
jmp 0x14001cd9b
lea rdx, str.ntoskrnl.exe
lea rcx, [rsp + 0x1a0]
call fcn.140010d10
nop
lea rcx, [rsp + 0x1a0]
call fcn.14002c030
mov qword [0x14004f4b8], rax
lea rcx, [rsp + 0x1a0]
call fcn.140010dc0
cmp qword [0x14004f4b8], 0
jne 0x14001cbb7
mov rcx, qword [rsp + 0x40]
call fcn.14001d810
mov rax, qword [0x1400352a8]
mov qword [rsp + 0x110], rax
lea rcx, [0x14003eac0]
call fcn.1403b04e7
nop
mov qword [rsp + 0x108], rax
mov rdx, qword [rsp + 0x108]
mov rcx, qword [rsp + 0x110]
call fcn.140012720
mov qword [rsp + 0x118], rax
lea rdx, [0x140013fa0]
mov rcx, qword [rsp + 0x118]
call qword [0x140035288]
mov qword [rsp + 0x120], 0xffffffffffffffff
lea rcx, [rsp + 0x50]
call fcn.1400144e0
mov rax, qword [rsp + 0x120]
jmp 0x14001cd9b
mov rcx, qword [rsp + 0x40]
call fcn.14001b780
movzx eax, al
test eax, eax
jne 0x14001cc4f
mov rcx, qword [rsp + 0x40]
call fcn.14001d810
mov rax, qword [0x1400352a8]
mov qword [rsp + 0x130], rax
lea rcx, [0x14003ead8]
call fcn.1403b04e7
nop
mov qword [rsp + 0x128], rax
mov rdx, qword [rsp + 0x128]
mov rcx, qword [rsp + 0x130]
call fcn.140012720
mov qword [rsp + 0x138], rax
lea rdx, [0x140013fa0]
mov rcx, qword [rsp + 0x138]
call qword [0x140035288]
mov qword [rsp + 0x140], 0xffffffffffffffff
lea rcx, [rsp + 0x50]
call fcn.1400144e0
mov rax, qword [rsp + 0x140]
jmp 0x14001cd9b
mov rcx, qword [rsp + 0x40]
call fcn.14001ace0
movzx eax, al
test eax, eax
jne 0x14001cce7
mov rcx, qword [rsp + 0x40]
call fcn.14001d810
mov rax, qword [0x1400352a8]
mov qword [rsp + 0x150], rax
lea rcx, [0x14003eaf0]
call fcn.1403b04e7
nop
mov qword [rsp + 0x148], rax
mov rdx, qword [rsp + 0x148]
mov rcx, qword [rsp + 0x150]
call fcn.140012720
mov qword [rsp + 0x158], rax
lea rdx, [0x140013fa0]
mov rcx, qword [rsp + 0x158]
call qword [0x140035288]
mov qword [rsp + 0x160], 0xffffffffffffffff
lea rcx, [rsp + 0x50]
call fcn.1400144e0
mov rax, qword [rsp + 0x160]
jmp 0x14001cd9b
mov rcx, qword [rsp + 0x40]
call fcn.14001b3f0
movzx eax, al
test eax, eax
jne 0x14001cd7c
mov rcx, qword [rsp + 0x40]
call fcn.14001d810
mov rax, qword [0x1400352a8]
mov qword [rsp + 0x170], rax
lea rcx, [0x14003eb08]
call fcn.1403b04e7
nop
mov qword [rsp + 0x168], rax
mov rdx, qword [rsp + 0x168]
mov rcx, qword [rsp + 0x170]
call fcn.140012720
mov qword [rsp + 0x178], rax
lea rdx, [0x140013fa0]
mov rcx, qword [rsp + 0x178]
call qword [0x140035288]
mov qword [rsp + 0x180], 0xffffffffffffffff
lea rcx, [rsp + 0x50]
call fcn.1400144e0
mov rax, qword [rsp + 0x180]
jmp 0x14001cd9b
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x188], rax
lea rcx, [rsp + 0x50]
call fcn.1400144e0
mov rax, qword [rsp + 0x188]
add rsp, 0x1c0
pop rdi
ret