Function at 0x14007334c
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rdx
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0xb8]
sub rsp, 0x190
mov qword [rbp + 0x40], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov r13, r9
mov r14d, r8d
mov rsi, rdx
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x50], xmm0
xor r12d, r12d
mov qword [rsp + 0x60], r12
mov qword [rsp + 0x38], r12
lea r8, [0x1401523cc]
mov rdx, qword [rdx]
lea rcx, [rsp + 0x38]
call fcn.1400d96bc
cmp qword [rsp + 0x38], r12
jne 0x1400733f8
lea rcx, [rsp + 0x50]
call fcn.140067f00
nop
mov rcx, qword [rsi]
add rcx, 0xfffffffffffffff4
cmp rcx, qword [0x140174010]
je 0x1400733ee
or edi, 0xffffffff
mov eax, edi
lock xadd dword [rcx], eax
add eax, edi
test eax, eax
jg 0x1400733ee
mov rcx, qword [rsi]
sub rcx, 0xc
call fcn.1400b0230
mov eax, 1
jmp 0x140073d7c
lea rcx, [rbp - 0x30]
call fcn.140021d30
nop
xor r8d, r8d
mov rdx, qword [rsp + 0x38]
lea rcx, [rbp - 0x30]
call fcn.140022048
test al, al
jne 0x140073445
lea rax, vtable.TiXmlDocument.0
mov qword [rbp - 0x30], rax
lea rax, [0x1401781c8]
mov rcx, qword [rbp + 0x28]
cmp rcx, rax
je 0x140073437
call fcn.1400b0230
lea rcx, [rbp - 0x30]
call fcn.140020f8c
jmp 0x1400733b8
lea rdx, [0x140121790]
lea rcx, [rbp - 0x30]
call fcn.1400213ac
mov qword [rsp + 0x30], rax
test rax, rax
je 0x14007347a
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 0x28]
test rax, rax
je 0x14007347a
mov rcx, qword [rsp + 0x30]
mov rax, qword [rcx]
call qword [rax + 0x28]
jmp 0x14007347d
mov rax, r12
test rax, rax
jne 0x14007348e
mov rcx, qword [rsp + 0x38]
call fcn.1400d9814
jmp 0x140073417
lea r8, str.CrashGUID
lea rdx, [rsp + 0x48]
lea rcx, [rsp + 0x30]
call fcn.1400230bc
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x1400734c6
mov rax, qword [rcx]
call qword [rax + 0x28]
test rax, rax
je 0x1400734c6
mov rcx, qword [rsp + 0x48]
mov rax, qword [rcx]
call qword [rax + 0x28]
jmp 0x1400734c9
mov rax, r12
test rax, rax
je 0x140073573
lea rdx, [rbp + 0x48]
lea rcx, [rsp + 0x48]
call fcn.14002309c
mov rbx, rax
mov rcx, qword [rax]
test rcx, rcx
je 0x140073501
mov rdx, qword [rcx]
call qword [rdx + 0x58]
test rax, rax
je 0x140073501
mov rcx, qword [rbx]
mov rax, qword [rcx]
call qword [rax + 0x58]
jmp 0x140073504
mov rax, r12
test rax, rax
je 0x140073573
lea rdx, [rbp + 0x50]
lea rcx, [rsp + 0x48]
call fcn.14002309c
mov rbx, rax
mov rcx, qword [rax]
test rcx, rcx
je 0x140073538
mov rdx, qword [rcx]
call qword [rdx + 0x58]
test rax, rax
je 0x140073538
mov rcx, qword [rbx]
mov rax, qword [rcx]
call qword [rax + 0x58]
jmp 0x14007353b
mov rax, r12
mov rdx, qword [rax + 0x38]
add rdx, 0x10
je 0x140073573
lea rcx, [rsp + 0x50]
call fcn.140077310
mov rbx, rax
test rax, rax
jne 0x14007355c
mov eax, r12d
jmp 0x140073565
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_lstrlenW]
mov r8, rbx
mov edx, eax
lea rcx, [r13 + 8]
call fcn.1400670f0
lea r8, [0x1401217b0]
lea rdx, [rsp + 0x68]
lea rcx, [rsp + 0x30]
call fcn.1400230bc
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x1400735ab
mov rax, qword [rcx]
call qword [rax + 0x28]
test rax, rax
je 0x1400735ab
mov rcx, qword [rsp + 0x68]
mov rax, qword [rcx]
call qword [rax + 0x28]
jmp 0x1400735ae
mov rax, r12
test rax, rax
je 0x14007361d
lea rdx, [rbp + 0x58]
lea rcx, [rsp + 0x68]
call fcn.14002309c
mov rbx, rax
mov rcx, qword [rax]
test rcx, rcx
je 0x1400735e2
mov rdx, qword [rcx]
call qword [rdx + 0x58]
test rax, rax
je 0x1400735e2
mov rcx, qword [rbx]
mov rax, qword [rcx]
call qword [rax + 0x58]
jmp 0x1400735e5
mov rax, r12
mov rdx, qword [rax + 0x38]
add rdx, 0x10
je 0x14007361d
lea rcx, [rsp + 0x50]
call fcn.140077310
mov rbx, rax
test rax, rax
jne 0x140073606
mov eax, r12d
jmp 0x14007360f
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_lstrlenW]
mov r8, rbx
mov edx, eax
lea rcx, [r13 + 0x10]
call fcn.1400670f0
lea r8, [0x1401217b8]
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x30]
call fcn.1400230bc
mov rcx, qword [rsp + 0x70]
test rcx, rcx
je 0x140073655
mov rax, qword [rcx]
call qword [rax + 0x28]
test rax, rax
je 0x140073655
mov rcx, qword [rsp + 0x70]
mov rax, qword [rcx]
call qword [rax + 0x28]
jmp 0x140073658
mov rax, r12
test rax, rax
je 0x1400736cc
lea rdx, [rbp + 0x60]
lea rcx, [rsp + 0x70]
call fcn.14002309c
mov rbx, rax
mov rcx, qword [rax]
test rcx, rcx
je 0x14007368c
mov rdx, qword [rcx]
call qword [rdx + 0x58]
test rax, rax
je 0x14007368c
mov rcx, qword [rbx]
mov rax, qword [rcx]
call qword [rax + 0x58]
jmp 0x14007368f
mov rax, r12
test rax, rax
je 0x1400736cc
mov rdx, qword [rax + 0x38]
add rdx, 0x10
je 0x1400736cc
lea rcx, [rsp + 0x50]
call fcn.140077310
mov rbx, rax
test rax, rax
jne 0x1400736b5
mov eax, r12d
jmp 0x1400736be
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_lstrlenW]
mov r8, rbx
mov edx, eax
lea rcx, [r13 + 0x18]
call fcn.1400670f0
lea r8, [0x1401217c8]
lea rdx, [rsp + 0x78]
lea rcx, [rsp + 0x30]
call fcn.1400230bc
mov rcx, qword [rsp + 0x78]
test rcx, rcx
je 0x140073704
mov rax, qword [rcx]
call qword [rax + 0x28]
test rax, rax
je 0x140073704
mov rcx, qword [rsp + 0x78]
mov rax, qword [rcx]
call qword [rax + 0x28]
jmp 0x140073707
mov rax, r12
test rax, rax
je 0x14007377b
lea rdx, [rbp + 0x68]
lea rcx, [rsp + 0x78]
call fcn.14002309c
mov rbx, rax
mov rcx, qword [rax]
test rcx, rcx
je 0x14007373b
mov rdx, qword [rcx]
call qword [rdx + 0x58]
test rax, rax
je 0x14007373b
mov rcx, qword [rbx]
mov rax, qword [rcx]
call qword [rax + 0x58]
jmp 0x14007373e
mov rax, r12
test rax, rax
je 0x14007377b
mov rdx, qword [rax + 0x38]
add rdx, 0x10
je 0x14007377b
lea rcx, [rsp + 0x50]
call fcn.140077310
mov rbx, rax
test rax, rax
jne 0x140073764
mov eax, r12d
jmp 0x14007376d
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_lstrlenW]
mov r8, rbx
mov edx, eax
lea rcx, [r13 + 0x20]
call fcn.1400670f0
lea r8, [0x1401217d8]
lea rdx, [rbp - 0x80]
lea rcx, [rsp + 0x30]
call fcn.1400230bc
mov rcx, qword [rbp - 0x80]
test rcx, rcx
je 0x1400737b0
mov rax, qword [rcx]
call qword [rax + 0x28]
test rax, rax
je 0x1400737b0
mov rcx, qword [rbp - 0x80]
mov rax, qword [rcx]
call qword [rax + 0x28]
jmp 0x1400737b3
mov rax, r12
test rax, rax
je 0x140073826
lea rdx, [rbp + 0x70]
lea rcx, [rbp - 0x80]
call fcn.14002309c
mov rbx, rax
mov rcx, qword [rax]
test rcx, rcx
je 0x1400737e6
mov rdx, qword [rcx]
call qword [rdx + 0x58]
test rax, rax
je 0x1400737e6
mov rcx, qword [rbx]
mov rax, qword [rcx]
call qword [rax + 0x58]
jmp 0x1400737e9
mov rax, r12
test rax, rax
je 0x140073826
mov rdx, qword [rax + 0x38]
add rdx, 0x10
je 0x140073826
lea rcx, [rsp + 0x50]
call fcn.140077310
mov rbx, rax
test rax, rax
jne 0x14007380f
mov eax, r12d
jmp 0x140073818
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_lstrlenW]
mov r8, rbx
mov edx, eax
lea rcx, [r13 + 0x38]
call fcn.1400670f0
or edi, 0xffffffff
test r14d, r14d
je 0x140073d12
mov rbx, qword [rsi]
lea r14d, [rdi + 2]
cmp dword [rbx - 0xc], r12d
jl 0x14007384b
mov qword [rsp + 0x28], rbx
lock add dword [rbx - 0xc], r14d
jmp 0x14007387a
mov rax, qword [0x140174018]
mov qword [rsp + 0x28], rax
test rbx, rbx
jne 0x140073861
mov eax, r12d
jmp 0x14007386a
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_lstrlenW]
mov r8, rbx
mov edx, eax
lea rcx, [rsp + 0x28]
call fcn.1400670f0
nop
mov edx, VarDateFromDisp
mov rcx, qword [rsi]
call fcn.1400b2714
test rax, rax
je 0x1400738de
sub rax, qword [rsi]
sar rax, 1
test eax, eax
js 0x1400738de
mov r8d, eax
lea rdx, [rbp - 0x48]
mov rcx, rsi
call fcn.140069b8c
nop
mov rdx, rax
lea rcx, [rsp + 0x28]
call fcn.140067f7c
nop
mov rcx, qword [rbp - 0x48]
add rcx, 0xfffffffffffffff4
cmp rcx, qword [0x140174010]
je 0x1400738de
mov eax, edi
lock xadd dword [rcx], eax
add eax, edi
test eax, eax
jg 0x1400738de
mov rcx, qword [rbp - 0x48]
add rcx, 0xfffffffffffffff4
call fcn.1400b0230
mov r8d, r14d
lea rdx, [rbp - 0x40]
lea rcx, [rsp + 0x28]
call fcn.1400748a4
lea r15, [0x1401202e4]
mov rdx, r15
mov rcx, qword [rax]
call fcn.1400bdac4
test eax, eax
setne bl
mov rcx, qword [rbp - 0x40]
add rcx, 0xfffffffffffffff4
cmp rcx, qword [0x140174010]
je 0x140073930
mov eax, edi
lock xadd dword [rcx], eax
add eax, edi
test eax, eax
jg 0x140073930
mov rcx, qword [rbp - 0x40]
add rcx, 0xfffffffffffffff4
call fcn.1400b0230
test bl, bl
je 0x14007394c
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_lstrlenW]
mov r8, r15
mov edx, eax
lea rcx, [rsp + 0x28]
call fcn.1400683e0
lea r8, str.FileList
lea rdx, [rbp - 0x78]
lea rcx, [rsp + 0x30]
call fcn.1400230bc
mov rcx, qword [rbp - 0x78]
test rcx, rcx
je 0x140073981
mov rax, qword [rcx]
call qword [rax + 0x28]
test rax, rax
je 0x140073981
mov rcx, qword [rbp - 0x78]
mov rax, qword [rcx]
call qword [rax + 0x28]
jmp 0x140073984
mov rax, r12
test rax, rax
jne 0x140073a21
mov rcx, qword [rsp + 0x38]
call fcn.1400d9814
nop
mov rcx, qword [rsp + 0x28]
add rcx, 0xfffffffffffffff4
cmp rcx, qword [0x140174010]
je 0x1400739bc
mov eax, edi
lock xadd dword [rcx], eax
add eax, edi
test eax, eax
jg 0x1400739bc
call fcn.1400b0230
nop
lea rax, vtable.TiXmlDocument.0
mov qword [rbp - 0x30], rax
lea rax, [0x1401781c8]
mov rcx, qword [rbp + 0x28]
cmp rcx, rax
je 0x1400739dc
call fcn.1400b0230
lea rcx, [rbp - 0x30]
call fcn.140020f8c
nop
lea rcx, [rsp + 0x50]
call fcn.140067f00
nop
mov rcx, qword [rsi]
add rcx, 0xfffffffffffffff4
cmp rcx, qword [0x140174010]
je 0x140073a19
mov eax, edi
lock xadd dword [rcx], eax
add eax, edi
test eax, eax
jg 0x140073a19
mov rcx, qword [rsi]
sub rcx, 0xc
call fcn.1400b0230
mov eax, r14d
jmp 0x140073d7c
lea r8, str.FileItem
lea rdx, [rsp + 0x20]
lea rcx, [rbp - 0x78]
call fcn.1400230bc
mov rax, qword [rsp + 0x20]
test rax, rax
je 0x140073a68
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 0x28]
test rax, rax
je 0x140073a63
mov rcx, qword [rsp + 0x20]
mov rax, qword [rcx]
call qword [rax + 0x28]
mov rcx, rax
mov rax, qword [rsp + 0x20]
jmp 0x140073a6b
mov rax, qword [rsp + 0x20]
mov rcx, r12
test rcx, rcx
je 0x140073cef
test rax, rax
je 0x140073a94
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 0x28]
test rax, rax
je 0x140073a94
mov rcx, qword [rsp + 0x20]
mov rax, qword [rcx]
call qword [rax + 0x28]
jmp 0x140073a97
mov rax, r12
lea rdx, str.name
mov rcx, rax
call fcn.140021864
mov r12, rax
mov rcx, qword [rsp + 0x20]
test rcx, rcx
je 0x140073acb
mov rdx, qword [rcx]
call qword [rdx + 0x28]
test rax, rax
je 0x140073acb
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rcx]
call qword [rdx + 0x28]
jmp 0x140073acd
xor eax, eax
lea rdx, [0x140121750]
mov rcx, rax
call fcn.140021864
mov rbx, rax
mov rcx, qword [rsp + 0x20]
test rcx, rcx
je 0x140073b01
mov rdx, qword [rcx]
call qword [rdx + 0x28]
test rax, rax
je 0x140073b01
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rcx]
call qword [rdx + 0x28]
jmp 0x140073b03
xor eax, eax
lea rdx, str.optional
mov rcx, rax
call fcn.140021864
mov r15, rax
test r12, r12
je 0x140073cb1
mov rdx, r12
lea rcx, [rsp + 0x50]
call fcn.140077310
mov rdx, rax
lea rcx, [rsp + 0x40]
call fcn.140067e3c
nop
mov rcx, qword [0x140174018]
mov qword [rbp - 0x70], rcx
mov qword [rbp - 0x68], rcx
mov qword [rbp - 0x60], rcx
mov qword [rbp - 0x50], rcx
xor r12d, r12d
mov qword [rbp - 0x58], r12
lea rdx, [rsp + 0x40]
lea rcx, [rbp - 0x70]
call fcn.140067f7c
lea r8, [rsp + 0x40]
lea rdx, [rsp + 0x28]
lea rcx, [rbp - 0x38]
call fcn.1400706e0
nop
mov rdx, rax
lea rcx, [rbp - 0x68]
call fcn.140067f7c
nop
mov rcx, qword [rbp - 0x38]
add rcx, 0xfffffffffffffff4
cmp rcx, qword [0x140174010]
je 0x140073bb0
mov eax, edi
lock xadd dword [rcx], eax
add eax, edi
test eax, eax
jg 0x140073bb0
mov rcx, qword [rbp - 0x38]
add rcx, 0xfffffffffffffff4
call fcn.1400b0230
test rbx, rbx
je 0x140073be6
mov rdx, rbx
lea rcx, [rsp + 0x50]
call fcn.140077310
mov rbx, rax
test rax, rax
jne 0x140073bcf
mov eax, r12d
jmp 0x140073bd8
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_lstrlenW]
mov r8, rbx
mov edx, eax
lea rcx, [rbp - 0x60]
call fcn.1400670f0
mov dword [rbp - 0x58], r12d
test r15, r15
je 0x140073c0e
lea rdx, [0x14012176c]
mov rcx, r15
call fcn.1400da490
mov r15d, dword [rbp - 0x54]
test eax, eax
cmove r15d, r14d
mov dword [rbp - 0x54], r15d
jmp 0x140073c12
mov r15d, dword [rbp - 0x54]
mov rcx, qword [rbp - 0x68]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x140073c7b
test al, 0x10
jne 0x140073c7b
lea rcx, [r13 + 0xe8]
lea r8, [rsp + 0x40]
lea rdx, [rbp + 0x78]
call fcn.14006e774
mov rbx, qword [rbp + 0x78]
lea rdx, [rbp - 0x70]
lea rcx, [rbx + 0x28]
call fcn.140067f7c
lea rcx, [rbx + 0x30]
lea rdx, [rbp - 0x68]
call fcn.140067f7c
lea rcx, [rbx + 0x38]
lea rdx, [rbp - 0x60]
call fcn.140067f7c
mov dword [rbx + 0x40], r12d
mov dword [rbx + 0x44], r15d
lea rcx, [rbx + 0x48]
lea rdx, [rbp - 0x50]
call fcn.140067f7c
nop
lea rcx, [rbp - 0x70]
call fcn.140070240
nop
mov rcx, qword [rsp + 0x40]
add rcx, 0xfffffffffffffff4
cmp rcx, qword [0x140174010]
je 0x140073cb1
mov eax, edi
lock xadd dword [rcx], eax
add eax, edi
test eax, eax
jg 0x140073cb1
mov rcx, qword [rsp + 0x40]
add rcx, 0xfffffffffffffff4
call fcn.1400b0230
mov rcx, qword [rsp + 0x20]
test rcx, rcx
je 0x140073cd3
mov rax, qword [rcx]
call qword [rax + 0x28]
test rax, rax
je 0x140073cd3
mov rcx, qword [rsp + 0x20]
mov rax, qword [rcx]
call qword [rax + 0x28]
jmp 0x140073cd6
mov rax, r12
lea rdx, str.FileItem
mov rcx, rax
call fcn.140021448
mov qword [rsp + 0x20], rax
jmp 0x140073a3b
mov rcx, qword [rsp + 0x28]
add rcx, 0xfffffffffffffff4
cmp rcx, qword [0x140174010]
je 0x140073d12
mov eax, edi
lock xadd dword [rcx], eax
add eax, edi
test eax, eax
jg 0x140073d12
call fcn.1400b0230
mov rcx, qword [rsp + 0x38]
call fcn.1400d9814
nop
lea rax, vtable.TiXmlDocument.0
mov qword [rbp - 0x30], rax
lea rax, [0x1401781c8]
mov rcx, qword [rbp + 0x28]
cmp rcx, rax
je 0x140073d3d
call fcn.1400b0230
lea rcx, [rbp - 0x30]
call fcn.140020f8c
nop
lea rcx, [rsp + 0x50]
call fcn.140067f00
nop
mov rcx, qword [rsi]
add rcx, 0xfffffffffffffff4
cmp rcx, qword [0x140174010]
je 0x140073d7a
mov eax, edi
lock xadd dword [rcx], eax
add eax, edi
test eax, eax
jg 0x140073d7a
mov rcx, qword [rsi]
sub rcx, 0xc
call fcn.1400b0230
xor eax, eax
lea r11, [rsp + 0x190]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret