Function at 0x1400340c4
Capabilities:
Delete file

Disassembly:
mov rax, rsp
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x218]
sub rsp, 0x2e0
mov qword [rbp - 0x38], 0xfffffffffffffffe
mov qword [rax + 0x20], rbx
mov rax, qword [0x14005b010]
xor rax, rsp
mov qword [rbp + 0x1d0], rax
mov r12, r9
mov qword [rbp - 0x70], r8
mov rsi, rdx
mov qword [rsp + 0x38], rdx
mov r13, rcx
mov qword [rbp + 0xf0], rdx
call fcn.140010170
mov qword [rbp - 0x68], rax
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x50], xmm0
xor edi, edi
mov qword [rbp - 0x40], rdi
movdqu xmmword [rsp + 0x58], xmm0
mov qword [rsp + 0x68], rdi
movdqu xmmword [rsp + 0x78], xmm0
mov qword [rbp - 0x78], rdi
movdqu xmmword [rbp - 0x28], xmm0
mov qword [rbp - 0x18], rdi
lea rdx, [rsi + 0x58]
cmp qword [rsi + 0x70], rdi
cmove rdx, rsi
lea ebx, [rdi + 7]
mov qword [rbp + 0x168], rbx
mov qword [rbp + 0x160], rdi
mov word [rbp + 0x150], di
or r14, 0xffffffffffffffff
mov r9, r14
xor r8d, r8d
lea rcx, [rbp + 0x148]
call fcn.140005514
nop
lea rcx, [rbp + 0x148]
call fcn.140030fd4
test al, al
je 0x1400341bb
cmp qword [rsi + 0x40], rdi
jne 0x1400341bb
cmp qword [rbp + 0x168], 8
jb 0x1400346d2
mov rcx, qword [rbp + 0x150]
call fcn.1400110f8
jmp 0x1400346d2
lea rax, [rbp + 0xf8]
mov qword [rsp + 0x40], rax
mov qword [rbp + 0x118], rbx
mov qword [rbp + 0x110], rdi
mov word [rbp + 0x100], di
lea rdx, [rsi + 0x28]
mov r9, r14
xor r8d, r8d
lea rcx, [rbp + 0xf8]
call fcn.140005514
nop
mov qword [rbp + 0x140], rbx
mov qword [rbp + 0x138], rdi
mov word [rbp + 0x128], di
mov r9, r14
xor r8d, r8d
lea rdx, [rbp + 0x148]
lea rcx, [rbp + 0x120]
call fcn.140005514
nop
lea r9, [rbp - 0x58]
mov r8b, byte [rsi + 0x50]
lea rdx, [rbp + 0xf8]
lea rcx, [rbp + 0x120]
call fcn.14001b654
lea r9, [0x140031170]
lea r8, [rsp + 0x50]
mov rdx, qword [rbp - 0x48]
mov rcx, qword [rbp - 0x50]
call fcn.14001a1ac
movabs rdx, 0x6666666666666667
mov rax, qword [rsp + 0x58]
test rax, rax
jne 0x14003426f
mov rdx, rdi
jmp 0x14003428b
mov rcx, qword [rsp + 0x60]
sub rcx, rax
mov rax, rdx
imul rcx
sar rdx, 4
mov rax, rdx
shr rax, 0x3f
add rdx, rax
lea rcx, [rsp + 0x70]
call fcn.14003508c
mov r15, rdi
mov r14, rdi
movabs rsi, 0x6666666666666667
mov r8, qword [rsp + 0x58]
test r8, r8
jne 0x1400342b4
mov rdx, rdi
jmp 0x1400342d0
mov rcx, qword [rsp + 0x60]
sub rcx, r8
mov rax, rsi
imul rcx
sar rdx, 4
mov rax, rdx
shr rax, 0x3f
add rdx, rax
cmp r15, rdx
jae 0x140034482
mov eax, 0x5c
mov word [rsp + 0x30], ax
lea rdi, [r8 + r14]
lea r9d, [rax - 0x5b]
or r8, 0xffffffffffffffff
lea rdx, [rsp + 0x30]
mov rcx, rdi
call fcn.140035228
mov qword [rbp + 0x118], rbx
xor ecx, ecx
mov qword [rbp + 0x110], rcx
mov word [rbp + 0x100], cx
lea rbx, [rax + 1]
or r9, 0xffffffffffffffff
mov r8, rbx
mov rdx, rdi
lea rcx, [rbp + 0xf8]
call fcn.140005514
nop
mov rdx, qword [rsp + 0x58]
add rdx, r14
mov qword [rbp + 0x140], 7
xor edi, edi
mov qword [rbp + 0x138], rdi
mov word [rbp + 0x128], di
mov r9, rbx
xor r8d, r8d
lea rcx, [rbp + 0x120]
call fcn.140005514
nop
xor r9d, r9d
lea r8, [rbp + 0xf8]
lea rdx, [rbp + 0x120]
lea rcx, [rbp + 0x170]
call fcn.1400159e8
nop
cmp qword [rbp + 0x140], 8
jb 0x140034398
mov rcx, qword [rbp + 0x128]
call fcn.1400110f8
mov ebx, 7
mov qword [rbp + 0x140], rbx
mov qword [rbp + 0x138], rdi
mov word [rbp + 0x128], di
cmp qword [rbp + 0x118], 8
jb 0x1400343c8
mov rcx, qword [rbp + 0x100]
call fcn.1400110f8
mov qword [rbp + 0x118], rbx
mov qword [rbp + 0x110], rdi
mov word [rbp + 0x100], di
lea rax, [fcn.140036e80]
mov qword [rsp + 0x40], rax
lea r8, [rbp + 0x170]
lea rdx, [rsp + 0x40]
lea rcx, [rbp - 0x10]
call fcn.140019598
mov rbx, qword [r12 + 0x10]
mov r9, rax
mov r8, rbx
mov rdx, qword [r12 + 8]
lea rcx, [rsp + 0x48]
call fcn.14001c630
cmp qword [rax], rbx
jne 0x140034430
mov rdx, qword [rsp + 0x58]
add rdx, r14
lea rcx, [rsp + 0x70]
call fcn.140034fd4
nop
cmp qword [rbp + 0x1b8], 8
jb 0x140034446
mov rcx, qword [rbp + 0x1a0]
call fcn.1400110f8
mov ebx, 7
mov qword [rbp + 0x1b8], rbx
mov qword [rbp + 0x1b0], rdi
mov word [rbp + 0x1a0], di
cmp qword [rbp + 0x190], 8
jb 0x140034476
mov rcx, qword [rbp + 0x178]
call fcn.1400110f8
inc r15
add r14, 0x28
jmp 0x1400342a5
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x128], xmm0
mov qword [rbp + 0x138], rdi
mov rsi, qword [rsp + 0x38]
mov rdx, rsi
lea rcx, [rbp + 0x120]
call fcn.140034a54
lea rax, [rbp + 0x120]
mov qword [rsp + 0x28], rax
mov rax, qword [rbp - 0x70]
mov qword [rsp + 0x20], rax
mov r9, rsi
lea r8, [rbp + 0x148]
lea rdx, [rsp + 0x70]
mov rcx, r13
call fcn.140036738
mov r8b, 1
lea rdx, [fcn.1400131d0]
mov rcx, qword [rbp - 0x68]
call fcn.14001e2d8
test al, al
je 0x14003468c
lea rax, [rbp - 0x10]
mov qword [rsp + 0x48], rax
mov rdx, rsi
lea rcx, [rbp - 0x10]
call fcn.14001f364
mov rbx, rax
mov rcx, qword [r13 + 8]
test rcx, rcx
jne 0x140034514
mov eax, edi
jmp 0x140034525
mov rax, qword [rcx]
mov rax, qword [rax + 0x80]
call qword [case.0x140010c4b.0]
nop
mov edx, eax
mov rcx, rbx
call fcn.140035f70
test al, al
je 0x14003468c
mov r14, rdi
mov r15, qword [rsp + 0x78]
lea rdi, [r15 + 8]
xor r12d, r12d
movabs rsi, 0x6666666666666667
test r15, r15
jne 0x14003455a
mov rdx, r12
jmp 0x140034575
mov rcx, qword [rbp - 0x80]
sub rcx, r15
mov rax, rsi
imul rcx
sar rdx, 4
mov rax, rdx
shr rax, 0x3f
add rdx, rax
cmp r14, rdx
jae 0x140034685
mov edx, 3
lea r8d, [rdx - 2]
lea rcx, [rbp - 0x10]
call fcn.14000b65c
nop
lea rdx, str._ndeleting_file
lea rcx, [rbp]
call fcn.14000aa8c
mov rcx, rax
lea rdx, [rdi - 8]
call fcn.14000acc0
lea rdx, [rbp + 0xf8]
lea rcx, [rbp + 8]
call fcn.14001097c
nop
mov edx, 2
lea rcx, [rbp + 0xf8]
call fcn.140013160
nop
cmp qword [rbp + 0x118], 8
jb 0x1400345e6
mov rcx, qword [rbp + 0x100]
call fcn.1400110f8
cmp qword [rdi + 0x18], 8
jb 0x1400345f2
mov rcx, qword [rdi]
jmp 0x1400345f5
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x140034651
mov qword [rbp + 0x118], 7
mov qword [rbp + 0x110], r12
mov word [rbp + 0x100], r12w
lea r8d, [rax + 0xa]
lea rdx, str.DeleteFile
lea rcx, [rbp + 0xf8]
call fcn.1400053ec
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx ecx, ax
or ecx, 0x80070000
test eax, eax
cmovle ecx, eax
lea rdx, [rbp + 0xf8]
call fcn.140013d9c
nop
lea rcx, [rbp + 0x88]
call fcn.14000c1e4
nop
lea rax, [0x1400422a0]
mov qword [rbp + 0x88], rax
lea rcx, [rbp + 0x88]
call fcn.140011e54
nop
inc r14
add rdi, 0x28
jmp 0x140034550
mov rsi, qword [rsp + 0x38]
xor edi, edi
mov rbx, qword [rbp + 0x128]
test rbx, rbx
je 0x1400346b7
lea r8, [rbp + 0x120]
mov rdx, qword [rbp + 0x130]
mov rcx, rbx
call fcn.140018c58
mov rcx, rbx
call fcn.1400110f8
nop
cmp qword [rbp + 0x168], 8
jb 0x1400346cd
mov rcx, qword [rbp + 0x150]
call fcn.1400110f8
mov ebx, 7
mov word [rbp + 0x150], di
mov qword [rbp + 0x160], rdi
mov qword [rbp + 0x168], rbx
lea rcx, [rbp - 0x30]
call fcn.14000ead0
nop
lea rcx, [rsp + 0x70]
call fcn.14000ead0
nop
lea rcx, [rsp + 0x50]
call fcn.14000ead0
nop
lea rcx, [rbp - 0x58]
call fcn.14000ead0
nop
cmp qword [rsi + 0xb0], 8
jb 0x140034727
mov rcx, qword [rsi + 0x98]
call fcn.1400110f8
mov qword [rsi + 0xb0], rbx
mov qword [rsi + 0xa8], rdi
mov word [rsi + 0x98], di
mov rcx, rsi
call fcn.14000c924
mov rcx, qword [rbp + 0x1d0]
xor rcx, rsp
call fcn.140012560
mov rbx, qword [rsp + 0x338]
add rsp, 0x2e0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret