Function at 0x1400509d0
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 [0x14015b138]
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 0x140050a15
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 0x140050a30
lea rcx, [rbp + 0x17]
call fcn.1400149d0
nop
cmp qword [rbp + 0x27], 0
je 0x140050ebf
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 0x140050ebf
lea rdi, [0x140123b98]
test ebx, ebx
je 0x140050a8a
cmp ebx, 1
je 0x140050a81
mov rdx, rdi
jmp 0x140050a91
lea rdx, str.AdpSDKGlobal.config
jmp 0x140050a91
lea rdx, str.AdpSDK.config
lea rcx, [rbp - 0x31]
call fcn.14001c5f0
nop
movdqa xmm0, xmmword [0x14012d1d0]
movdqu xmmword [rsp + 0x38], xmm0
mov word [rsp + 0x28], r14w
mov dword [rsp + 0x20], 1
mov r8b, 1
lea rdx, [fcn.14001d8b0]
lea rcx, [rbp - 0x11]
call fcn.14001dcc0
nop
lea rcx, [rsp + 0x28]
cmp rcx, rax
je 0x140050af1
mov rdx, rax
cmp qword [rax + 0x18], 8
jb 0x140050ae2
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 0x140050b31
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x11]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140050b2c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140050f25
call fcn.1400cd424
lea rdx, [rbp - 0x51]
lea rcx, [rsp + 0x28]
call fcn.14001c720
nop
lea r8, [rbp - 0x31]
lea rdx, [rbp - 0x71]
mov rcx, rax
call fcn.14001c9a0
nop
lea rdx, [rbp + 0x17]
mov rcx, rax
call fcn.14001eec0
test al, al
sete sil
mov rdx, qword [rbp - 0x59]
cmp rdx, 8
jb 0x140050ba3
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x71]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140050b9e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140050f2b
call fcn.1400cd424
movdqa xmm0, xmmword [0x14012d1d0]
movdqu xmmword [rbp - 0x61], xmm0
mov word [rbp - 0x71], r14w
mov rdx, qword [rbp - 0x39]
cmp rdx, 8
jb 0x140050bf5
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x51]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140050bf0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140050f2b
call fcn.1400cd424
movdqa xmm0, xmmword [0x14012d1d0]
movdqu xmmword [rbp - 0x41], xmm0
mov word [rbp - 0x51], r14w
mov rdx, qword [rbp - 0x79]
cmp rdx, 8
jb 0x140050c48
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140050c43
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140050f2b
call fcn.1400cd424
movdqa xmm0, xmmword [0x14012d1d0]
movdqu xmmword [rsp + 0x38], xmm0
mov word [rsp + 0x28], r14w
mov rdx, qword [rbp - 0x19]
cmp rdx, 8
jb 0x140050c9c
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x31]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140050c97
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140050f2b
call fcn.1400cd424
test sil, sil
je 0x140050ebf
test ebx, ebx
je 0x140050cb7
cmp ebx, 1
jne 0x140050cbe
lea rdi, str.AdpSDKGlobal.config
jmp 0x140050cbe
lea rdi, str.AdpSDK.config
mov rdx, rdi
lea rcx, [rbp - 0x31]
call fcn.14001c5f0
nop
movdqa xmm0, xmmword [0x14012d1d0]
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.14001dcc0
nop
lea rdx, [rbp - 0x51]
mov rcx, rax
call fcn.14001c720
nop
lea rcx, [rsp + 0x28]
cmp rcx, rax
je 0x140050d29
mov rdx, rax
cmp qword [rax + 0x18], 8
jb 0x140050d1a
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 0x140050d69
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x51]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140050d64
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140050f31
call fcn.1400cd424
movdqa xmm0, xmmword [0x14012d1d0]
movdqu xmmword [rbp - 0x41], xmm0
mov word [rbp - 0x51], r14w
mov rdx, qword [rbp + 7]
cmp rdx, 8
jb 0x140050dbb
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x11]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140050db6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140050f31
call fcn.1400cd424
lea r8, [rbp - 0x31]
lea rdx, [rbp - 0x71]
lea rcx, [rsp + 0x28]
call fcn.14001c9a0
nop
lea rdx, [rbp + 0x17]
mov rcx, rax
call fcn.14001eec0
nop
mov rdx, qword [rbp - 0x59]
cmp rdx, 8
jb 0x140050e1b
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x71]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140050e16
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140050f37
call fcn.1400cd424
movdqa xmm0, xmmword [0x14012d1d0]
movdqu xmmword [rbp - 0x61], xmm0
mov word [rbp - 0x71], r14w
mov rdx, qword [rbp - 0x79]
cmp rdx, 8
jb 0x140050e6e
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140050e69
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140050f37
call fcn.1400cd424
movdqa xmm0, xmmword [0x14012d1d0]
movdqu xmmword [rsp + 0x38], xmm0
mov word [rsp + 0x28], r14w
mov rdx, qword [rbp - 0x19]
cmp rdx, 8
jb 0x140050ebf
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x31]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140050eb9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140050f37
call fcn.1400cd424
nop
mov rdx, qword [rbp + 0x2f]
cmp rdx, 8
jb 0x140050efb
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x17]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140050ef6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140050f1f
call fcn.1400cd424
mov rcx, qword [rbp + 0x37]
xor rcx, rsp
call fcn.1400cd400
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.1400d20f4
nop
call fcn.1400d20f4
nop
call fcn.1400d20f4
nop
call fcn.1400d20f4
nop
call fcn.1400d20f4
int3