Function at 0x140052edc
Capabilities:
Check if file exists

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x158]
sub rsp, 0x230
mov rax, qword [0x1402708c0]
xor rax, rsp
mov qword [rbp + 0x120], rax
mov rbx, rcx
xor r13d, r13d
call fcn.1400c8700
test al, al
je 0x1400534bf
mov rdx, rbx
lea rcx, [rbp - 0x28]
call fcn.1400c96c8
nop
xorps xmm0, xmm0
movups xmmword [rbp - 0x48], xmm0
mov qword [rbp - 0x38], r13
lea r15d, [r13 + 7]
mov qword [rbp - 0x30], r15
mov word [rbp - 0x48], r13w
lea rcx, [rbp - 0x48]
call fcn.1400c702c
xorps xmm0, xmm0
movups xmmword [rsp + 0x78], xmm0
mov qword [rbp - 0x78], r13
mov qword [rbp - 0x70], r13
mov rdi, qword [rbp - 0x38]
lea rsi, [rbp - 0x48]
cmp qword [rbp - 0x30], r15
cmova rsi, qword [rbp - 0x48]
movabs r14, 0x7ffffffffffffffe
cmp rdi, r14
ja 0x1400534f5
mov qword [rbp - 0x70], r15
cmp rdi, r15
ja 0x140052fac
mov qword [rbp - 0x78], rdi
lea r8d, [r13 + 0x10]
mov rdx, rsi
lea rcx, [rsp + 0x78]
call fcn.1401e0580
nop
jmp 0x140053030
mov rbx, rdi
or rbx, r15
cmp rbx, r14
jbe 0x140052fca
mov rbx, r14
movabs rax, 0x7fffffffffffffff
lea rcx, [rax + rax]
jmp 0x140052ff9
mov eax, 0xa
cmp rbx, rax
cmovb rbx, rax
lea rcx, [rbx + 1]
movabs rax, 0x7fffffffffffffff
cmp rcx, rax
ja 0x1400534fb
add rcx, rcx
cmp rcx, 0x1000
jb 0x140053000
call fcn.14004ea38
jmp 0x14005300f
test rcx, rcx
je 0x14005300c
call fcn.140172d74
jmp 0x14005300f
mov rax, r13
mov qword [rsp + 0x78], rax
mov qword [rbp - 0x78], rdi
mov qword [rbp - 0x70], rbx
lea r8, [rdi*2 + 2]
mov rdx, rsi
mov rcx, rax
call fcn.1401e0580
nop
lea rdi, [rsp + 0x78]
mov r15, qword [rsp + 0x78]
mov r12, qword [rbp - 0x70]
cmp r12, 7
cmova rdi, r15
or rbx, 0xffffffffffffffff
mov rsi, qword [rbp - 0x78]
test rsi, rsi
je 0x140053115
xor edx, edx
mov r8d, 0x100
lea rcx, [rbp + 0x20]
call fcn.1401e0c20
lea rcx, [0x1401f3bc0]
mov edx, 0x100
lea r10d, [rbx + 3]
cmp word [rcx], dx
jae 0x1400530c1
movzx eax, byte [rcx]
mov byte [rbp + rax + 0x20], 1
add rcx, r10
lea rax, [0x1401f3bc4]
cmp rcx, rax
jne 0x140053078
lea rcx, [rsi - 1]
mov rax, rbx
cmp rcx, rbx
cmovb rax, rcx
lea r8, [rdi + rax*2]
cmp word [r8], dx
jae 0x1400530b7
movzx eax, word [r8]
cmp byte [rbp + rax + 0x20], r13b
jne 0x14005310d
cmp r8, rdi
je 0x140053115
sub r8, r10
jmp 0x1400530a6
lea rcx, [rsi - 1]
mov rax, rbx
cmp rcx, rbx
cmovb rax, rcx
lea r8, [rdi + rax*2]
mov rcx, r10
movzx edx, word [r8]
lea rax, [0x1401f3bc0]
mov r9d, 0x5c
cmp r9w, dx
je 0x14005310d
cmp rcx, 1
je 0x140053103
dec rcx
add rax, r10
cmp word [rax], dx
jne 0x1400530ed
test rax, rax
jne 0x14005310d
cmp r8, rdi
je 0x140053115
sub r8, r10
jmp 0x1400530d3
sub r8, rdi
sar r8, 1
jmp 0x140053118
mov r8, rbx
cmp r8, rbx
je 0x1400531c3
xorps xmm0, xmm0
movups xmmword [rbp - 0x68], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x58], xmm1
cmp rsi, r8
cmovb r8, rsi
lea rdx, [rsp + 0x78]
cmp r12, 7
cmova rdx, r15
lea rcx, [rbp - 0x68]
call fcn.14004eb54
mov rdx, qword [rbp - 0x70]
cmp rdx, 7
jbe 0x14005318f
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140053189
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140053501
call fcn.140172db0
nop
mov qword [rbp - 0x78], r13
mov qword [rbp - 0x70], 7
mov word [rsp + 0x78], r13w
mov r8d, 0x20
lea rdx, [rbp - 0x68]
lea rcx, [rsp + 0x78]
call fcn.1401e0580
nop
mov r12, qword [rbp - 0x70]
mov rsi, qword [rbp - 0x78]
mov r15, qword [rsp + 0x78]
sub r14, rsi
cmp r14, 0xd
jb 0x140053507
lea r9, [rsp + 0x78]
mov r14d, 7
cmp r12, r14
cmova r9, r15
mov qword [rsp + 0x30], 0xd
lea rax, [0x1401f3bc8]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rsi
lea r8, [rsp + 0x78]
mov dl, byte [rsp + 0x70]
lea rcx, [rbp - 8]
call fcn.140050b60
nop
lea rcx, [rbp - 8]
cmp qword [rbp + 0x10], r14
cmova rcx, qword [rbp - 8]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
lea r15d, [r14 + 8]
test eax, eax
je 0x1400533e2
lea rcx, [rsp + 0x78]
cmp qword [rbp - 0x70], r14
cmova rcx, qword [rsp + 0x78]
call qword [sym.imp.KERNEL32.dll_SetDllDirectoryW]
lea rsi, [rbp - 0x28]
cmp qword [rbp - 0x10], r15
cmova rsi, qword [rbp - 0x28]
lea rcx, [rbp - 0x68]
call fcn.140052624
mov rdi, rax
cmp qword [rax + 0x18], r15
jbe 0x140053265
mov rdi, qword [rax]
call qword [sym.imp.USER32.dll_GetActiveWindow]
mov byte [rsp + 0x68], r13b
mov dword [rsp + 0x60], r13d
mov r12d, 1
mov byte [rsp + 0x58], r12b
mov qword [rsp + 0x50], r13
mov qword [rsp + 0x48], r13
mov qword [rsp + 0x40], r13
mov qword [rsp + 0x38], r13
mov qword [rsp + 0x30], r13
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x20], rsi
lea r9, [0x1401f398c]
mov r8, rdi
lea rdx, str.AcroCEF
mov rcx, rax
call sub.CRClient.dll_CrashReporterInitialize
mov dil, al
mov rdx, qword [rbp - 0x50]
cmp rdx, r15
jbe 0x1400532fa
inc rdx
mov rcx, qword [rbp - 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400532f4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14005350d
call fcn.140172db0
nop
call sub.CRClient.dll_GetCRLastErrorCode
test eax, eax
jne 0x1400533e2
test dil, dil
je 0x1400533e2
xorps xmm0, xmm0
movups xmmword [rbp - 0x68], xmm0
mov qword [rbp - 0x50], r15
mov byte [rbp - 0x68], r13b
lea r8d, [rax + 8]
mov qword [rbp - 0x58], r8
lea rdx, str.AppIsx64
lea rcx, [rbp - 0x68]
call fcn.1401e0580
nop
mov byte [rbp - 0x60], r13b
mov r8, r12
lea rdx, [0x1401f3bf4]
lea rcx, [rbp - 0x68]
call fcn.140054d8c
call fcn.1400c8124
lea rcx, [0x1401f3bf8]
lea rdx, [0x1401f3bfc]
test al, al
cmovne rdx, rcx
inc rbx
cmp byte [rdx + rbx], r13b
jne 0x140053368
mov r8, rbx
lea rcx, [rbp - 0x68]
call fcn.140054d8c
mov r8, r12
lea rdx, [0x1401f3bf4]
lea rcx, [rbp - 0x68]
call fcn.140054d8c
lea rcx, [rbp - 0x68]
cmp qword [rbp - 0x50], r15
cmova rcx, qword [rbp - 0x68]
mov rdx, qword [rbp - 0x58]
call sub.CRClient.dll_AddCRCustomData
nop
mov rdx, qword [rbp - 0x50]
cmp rdx, r15
jbe 0x1400533e2
inc rdx
mov rcx, qword [rbp - 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400533dc
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140053513
call fcn.140172db0
nop
lea rcx, [rbp - 8]
call fcn.140054cd8
nop
mov rdx, qword [rbp - 0x70]
cmp rdx, r14
jbe 0x14005342d
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140053427
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140053519
call fcn.140172db0
nop
mov qword [rbp - 0x78], r13
mov qword [rbp - 0x70], r14
mov word [rsp + 0x78], r13w
mov rdx, qword [rbp - 0x30]
cmp rdx, r14
jbe 0x14005347b
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140053475
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14005351f
call fcn.140172db0
nop
mov qword [rbp - 0x38], r13
mov qword [rbp - 0x30], r14
mov word [rbp - 0x48], r13w
mov rdx, qword [rbp - 0x10]
cmp rdx, r15
jbe 0x1400534bf
inc rdx
mov rcx, qword [rbp - 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400534b9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400534ef
call fcn.140172db0
nop
mov rcx, qword [rbp + 0x120]
xor rcx, rsp
call fcn.140173230
lea r11, [rsp + 0x230]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
call fcn.14017a8e4
nop
call fcn.140054d3c
int3
call fcn.140054820
nop
call fcn.14017a8e4
nop
call fcn.140054d3c
nop
call fcn.14017a8e4
nop
call fcn.14017a8e4
nop
call fcn.14017a8e4
nop
call fcn.14017a8e4
int3