Function at 0x1b930
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, [0x0004c480]
mov r8, rsi
xor edx, edx
call fcn.0003bc80
movabs r11, 0x5c003f003f005c
lea rdx, [0x0004c480]
lea rcx, [0x0004f140]
mov qword [0x0004c480], r11
call qword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
lea rdx, [0x0003c8a0]
lea rcx, [rsp + 0x50]
call qword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
lea rdx, [0x00048e20]
lea rcx, [rsp + 0x40]
call qword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
mov eax, 0x464b5147
xor edi, edi
mov ebp, 0x40
lea r12, [0x0004ce20]
cmp dword [0x0004ce1c], eax
je 0x1b9d8
mov dword [0x0004ce1c], eax
jmp 0x1bb5c
cmp di, word [0x0004ce20]
je 0x1bb5c
lea rcx, [rsp + 0x30]
mov rdx, r12
call qword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
mov edx, 0x410
mov r8d, 0x72647268
xor ecx, ecx
mov word [rsp + 0x20], di
mov word [rsp + 0x22], si
call qword [sym.imp.ntoskrnl.exe_ExAllocatePoolWithTag]
mov qword [rsp + 0x28], rax
cmp rax, rdi
je 0x1bb5c
mov r8, rsi
xor edx, edx
mov rcx, rax
call fcn.0003bc80
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x20]
call qword [sym.imp.ntoskrnl.exe_RtlAppendUnicodeStringToString]
mov r13d, 0x30
cmp eax, edi
jl 0x1baa0
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x20]
call qword [sym.imp.ntoskrnl.exe_RtlAppendUnicodeStringToString]
cmp eax, edi
jl 0x1baa0
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x20]
call qword [sym.imp.ntoskrnl.exe_RtlAppendUnicodeStringToString]
cmp eax, edi
jl 0x1baa0
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 [0x0004d060]
je 0x1bb47
lea rdx, [0x0004d060]
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.0003bc80
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x20]
call qword [sym.imp.ntoskrnl.exe_RtlAppendUnicodeStringToString]
cmp eax, edi
jl 0x1bb47
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x20]
call qword [sym.imp.ntoskrnl.exe_RtlAppendUnicodeStringToString]
cmp eax, edi
jl 0x1bb47
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x20]
call qword [sym.imp.ntoskrnl.exe_RtlAppendUnicodeStringToString]
cmp eax, edi
jl 0x1bb47
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 0x1bb5c
mov edx, 0x72647268
call qword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
cmp rbx, rdi
je 0x1c34f
mov rax, qword [rbx + 0x30]
cmp rax, rdi
je 0x1c34f
cmp qword [rax + 0x20], rdi
je 0x1c34f
mov r8, rbp
xor edx, edx
mov rcx, r12
call fcn.0003bc80
mov rdx, qword [rbx + 0x30]
mov rcx, r12
movzx r8d, word [rdx + 0x18]
mov rdx, qword [rdx + 0x20]
call fcn.0003a6f0
lea rcx, [0x0004d060]
mov r8, rbp
xor edx, edx
call fcn.0003bc80
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 0x1bddc
lea rcx, [0x000489e0]
call fcn.0003bc80
lea esi, [r15 - 1]
mov word [0x000489e0], si
call fcn.000141cc
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 [0x000489e2], r11w
call fcn.000141cc
mov r11d, eax
mov eax, ebp
mul r11d
shr edx, 2
imul edx, edx, 0xd
sub r11d, edx
add r11w, 0x68
mov word [0x000489e4], r11w
call fcn.000141cc
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 [0x000489e6], r11w
imul dx, dx, 0xb
sub ax, dx
add ax, 0x67
mov word [0x000489e8], ax
call fcn.000141cc
lea rcx, [0x00048a60]
and ax, 7
mov r8, r13
xor edx, edx
add ax, 0x6b
mov word [0x000489ea], ax
call fcn.0003bc80
mov word [0x00048a60], si
call fcn.000141cc
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 [0x00048a62], r11w
call fcn.000141cc
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 [0x00048a64], r11w
call fcn.000141cc
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 [0x00048a66], r11w
mov word [0x00048a68], cx
call fcn.000141cc
lea rcx, [0x00048ae0]
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 [0x00048a6a], r11w
call fcn.0003bc80
mov word [0x00048ae0], si
call fcn.000141cc
and ax, 0xf
add ax, 0x6b
mov word [0x00048ae2], ax
call fcn.000141cc
mov r11d, eax
mov eax, ebp
mul r11d
shr edx, 3
imul edx, edx, 0x1a
sub r11d, edx
add r11w, r12w
mov word [0x00048ae4], r11w
call fcn.000141cc
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 [0x00048ae6], r11w
jmp 0x1c312
mov esi, 0x71
cmp si, cx
jne 0x1bf89
lea rcx, [0x000489e0]
call fcn.0003bc80
lea edi, [rsi - 1]
mov word [0x000489e0], di
call fcn.000141cc
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 [0x000489e2], r11w
call fcn.000141cc
mov r11d, eax
mov eax, ebp
mul r11d
shr edx, 2
imul edx, edx, 0xd
sub r11d, edx
add r11w, 0x68
mov word [0x000489e4], r11w
call fcn.000141cc
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 [0x000489e6], r11w
imul dx, dx, 0xb
sub ax, dx
add ax, 0x67
mov word [0x000489e8], ax
call fcn.000141cc
lea rcx, [0x00048a60]
and ax, 7
mov r8, r13
xor edx, edx
add ax, 0x6b
mov word [0x000489ea], ax
call fcn.0003bc80
mov word [0x00048a60], di
call fcn.000141cc
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 [0x00048a62], r11w
call fcn.000141cc
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 [0x00048a64], r11w
call fcn.000141cc
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 [0x00048a66], r11w
and ax, 7
add ax, 0x6f
mov word [0x00048a68], ax
call fcn.000141cc
lea rcx, [0x00048ae0]
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 [0x00048a6a], r11w
call fcn.0003bc80
mov word [0x00048ae0], di
jmp 0x1c2c8
mov edi, 0x70
cmp di, cx
lea rcx, [0x000489e0]
jne 0x1c138
call fcn.0003bc80
mov word [0x000489e0], r15w
call fcn.000141cc
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 [0x000489e2], r11w
call fcn.000141cc
mov r11d, eax
mov eax, ebp
mul r11d
shr edx, 2
imul edx, edx, 0xd
sub r11d, edx
add r11w, 0x68
mov word [0x000489e4], r11w
call fcn.000141cc
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 [0x000489e6], r11w
imul dx, dx, 0xb
sub ax, dx
add ax, 0x67
mov word [0x000489e8], ax
call fcn.000141cc
lea rcx, [0x00048a60]
and ax, 7
mov r8, r13
xor edx, edx
add ax, 0x6b
mov word [0x000489ea], ax
call fcn.0003bc80
mov word [0x00048a60], r15w
call fcn.000141cc
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 [0x00048a62], r11w
call fcn.000141cc
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 [0x00048a64], r11w
call fcn.000141cc
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 [0x00048a66], r11w
mov word [0x00048a68], ax
call fcn.000141cc
lea rcx, [0x00048ae0]
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 [0x00048a6a], r11w
call fcn.0003bc80
lea eax, [rdi + 2]
mov word [0x00048ae0], ax
jmp 0x1c2c8
call fcn.0003bc80
mov word [0x000489e0], si
call fcn.000141cc
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 [0x000489e2], r11w
call fcn.000141cc
mov r11d, eax
mov eax, ebp
mul r11d
shr edx, 2
imul edx, edx, 0xd
sub r11d, edx
add r11w, 0x68
mov word [0x000489e4], r11w
call fcn.000141cc
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 [0x000489e6], r11w
imul dx, dx, 0xb
sub ax, dx
add ax, 0x67
mov word [0x000489e8], ax
call fcn.000141cc
lea rcx, [0x00048a60]
and ax, 7
mov r8, r13
xor edx, edx
add ax, 0x6b
mov word [0x000489ea], ax
call fcn.0003bc80
mov word [0x00048a60], si
call fcn.000141cc
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 [0x00048a62], r11w
call fcn.000141cc
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 [0x00048a64], r11w
call fcn.000141cc
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 [0x00048a66], r11w
mov word [0x00048a68], ax
call fcn.000141cc
lea rcx, [0x00048ae0]
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 [0x00048a6a], r11w
call fcn.0003bc80
mov word [0x00048ae0], si
call fcn.000141cc
and ax, 0xf
add ax, 0x6b
mov word [0x00048ae2], ax
call fcn.000141cc
mov r11d, eax
mov eax, ebp
mul r11d
shr edx, 3
imul edx, edx, 0x1a
sub r11d, edx
add r11w, r12w
mov word [0x00048ae4], r11w
call fcn.000141cc
and ax, 0xf
add ax, 0x66
mov word [0x00048ae6], ax
mov eax, ebp
mul ebx
shr edx, 2
imul dx, dx, 0xd
sub bx, dx
add bx, 0x65
mov word [0x00048ae8], bx
call fcn.000141cc
mov r11d, eax
mov eax, 0x38e38e39
mul r11d
shr edx, 1
lea ecx, [rdx + rdx*8]
sub r11d, ecx
add r11w, r12w
mov word [0x00048aea], 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