Function at 0x1400391b0
Capabilities:
Delete file

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], r8
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x1a0
mov rdi, rcx
lea rcx, [rsp + 0x40]
mov esi, r9d
mov r15, rdx
call fcn.14004be6c
xor eax, eax
lea rcx, [rsp + 0x68]
mov rdx, r15
mov dword [rsp + 0x48], eax
mov dword [rsp + 0x4c], eax
call fcn.140058920
mov rbx, qword [rsp + 0x68]
mov eax, esi
lea rdx, [0x1400d9870]
lea rcx, [rsp + 0x58]
and eax, 0xfffffff7
mov qword [rsp + 0x78], rbx
mov dword [rsp + 0x60], eax
mov eax, esi
and eax, 0x200
neg eax
sbb r13d, r13d
and esi, 8
mov dword [rsp + 0x1f8], esi
and r13d, 9
call fcn.140058920
call fcn.140015564
lea rcx, [rsp + 0x80]
mov rdx, rdi
movzx r14d, ax
mov ebp, eax
mov r12d, r14d
shl r12d, 0x10
call fcn.140012330
lea rcx, [rsp + 0x80]
mov rdx, rdi
call fcn.140012aa0
lea rcx, [rsp + 0x80]
xor esi, esi
mov qword [rsp + 0xc0], rsi
call fcn.140012aa0
lea rcx, [rsp + 0x50]
mov rdx, r15
call fcn.140058920
lea r8, [rsp + 0x70]
lea rdx, [rsp + 0x50]
mov rcx, r15
mov qword [rsp + 0x70], rsi
call fcn.1400a6f3c
mov r11, qword [rsp + 0x70]
cmp r11, rsi
je 0x1400392b0
mov word [r11 - 2], si
mov r8, qword [rsp + 0x50]
lea rdx, [0x1400d9730]
lea rcx, [rsp + 0x80]
call fcn.14004b578
lea rcx, [rsp + 0x80]
mov edx, r14d
call fcn.14004a49c
mov rax, qword [rsp + 0x40]
mov word [rsp + 0xc8], bp
xor word [rax], bp
lea rax, [rsp + 0x80]
lea r9, [rsp + 0x58]
lea rcx, [rsp + 0x40]
mov r8, rbx
xor edx, edx
mov dword [rsp + 0x28], r12d
mov qword [rsp + 0x20], rax
call fcn.14002ea14
mov esi, eax
cmp eax, 0xffffffff
jne 0x140039323
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
jmp 0x140039536
lea rcx, [rsp + 0x58]
xor edx, edx
call fcn.1400589a0
mov rbx, qword [rsp + 0x40]
movzx edx, bp
mov rcx, rbx
call fcn.14001554c
xor ebp, ebp
cmp eax, ebp
jg 0x14003934c
mov ebx, ebp
jmp 0x140039536
lea r8d, [rax + 2]
xor edx, edx
mov rcx, rbx
call fcn.140015600
and esi, 2
movzx eax, r12w
or esi, eax
mov qword [rsp + 0xf8], rbp
or esi, r12d
cmp dword [rsp + 0x1f8], ebp
je 0x140039380
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp rbx, rbp
jne 0x14003938f
mov ebx, 1
jmp 0x140039536
movzx eax, byte [0x1400ef210]
mov r9, qword [rsp + 0x1f0]
mov r8, qword [rsp + 0x200]
mov ecx, eax
test al, al
mov ebp, 1
cmovs ecx, ebp
lea rdx, [rsp + 0x40]
mov byte [0x1400ef210], cl
mov ecx, r14d
call fcn.14002efc0
mov r15d, dword [rsp + 0x60]
mov r8, qword [rsp + 0x208]
sub rax, qword [rsp + 0x40]
lea rdx, [rsp + 0x40]
mov r9d, r15d
sar rax, 1
mov ecx, r14d
mov dword [rsp + 0x20], eax
call fcn.140020a3c
mov rcx, rax
mov r12, rax
call qword [sym.imp.KERNEL32.dll_lstrlenW]
movzx r14d, word [rdi + 0x48]
cmp r13d, 9
jne 0x140039477
mov ecx, dword [rdi + 0x88]
mov edx, dword [rsp + 0x108]
lea r8d, [rbp + 0x2d]
mov dword [rdi + 0x88], edx
mov dword [rsp + 0x108], ecx
lea rcx, [rsp + 0x170]
lea rdx, [rdi + 0x90]
call fcn.1400ba0e0
lea ebx, [rbp + 0x2d]
lea rcx, [rdi + 0x90]
lea rdx, [rsp + 0x110]
mov r8, rbx
call fcn.1400ba0e0
lea rcx, [rsp + 0x110]
lea rdx, [rsp + 0x170]
mov r8, rbx
call fcn.1400ba0e0
movzx r11d, word [rsp + 0xc8]
mov word [rdi + 0x48], r11w
mov rdx, qword [rsp + 0x40]
and qword [rsp + 0x40], 0
mov r9, qword [rsp + 0x78]
mov eax, r13d
mov ecx, r13d
neg eax
lea rax, [rsp + 0x80]
sbb r8, r8
and r8, rax
and cl, bpl
mov rcx, rdi
cmovne r8, rdi
or esi, r15d
mov qword [rsp + 0x30], r8
mov r8, qword [rsp + 0x1f0]
mov qword [rsp + 0x28], r12
mov dword [rsp + 0x20], esi
call fcn.1400a3898
cmp r13d, 9
jne 0x140039534
mov ecx, dword [rsp + 0x108]
mov eax, dword [rdi + 0x88]
lea esi, [r13 + 0x25]
mov dword [rdi + 0x88], ecx
lea rdx, [rdi + 0x90]
lea rcx, [rsp + 0x170]
mov r8, rsi
mov dword [rsp + 0x108], eax
call fcn.1400ba0e0
lea rcx, [rdi + 0x90]
lea rdx, [rsp + 0x110]
mov r8, rsi
call fcn.1400ba0e0
lea rcx, [rsp + 0x110]
lea rdx, [rsp + 0x170]
mov r8, rsi
call fcn.1400ba0e0
mov word [rdi + 0x48], r14w
xor ebx, ebx
lea rcx, [rsp + 0x50]
call fcn.140044f24
lea rcx, [rsp + 0x80]
xor edx, edx
call fcn.140038fd4
lea rcx, [rsp + 0xf0]
call fcn.140044f24
lea rcx, [rsp + 0x58]
call fcn.140044f24
lea rcx, [rsp + 0x68]
call fcn.140044f24
lea rcx, [rsp + 0x40]
call fcn.140044f24
mov eax, ebx
mov rbx, qword [rsp + 0x1e0]
add rsp, 0x1a0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret