Function at 0x140001f20
Capabilities:
Check if file exists

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x37]
sub rsp, 0xf0
mov rax, qword [0x140074020]
xor rax, rsp
mov qword [rbp + 0x27], rax
mov r14, rcx
call fcn.140002ed0
movzx r15d, al
xor r12d, r12d
mov qword [rbp - 0x51], r12
lea rdx, str._file
lea rcx, [rbp - 0x51]
call fcn.1400258c0
nop
lea rdx, [rbp - 0x51]
lea rcx, [r14 + 0x38]
call fcn.140024b40
lea rdx, [rbp - 0x71]
mov rcx, rax
call fcn.14000d4b0
nop
mov qword [rbp - 0x29], r12
mov qword [rbp - 0x19], r12
mov qword [rbp - 0x11], 7
mov word [rbp - 0x29], r12w
lea rdx, [rbp - 0x29]
mov rcx, rax
call fcn.140010280
nop
mov rdx, qword [rbp - 0x59]
cmp rdx, 0x10
jb 0x140001fe7
inc rdx
mov rcx, qword [rbp - 0x71]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001fe2
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400027f2
call fcn.14002f77c
mov qword [rbp - 0x61], r12
mov qword [rbp - 0x59], 0xf
mov byte [rbp - 0x71], 0
xor edx, edx
lea rcx, [rbp - 0x51]
call fcn.1400258c0
nop
test r15b, r15b
je 0x140002386
mov ecx, 0x58
call fcn.14002f7b0
mov rdi, rax
mov qword [rbp - 0x51], rax
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rdi], xmm0
movups xmmword [rdi + 0x10], xmm0
movups xmmword [rdi + 0x20], xmm0
movups xmmword [rdi + 0x30], xmm0
movups xmmword [rdi + 0x40], xmm0
mov qword [rdi + 0x50], rax
mov dword [rdi], 4
movabs rax, 0x3ff0000000000000
mov qword [rdi + 8], rax
mov qword [rdi + 0x10], r12
mov qword [rdi + 0x20], r12
mov qword [rdi + 0x28], 0xf
mov byte [rdi + 0x10], 0
mov qword [rdi + 0x30], r12
mov qword [rdi + 0x38], r12
mov qword [rdi + 0x40], r12
lea rbx, [rdi + 0x48]
mov qword [rsp + 0x20], rbx
mov qword [rbx], r12
mov qword [rbx + 8], r12
mov ecx, 0x48
call fcn.14002f7b0
mov qword [rax], rax
mov qword [rax + 8], rax
mov qword [rax + 0x10], rax
mov word [rax + 0x18], 0x101
mov qword [rbx], rax
mov qword [rbp - 0x51], rdi
mov qword [rsp + 0x20], r12
lea rdx, str._defaultLoaded
lea rcx, [rsp + 0x20]
call fcn.1400258c0
nop
lea rdx, [rsp + 0x20]
lea rcx, [r14 + 0x38]
call fcn.140024b40
lea rcx, [rbp - 0x51]
cmp rax, rcx
je 0x1400020fc
mov rcx, qword [rax]
test rcx, rcx
je 0x1400020e1
mov rdx, rdi
call fcn.1400243a0
test eax, eax
je 0x1400020fc
lea rdx, [rsp + 0x20]
lea rcx, [r14 + 0x38]
call fcn.1400249b0
mov rcx, rax
lea rdx, [rbp - 0x51]
call fcn.140024f80
nop
xor edx, edx
lea rcx, [rsp + 0x20]
call fcn.1400258c0
nop
lea rcx, [rbp - 0x51]
call fcn.140025020
xor edx, edx
lea rcx, [rsp + 0x20]
call fcn.140024640
nop
mov qword [rbp - 0x51], r12
lea rdx, str.LogLevel
lea rcx, [rbp - 0x51]
call fcn.1400258c0
nop
lea rdx, [rbp - 0x51]
lea rcx, [r14 + 0x38]
call fcn.140024b40
lea rcx, [rsp + 0x20]
cmp rax, rcx
je 0x14000218a
mov rcx, qword [rax]
test rcx, rcx
jne 0x14000215c
cmp qword [rsp + 0x20], rcx
jne 0x14000216f
jmp 0x14000218a
mov rdx, qword [rsp + 0x20]
test rdx, rdx
je 0x14000216f
call fcn.1400243a0
test eax, eax
je 0x14000218a
lea rdx, [rbp - 0x51]
lea rcx, [r14 + 0x38]
call fcn.1400249b0
mov rcx, rax
lea rdx, [rsp + 0x20]
call fcn.140024f80
nop
xor edx, edx
lea rcx, [rbp - 0x51]
call fcn.1400258c0
nop
lea rcx, [rsp + 0x20]
call fcn.140025020
cmp qword [rbp - 0x19], 0
jne 0x140002219
xor edx, edx
lea rcx, [rsp + 0x28]
call fcn.140001110
nop
lea rcx, [rbp - 0x29]
cmp rcx, rax
je 0x1400021d8
mov r8, qword [rax + 0x10]
cmp qword [rax + 0x18], 8
jb 0x1400021cb
mov rax, qword [rax]
mov rdx, rax
lea rcx, [rbp - 0x29]
call fcn.140001c40
nop
mov rdx, qword [rbp - 0x79]
cmp rdx, 8
jb 0x140002219
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002214
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400027f8
call fcn.14002f77c
mov qword [rbp - 9], r12
mov qword [rbp + 7], r12
mov qword [rbp + 0xf], 7
mov word [rbp - 9], r12w
mov qword [rbp - 0x49], r12
mov qword [rbp - 0x39], r12
mov qword [rbp - 0x31], 0xf
mov byte [rbp - 0x49], 0
mov r8d, 0x13
lea rdx, str.AdpSDKGlobal.config
lea rcx, [rbp - 0x49]
call fcn.14000d2f0
nop
lea rdx, [rbp - 9]
lea rcx, [rbp - 0x49]
call fcn.140010280
nop
mov rdx, qword [rbp - 0x31]
cmp rdx, 0x10
jb 0x1400022a2
inc rdx
mov rcx, qword [rbp - 0x49]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000229d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400027fe
call fcn.14002f77c
mov qword [rbp - 0x39], r12
mov qword [rbp - 0x31], 0xf
mov byte [rbp - 0x49], 0
lea r8, [rbp - 9]
lea rdx, [rsp + 0x28]
lea rcx, [rbp - 0x29]
call fcn.14001a450
nop
lea rcx, [rbp - 0x29]
cmp rcx, rax
je 0x1400022e9
mov r8, qword [rax + 0x10]
cmp qword [rax + 0x18], 8
jb 0x1400022dc
mov rax, qword [rax]
mov rdx, rax
lea rcx, [rbp - 0x29]
call fcn.140001c40
nop
mov rdx, qword [rbp - 0x79]
cmp rdx, 8
jb 0x14000232a
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002325
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140002804
call fcn.14002f77c
mov qword [rsp + 0x38], r12
mov qword [rbp - 0x79], 7
mov word [rsp + 0x28], r12w
mov rdx, qword [rbp + 0xf]
cmp rdx, 8
jb 0x14000237d
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 9]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002378
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000280a
call fcn.14002f77c
lea rdx, [rbp - 0x29]
call fcn.140002820
mov qword [rbp - 0x51], r12
lea rdx, str._fileModTime
lea rcx, [rbp - 0x51]
call fcn.1400258c0
nop
lea rdx, [rbp - 0x51]
lea rcx, [r14 + 0x38]
call fcn.140024b40
mov rcx, qword [rax]
test rcx, rcx
je 0x1400023b8
cvttsd2si rbx, qword [rcx + 8]
jmp 0x1400023bb
mov rbx, r12
xor edx, edx
lea rcx, [rbp - 0x51]
call fcn.1400258c0
nop
lea rcx, [rbp - 0x29]
cmp qword [rbp - 0x11], 8
cmovae rcx, qword [rbp - 0x29]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
cmp eax, 1
jne 0x14000261a
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp - 0x49], xmm0
mov qword [rbp - 0x39], rax
lea r9, [rbp - 0x39]
lea r8, [rbp - 0x41]
lea rdx, [rbp - 0x49]
lea rcx, [rbp - 0x29]
call fcn.14001a710
cmp qword [rbp - 0x39], rbx
je 0x14000261a
mov r15b, 1
xorps xmm0, xmm0
movups xmmword [rbp - 9], xmm0
movups xmmword [rbp + 7], xmm0
movups xmmword [rbp + 0x17], xmm0
lea rdx, [rbp - 0x29]
cmp qword [rbp - 0x11], 8
cmovae rdx, qword [rbp - 0x29]
lea rcx, [rbp - 9]
call fcn.14001f790
nop
mov qword [rbp - 0x51], r12
lea rdx, [rsp + 0x28]
lea rcx, [rbp - 0x29]
call fcn.140016330
nop
mov qword [rsp + 0x20], r12
cmp qword [rax + 0x18], 0x10
jb 0x14000245c
mov rax, qword [rax]
mov rdx, rax
lea rcx, [rsp + 0x20]
call fcn.1400258c0
nop
lea rdx, [rsp + 0x20]
lea rcx, [rbp - 0x51]
call fcn.140024dc0
nop
xor edx, edx
lea rcx, [rsp + 0x20]
call fcn.1400258c0
nop
mov rdx, qword [rbp - 0x79]
cmp rdx, 0x10
jb 0x1400024c2
inc rdx
mov rcx, qword [rsp + 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400024bd
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140002810
call fcn.14002f77c
xorps xmm0, xmm0
movups xmmword [rbp - 0x49], xmm0
lea rdx, [rbp - 0x49]
lea rcx, [rbp - 0x51]
call fcn.14000d000
nop
mov rbx, qword [rbp - 0x49]
mov rbx, qword [rbx]
cmp byte [rbx + 0x19], 0
jne 0x140002562
nop dword [rax]
nop dword [rax + rax]
lea rdx, [rbx + 0x20]
lea rcx, [rbp - 0x51]
call fcn.1400249b0
mov r8, rax
mov r9d, 1
lea rdx, [rbx + 0x20]
mov rcx, r14
call fcn.140001e60
mov rax, qword [rbx + 0x10]
cmp byte [rax + 0x19], 0
je 0x14000253e
mov rax, qword [rbx + 8]
cmp byte [rax + 0x19], 0
jne 0x140002539
cmp rbx, qword [rax + 0x10]
jne 0x140002539
mov rbx, rax
mov rax, qword [rax + 8]
cmp byte [rax + 0x19], 0
je 0x140002526
mov rbx, rax
jmp 0x14000255c
mov rbx, rax
mov rax, qword [rax]
cmp byte [rax + 0x19], 0
jne 0x14000255c
nop word [rax + rax]
mov rbx, rax
mov rax, qword [rax]
cmp byte [rax + 0x19], 0
je 0x140002550
cmp byte [rbx + 0x19], 0
je 0x1400024f0
lea rcx, [rbp - 0x49]
call fcn.14000cf80
nop
lea rcx, [rbp - 0x51]
call fcn.140025020
nop
mov rcx, qword [rbp + 0x1f]
test rcx, rcx
je 0x140002598
call qword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov byte [rbp + 0x17], 0
mov rcx, qword [rbp + 0x1f]
test rcx, rcx
je 0x140002598
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rbp + 0x1f], r12
lea rax, [rbp - 9]
cmp qword [rbp + 0xf], 8
cmovae rax, qword [rbp - 9]
mov qword [rbp + 7], r12
mov word [rax], r12w
mov rdx, qword [rbp + 0xf]
cmp rdx, 8
jb 0x1400025f2
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 9]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400025ed
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140002816
call fcn.14002f77c
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp - 0x49], xmm0
mov qword [rbp - 0x39], rax
lea r9, [rbp - 0x39]
lea r8, [rbp - 0x41]
lea rdx, [rbp - 0x49]
lea rcx, [rbp - 0x29]
call fcn.14001a710
mov rbx, qword [rbp - 0x39]
jmp 0x140002623
test r15b, r15b
je 0x140002784
mov qword [rsp + 0x20], r12
mov qword [rbp - 0x51], r12
lea rdx, [rbp - 0x29]
cmp qword [rbp - 0x11], 8
cmovae rdx, qword [rbp - 0x29]
lea rcx, [rbp - 0x51]
call fcn.140025a90
nop
mov rdx, qword [rbp - 0x51]
test rdx, rdx
je 0x140002659
cmp qword [rdx + 0x18], 0x10
jb 0x14000265c
mov rdx, qword [rdx]
jmp 0x14000265c
mov rdx, r12
lea rcx, [rsp + 0x20]
call fcn.1400247c0
nop
xor edx, edx
lea rcx, [rbp - 0x51]
call fcn.1400258c0
nop
mov qword [rbp - 0x51], r12
lea rdx, str._file
lea rcx, [rbp - 0x51]
call fcn.1400258c0
nop
lea rdx, [rbp - 0x51]
lea rcx, [r14 + 0x38]
call fcn.140024b40
lea rcx, [rsp + 0x20]
cmp rax, rcx
je 0x1400026de
mov rcx, qword [rax]
test rcx, rcx
jne 0x1400026b0
cmp qword [rsp + 0x20], rcx
jne 0x1400026c3
jmp 0x1400026de
mov rdx, qword [rsp + 0x20]
test rdx, rdx
je 0x1400026c3
call fcn.1400243a0
test eax, eax
je 0x1400026de
lea rdx, [rbp - 0x51]
lea rcx, [r14 + 0x38]
call fcn.1400249b0
mov rcx, rax
lea rdx, [rsp + 0x20]
call fcn.140024f80
nop
xor edx, edx
lea rcx, [rbp - 0x51]
call fcn.1400258c0
nop
lea rcx, [rsp + 0x20]
call fcn.140025020
mov rdx, rbx
lea rcx, [rsp + 0x20]
call fcn.140024700
nop
mov qword [rbp - 0x51], r12
lea rdx, str._fileModTime
lea rcx, [rbp - 0x51]
call fcn.1400258c0
nop
lea rdx, [rbp - 0x51]
lea rcx, [r14 + 0x38]
call fcn.140024b40
lea rcx, [rsp + 0x20]
cmp rax, rcx
je 0x14000276d
mov rcx, qword [rax]
test rcx, rcx
jne 0x14000273f
cmp qword [rsp + 0x20], rcx
jne 0x140002752
jmp 0x14000276d
mov rdx, qword [rsp + 0x20]
test rdx, rdx
je 0x140002752
call fcn.1400243a0
test eax, eax
je 0x14000276d
lea rdx, [rbp - 0x51]
lea rcx, [r14 + 0x38]
call fcn.1400249b0
mov rcx, rax
lea rdx, [rsp + 0x20]
call fcn.140024f80
nop
xor edx, edx
lea rcx, [rbp - 0x51]
call fcn.1400258c0
nop
lea rcx, [rsp + 0x20]
call fcn.140025020
nop
mov rdx, qword [rbp - 0x11]
cmp rdx, 8
jb 0x1400027c0
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x29]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400027bb
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400027ec
call fcn.14002f77c
movzx eax, r15b
mov rcx, qword [rbp + 0x27]
xor rcx, rsp
call fcn.14002f4c0
lea r11, [rsp + 0xf0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret
call fcn.140035b04
nop
call fcn.140035b04
nop
call fcn.140035b04
nop
call fcn.140035b04
nop
call fcn.140035b04
nop
call fcn.140035b04
nop
call fcn.140035b04
nop
call fcn.140035b04
int3