Function at 0x1400fad90
Capabilities:
Delete file

Disassembly:
push rdi
sub rsp, 0xf0
mov rax, qword [0x14016fb40]
xor rax, rsp
mov qword [rsp + 0xe0], rax
xor ecx, ecx
call fcn.1400f6600
mov qword [rsp + 0x50], rax
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov rcx, qword [rsp + 0x50]
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.1400fad30
movzx eax, al
test eax, eax
je 0x1400fade7
mov rax, 0xffffffffffffffff
jmp 0x1400fb0fc
lea rax, [0x140170ec0]
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 0x1400fae25
mov eax, dword [rsp + 0x48]
inc eax
mov dword [rsp + 0x48], eax
mov eax, dword [rsp + 0x4c]
cmp dword [rsp + 0x48], eax
jge 0x1400fae60
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, [0x140170ec0]
movzx eax, byte [rcx + rax]
mov byte [rdi + rdx], al
jmp 0x1400fae1b
lea rcx, [rsp + 0xc0]
call fcn.1400fa760
nop
lea rcx, [rsp + 0xc0]
call fcn.14000d0c0
movzx eax, al
test eax, eax
je 0x1400faea2
mov qword [rsp + 0x58], 0xffffffffffffffff
lea rcx, [rsp + 0xc0]
call fcn.1400083a0
mov rax, qword [rsp + 0x58]
jmp 0x1400fb0fc
lea rcx, [rsp + 0xc0]
call fcn.14000cb60
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll__wremove]
mov r8d, 0x8708
lea rdx, [0x1401277d0]
lea rcx, [rsp + 0xc0]
call fcn.1400ffac0
movzx eax, al
test eax, eax
jne 0x1400faef9
mov qword [rsp + 0x60], 0xffffffffffffffff
lea rcx, [rsp + 0xc0]
call fcn.1400083a0
mov rax, qword [rsp + 0x60]
jmp 0x1400fb0fc
lea rcx, [rsp + 0xc0]
call fcn.1400ff490
movzx eax, al
test eax, eax
jne 0x1400faf43
lea rcx, [rsp + 0xc0]
call fcn.14000cb60
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll__wremove]
mov qword [rsp + 0x68], 0xffffffffffffffff
lea rcx, [rsp + 0xc0]
call fcn.1400083a0
mov rax, qword [rsp + 0x68]
jmp 0x1400fb0fc
mov 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 qword [rsp + 0x40], rax
cmp qword [rsp + 0x40], 0
je 0x1400faf89
cmp qword [rsp + 0x40], 0xffffffffffffffff
jne 0x1400fafb3
mov rcx, qword [rsp + 0x40]
call fcn.1400fbc80
mov qword [rsp + 0x70], 0xffffffffffffffff
lea rcx, [rsp + 0xc0]
call fcn.1400083a0
mov rax, qword [rsp + 0x70]
jmp 0x1400fb0fc
lea rdx, str.ntoskrnl.exe
lea rcx, [rsp + 0xa0]
call fcn.140005fc0
nop
lea rcx, [rsp + 0xa0]
call fcn.1400fff50
mov qword [0x140170f28], rax
lea rcx, [rsp + 0xa0]
call fcn.140008370
cmp qword [0x140170f28], 0
jne 0x1400fb01d
mov rcx, qword [rsp + 0x40]
call fcn.1400fbc80
mov qword [rsp + 0x78], 0xffffffffffffffff
lea rcx, [rsp + 0xc0]
call fcn.1400083a0
mov rax, qword [rsp + 0x78]
jmp 0x1400fb0fc
mov rcx, qword [rsp + 0x40]
call fcn.1400f9cc0
movzx eax, al
test eax, eax
jne 0x1400fb05e
mov rcx, qword [rsp + 0x40]
call fcn.1400fbc80
mov qword [rsp + 0x80], 0xffffffffffffffff
lea rcx, [rsp + 0xc0]
call fcn.1400083a0
mov rax, qword [rsp + 0x80]
jmp 0x1400fb0fc
mov rcx, qword [rsp + 0x40]
call fcn.1400f9100
movzx eax, al
test eax, eax
jne 0x1400fb09c
mov rcx, qword [rsp + 0x40]
call fcn.1400fbc80
mov qword [rsp + 0x88], 0xffffffffffffffff
lea rcx, [rsp + 0xc0]
call fcn.1400083a0
mov rax, qword [rsp + 0x88]
jmp 0x1400fb0fc
mov rcx, qword [rsp + 0x40]
call fcn.1400f98b0
movzx eax, al
test eax, eax
jne 0x1400fb0da
mov rcx, qword [rsp + 0x40]
call fcn.1400fbc80
mov qword [rsp + 0x90], 0xffffffffffffffff
lea rcx, [rsp + 0xc0]
call fcn.1400083a0
mov rax, qword [rsp + 0x90]
jmp 0x1400fb0fc
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x98], rax
lea rcx, [rsp + 0xc0]
call fcn.1400083a0
mov rax, qword [rsp + 0x98]
mov rcx, qword [rsp + 0xe0]
xor rcx, rsp
call fcn.1401010d0
add rsp, 0xf0
pop rdi
ret