Function at 0x1001026d0
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.100129a70
sub rsp, rax
mov rax, qword [0x100151198]
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, [0x100152eb8]
lea r15, [0x10001dad0]
lea rcx, [rbx + 0x40]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [rbx + 0x20], r12d
jle 0x100102773
mov rax, qword [rbx + 0x18]
mov rcx, qword [rax]
mov qword [rbx + 0x38], rcx
mov eax, dword [rbx + 0x20]
cmp eax, r12d
jle 0x100102777
dec eax
cmp eax, r12d
je 0x10010276e
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 0x100102777
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 0x1001029a2
mov rdx, qword [rdx]
mov rcx, rbx
call fcn.100102378
cmp eax, r12d
mov r11d, eax
jl 0x100102950
mov rax, qword [rbx + 8]
cmp rax, r12
je 0x100102950
mov edi, dword [rax + 8]
mov ecx, dword [rax + 0x18]
test dil, 8
je 0x1001027fa
mov rcx, qword [0x100152eb8]
cmp rcx, r13
je 0x1001027e8
test byte [rcx + 0x1c], 4
je 0x1001027e8
mov r9, qword [rbx + 0x38]
mov rcx, qword [rcx + 0x10]
mov edx, 0x29
mov r9, qword [r9]
mov r8, r15
call fcn.100034788
mov rcx, qword [rbx + 0x38]
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
jmp 0x100102995
cmp dword [rbx + 0x2bc], r12d
je 0x100102856
lea rdx, [rsp + 0x30]
mov r8d, 0x898
call fcn.1000f57ac
cmp eax, r12d
jne 0x100102856
mov rcx, qword [0x100152eb8]
cmp rcx, r13
je 0x10010284c
test byte [rcx + 0x1c], 4
je 0x10010284c
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.10003b380
lea rdx, [rsp + 0x30]
jmp 0x10010291c
mov r9, qword [rbx + 0x38]
mov rax, qword [r9 + 0x10]
test dil, 4
je 0x1001028a6
cmp rax, r12
je 0x100102882
mov rcx, qword [0x100152eb8]
cmp rcx, r13
je 0x1001028d6
test byte [rcx + 0x1c], 4
je 0x1001028d6
mov edx, 0x2b
jmp 0x1001028c2
mov rcx, qword [0x100152eb8]
cmp rcx, r13
je 0x100102995
test byte [rcx + 0x1c], 1
je 0x100102995
mov edx, 0x2c
jmp 0x10010293f
cmp rax, r12
je 0x1001028e0
mov rcx, qword [0x100152eb8]
cmp rcx, r13
je 0x1001028d6
test byte [rcx + 0x1c], 4
je 0x1001028d6
mov edx, 0x2d
mov r9, qword [r9]
mov rcx, qword [rcx + 0x10]
mov r8, r15
mov qword [rsp + 0x20], rax
call fcn.10003b380
mov rax, qword [rbx + 0x38]
mov rdx, qword [rax + 0x10]
jmp 0x10010291c
mov rax, qword [r9 + 8]
cmp rax, r12
je 0x100102928
mov rcx, qword [0x100152eb8]
cmp rcx, r13
je 0x100102914
test byte [rcx + 0x1c], 4
je 0x100102914
mov r9, qword [r9]
mov rcx, qword [rcx + 0x10]
mov edx, 0x2e
mov r8, r15
mov qword [rsp + 0x20], rax
call fcn.10003b380
mov rax, qword [rbx + 0x38]
mov rdx, qword [rax + 8]
mov rcx, rbx
call fcn.100102e64
mov esi, eax
jmp 0x100102990
mov rcx, qword [0x100152eb8]
cmp rcx, r13
je 0x100102995
test byte [rcx + 0x1c], 1
je 0x100102995
mov edx, 0x2f
mov r9, qword [r9]
mov rcx, qword [rcx + 0x10]
mov r8, r15
call fcn.100034788
jmp 0x100102990
cmp r11d, 0x8007000b
jne 0x100102995
mov rcx, qword [0x100152eb8]
cmp rcx, r13
je 0x100102983
test byte [rcx + 0x1c], 4
je 0x100102983
mov r9, qword [rbx + 0x38]
mov rcx, qword [rcx + 0x10]
mov edx, 0x30
mov r9, qword [r9]
mov r8, r15
call fcn.100034788
mov rcx, qword [rbx + 0x38]
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp esi, r12d
jne 0x1001029a2
mov rcx, rbx
call fcn.100101b50
jmp 0x100102730
mov eax, esi
mov rcx, qword [rsp + 0x1160]
xor rcx, rsp
call fcn.10011b980
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