Function at 0x1af6c
Capabilities:
Delete file

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r12
push r13
push r15
sub rsp, 0x90
mov rbx, rcx
mov esi, 0x400
lea rcx, [0x0002aa40]
mov r8, rsi
xor edx, edx
call fcn.000231f0
movabs r11, 0x5c003f003f005c
lea rdx, [0x0002aa40]
lea rcx, [0x0002d180]
mov qword [0x0002aa40], r11
call qword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
lea rdx, [0x00023c80]
lea rcx, [rsp + 0x50]
call qword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
lea rdx, [0x000269f0]
lea rcx, [rsp + 0x40]
call qword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
mov eax, 0x464b5147
xor edi, edi
mov ebp, 0x40
lea r12, [0x0002aea0]
cmp dword [0x0002ae9c], eax
je 0x1b014
mov dword [0x0002ae9c], eax
jmp 0x1b18d
cmp di, word [0x0002aea0]
je 0x1b18d
lea rcx, [rsp + 0x30]
mov rdx, r12
call qword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
mov rdx, rsi
xor ecx, ecx
mov word [rsp + 0x20], di
mov word [rsp + 0x22], si
call qword [sym.imp.ntoskrnl.exe_ExAllocatePool]
mov qword [rsp + 0x28], rax
cmp rax, rdi
je 0x1b18d
mov r8, rsi
xor edx, edx
mov rcx, rax
call fcn.000231f0
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x20]
call qword [sym.imp.ntoskrnl.exe_RtlAppendUnicodeStringToString]
mov r13d, 0x30
cmp eax, edi
jl 0x1b0d4
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x20]
call qword [sym.imp.ntoskrnl.exe_RtlAppendUnicodeStringToString]
cmp eax, edi
jl 0x1b0d4
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x20]
call qword [sym.imp.ntoskrnl.exe_RtlAppendUnicodeStringToString]
cmp eax, edi
jl 0x1b0d4
lea rax, [rsp + 0x20]
lea rcx, [rsp + 0x60]
mov dword [rsp + 0x60], r13d
mov qword [rsp + 0x68], rdi
mov dword [rsp + 0x78], ebp
mov qword [rsp + 0x80], rdi
mov qword [rsp + 0x70], rax
mov qword [rsp + 0x88], rdi
call qword [sym.imp.ntoskrnl.exe_ZwDeleteFile]
cmp di, word [0x0002b0e0]
je 0x1b17b
lea rdx, [0x0002b0e0]
lea rcx, [rsp + 0x30]
call qword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
mov rcx, qword [rsp + 0x28]
mov r8, rsi
xor edx, edx
mov word [rsp + 0x20], di
mov word [rsp + 0x22], si
call fcn.000231f0
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x20]
call qword [sym.imp.ntoskrnl.exe_RtlAppendUnicodeStringToString]
cmp eax, edi
jl 0x1b17b
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x20]
call qword [sym.imp.ntoskrnl.exe_RtlAppendUnicodeStringToString]
cmp eax, edi
jl 0x1b17b
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x20]
call qword [sym.imp.ntoskrnl.exe_RtlAppendUnicodeStringToString]
cmp eax, edi
jl 0x1b17b
lea rax, [rsp + 0x20]
lea rcx, [rsp + 0x60]
mov dword [rsp + 0x60], r13d
mov qword [rsp + 0x68], rdi
mov dword [rsp + 0x78], ebp
mov qword [rsp + 0x80], rdi
mov qword [rsp + 0x70], rax
mov qword [rsp + 0x88], rdi
call qword [sym.imp.ntoskrnl.exe_ZwDeleteFile]
mov rcx, qword [rsp + 0x28]
cmp rcx, rdi
je 0x1b18d
xor edx, edx
call qword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
cmp rbx, rdi
je 0x1b980
mov rax, qword [rbx + 0x30]
cmp rax, rdi
je 0x1b980
cmp qword [rax + 0x20], rdi
je 0x1b980
mov r8, rbp
xor edx, edx
mov rcx, r12
call fcn.000231f0
mov rdx, qword [rbx + 0x30]
mov rcx, r12
movzx r8d, word [rdx + 0x18]
mov rdx, qword [rdx + 0x20]
call fcn.00021c60
lea rcx, [0x0002b0e0]
mov r8, rbp
xor edx, edx
call fcn.000231f0
mov r11, qword [rbx + 0x30]
mov r15d, 0x72
mov rax, qword [r11 + 0x20]
lea r13d, [r15 + 0xe]
xor edx, edx
movzx ecx, word [rax]
mov r8, r13
cmp r15w, cx
jne 0x1b40d
lea rcx, [0x000265b0]
call fcn.000231f0
lea esi, [r15 - 1]
mov word [0x000265b0], si
call fcn.00013d24
mov ebp, 0x4ec4ec4f
mov r11d, eax
mov eax, ebp
mov r12w, 0x61
mul r11d
shr edx, 3
imul edx, edx, 0x1a
sub r11d, edx
add r11w, r12w
mov word [0x000265b2], r11w
call fcn.00013d24
mov r11d, eax
mov eax, ebp
mul r11d
shr edx, 2
imul edx, edx, 0xd
sub r11d, edx
add r11w, 0x68
mov word [0x000265b4], r11w
call fcn.00013d24
mov r11d, eax
mov eax, 0x24924925
mov ecx, r11d
mul r11d
sub ecx, edx
mov eax, 0xba2e8ba3
shr ecx, 1
add ecx, edx
shr ecx, 2
mul ebx
shr edx, 3
movzx eax, bx
imul ecx, ecx, 7
sub r11d, ecx
add r11w, 0x73
mov word [0x000265b6], r11w
imul dx, dx, 0xb
sub ax, dx
add ax, 0x67
mov word [0x000265b8], ax
call fcn.00013d24
lea rcx, [0x00026630]
and ax, 7
mov r8, r13
xor edx, edx
add ax, 0x6b
mov word [0x000265ba], ax
call fcn.000231f0
mov word [0x00026630], si
call fcn.00013d24
mov r15d, 0xcccccccd
mov r11d, eax
mov eax, r15d
mul r11d
shr edx, 3
lea ecx, [rdx + rdx*4]
add ecx, ecx
sub r11d, ecx
add r11w, 0x74
mov word [0x00026632], r11w
call fcn.00013d24
mov r11d, eax
mov eax, r15d
mul r11d
shr edx, 4
lea ecx, [rdx + rdx*4]
shl ecx, 2
sub r11d, ecx
add r11w, 0x66
mov word [0x00026634], r11w
call fcn.00013d24
mov r11d, eax
mov eax, ebp
mul r11d
shr edx, 3
imul edx, edx, 0x1a
movzx ecx, bx
sub r11d, edx
and cx, 7
add r11w, r12w
add cx, 0x6f
mov word [0x00026636], r11w
mov word [0x00026638], cx
call fcn.00013d24
lea rcx, [0x000266b0]
mov r11d, eax
mov eax, 0xba2e8ba3
mov r8, r13
mul r11d
shr edx, 3
imul edx, edx, 0xb
sub r11d, edx
xor edx, edx
add r11w, 0x68
mov word [0x0002663a], r11w
call fcn.000231f0
mov word [0x000266b0], si
call fcn.00013d24
and ax, 0xf
add ax, 0x6b
mov word [0x000266b2], ax
call fcn.00013d24
mov r11d, eax
mov eax, ebp
mul r11d
shr edx, 3
imul edx, edx, 0x1a
sub r11d, edx
add r11w, r12w
mov word [0x000266b4], r11w
call fcn.00013d24
mov r11d, eax
mov eax, 0xaaaaaaab
mul r11d
shr edx, 3
lea ecx, [rdx + rdx*2]
shl ecx, 2
sub r11d, ecx
add r11w, 0x6c
mov word [0x000266b6], r11w
jmp 0x1b943
mov esi, 0x71
cmp si, cx
jne 0x1b5ba
lea rcx, [0x000265b0]
call fcn.000231f0
lea edi, [rsi - 1]
mov word [0x000265b0], di
call fcn.00013d24
mov ebp, 0x4ec4ec4f
mov r11d, eax
mov eax, ebp
mov r12w, 0x61
mul r11d
shr edx, 3
imul edx, edx, 0x1a
sub r11d, edx
add r11w, r12w
mov word [0x000265b2], r11w
call fcn.00013d24
mov r11d, eax
mov eax, ebp
mul r11d
shr edx, 2
imul edx, edx, 0xd
sub r11d, edx
add r11w, 0x68
mov word [0x000265b4], r11w
call fcn.00013d24
mov r11d, eax
mov eax, ebp
mul r11d
mov eax, 0xba2e8ba3
shr edx, 3
imul edx, edx, 0x1a
sub r11d, edx
mul ebx
movzx eax, bx
shr edx, 3
add r11w, r12w
mov word [0x000265b6], r11w
imul dx, dx, 0xb
sub ax, dx
add ax, 0x67
mov word [0x000265b8], ax
call fcn.00013d24
lea rcx, [0x00026630]
and ax, 7
mov r8, r13
xor edx, edx
add ax, 0x6b
mov word [0x000265ba], ax
call fcn.000231f0
mov word [0x00026630], di
call fcn.00013d24
mov r15d, 0xcccccccd
mov r11d, eax
mov eax, r15d
mul r11d
shr edx, 3
lea ecx, [rdx + rdx*4]
add ecx, ecx
sub r11d, ecx
add r11w, 0x74
mov word [0x00026632], r11w
call fcn.00013d24
mov r11d, eax
mov eax, r15d
mul r11d
shr edx, 4
lea ecx, [rdx + rdx*4]
shl ecx, 2
sub r11d, ecx
add r11w, 0x66
mov word [0x00026634], r11w
call fcn.00013d24
mov r11d, eax
mov eax, 0xb21642c9
mul r11d
movzx eax, bx
shr edx, 4
imul edx, edx, 0x17
sub r11d, edx
add r11w, r12w
mov word [0x00026636], r11w
and ax, 7
add ax, 0x6f
mov word [0x00026638], ax
call fcn.00013d24
lea rcx, [0x000266b0]
mov r11d, eax
mov eax, 0xba2e8ba3
mov r8, r13
mul r11d
shr edx, 3
imul edx, edx, 0xb
sub r11d, edx
xor edx, edx
add r11w, 0x68
mov word [0x0002663a], r11w
call fcn.000231f0
mov word [0x000266b0], di
jmp 0x1b8f9
mov edi, 0x70
cmp di, cx
lea rcx, [0x000265b0]
jne 0x1b769
call fcn.000231f0
mov word [0x000265b0], r15w
call fcn.00013d24
mov r11d, eax
mov ebp, 0x4ec4ec4f
mov r12w, 0x61
mov eax, ebp
mul r11d
shr edx, 3
imul edx, edx, 0x1a
sub r11d, edx
add r11w, r12w
mov word [0x000265b2], r11w
call fcn.00013d24
mov r11d, eax
mov eax, ebp
mul r11d
shr edx, 2
imul edx, edx, 0xd
sub r11d, edx
add r11w, 0x68
mov word [0x000265b4], r11w
call fcn.00013d24
mov r11d, eax
mov eax, ebp
mul r11d
mov eax, 0xba2e8ba3
shr edx, 3
imul edx, edx, 0x1a
sub r11d, edx
mul ebx
movzx eax, bx
shr edx, 3
add r11w, r12w
mov word [0x000265b6], r11w
imul dx, dx, 0xb
sub ax, dx
add ax, 0x67
mov word [0x000265b8], ax
call fcn.00013d24
lea rcx, [0x00026630]
and ax, 7
mov r8, r13
xor edx, edx
add ax, 0x6b
mov word [0x000265ba], ax
call fcn.000231f0
mov word [0x00026630], r15w
call fcn.00013d24
mov r15d, 0xcccccccd
mov r11d, eax
mov eax, r15d
mul r11d
shr edx, 3
lea ecx, [rdx + rdx*4]
add ecx, ecx
sub r11d, ecx
add r11w, 0x74
mov word [0x00026632], r11w
call fcn.00013d24
mov r11d, eax
mov eax, r15d
mul r11d
shr edx, 4
lea ecx, [rdx + rdx*4]
shl ecx, 2
sub r11d, ecx
add r11w, 0x66
mov word [0x00026634], r11w
call fcn.00013d24
mov r11d, eax
mov eax, 0xb21642c9
mul r11d
movzx eax, bx
shr edx, 4
and ax, 7
imul edx, edx, 0x17
sub r11d, edx
add r11w, r12w
add ax, 0x6f
mov word [0x00026636], r11w
mov word [0x00026638], ax
call fcn.00013d24
lea rcx, [0x000266b0]
mov r11d, eax
mov eax, 0xba2e8ba3
mov r8, r13
mul r11d
shr edx, 3
imul edx, edx, 0xb
sub r11d, edx
xor edx, edx
add r11w, 0x68
mov word [0x0002663a], r11w
call fcn.000231f0
lea eax, [rdi + 2]
mov word [0x000266b0], ax
jmp 0x1b8f9
call fcn.000231f0
mov word [0x000265b0], si
call fcn.00013d24
mov r11d, eax
mov ebp, 0x4ec4ec4f
mov r12w, 0x61
mov eax, ebp
mul r11d
shr edx, 3
imul edx, edx, 0x1a
sub r11d, edx
add r11w, r12w
mov word [0x000265b2], r11w
call fcn.00013d24
mov r11d, eax
mov eax, ebp
mul r11d
shr edx, 2
imul edx, edx, 0xd
sub r11d, edx
add r11w, 0x68
mov word [0x000265b4], r11w
call fcn.00013d24
mov r11d, eax
mov eax, ebp
mul r11d
mov eax, 0xba2e8ba3
shr edx, 3
imul edx, edx, 0x1a
sub r11d, edx
mul ebx
movzx eax, bx
shr edx, 3
add r11w, r12w
mov word [0x000265b6], r11w
imul dx, dx, 0xb
sub ax, dx
add ax, 0x67
mov word [0x000265b8], ax
call fcn.00013d24
lea rcx, [0x00026630]
and ax, 7
mov r8, r13
xor edx, edx
add ax, 0x6b
mov word [0x000265ba], ax
call fcn.000231f0
mov word [0x00026630], si
call fcn.00013d24
mov r15d, 0xcccccccd
mov r11d, eax
mov eax, r15d
mul r11d
shr edx, 3
lea ecx, [rdx + rdx*4]
add ecx, ecx
sub r11d, ecx
add r11w, 0x74
mov word [0x00026632], r11w
call fcn.00013d24
mov r11d, eax
mov eax, r15d
mul r11d
shr edx, 4
lea ecx, [rdx + rdx*4]
shl ecx, 2
sub r11d, ecx
add r11w, 0x66
mov word [0x00026634], r11w
call fcn.00013d24
mov r11d, eax
mov eax, 0xb21642c9
mul r11d
movzx eax, bx
shr edx, 4
and ax, 7
imul edx, edx, 0x17
sub r11d, edx
add r11w, r12w
add ax, 0x6f
mov word [0x00026636], r11w
mov word [0x00026638], ax
call fcn.00013d24
lea rcx, [0x000266b0]
mov r11d, eax
mov eax, 0xba2e8ba3
mov r8, r13
mul r11d
shr edx, 3
imul edx, edx, 0xb
sub r11d, edx
xor edx, edx
add r11w, 0x68
mov word [0x0002663a], r11w
call fcn.000231f0
mov word [0x000266b0], si
call fcn.00013d24
and ax, 0xf
add ax, 0x6b
mov word [0x000266b2], ax
call fcn.00013d24
mov r11d, eax
mov eax, ebp
mul r11d
shr edx, 3
imul edx, edx, 0x1a
sub r11d, edx
add r11w, r12w
mov word [0x000266b4], r11w
call fcn.00013d24
and ax, 0xf
add ax, 0x66
mov word [0x000266b6], ax
mov eax, ebp
mul ebx
shr edx, 2
imul dx, dx, 0xd
sub bx, dx
add bx, 0x65
mov word [0x000266b8], bx
call fcn.00013d24
mov r11d, eax
mov eax, 0x38e38e39
mul r11d
shr edx, 1
lea ecx, [rdx + rdx*8]
sub r11d, ecx
add r11w, r12w
mov word [0x000266ba], r11w
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r13
pop r12
ret