Function at 0x10002d15c
Capabilities:
Delete file

Disassembly:
mov r11, rsp
push rsi
push rdi
push r12
push r13
push r14
sub rsp, 0x700
mov qword [rsp + 0xb0], 0xfffffffffffffffe
mov qword [r11 + 0x10], rbx
mov qword [r11 + 0x18], rbp
mov rax, qword [0x1000da5c8]
xor rax, rsp
mov qword [rsp + 0x6f0], rax
mov rsi, rcx
xor r13d, r13d
mov qword [r11 - 0x670], r13
mov qword [r11 - 0x688], r13
mov qword [r11 - 0x680], r13
mov word [r11 - 0x248], r13w
xor edx, edx
mov r8d, 0x206
lea rcx, [r11 - 0x246]
call sub.msvcrt.dll_memset
mov word [rsp + 0x2d0], r13w
mov ebx, 0x208
mov r8, rbx
xor edx, edx
lea rcx, [rsp + 0x2d2]
call sub.msvcrt.dll_memset
mov word [rsp + 0xc0], r13w
mov r8, rbx
xor edx, edx
lea rcx, [rsp + 0xc2]
call sub.msvcrt.dll_memset
mov qword [rsp + 0x68], r13
xor edx, edx
lea r8d, [r13 + 0x30]
lea rcx, [rsp + 0x70]
call sub.msvcrt.dll_memset
lea rdi, [rsi + 0x212]
mov ebp, 0x105
mov rdx, rbp
lea rcx, [rsp + 0x2d0]
mov ebx, r13d
lea rax, [rsp + 0x2d0]
mov r8, rdi
sub r8, rax
lea r14d, [r13 + 1]
lea rax, [rdx + 0x7ffffef9]
cmp rax, r13
je 0x10002d26a
movzx eax, word [r8 + rcx]
cmp ax, r13w
je 0x10002d26a
mov word [rcx], ax
add rcx, 2
sub rdx, r14
jne 0x10002d247
cmp rdx, r13
jne 0x10002d278
sub rcx, 2
mov ebx, 0x8007007a
mov word [rcx], r13w
mov r12d, 0x14
cmp ebx, r13d
jl 0x10002d52c
mov dword [rsp + 0x70], 4
lea rax, [rsp + 0x2d0]
mov qword [rsp + 0x78], rax
mov eax, 0x614
mov word [rsp + 0x88], ax
mov r8, rdi
mov r12d, 0x104
mov edx, r12d
lea rcx, [rsp + 0x4e0]
call fcn.10002cb3c
movzx r8d, r13b
cmp al, r13b
cmovne r8d, r14d
lea rcx, [rsp + 0xc0]
mov ebx, r13d
lea rdx, [rsp + 0x4e0]
lea rax, [rsp + 0xc0]
sub rdx, rax
lea rax, [rbp + 0x7ffffef9]
cmp rax, r13
je 0x10002d311
movzx eax, word [rdx + rcx]
cmp ax, r13w
je 0x10002d311
mov word [rcx], ax
add rcx, 2
sub rbp, r14
jne 0x10002d2ef
cmp rbp, r13
jne 0x10002d31f
sub rcx, 2
mov ebx, 0x8007007a
mov word [rcx], r13w
cmp ebx, r13d
jl 0x10002d516
lea rax, [rsp + 0xc0]
mov qword [rsp + 0x80], rax
cmp r8b, r13b
je 0x10002d509
lea rcx, [rsp + 0xc0]
call qword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
cmp eax, r13d
je 0x10002d44d
mov rcx, rsi
call fcn.10002cbf0
cmp al, r13b
jne 0x10002d379
mov ebx, 0x80004004
mov r12d, 0x14
jmp 0x10002d52c
mov bl, r13b
mov qword [rsp + 0x20], r13
mov dword [rsp + 0x28], r13d
mov dword [rsp + 0x2c], r13d
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0xc0]
call fcn.10001b834
cmp eax, r13d
jl 0x10002d3ae
movzx ebx, bl
cmp dword [rsp + 0x28], r13d
cmovg ebx, r14d
lea rcx, [rsp + 0x20]
call fcn.10001e71c
cmp bl, r13b
je 0x10002d3e0
mov rcx, rsi
call fcn.10002cec4
mov ebx, eax
cmp eax, r13d
jl 0x10002d51e
mov ebx, 0x80004004
mov r12d, 0x14
jmp 0x10002d52c
mov qword [rsp + 0x30], r13
xor edx, edx
lea r8d, [rdx + 0x30]
lea rcx, [rsp + 0x38]
call sub.msvcrt.dll_memset
mov dword [rsp + 0x38], 3
lea rax, [rsp + 0xc0]
mov qword [rsp + 0x40], rax
mov eax, 0x14
mov word [rsp + 0x50], ax
lea rcx, [rsp + 0x30]
call qword [sym.imp.SHELL32.dll_SHFileOperationW]
cmp eax, r13d
je 0x10002d44d
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, r13d
je 0x10002d443
movzx ebx, ax
or ebx, 0x80070000
cmp eax, r13d
cmovle ebx, eax
jmp 0x10002d509
mov ebx, 0x80004005
jmp 0x10002d509
lea rcx, [rsp + 0x68]
call qword [sym.imp.SHELL32.dll_SHFileOperationW]
cmp eax, r13d
je 0x10002d48d
mov ebx, r13d
add ebx, r14d
cmp eax, r13d
je 0x10002d48d
lea rcx, [rsp + 0x68]
call qword [sym.imp.SHELL32.dll_SHFileOperationW]
cmp ebx, 0x64
jl 0x10002d460
cmp eax, r13d
je 0x10002d48d
mov ebx, 0x80004005
mov r12d, 0x14
jmp 0x10002d52c
mov ebx, r13d
lea rcx, [rsp + 0xc0]
sub rcx, rdi
lea rax, [r12 + 0x7ffffefa]
cmp rax, r13
je 0x10002d4be
movzx eax, word [rcx + rdi]
cmp ax, r13w
je 0x10002d4be
mov word [rdi], ax
add rdi, 2
sub r12, r14
jne 0x10002d49b
cmp r12, r13
jne 0x10002d4cc
sub rdi, 2
mov ebx, 0x8007007a
mov word [rdi], r13w
cmp ebx, r13d
jl 0x10002d526
mov rbx, qword [rsi + 0x4e0]
cmp rbx, r13
je 0x10002d4f5
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov rcx, rax
mov r8, rbx
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov qword [rsi + 0x4e0], r13
mov rax, qword [rsi]
xor edx, edx
mov rcx, rsi
call qword [rax + 0x78]
mov ebx, eax
cmp ebx, r13d
jge 0x10002d56a
mov r12d, 0x14
jmp 0x10002d52c
mov r12d, 0x14
jmp 0x10002d52c
mov r12d, 0x14
jmp 0x10002d52c
mov r12d, 0x14
mov rdi, qword [rsp + 0x78]
cmp rdi, r13
je 0x10002d56a
mov qword [rsp + 0x30], r13
xor edx, edx
lea r8d, [rdx + 0x30]
lea rcx, [rsp + 0x38]
call sub.msvcrt.dll_memset
mov dword [rsp + 0x38], 3
mov qword [rsp + 0x40], rdi
mov word [rsp + 0x50], r12w
lea rcx, [rsp + 0x30]
call qword [sym.imp.SHELL32.dll_SHFileOperationW]
nop
mov eax, ebx
mov rcx, qword [rsp + 0x6f0]
xor rcx, rsp
call fcn.1000031d0
lea r11, [rsp + 0x700]
mov rbx, qword [r11 + 0x38]
mov rbp, qword [r11 + 0x40]
mov rsp, r11
pop r14
pop r13
pop r12
pop rdi
pop rsi
ret