Function at 0x140050800
Capabilities:
Check if file exists

Disassembly:
mov rax, rsp
push rbp
push rdi
push r14
lea rbp, [rax - 0x5f]
sub rsp, 0x100
mov qword [rbp + 0xf], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rsi
mov rax, qword [0x14015a138]
xor rax, rsp
mov qword [rbp + 0x37], rax
mov ebx, r8d
xor r14d, r14d
mov dword [rsp + 0x20], r14d
cmp qword [rdx + 0x18], 8
jb 0x140050845
mov rdx, qword [rdx]
mov qword [rbp + 0x27], r14
mov qword [rbp + 0x2f], 7
mov word [rbp + 0x17], r14w
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp word [rdx + r8*2], r14w
jne 0x140050860
lea rcx, [rbp + 0x17]
call fcn.1400149d0
nop
cmp qword [rbp + 0x27], 0
je 0x140050cef
lea rcx, [rbp + 0x17]
cmp qword [rbp + 0x2f], 8
cmovae rcx, qword [rbp + 0x17]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
cmp eax, 1
je 0x140050cef
lea rdi, [0x140122b88]
test ebx, ebx
je 0x1400508ba
cmp ebx, 1
je 0x1400508b1
mov rdx, rdi
jmp 0x1400508c1
lea rdx, str.AdpSDKGlobal.config
jmp 0x1400508c1
lea rdx, str.AdpSDK.config
lea rcx, [rbp - 0x31]
call fcn.14001c080
nop
movdqa xmm0, xmmword [0x14012bfc0]
movdqu xmmword [rsp + 0x38], xmm0
mov word [rsp + 0x28], r14w
mov dword [rsp + 0x20], 1
mov r8b, 1
lea rdx, [fcn.14001d340]
lea rcx, [rbp - 0x11]
call fcn.14001d750
nop
lea rcx, [rsp + 0x28]
cmp rcx, rax
je 0x140050921
mov rdx, rax
cmp qword [rax + 0x18], 8
jb 0x140050912
mov rdx, qword [rax]
mov r8, qword [rax + 0x10]
lea rcx, [rsp + 0x28]
call fcn.1400149d0
nop
mov rdx, qword [rbp + 7]
cmp rdx, 8
jb 0x140050961
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x11]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005095c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140050d55
call fcn.1400ccd64
lea rdx, [rbp - 0x51]
lea rcx, [rsp + 0x28]
call fcn.14001c1b0
nop
lea r8, [rbp - 0x31]
lea rdx, [rbp - 0x71]
mov rcx, rax
call fcn.14001c430
nop
lea rdx, [rbp + 0x17]
mov rcx, rax
call fcn.14001e950
test al, al
sete sil
mov rdx, qword [rbp - 0x59]
cmp rdx, 8
jb 0x1400509d3
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x71]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400509ce
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140050d5b
call fcn.1400ccd64
movdqa xmm0, xmmword [0x14012bfc0]
movdqu xmmword [rbp - 0x61], xmm0
mov word [rbp - 0x71], r14w
mov rdx, qword [rbp - 0x39]
cmp rdx, 8
jb 0x140050a25
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x51]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140050a20
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140050d5b
call fcn.1400ccd64
movdqa xmm0, xmmword [0x14012bfc0]
movdqu xmmword [rbp - 0x41], xmm0
mov word [rbp - 0x51], r14w
mov rdx, qword [rbp - 0x79]
cmp rdx, 8
jb 0x140050a78
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140050a73
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140050d5b
call fcn.1400ccd64
movdqa xmm0, xmmword [0x14012bfc0]
movdqu xmmword [rsp + 0x38], xmm0
mov word [rsp + 0x28], r14w
mov rdx, qword [rbp - 0x19]
cmp rdx, 8
jb 0x140050acc
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x31]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140050ac7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140050d5b
call fcn.1400ccd64
test sil, sil
je 0x140050cef
test ebx, ebx
je 0x140050ae7
cmp ebx, 1
jne 0x140050aee
lea rdi, str.AdpSDKGlobal.config
jmp 0x140050aee
lea rdi, str.AdpSDK.config
mov rdx, rdi
lea rcx, [rbp - 0x31]
call fcn.14001c080
nop
movdqa xmm0, xmmword [0x14012bfc0]
movdqu xmmword [rsp + 0x38], xmm0
mov word [rsp + 0x28], r14w
mov dword [rsp + 0x20], 2
xor r8d, r8d
xor edx, edx
lea rcx, [rbp - 0x11]
call fcn.14001d750
nop
lea rdx, [rbp - 0x51]
mov rcx, rax
call fcn.14001c1b0
nop
lea rcx, [rsp + 0x28]
cmp rcx, rax
je 0x140050b59
mov rdx, rax
cmp qword [rax + 0x18], 8
jb 0x140050b4a
mov rdx, qword [rax]
mov r8, qword [rax + 0x10]
lea rcx, [rsp + 0x28]
call fcn.1400149d0
nop
mov rdx, qword [rbp - 0x39]
cmp rdx, 8
jb 0x140050b99
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x51]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140050b94
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140050d61
call fcn.1400ccd64
movdqa xmm0, xmmword [0x14012bfc0]
movdqu xmmword [rbp - 0x41], xmm0
mov word [rbp - 0x51], r14w
mov rdx, qword [rbp + 7]
cmp rdx, 8
jb 0x140050beb
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x11]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140050be6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140050d61
call fcn.1400ccd64
lea r8, [rbp - 0x31]
lea rdx, [rbp - 0x71]
lea rcx, [rsp + 0x28]
call fcn.14001c430
nop
lea rdx, [rbp + 0x17]
mov rcx, rax
call fcn.14001e950
nop
mov rdx, qword [rbp - 0x59]
cmp rdx, 8
jb 0x140050c4b
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x71]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140050c46
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140050d67
call fcn.1400ccd64
movdqa xmm0, xmmword [0x14012bfc0]
movdqu xmmword [rbp - 0x61], xmm0
mov word [rbp - 0x71], r14w
mov rdx, qword [rbp - 0x79]
cmp rdx, 8
jb 0x140050c9e
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140050c99
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140050d67
call fcn.1400ccd64
movdqa xmm0, xmmword [0x14012bfc0]
movdqu xmmword [rsp + 0x38], xmm0
mov word [rsp + 0x28], r14w
mov rdx, qword [rbp - 0x19]
cmp rdx, 8
jb 0x140050cef
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x31]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140050ce9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140050d67
call fcn.1400ccd64
nop
mov rdx, qword [rbp + 0x2f]
cmp rdx, 8
jb 0x140050d2b
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x17]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140050d26
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140050d4f
call fcn.1400ccd64
mov rcx, qword [rbp + 0x37]
xor rcx, rsp
call fcn.1400ccd40
lea r11, [rsp + 0x100]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
call fcn.1400d1a34
nop
call fcn.1400d1a34
nop
call fcn.1400d1a34
nop
call fcn.1400d1a34
nop
call fcn.1400d1a34
int3