Function at 0x1400eb140
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 [0x1402a98a8]
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 0x1400eb4a8
mov qword [rsp + 0x78], rsi
movups xmm0, xmmword [r15]
movups xmmword [rsp + 0x60], xmm0
cmp qword [r14 + 0x30], 0
jne 0x1400eb2b5
mov ecx, 0xa0
call fcn.140181288
mov rbx, rax
mov qword [rbp - 0x78], rax
test rax, rax
je 0x1400eb246
lea rdi, [r14 + 0xeb0]
xor edx, edx
mov rcx, rax
call fcn.14012f760
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 0x1400eb240
mov rdx, rdi
cmp qword [rdi + 0x18], 8
jb 0x1400eb237
mov rdx, qword [rdi]
mov r8, qword [rdi + 0x10]
call fcn.140006d70
mov byte [rbx + 0x68], 0
jmp 0x1400eb249
mov rbx, rsi
mov qword [r14 + 0x30], rbx
mov ecx, 0xc8
call fcn.140181288
mov qword [rbp - 0x70], rax
test rax, rax
je 0x1400eb27f
lea r9, [0x1401e6278]
lea r8, [0x140216cd8]
lea rdx, [0x140225408]
mov rcx, rax
call fcn.14012f430
jmp 0x1400eb282
mov rax, rsi
mov rdx, rax
mov rcx, qword [r14 + 0x30]
call fcn.1401309b0
lea rdx, [0x1401e63b8]
lea rcx, [rbp - 0x60]
call fcn.14012f670
nop
mov rdx, rax
mov rcx, qword [r14 + 0x30]
call fcn.140130950
nop
lea rcx, [rbp - 0x60]
call fcn.14012f870
movzx edi, byte [rsp + 0x69]
movzx ebx, byte [rsp + 0x6a]
mov rdx, qword [rsp + 0x48]
test rdx, rdx
jns 0x1400eb2ed
mov rax, rdx
neg rax
je 0x1400eb2ed
mov rax, rdx
not rax
shr rax, 5
lea rax, [rax*4 + 4]
mov rcx, qword [rsp + 0x30]
sub rcx, rax
jmp 0x1400eb2fd
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.14003a030
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 0x1400eb368
mov rcx, rax
neg rcx
je 0x1400eb368
not rax
shr rax, 5
lea rax, [rax*4 + 4]
sub r8, rax
mov qword [rsp + 0x20], r8
jmp 0x1400eb375
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 0x1400eb3ba
cmp rcx, r8
je 0x1400eb3de
mov eax, dword [rdx]
cmp ebx, edi
jne 0x1400eb3c5
bts eax, ecx
jmp 0x1400eb3c8
btr eax, ecx
mov dword [rdx], eax
cmp rcx, 0x1f
jae 0x1400eb3d5
inc rcx
jmp 0x1400eb3b0
mov rcx, rsi
add rdx, 4
jmp 0x1400eb3b0
mov rax, qword [rsp + 0x60]
test rax, rax
je 0x1400eb3f2
cmp rax, qword [r14 + 0x30]
jne 0x1400eb49b
cmp byte [rsp + 0x68], 0
je 0x1400eb49b
cmp ebx, edi
je 0x1400eb49b
lea rdx, [0x1401e63b8]
mov rcx, qword [r14 + 0x30]
call fcn.140130660
test rax, rax
je 0x1400eb455
test r12b, r12b
jne 0x1400eb455
mov rdx, rax
mov rcx, qword [r14 + 0x30]
call fcn.140131e20
lea rdx, [0x1401e63b8]
lea rcx, [rbp + 0x70]
call fcn.14012f670
nop
mov rdx, rax
mov rcx, qword [r14 + 0x30]
call fcn.140130950
nop
lea rcx, [rbp + 0x70]
call fcn.14012f870
mov r12b, 1
lea rdx, [0x1401e63b8]
mov rcx, qword [r14 + 0x30]
call fcn.140130660
mov rsi, rax
mov rax, rdi
mov rdi, rbx
cmp rax, rbx
jae 0x1400eb499
lea rbx, [rax + 0x1b3]
lea rbx, [r14 + rbx*8]
sub rdi, rax
mov r8, qword [rbx]
mov rdx, rsi
mov rcx, r14
call fcn.1400e67b0
lea rbx, [rbx + 8]
sub rdi, 1
jne 0x1400eb481
xor esi, esi
add r15, 0x10
cmp r15, r13
jne 0x1400eb1b0
mov r10b, 1
mov rdx, qword [rsp + 0x30]
mov rcx, rsi
mov r8, qword [rsp + 0x48]
test r8, r8
jns 0x1400eb4df
mov rax, r8
neg rax
je 0x1400eb4df
mov rax, r8
not rax
shr rax, 5
lea rax, [rax*4 + 4]
mov r9, rdx
sub r9, rax
jmp 0x1400eb4ea
mov rax, r8
shr rax, 5
lea r9, [rdx + rax*4]
and r8d, 0x1f
nop
cmp rdx, r9
jne 0x1400eb4fa
cmp rcx, r8
je 0x1400eb51c
mov eax, 1
shl eax, cl
test dword [rdx], eax
je 0x1400eb519
cmp rcx, 0x1f
jae 0x1400eb510
inc rcx
jmp 0x1400eb4f0
mov rcx, rsi
add rdx, 4
jmp 0x1400eb4f0
xor r10b, r10b
test r12b, r12b
je 0x1400eb52c
mov rcx, qword [r14 + 0x30]
call fcn.140131ef0
jmp 0x1400eb563
test r10b, r10b
je 0x1400eb563
lea rbx, [r14 + 0xeb0]
mov rcx, rbx
cmp qword [rbx + 0x18], 8
jb 0x1400eb545
mov rcx, qword [rbx]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x1400eb563
cmp qword [rbx + 0x18], 8
jb 0x1400eb559
mov rbx, qword [rbx]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
nop
lea rcx, [rsp + 0x30]
call fcn.140024a20
mov rcx, qword [rbp + 0x140]
xor rcx, rsp
call fcn.1401813e0
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