Function at 0x1c070
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, [0x0002c3a0]
mov r8, rsi
xor edx, edx
call fcn.00024210
movabs r11, 0x5c003f003f005c
lea rdx, [0x0002c3a0]
lea rcx, [0x0002eae0]
mov qword [0x0002c3a0], r11
call qword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
lea rdx, [0x00024c40]
lea rcx, [rsp + 0x50]
call qword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
lea rdx, [0x00027bb0]
lea rcx, [rsp + 0x40]
call qword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
mov eax, 0x464b5147
xor edi, edi
mov ebp, 0x40
lea r12, [0x0002c800]
cmp dword [0x0002c7fc], eax
je 0x1c118
mov dword [0x0002c7fc], eax
jmp 0x1c291
cmp di, word [0x0002c800]
je 0x1c291
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 0x1c291
mov r8, rsi
xor edx, edx
mov rcx, rax
call fcn.00024210
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x20]
call qword [sym.imp.ntoskrnl.exe_RtlAppendUnicodeStringToString]
mov r13d, 0x30
cmp eax, edi
jl 0x1c1d8
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x20]
call qword [sym.imp.ntoskrnl.exe_RtlAppendUnicodeStringToString]
cmp eax, edi
jl 0x1c1d8
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x20]
call qword [sym.imp.ntoskrnl.exe_RtlAppendUnicodeStringToString]
cmp eax, edi
jl 0x1c1d8
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 [0x0002ca40]
je 0x1c27f
lea rdx, [0x0002ca40]
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.00024210
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x20]
call qword [sym.imp.ntoskrnl.exe_RtlAppendUnicodeStringToString]
cmp eax, edi
jl 0x1c27f
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x20]
call qword [sym.imp.ntoskrnl.exe_RtlAppendUnicodeStringToString]
cmp eax, edi
jl 0x1c27f
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x20]
call qword [sym.imp.ntoskrnl.exe_RtlAppendUnicodeStringToString]
cmp eax, edi
jl 0x1c27f
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 0x1c291
xor edx, edx
call qword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
cmp rbx, rdi
je 0x1c9e1
mov rax, qword [rbx + 0x30]
cmp rax, rdi
je 0x1c9e1
cmp qword [rax + 0x20], rdi
je 0x1c9e1
mov r8, rbp
xor edx, edx
mov rcx, r12
call fcn.00024210
mov rdx, qword [rbx + 0x30]
mov rcx, r12
movzx r8d, word [rdx + 0x18]
mov rdx, qword [rdx + 0x20]
call fcn.00022c70
lea rcx, [0x0002ca40]
mov r8, rbp
xor edx, edx
call fcn.00024210
mov r11, qword [rbx + 0x30]
mov r15d, 0x74
mov rax, qword [r11 + 0x20]
lea r13d, [r15 + 0xc]
xor edx, edx
movzx ecx, word [rax]
mov r8, r13
cmp r15w, cx
jne 0x1c511
lea rcx, [0x00027830]
call fcn.00024210
lea esi, [r15 - 6]
mov word [0x00027830], si
call fcn.00013c54
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 [0x00027832], r11w
call fcn.00013c54
mov r11d, eax
mov eax, ebp
mul r11d
shr edx, 2
imul edx, edx, 0xd
sub r11d, edx
add r11w, 0x68
mov word [0x00027834], r11w
call fcn.00013c54
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 [0x00027836], r11w
imul dx, dx, 0xb
sub ax, dx
add ax, 0x67
mov word [0x00027838], ax
call fcn.00013c54
lea rcx, [0x000278b0]
and ax, 7
mov r8, r13
xor edx, edx
add ax, 0x6b
mov word [0x0002783a], ax
call fcn.00024210
mov word [0x000278b0], si
call fcn.00013c54
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 [0x000278b2], r11w
call fcn.00013c54
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 [0x000278b4], r11w
call fcn.00013c54
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 [0x000278b6], r11w
mov word [0x000278b8], cx
call fcn.00013c54
lea rcx, [0x00027930]
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 [0x000278ba], r11w
call fcn.00024210
mov word [0x00027930], si
call fcn.00013c54
and ax, 0xf
add ax, 0x6b
mov word [0x00027932], ax
call fcn.00013c54
mov r11d, eax
mov eax, ebp
mul r11d
shr edx, 3
imul edx, edx, 0x1a
sub r11d, edx
add r11w, r12w
mov word [0x00027934], r11w
call fcn.00013c54
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 [0x00027936], r11w
jmp 0x1c9a4
mov esi, 0x6e
cmp si, cx
jne 0x1c6be
lea rcx, [0x00027830]
call fcn.00024210
lea edi, [rsi + 9]
mov word [0x00027830], di
call fcn.00013c54
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 [0x00027832], r11w
call fcn.00013c54
mov r11d, eax
mov eax, ebp
mul r11d
shr edx, 2
imul edx, edx, 0xd
sub r11d, edx
add r11w, 0x68
mov word [0x00027834], r11w
call fcn.00013c54
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 [0x00027836], r11w
imul dx, dx, 0xb
sub ax, dx
add ax, 0x67
mov word [0x00027838], ax
call fcn.00013c54
lea rcx, [0x000278b0]
and ax, 7
mov r8, r13
xor edx, edx
add ax, 0x6b
mov word [0x0002783a], ax
call fcn.00024210
mov word [0x000278b0], di
call fcn.00013c54
mov r15d, 0xcccccccd
mov r11d, eax
mov eax, r15d
mov eax, edi
mul r11d
shr edx, 3
lea ecx, [rdx + rdx*4]
add ecx, ecx
sub r11d, ecx
add r11w, 0x74
mov word [0x000278b2], r11w
call fcn.00013c54
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 [0x000278b4], r11w
call fcn.00013c54
mov r11d, eax
mov eax, 0xb21642c9
mul r11d
movzx eax, bx
shr edx, 4
and ax, 7
add ax, 0x6f
mov word [0x000278b8], ax
imul edx, edx, 0x17
sub r11d, edx
add r11w, r12w
mov word [0x000278b6], r11w
call fcn.00013c54
lea rcx, [0x00027930]
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 [0x000278ba], r11w
call fcn.00024210
mov word [0x00027930], di
jmp 0x1c95a
mov edi, 0x77
cmp di, cx
lea rcx, [0x00027830]
jne 0x1c7ca
call fcn.00024210
mov word [0x00027830], r15w
call fcn.00013c54
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 [0x00027832], r11w
call fcn.00013c54
mov r11d, eax
mov eax, ebp
mul r11d
shr edx, 2
imul edx, edx, 0xd
sub r11d, edx
add r11w, 0x68
mov word [0x00027834], r11w
call fcn.00013c54
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 [0x00027836], r11w
imul dx, dx, 0xb
sub ax, dx
add ax, 0x67
mov word [0x00027838], ax
call fcn.00013c54
lea rcx, [0x000278b0]
and ax, 7
mov r8, r13
xor edx, edx
add ax, 0x6b
mov word [0x0002783a], ax
call fcn.00024210
mov word [0x000278b0], r15w
call fcn.00013c54
mov r15d, 0xcccccccd
mov edi, 0x74
mov r11d, eax
mov eax, r15d
mul r11d
shr edx, 3
lea ecx, [rdx + rdx*4]
add ecx, ecx
sub r11d, ecx
add r11w, di
jmp 0x1c615
call fcn.00024210
mov word [0x00027830], si
call fcn.00013c54
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 [0x00027832], r11w
call fcn.00013c54
mov r11d, eax
mov eax, ebp
mul r11d
shr edx, 2
imul edx, edx, 0xd
sub r11d, edx
add r11w, 0x68
mov word [0x00027834], r11w
call fcn.00013c54
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 [0x00027836], r11w
imul dx, dx, 0xb
sub ax, dx
add ax, 0x67
mov word [0x00027838], ax
call fcn.00013c54
lea rcx, [0x000278b0]
and ax, 7
mov r8, r13
xor edx, edx
add ax, 0x6b
mov word [0x0002783a], ax
call fcn.00024210
mov word [0x000278b0], si
call fcn.00013c54
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 [0x000278b2], r11w
call fcn.00013c54
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 [0x000278b4], r11w
call fcn.00013c54
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 [0x000278b6], r11w
mov word [0x000278b8], ax
call fcn.00013c54
lea rcx, [0x00027930]
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 [0x000278ba], r11w
call fcn.00024210
mov word [0x00027930], si
call fcn.00013c54
and ax, 0xf
add ax, 0x6b
mov word [0x00027932], ax
call fcn.00013c54
mov r11d, eax
mov eax, ebp
mul r11d
shr edx, 3
imul edx, edx, 0x1a
sub r11d, edx
add r11w, r12w
mov word [0x00027934], r11w
call fcn.00013c54
and ax, 0xf
add ax, 0x66
mov word [0x00027936], ax
mov eax, ebp
mul ebx
shr edx, 2
imul dx, dx, 0xd
sub bx, dx
add bx, 0x65
mov word [0x00027938], bx
call fcn.00013c54
mov r11d, eax
mov eax, 0x38e38e39
mul r11d
shr edx, 1
lea ecx, [rdx + rdx*8]
sub r11d, ecx
add r11w, r12w
mov word [0x0002793a], 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