Function at 0x1401bb078
Capabilities:
Check if file exists
Delete file
Get file attributes

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r15
lea rbp, [rsp - 0x40]
sub rsp, 0x140
mov qword [rsp + 0x70], 0xfffffffffffffffe
mov rax, qword [0x14045cbf0]
xor rax, rsp
mov qword [rbp + 0x30], rax
mov rsi, r8
mov r13, rdx
mov rdi, rcx
xor r12d, r12d
cmp qword [rcx], r12
jne 0x1401bb0c2
mov r12d, 6
jmp 0x1401bb3bb
mov rdx, qword [rdx]
lea rcx, [rsp + 0x50]
call fcn.14000cb18
nop
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
or r15, 0xffffffffffffffff
test eax, eax
jne 0x1401bb0ec
lea r12d, [r15 + 3]
jmp 0x1401bb39a
mov rdx, qword [rsi]
lea rcx, [rsp + 0x40]
call fcn.140020b2c
nop
mov rdx, qword [rsi]
lea rcx, [rsp + 0x58]
call fcn.14000cb18
nop
lea rcx, [rbp - 0x80]
call fcn.140131050
nop
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x1401bb145
mov rdx, qword [rsp + 0x40]
lea rcx, [rbp - 0x80]
call fcn.1401306b0
test al, al
je 0x1401bb145
mov rdx, qword [rsp + 0x40]
mov rcx, qword [rdi]
call fcn.14012f290
jmp 0x1401bb320
lea rcx, section..data
mov rax, qword [section..data]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x30], rax
lea rdx, [0x140363bd0]
lea rcx, [rsp + 0x60]
call fcn.14000cb18
nop
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x30]
call fcn.140222e48
mov r12d, eax
mov rdx, qword [rsp + 0x60]
add rdx, 0xffffffffffffffe8
mov ecx, r15d
lock xadd dword [rdx + 0x10], ecx
add ecx, r15d
test ecx, ecx
jg 0x1401bb1a5
mov rcx, qword [rdx]
mov r8, qword [rcx]
call qword [rreloc.OLEAUT32.dll_VariantClear + 8]
mov rbx, qword [rsp + 0x30]
test r12d, r12d
jne 0x1401bb303
cmp dword [rbx - 0x10], r12d
jne 0x1401bb1c4
mov r12d, 2
jmp 0x1401bb303
mov rdx, rbx
lea rcx, [rsp + 0x68]
call fcn.140020b2c
nop
mov rdx, qword [rax]
mov rcx, qword [rdi]
call fcn.14012f290
test al, al
sete bl
mov rdx, qword [rsp + 0x68]
add rdx, 0xffffffffffffffe8
mov eax, r15d
lock xadd dword [rdx + 0x10], eax
add eax, r15d
test eax, eax
jg 0x1401bb203
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
test bl, bl
je 0x1401bb212
mov r12d, 0xd
jmp 0x1401bb2bd
mov qword [rsp + 0x48], r15
mov dword [rsp + 0x20], 3
xor r9d, r9d
mov r8d, 0xc0000000
mov rdx, qword [rsi]
lea rcx, [rsp + 0x48]
call fcn.140021fb8
test eax, eax
sete bl
mov rcx, qword [rsp + 0x48]
cmp rcx, r15
je 0x1401bb24a
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test bl, bl
je 0x1401bb256
mov r12d, 5
jmp 0x1401bb2bd
lea rcx, section..data
mov rax, qword [section..data]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x38], rax
mov r9, qword [rsi]
mov r8, qword [rsp + 0x30]
lea rdx, str._convert_binary1___s___o___s_
lea rcx, [rsp + 0x38]
call fcn.14000d9c8
xor r8d, r8d
lea rdx, [rsp + 0x38]
mov rcx, r13
call fcn.1401ba248
mov r12d, eax
mov rdx, qword [rsp + 0x38]
add rdx, 0xffffffffffffffe8
mov eax, r15d
lock xadd dword [rdx + 0x10], eax
add eax, r15d
test eax, eax
jg 0x1401bb2bd
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
xor edx, edx
mov rbx, qword [rsp + 0x30]
mov rcx, rbx
call fcn.140223418
test eax, eax
jne 0x1401bb2f9
lea ecx, [rax + 1]
call qword [sym.imp.KERNEL32.dll_SetErrorMode]
mov esi, eax
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
xor edi, edi
cmp eax, 0xffffffff
setne dil
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_SetErrorMode]
test edi, edi
je 0x1401bb303
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
nop
lea rdx, [rbx - 0x18]
mov eax, r15d
lock xadd dword [rdx + 0x10], eax
add eax, r15d
test eax, eax
jg 0x1401bb320
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
lea rax, vtable.TiXmlDocument.0
mov qword [rbp - 0x80], rax
cmp qword [rbp + 0x10], 0x10
jb 0x1401bb33b
mov rcx, qword [rbp - 8]
call fcn.1400be0f4
mov qword [rbp + 0x10], 0xf
and qword [rbp + 8], 0
mov byte [rbp - 8], 0
lea rcx, [rbp - 0x80]
call fcn.14012fae0
nop
mov rdx, qword [rsp + 0x58]
add rdx, 0xffffffffffffffe8
mov eax, r15d
lock xadd dword [rdx + 0x10], eax
add eax, r15d
test eax, eax
jg 0x1401bb378
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rsp + 0x40]
add rdx, 0xffffffffffffffe8
mov eax, r15d
lock xadd dword [rdx + 0x10], eax
add eax, r15d
test eax, eax
jg 0x1401bb39a
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rsp + 0x50]
add rdx, 0xffffffffffffffe8
mov eax, r15d
lock xadd dword [rdx + 0x10], eax
add eax, r15d
test eax, eax
jg 0x1401bb3bb
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov eax, r12d
mov rcx, qword [rbp + 0x30]
xor rcx, rsp
call fcn.1400be110
add rsp, 0x140
pop r15
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret