Function at 0x100102c6c
Capabilities:
Delete file

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r12
push r13
push r15
mov eax, 0x1170
call fcn.100129f70
sub rsp, rax
mov rax, qword [0x100152198]
xor rax, rsp
mov qword [rsp + 0x1160], rax
xor r12d, r12d
mov rbx, rcx
lea rcx, [rsp + 0x32]
xor edx, edx
mov r8d, 0x112e
mov esi, r12d
mov word [rsp + 0x30], r12w
call sub.msvcrt.dll_memset
lea r13, [0x100153eb8]
lea r15, [0x10001dad0]
lea rcx, [rbx + 0x40]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [rbx + 0x20], r12d
jle 0x100102d0f
mov rax, qword [rbx + 0x18]
mov rcx, qword [rax]
mov qword [rbx + 0x38], rcx
mov eax, dword [rbx + 0x20]
cmp eax, r12d
jle 0x100102d13
dec eax
cmp eax, r12d
je 0x100102d0a
mov rcx, qword [rbx + 0x18]
movsxd r8, eax
lea rdx, [rcx + 8]
shl r8, 3
call sub.msvcrt.dll_memmove
dec dword [rbx + 0x20]
jmp 0x100102d13
mov qword [rbx + 0x38], r12
lea rcx, [rbx + 0x40]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov rdx, qword [rbx + 0x38]
cmp rdx, r12
je 0x100102f3e
mov rdx, qword [rdx]
mov rcx, rbx
call fcn.100102914
cmp eax, r12d
mov r11d, eax
jl 0x100102eec
mov rax, qword [rbx + 8]
cmp rax, r12
je 0x100102eec
mov edi, dword [rax + 8]
mov ecx, dword [rax + 0x18]
test dil, 8
je 0x100102d96
mov rcx, qword [0x100153eb8]
cmp rcx, r13
je 0x100102d84
test byte [rcx + 0x1c], 4
je 0x100102d84
mov r9, qword [rbx + 0x38]
mov rcx, qword [rcx + 0x10]
mov edx, 0x29
mov r9, qword [r9]
mov r8, r15
call fcn.1000347a8
mov rcx, qword [rbx + 0x38]
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
jmp 0x100102f31
cmp dword [rbx + 0x2bc], r12d
je 0x100102df2
lea rdx, [rsp + 0x30]
mov r8d, 0x898
call fcn.1000f5ca0
cmp eax, r12d
jne 0x100102df2
mov rcx, qword [0x100153eb8]
cmp rcx, r13
je 0x100102de8
test byte [rcx + 0x1c], 4
je 0x100102de8
mov r9, qword [rbx + 0x38]
mov rcx, qword [rcx + 0x10]
lea rax, [rsp + 0x30]
mov r9, qword [r9]
mov edx, 0x2a
mov r8, r15
mov qword [rsp + 0x20], rax
call fcn.10003b3bc
lea rdx, [rsp + 0x30]
jmp 0x100102eb8
mov r9, qword [rbx + 0x38]
mov rax, qword [r9 + 0x10]
test dil, 4
je 0x100102e42
cmp rax, r12
je 0x100102e1e
mov rcx, qword [0x100153eb8]
cmp rcx, r13
je 0x100102e72
test byte [rcx + 0x1c], 4
je 0x100102e72
mov edx, 0x2b
jmp 0x100102e5e
mov rcx, qword [0x100153eb8]
cmp rcx, r13
je 0x100102f31
test byte [rcx + 0x1c], 1
je 0x100102f31
mov edx, 0x2c
jmp 0x100102edb
cmp rax, r12
je 0x100102e7c
mov rcx, qword [0x100153eb8]
cmp rcx, r13
je 0x100102e72
test byte [rcx + 0x1c], 4
je 0x100102e72
mov edx, 0x2d
mov r9, qword [r9]
mov rcx, qword [rcx + 0x10]
mov r8, r15
mov qword [rsp + 0x20], rax
call fcn.10003b3bc
mov rax, qword [rbx + 0x38]
mov rdx, qword [rax + 0x10]
jmp 0x100102eb8
mov rax, qword [r9 + 8]
cmp rax, r12
je 0x100102ec4
mov rcx, qword [0x100153eb8]
cmp rcx, r13
je 0x100102eb0
test byte [rcx + 0x1c], 4
je 0x100102eb0
mov r9, qword [r9]
mov rcx, qword [rcx + 0x10]
mov edx, 0x2e
mov r8, r15
mov qword [rsp + 0x20], rax
call fcn.10003b3bc
mov rax, qword [rbx + 0x38]
mov rdx, qword [rax + 8]
mov rcx, rbx
call fcn.100103400
mov esi, eax
jmp 0x100102f2c
mov rcx, qword [0x100153eb8]
cmp rcx, r13
je 0x100102f31
test byte [rcx + 0x1c], 1
je 0x100102f31
mov edx, 0x2f
mov r9, qword [r9]
mov rcx, qword [rcx + 0x10]
mov r8, r15
call fcn.1000347a8
jmp 0x100102f2c
cmp r11d, 0x8007000b
jne 0x100102f31
mov rcx, qword [0x100153eb8]
cmp rcx, r13
je 0x100102f1f
test byte [rcx + 0x1c], 4
je 0x100102f1f
mov r9, qword [rbx + 0x38]
mov rcx, qword [rcx + 0x10]
mov edx, 0x30
mov r9, qword [r9]
mov r8, r15
call fcn.1000347a8
mov rcx, qword [rbx + 0x38]
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp esi, r12d
jne 0x100102f3e
mov rcx, rbx
call fcn.1001020ec
jmp 0x100102ccc
mov eax, esi
mov rcx, qword [rsp + 0x1160]
xor rcx, rsp
call fcn.10011be80
lea r11, [rsp + 0x1170]
mov rbx, qword [r11 + 0x38]
mov rbp, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r13
pop r12
pop rdi
pop rsi
ret