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

Disassembly:
mov rax, rsp
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x178]
sub rsp, 0x250
mov qword [rbp - 0x80], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x1402a6808]
xor rax, rsp
mov qword [rbp + 0x140], rax
mov r14, rcx
xor r12b, r12b
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x30], xmm0
xor esi, esi
mov qword [rsp + 0x40], rsi
mov qword [rsp + 0x48], rsi
mov r15, qword [rcx + 0x38]
mov r13, qword [rcx + 0x40]
cmp r15, r13
je 0x1400e9d88
mov qword [rsp + 0x78], rsi
movups xmm0, xmmword [r15]
movups xmmword [rsp + 0x60], xmm0
cmp qword [r14 + 0x30], 0
jne 0x1400e9b95
mov ecx, 0xa0
call fcn.14017f5a8
mov rbx, rax
mov qword [rbp - 0x78], rax
test rax, rax
je 0x1400e9b26
lea rdi, [r14 + 0xea8]
xor edx, edx
mov rcx, rax
call fcn.14012da90
nop
lea rax, vtable.TiXmlDocument.0
mov qword [rbx], rax
mov qword [rbx + 0x80], rsi
mov qword [rbx + 0x88], 7
mov word [rbx + 0x70], si
mov qword [rbx + 0x94], 0xffffffffffffffff
mov dword [rbx + 0x90], 4
lea rcx, [rbx + 0x30]
cmp rcx, rdi
je 0x1400e9b20
mov rdx, rdi
cmp qword [rdi + 0x18], 8
jb 0x1400e9b17
mov rdx, qword [rdi]
mov r8, qword [rdi + 0x10]
call fcn.140006d60
mov byte [rbx + 0x68], 0
jmp 0x1400e9b29
mov rbx, rsi
mov qword [r14 + 0x30], rbx
mov ecx, 0xc8
call fcn.14017f5a8
mov qword [rbp - 0x70], rax
test rax, rax
je 0x1400e9b5f
lea r9, [0x1401e4278]
lea r8, [0x140214568]
lea rdx, [0x140222c98]
mov rcx, rax
call fcn.14012d760
jmp 0x1400e9b62
mov rax, rsi
mov rdx, rax
mov rcx, qword [r14 + 0x30]
call fcn.14012ece0
lea rdx, [0x1401e43b8]
lea rcx, [rbp - 0x60]
call fcn.14012d9a0
nop
mov rdx, rax
mov rcx, qword [r14 + 0x30]
call fcn.14012ec80
nop
lea rcx, [rbp - 0x60]
call fcn.14012dba0
movzx edi, byte [rsp + 0x69]
movzx ebx, byte [rsp + 0x6a]
mov rdx, qword [rsp + 0x48]
test rdx, rdx
jns 0x1400e9bcd
mov rax, rdx
neg rax
je 0x1400e9bcd
mov rax, rdx
not rax
shr rax, 5
lea rax, [rax*4 + 4]
mov rcx, qword [rsp + 0x30]
sub rcx, rax
jmp 0x1400e9bdd
mov rcx, rdx
shr rcx, 5
mov rax, qword [rsp + 0x30]
lea rcx, [rax + rcx*4]
and edx, 0x1f
mov qword [rsp + 0x58], rdx
mov qword [rsp + 0x50], rcx
movaps xmm0, xmmword [rsp + 0x50]
movdqa xmmword [rsp + 0x20], xmm0
mov r8d, 1
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x30]
call fcn.14003a130
mov rdx, rax
mov r8, qword [rsp + 0x30]
mov qword [rsp + 0x70], r8
movaps xmm0, xmmword [rsp + 0x70]
movdqa xmmword [rsp + 0x20], xmm0
test rax, rax
jns 0x1400e9c48
mov rcx, rax
neg rcx
je 0x1400e9c48
not rax
shr rax, 5
lea rax, [rax*4 + 4]
sub r8, rax
mov qword [rsp + 0x20], r8
jmp 0x1400e9c55
shr rax, 5
lea rax, [r8 + rax*4]
mov qword [rsp + 0x20], rax
and edx, 0x1f
mov qword [rsp + 0x28], rdx
movaps xmm0, xmmword [rsp + 0x20]
lea r8, [rdx + 1]
mov rcx, r8
shr rcx, 5
movq rax, xmm0
lea r9, [rax + rcx*4]
and r8d, 0x1f
movdqa xmmword [rsp + 0x20], xmm0
mov rcx, qword [rsp + 0x28]
mov rdx, qword [rsp + 0x20]
nop word [rax + rax]
cmp rdx, r9
jne 0x1400e9c9a
cmp rcx, r8
je 0x1400e9cbe
mov eax, dword [rdx]
cmp ebx, edi
jne 0x1400e9ca5
bts eax, ecx
jmp 0x1400e9ca8
btr eax, ecx
mov dword [rdx], eax
cmp rcx, 0x1f
jae 0x1400e9cb5
inc rcx
jmp 0x1400e9c90
mov rcx, rsi
add rdx, 4
jmp 0x1400e9c90
mov rax, qword [rsp + 0x60]
test rax, rax
je 0x1400e9cd2
cmp rax, qword [r14 + 0x30]
jne 0x1400e9d7b
cmp byte [rsp + 0x68], 0
je 0x1400e9d7b
cmp ebx, edi
je 0x1400e9d7b
lea rdx, [0x1401e43b8]
mov rcx, qword [r14 + 0x30]
call fcn.14012e990
test rax, rax
je 0x1400e9d35
test r12b, r12b
jne 0x1400e9d35
mov rdx, rax
mov rcx, qword [r14 + 0x30]
call fcn.140130150
lea rdx, [0x1401e43b8]
lea rcx, [rbp + 0x70]
call fcn.14012d9a0
nop
mov rdx, rax
mov rcx, qword [r14 + 0x30]
call fcn.14012ec80
nop
lea rcx, [rbp + 0x70]
call fcn.14012dba0
mov r12b, 1
lea rdx, [0x1401e43b8]
mov rcx, qword [r14 + 0x30]
call fcn.14012e990
mov rsi, rax
mov rax, rdi
mov rdi, rbx
cmp rax, rbx
jae 0x1400e9d79
lea rbx, [rax + 0x1b2]
lea rbx, [r14 + rbx*8]
sub rdi, rax
mov r8, qword [rbx]
mov rdx, rsi
mov rcx, r14
call fcn.1400e5090
lea rbx, [rbx + 8]
sub rdi, 1
jne 0x1400e9d61
xor esi, esi
add r15, 0x10
cmp r15, r13
jne 0x1400e9a90
mov r10b, 1
mov rdx, qword [rsp + 0x30]
mov rcx, rsi
mov r8, qword [rsp + 0x48]
test r8, r8
jns 0x1400e9dbf
mov rax, r8
neg rax
je 0x1400e9dbf
mov rax, r8
not rax
shr rax, 5
lea rax, [rax*4 + 4]
mov r9, rdx
sub r9, rax
jmp 0x1400e9dca
mov rax, r8
shr rax, 5
lea r9, [rdx + rax*4]
and r8d, 0x1f
nop
cmp rdx, r9
jne 0x1400e9dda
cmp rcx, r8
je 0x1400e9dfc
mov eax, 1
shl eax, cl
test dword [rdx], eax
je 0x1400e9df9
cmp rcx, 0x1f
jae 0x1400e9df0
inc rcx
jmp 0x1400e9dd0
mov rcx, rsi
add rdx, 4
jmp 0x1400e9dd0
xor r10b, r10b
test r12b, r12b
je 0x1400e9e0c
mov rcx, qword [r14 + 0x30]
call fcn.140130220
jmp 0x1400e9e43
test r10b, r10b
je 0x1400e9e43
lea rbx, [r14 + 0xea8]
mov rcx, rbx
cmp qword [rbx + 0x18], 8
jb 0x1400e9e25
mov rcx, qword [rbx]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x1400e9e43
cmp qword [rbx + 0x18], 8
jb 0x1400e9e39
mov rbx, qword [rbx]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
nop
lea rcx, [rsp + 0x30]
call fcn.1400249c0
mov rcx, qword [rbp + 0x140]
xor rcx, rsp
call fcn.14017f700
lea r11, [rsp + 0x250]
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