Function at 0x140034ee0
Capabilities:
Check if file exists
Delete file

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0xb0]
sub rsp, 0x1b0
mov rax, qword [0x140087048]
xor rax, rsp
mov qword [rbp + 0xa0], rax
mov rbx, rdx
mov qword [rsp + 0x50], rcx
mov qword [rsp + 0x58], rcx
xor edi, edi
xorps xmm0, xmm0
movups xmmword [rbp - 0x40], xmm0
movdqa xmm1, xmmword [0x14007a5f0]
movdqu xmmword [rbp - 0x30], xmm1
mov byte [rbp - 0x40], dil
xor eax, eax
movups xmmword [rbp], xmm0
movups xmmword [rbp + 0x10], xmm0
mov qword [rbp + 0x20], rax
lea rdx, str.__.__
lea rcx, [rbp]
call fcn.1400103c0
nop
xorps xmm0, xmm0
movups xmmword [rbp + 0x30], xmm0
movups xmmword [rbp + 0x60], xmm0
movups xmmword [rbp + 0x80], xmm0
movups xmmword [rbp + 0x90], xmm0
mov qword [rbp + 0x30], rdi
mov byte [rbp + 0x38], dil
movdqa xmmword [rbp + 0x40], xmm0
xorps xmm1, xmm1
movdqa xmmword [rbp + 0x50], xmm1
mov qword [rbp + 0x60], rdi
mov byte [rbp + 0x68], dil
movdqa xmmword [rbp + 0x70], xmm0
mov byte [rbp + 0x80], dil
mov qword [rbp + 0x88], rdi
mov qword [rbp + 0x90], rdi
mov byte [rbp + 0x98], dil
add rbx, 0x150
cmp qword [rbx + 0x18], 0x10
jb 0x140034fd2
mov r8, qword [rbx]
mov rdx, r8
add rdx, qword [rbx + 0x10]
mov rbx, r8
jmp 0x140034fdc
mov rdx, qword [rbx + 0x10]
add rdx, rbx
mov r8, rbx
mov qword [rsp + 0x28], r8
lea r9, [rbp]
lea r8, [rbp + 0x30]
mov rcx, rbx
call fcn.140010d90
test al, al
je 0x1400350e0
mov rcx, qword [rbp + 0x48]
mov r8, qword [rbp + 0x40]
sub rcx, r8
movabs rax, 0x2aaaaaaaaaaaaaab
imul rcx
sar rdx, 2
mov rax, rdx
shr rax, 0x3f
add rdx, rax
cmp rdx, 1
ja 0x140035035
lea rax, [rbp + 0x88]
lea r8, [rbp + 0x98]
jmp 0x14003503d
lea rax, [r8 + 0x18]
add r8, 0x28
cmp byte [r8], 0
je 0x14003504d
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x58], xmm0
jmp 0x140035056
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x58], xmm0
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x40], xmm1
mov rdx, qword [rsp + 0x58]
mov r8, qword [rsp + 0x60]
cmp rdx, r8
jne 0x140035086
mov qword [rsp + 0x48], 0xf
mov byte [rsp + 0x30], 0
jmp 0x140035093
sub r8, rdx
lea rcx, [rsp + 0x30]
call fcn.140007670
mov rdx, qword [rbp - 0x28]
cmp rdx, 0x10
jb 0x1400350ce
inc rdx
mov rcx, qword [rbp - 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400350c9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400359ab
call fcn.14003dd70
movups xmm0, xmmword [rsp + 0x30]
movups xmmword [rbp - 0x40], xmm0
movups xmm1, xmmword [rsp + 0x40]
movups xmmword [rbp - 0x30], xmm1
lea rcx, [rbp - 0x40]
cmp qword [rbp - 0x28], 0x10
cmovae rcx, qword [rbp - 0x40]
call qword [sym.imp.SHLWAPI.dll_PathFindFileNameA]
xorps xmm0, xmm0
movups xmmword [rbp - 0x20], xmm0
mov qword [rbp - 0x10], rdi
mov qword [rbp - 8], rdi
mov r8, 0xffffffffffffffff
nop word [rax + rax]
inc r8
cmp byte [rax + r8], 0
jne 0x140035110
mov rdx, rax
lea rcx, [rbp - 0x20]
call fcn.140007670
nop
lea rcx, [rbp - 0x40]
cmp qword [rbp - 0x28], 0x10
cmovae rcx, qword [rbp - 0x40]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
jne 0x1400353bb
movabs rdx, 0x7fffffffffffffff
mov rax, rdx
mov r15, qword [rbp - 0x10]
sub rax, r15
cmp rax, 5
jb 0x1400359b1
lea r13, [rbp - 0x20]
mov rsi, qword [rbp - 0x20]
mov r14, qword [rbp - 8]
cmp r14, 0x10
cmovae r13, rsi
xorps xmm0, xmm0
movups xmmword [rsp + 0x58], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x68], xmm1
lea r12, [r15 + 5]
mov ebx, 0xf
lea rdi, [rsp + 0x58]
cmp r12, rbx
jbe 0x140035213
mov rbx, r12
or rbx, 0xf
cmp rbx, rdx
jbe 0x1400351aa
mov rbx, rdx
jmp 0x1400351b6
mov eax, 0x16
cmp rbx, rax
cmovb rbx, rax
mov rcx, rbx
add rcx, 1
mov rax, 0xffffffffffffffff
cmovb rcx, rax
cmp rcx, 0x1000
jb 0x1400351fd
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x1400359b7
mov rcx, rax
call fcn.14003dd78
test rax, rax
je 0x1400359bd
lea rdi, [rax + 0x27]
and rdi, 0xffffffffffffffe0
mov qword [rdi - 8], rax
jmp 0x14003520e
test rcx, rcx
je 0x14003520c
call fcn.14003dd78
mov rdi, rax
jmp 0x14003520e
xor edi, edi
mov qword [rsp + 0x58], rdi
mov qword [rsp + 0x68], r12
mov qword [rsp + 0x70], rbx
mov eax, dword [str.File]
mov dword [rdi], eax
movzx eax, byte [0x14007a264]
mov byte [rdi + 4], al
lea rcx, [rdi + 5]
mov r8, r15
mov rdx, r13
call fcn.1400401b0
mov byte [rdi + r12], 0
mov r8d, 0xd
lea rdx, str._doesnt_exist
lea rcx, [rsp + 0x58]
call fcn.140006e40
xorps xmm0, xmm0
mov rcx, qword [rsp + 0x50]
movups xmmword [rcx], xmm0
xor edx, edx
mov qword [rcx + 0x10], rdx
mov qword [rcx + 0x18], rdx
movups xmm0, xmmword [rax]
movups xmmword [rcx], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rcx + 0x10], xmm1
mov qword [rax + 0x10], rdx
mov qword [rax + 0x18], 0xf
mov byte [rax], dl
mov rdx, qword [rsp + 0x70]
cmp rdx, 0x10
jb 0x1400352c8
inc rdx
mov rcx, qword [rsp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400352c3
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400359bd
call fcn.14003dd70
movdqa xmm0, xmmword [0x14007a5f0]
movdqu xmmword [rsp + 0x68], xmm0
mov byte [rsp + 0x58], 0
cmp r14, 0x10
jb 0x140035313
lea rdx, [r14 + 1]
mov rax, rsi
cmp rdx, 0x1000
jb 0x14003530a
add rdx, 0x27
mov rsi, qword [rsi - 8]
sub rax, rsi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400359c3
mov rcx, rsi
call fcn.14003dd70
nop
lea rcx, [rbp + 0x40]
call fcn.1400102a0
nop
lea rcx, [rbp]
call fcn.1400106c0
mov rcx, qword [rbp + 0x20]
test rcx, rcx
je 0x140035348
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, rax
test rax, rax
je 0x140035348
mov rax, qword [rax]
mov edx, 1
call qword [rax]
nop
mov rdx, qword [rbp - 0x28]
cmp rdx, 0x10
jb 0x140035383
inc rdx
mov rcx, qword [rbp - 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14003537e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400359c9
call fcn.14003dd70
mov rbx, qword [rsp + 0x50]
mov rax, rbx
mov rcx, qword [rbp + 0xa0]
xor rcx, rsp
call fcn.14003dd50
lea r11, [rsp + 0x1b0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
lea rcx, [rbp - 0x40]
cmp qword [rbp - 0x28], 0x10
cmovae rcx, qword [rbp - 0x40]
call qword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
jne 0x1400356c3
lea rcx, [rbp - 0x68]
call fcn.14000f830
mov qword [rsp + 0x58], rax
movabs rdx, 0x7fffffffffffffff
mov rcx, rdx
mov r15, qword [rbp - 0x10]
sub rcx, r15
cmp rcx, 0x11
jb 0x1400359cf
lea r13, [rbp - 0x20]
mov rsi, qword [rbp - 0x20]
mov r14, qword [rbp - 8]
cmp r14, 0x10
cmovae r13, rsi
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x40], xmm1
lea r12, [r15 + 0x11]
mov ebx, 0xf
lea rdi, [rsp + 0x30]
cmp r12, rbx
jbe 0x1400354b5
mov rbx, r12
or rbx, 0xf
cmp rbx, rdx
jbe 0x14003544c
mov rbx, rdx
jmp 0x140035458
mov eax, 0x16
cmp rbx, rax
cmovb rbx, rax
mov rcx, rbx
add rcx, 1
mov rax, 0xffffffffffffffff
cmovb rcx, rax
cmp rcx, 0x1000
jb 0x14003549f
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x1400359d5
mov rcx, rax
call fcn.14003dd78
test rax, rax
je 0x1400359e1
lea rdi, [rax + 0x27]
and rdi, 0xffffffffffffffe0
mov qword [rdi - 8], rax
jmp 0x1400354b0
test rcx, rcx
je 0x1400354ae
call fcn.14003dd78
mov rdi, rax
jmp 0x1400354b0
xor edi, edi
mov qword [rsp + 0x30], rdi
mov qword [rsp + 0x40], r12
mov qword [rsp + 0x48], rbx
movups xmm0, xmmword [str.Failed_to_delete]
movups xmmword [rdi], xmm0
movzx eax, byte [0x14007a290]
mov byte [rdi + 0x10], al
lea rcx, [rdi + 0x11]
mov r8, r15
mov rdx, r13
call fcn.1400401b0
mov byte [rdi + r12], 0
mov r8d, 4
lea rdx, str._on
lea rcx, [rsp + 0x30]
call fcn.140006e40
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x78], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x78], xmm1
mov qword [rax + 0x10], 0
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
mov r9, qword [rsp + 0x58]
lea r8, [rsp + 0x78]
mov rbx, qword [rsp + 0x50]
mov rcx, rbx
call fcn.14002c7f0
nop
mov rdx, qword [rbp - 0x70]
cmp rdx, 0x10
jb 0x140035576
inc rdx
mov rcx, qword [rsp + 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140035570
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400359db
call fcn.14003dd70
nop
mov rdx, qword [rsp + 0x48]
cmp rdx, 0x10
jb 0x1400355b3
inc rdx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400355ae
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400359e1
call fcn.14003dd70
movdqa xmm0, xmmword [0x14007a5f0]
movdqu xmmword [rsp + 0x40], xmm0
mov byte [rsp + 0x30], 0
mov rdx, qword [rbp - 0x50]
cmp rdx, 0x10
jb 0x140035601
inc rdx
mov rcx, qword [rbp - 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400355fc
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400359e7
call fcn.14003dd70
movdqa xmm0, xmmword [0x14007a5f0]
movdqu xmmword [rbp - 0x58], xmm0
mov byte [rbp - 0x68], 0
cmp r14, 0x10
jb 0x14003564a
lea rdx, [r14 + 1]
mov rax, rsi
cmp rdx, 0x1000
jb 0x140035641
add rdx, 0x27
mov rsi, qword [rsi - 8]
sub rax, rsi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400359ed
mov rcx, rsi
call fcn.14003dd70
nop
lea rcx, [rbp + 0x40]
call fcn.1400102a0
nop
lea rcx, [rbp]
call fcn.1400106c0
mov rcx, qword [rbp + 0x20]
test rcx, rcx
je 0x14003567f
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, rax
test rax, rax
je 0x14003567f
mov rax, qword [rax]
mov edx, 1
call qword [rax]
nop
mov rdx, qword [rbp - 0x28]
cmp rdx, 0x10
jb 0x140035388
inc rdx
mov rcx, qword [rbp - 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400356b9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400359f3
call fcn.14003dd70
jmp 0x140035388
lea rcx, [rsp + 0x78]
call fcn.14000f830
mov qword [rsp + 0x58], rax
movabs rdx, 0x7fffffffffffffff
mov rcx, rdx
mov r15, qword [rbp - 0x10]
sub rcx, r15
cmp rcx, 8
jb 0x1400359f9
lea r13, [rbp - 0x20]
mov rsi, qword [rbp - 0x20]
mov r14, qword [rbp - 8]
cmp r14, 0x10
cmovae r13, rsi
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x40], xmm1
lea r12, [r15 + 8]
mov ebx, 0xf
lea rdi, [rsp + 0x30]
cmp r12, rbx
jbe 0x1400357a2
mov rbx, r12
or rbx, 0xf
cmp rbx, rdx
jbe 0x140035739
mov rbx, rdx
jmp 0x140035745
mov eax, 0x16
cmp rbx, rax
cmovb rbx, rax
mov rcx, rbx
add rcx, 1
mov rax, 0xffffffffffffffff
cmovb rcx, rax
cmp rcx, 0x1000
jb 0x14003578c
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x1400359ff
mov rcx, rax
call fcn.14003dd78
test rax, rax
je 0x140035a0b
lea rdi, [rax + 0x27]
and rdi, 0xffffffffffffffe0
mov qword [rdi - 8], rax
jmp 0x14003579d
test rcx, rcx
je 0x14003579b
call fcn.14003dd78
mov rdi, rax
jmp 0x14003579d
xor edi, edi
mov qword [rsp + 0x30], rdi
mov qword [rsp + 0x40], r12
mov qword [rsp + 0x48], rbx
movabs rax, 0x20646574656c6544
mov qword [rdi], rax
lea rcx, [rdi + 8]
mov r8, r15
mov rdx, r13
call fcn.1400401b0
mov byte [rdi + r12], 0
mov r8d, 4
lea rdx, str._on
lea rcx, [rsp + 0x30]
call fcn.140006e40
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x68], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x58], xmm1
mov qword [rax + 0x10], 0
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
mov r9, qword [rsp + 0x58]
lea r8, [rbp - 0x68]
mov rbx, qword [rsp + 0x50]
mov rcx, rbx
call fcn.14002c7f0
nop
mov rdx, qword [rbp - 0x50]
cmp rdx, 0x10
jb 0x140035859
inc rdx
mov rcx, qword [rbp - 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140035853
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140035a05
call fcn.14003dd70
nop
mov rdx, qword [rsp + 0x48]
cmp rdx, 0x10
jb 0x140035896
inc rdx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140035891
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140035a0b
call fcn.14003dd70
movdqa xmm0, xmmword [0x14007a5f0]
movdqu xmmword [rsp + 0x40], xmm0
mov byte [rsp + 0x30], 0
mov rdx, qword [rbp - 0x70]
cmp rdx, 0x10
jb 0x1400358e5
inc rdx
mov rcx, qword [rsp + 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400358e0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140035a11
call fcn.14003dd70
movdqa xmm0, xmmword [0x14007a5f0]
movdqu xmmword [rbp - 0x78], xmm0
mov byte [rsp + 0x78], 0
cmp r14, 0x10
jb 0x14003592b
lea rdx, [r14 + 1]
mov rax, rsi
cmp rdx, 0x1000
jb 0x140035922
add rdx, 0x27
mov rsi, qword [rsi - 8]
sub rax, rsi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14003599f
mov rcx, rsi
call fcn.14003dd70
nop
lea rcx, [rbp + 0x40]
call fcn.1400102a0
nop
lea rcx, [rbp]
call fcn.1400106c0
mov rcx, qword [rbp + 0x20]
test rcx, rcx
je 0x140035960
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, rax
test rax, rax
je 0x140035960
mov rax, qword [rax]
mov edx, 1
call qword [rax]
nop
mov rdx, qword [rbp - 0x28]
cmp rdx, 0x10
jb 0x140035388
inc rdx
mov rcx, qword [rbp - 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400356b9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400359a5
jmp 0x1400356b9
call fcn.1400447b4
nop
call fcn.1400447b4
nop
call fcn.1400447b4
nop
call fcn.140004270
int3
call fcn.1400041d0
int3
call fcn.1400447b4
nop
call fcn.1400447b4
nop
call fcn.1400447b4
nop
call fcn.140004270
int3
call fcn.1400041d0
nop
call fcn.1400447b4
nop
call fcn.1400447b4
nop
call fcn.1400447b4
nop
call fcn.1400447b4
nop
call fcn.1400447b4
nop
call fcn.140004270
int3
call fcn.1400041d0
nop
call fcn.1400447b4
nop
call fcn.1400447b4
nop
call fcn.1400447b4
int3