Function at 0x140002820
Capabilities:
Check if file exists

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rdi
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0xf0
mov rax, qword [0x140074020]
xor rax, rsp
mov qword [rbp + 0x4f], rax
xor edi, edi
mov dword [rbp - 0x79], edi
cmp qword [rdx + 0x18], 8
jb 0x140002854
mov rdx, qword [rdx]
mov qword [rbp + 0x2f], rdi
mov qword [rbp + 0x3f], rdi
mov qword [rbp + 0x47], 7
mov word [rbp + 0x2f], di
mov r8, 0xffffffffffffffff
nop
inc r8
cmp word [rdx + r8*2], di
jne 0x140002870
lea rcx, [rbp + 0x2f]
call fcn.140001c40
nop
cmp qword [rbp + 0x3f], 0
je 0x140002dc4
lea rcx, [rbp + 0x2f]
cmp qword [rbp + 0x47], 8
cmovae rcx, qword [rbp + 0x2f]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
cmp eax, 1
je 0x140002dc4
mov qword [rbp - 0x71], rdi
mov qword [rbp - 0x61], rdi
mov qword [rbp - 0x59], 7
mov word [rbp - 0x71], di
mov dword [rbp - 0x79], 1
mov r8b, 1
lea rdx, [fcn.14001aed0]
lea rcx, [rbp - 0x11]
call fcn.14001b370
nop
lea rcx, [rbp - 0x71]
cmp rcx, rax
je 0x1400028ff
mov r8, qword [rax + 0x10]
cmp qword [rax + 0x18], 8
jb 0x1400028f2
mov rax, qword [rax]
mov rdx, rax
lea rcx, [rbp - 0x71]
call fcn.140001c40
nop
mov rdx, qword [rbp + 7]
cmp rdx, 8
jb 0x14000293f
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x11]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000293a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140002e27
call fcn.14002f77c
lea rdx, [rbp - 0x31]
lea rcx, [rbp - 0x71]
call fcn.14001a200
mov rbx, rax
mov qword [rbp + 0xf], rdi
mov qword [rbp + 0x1f], rdi
mov qword [rbp + 0x27], 7
mov word [rbp + 0xf], di
mov qword [rbp - 0x11], rdi
mov qword [rbp - 1], rdi
mov qword [rbp + 7], 0xf
mov byte [rbp - 0x11], 0
mov r8d, 0x13
lea rdx, str.AdpSDKGlobal.config
lea rcx, [rbp - 0x11]
call fcn.14000d2f0
nop
lea rdx, [rbp + 0xf]
lea rcx, [rbp - 0x11]
call fcn.140010280
nop
mov rdx, qword [rbp + 7]
cmp rdx, 0x10
jb 0x1400029d7
inc rdx
mov rcx, qword [rbp - 0x11]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400029d2
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140002e2d
call fcn.14002f77c
mov qword [rbp - 1], rdi
mov qword [rbp + 7], 0xf
mov byte [rbp - 0x11], 0
lea r8, [rbp + 0xf]
lea rdx, [rbp - 0x51]
mov rcx, rbx
call fcn.14001a450
nop
lea rdx, [rbp + 0x2f]
mov rcx, rax
call fcn.14001c050
test al, al
sete bl
mov rdx, qword [rbp - 0x39]
cmp rdx, 8
jb 0x140002a49
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x51]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002a44
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140002e33
call fcn.14002f77c
mov qword [rbp - 0x41], rdi
mov qword [rbp - 0x39], 7
mov word [rbp - 0x51], di
mov rdx, qword [rbp + 0x27]
cmp rdx, 8
jb 0x140002a99
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0xf]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002a94
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140002e39
call fcn.14002f77c
mov qword [rbp + 0x1f], rdi
mov qword [rbp + 0x27], 7
mov word [rbp + 0xf], di
mov rdx, qword [rbp - 0x19]
cmp rdx, 8
jb 0x140002ae9
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x31]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002ae4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140002e3f
call fcn.14002f77c
mov qword [rbp - 0x21], rdi
mov qword [rbp - 0x19], 7
mov word [rbp - 0x31], di
mov rdx, qword [rbp - 0x59]
cmp rdx, 8
jb 0x140002b39
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x71]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002b34
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140002e45
call fcn.14002f77c
test bl, bl
je 0x140002dc4
mov qword [rbp - 0x71], rdi
mov qword [rbp - 0x61], rdi
mov qword [rbp - 0x59], 7
mov word [rbp - 0x71], di
mov dword [rbp - 0x79], 2
xor r8d, r8d
xor edx, edx
lea rcx, [rbp + 0xf]
call fcn.14001b370
nop
lea rdx, [rbp - 0x31]
mov rcx, rax
call fcn.14001a200
nop
lea rcx, [rbp - 0x71]
cmp rcx, rax
je 0x140002b9c
mov r8, qword [rax + 0x10]
cmp qword [rax + 0x18], 8
jb 0x140002b8f
mov rax, qword [rax]
mov rdx, rax
lea rcx, [rbp - 0x71]
call fcn.140001c40
nop
mov rdx, qword [rbp - 0x19]
cmp rdx, 8
jb 0x140002bdc
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x31]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002bd7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140002e4b
call fcn.14002f77c
mov qword [rbp - 0x21], rdi
mov qword [rbp - 0x19], 7
mov word [rbp - 0x31], di
mov rdx, qword [rbp + 0x27]
cmp rdx, 8
jb 0x140002c2c
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0xf]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002c27
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140002e51
call fcn.14002f77c
mov qword [rbp - 0x11], rdi
mov qword [rbp - 1], rdi
mov qword [rbp + 7], 7
mov word [rbp - 0x11], di
mov qword [rbp + 0xf], rdi
mov qword [rbp + 0x1f], rdi
mov qword [rbp + 0x27], 0xf
mov byte [rbp + 0xf], 0
mov r8d, 0x13
lea rdx, str.AdpSDKGlobal.config
lea rcx, [rbp + 0xf]
call fcn.14000d2f0
nop
lea rdx, [rbp - 0x11]
lea rcx, [rbp + 0xf]
call fcn.140010280
nop
mov rdx, qword [rbp + 0x27]
cmp rdx, 0x10
jb 0x140002cb4
inc rdx
mov rcx, qword [rbp + 0xf]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002caf
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140002e57
call fcn.14002f77c
mov qword [rbp + 0x1f], rdi
mov qword [rbp + 0x27], 0xf
mov byte [rbp + 0xf], 0
lea r8, [rbp - 0x11]
lea rdx, [rbp - 0x51]
lea rcx, [rbp - 0x71]
call fcn.14001a450
nop
lea rdx, [rbp + 0x2f]
mov rcx, rax
call fcn.14001c050
nop
mov rdx, qword [rbp - 0x39]
cmp rdx, 8
jb 0x140002d23
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x51]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002d1e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140002e5d
call fcn.14002f77c
mov qword [rbp - 0x41], rdi
mov qword [rbp - 0x39], 7
mov word [rbp - 0x51], di
mov rdx, qword [rbp + 7]
cmp rdx, 8
jb 0x140002d73
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x11]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002d6e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140002e63
call fcn.14002f77c
mov qword [rbp - 1], rdi
mov qword [rbp + 7], 7
mov word [rbp - 0x11], di
mov rdx, qword [rbp - 0x59]
cmp rdx, 8
jb 0x140002dc4
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x71]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002dbe
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140002e69
call fcn.14002f77c
nop
mov rdx, qword [rbp + 0x47]
cmp rdx, 8
jb 0x140002e00
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x2f]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002dfb
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140002e21
call fcn.14002f77c
mov rcx, qword [rbp + 0x4f]
xor rcx, rsp
call fcn.14002f4c0
lea r11, [rsp + 0xf0]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
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
nop
call fcn.140035b04
nop
call fcn.140035b04
nop
call fcn.140035b04
nop
call fcn.140035b04
nop
call fcn.140035b04
int3