Function at 0x140052c58
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 - 0x148]
sub rsp, 0x220
mov rax, qword [0x140268998]
xor rax, rsp
mov qword [rbp + 0x110], rax
mov rbx, rcx
call fcn.1400c59d8
xor r14d, r14d
test al, al
je 0x140053112
mov rdx, rbx
lea rcx, [rbp - 0x10]
call fcn.1400c6a44
nop
mov qword [rbp - 0x40], r14
lea r15d, [r14 + 7]
mov qword [rbp - 0x38], r15
mov word [rbp - 0x50], r14w
lea rcx, [rbp - 0x50]
call fcn.1400c44dc
mov qword [rbp - 0x80], r14
mov qword [rbp - 0x78], r14
lea rdx, [rbp - 0x50]
lea rcx, [rsp + 0x70]
call fcn.1400538c4
nop
lea r12, [0x1401eec08]
mov rcx, r12
call fcn.140176a80
mov rsi, rax
lea rbx, [rsp + 0x70]
cmp qword [rbp - 0x78], 8
cmovae rbx, qword [rsp + 0x70]
test rax, rax
je 0x140052e72
mov rdi, qword [rbp - 0x80]
test rdi, rdi
je 0x140052e72
mov r13d, 0x100
mov r8d, r13d
xor edx, edx
lea rcx, [rbp + 0x10]
call fcn.140170ec0
mov rcx, r12
lea rdx, [r12 + rsi*2]
cmp r12, rdx
je 0x140052d4f
cmp word [rcx], r13w
jae 0x140052d85
movzx eax, byte [rcx]
mov byte [rbp + rax + 0x10], 1
add rcx, 2
cmp rcx, rdx
jne 0x140052d38
lea rcx, [rdi - 1]
or rdx, 0xffffffffffffffff
mov rax, rdx
cmp rcx, rdx
cmovb rax, rcx
lea r8, [rbx + rax*2]
cmp word [r8], r13w
jae 0x140052d76
movzx eax, word [r8]
cmp byte [rbp + rax + 0x10], r14b
jne 0x140052dd1
cmp r8, rbx
je 0x140052e72
sub r8, 2
jmp 0x140052d65
lea rcx, [rdi - 1]
or rdx, 0xffffffffffffffff
mov rax, rdx
cmp rcx, rdx
cmovb rax, rcx
lea r8, [rbx + rax*2]
mov rcx, rsi
mov rax, r12
test rsi, rsi
je 0x140052dc1
movzx r9d, word [r8]
cmp word [rax], r9w
je 0x140052dbc
add rax, 2
sub rcx, 1
jne 0x140052daa
jmp 0x140052dc1
test rax, rax
jne 0x140052dd1
cmp r8, rbx
je 0x140052dcc
sub r8, 2
jmp 0x140052d9b
mov r8, rdx
jmp 0x140052dd7
sub r8, rbx
sar r8, 1
cmp r8, rdx
je 0x140052e72
mov qword [rbp - 0x60], r14
mov qword [rbp - 0x58], r15
mov word [rbp - 0x70], r14w
cmp rdi, r8
cmovb r8, rdi
lea rdx, [rsp + 0x70]
cmp qword [rbp - 0x78], 8
cmovae rdx, qword [rsp + 0x70]
lea rcx, [rbp - 0x70]
call fcn.140054f7c
mov rdx, qword [rbp - 0x78]
cmp rdx, 8
jb 0x140052e4f
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140052e49
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140053148
call fcn.14016f250
nop
mov qword [rbp - 0x80], r14
mov qword [rbp - 0x78], r15
mov word [rsp + 0x70], r14w
mov r8d, 0x20
lea rdx, [rbp - 0x70]
lea rcx, [rsp + 0x70]
call fcn.140170810
nop
lea r8, [0x1401eec10]
lea rdx, [rsp + 0x70]
lea rcx, [rbp - 0x30]
call fcn.14004eea0
nop
lea rcx, [rbp - 0x30]
cmp qword [rbp - 0x18], 8
cmovae rcx, qword [rbp - 0x30]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x14005303a
lea rcx, [rsp + 0x70]
cmp qword [rbp - 0x78], 8
cmovae rcx, qword [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_SetDllDirectoryW]
lea rcx, [rbp - 0x70]
call fcn.140052434
mov rbx, rax
lea rdi, [rbp - 0x10]
cmp qword [rbp + 8], 0x10
cmovae rdi, qword [rbp - 0x10]
cmp qword [rax + 0x18], 0x10
jb 0x140052ede
mov rbx, qword [rax]
call qword [sym.imp.USER32.dll_GetActiveWindow]
mov rcx, rax
mov byte [rsp + 0x68], r14b
mov dword [rsp + 0x60], r14d
mov byte [rsp + 0x58], 1
mov qword [rsp + 0x50], r14
mov qword [rsp + 0x48], r14
mov qword [rsp + 0x40], r14
mov qword [rsp + 0x38], r14
mov qword [rsp + 0x30], r14
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], rdi
lea r9, [0x1401ee9d4]
mov r8, rbx
lea rdx, str.AcroCEF
call sub.CRClient.dll_CrashReporterInitialize
mov bl, al
mov rdx, qword [rbp - 0x58]
cmp rdx, 0x10
jb 0x140052f47
inc rdx
mov rcx, qword [rbp - 0x70]
call fcn.14004effc
call sub.CRClient.dll_GetCRLastErrorCode
test eax, eax
jne 0x14005303a
test bl, bl
je 0x14005303a
mov qword [rbp - 0x60], r14
mov qword [rbp - 0x58], 0xf
mov byte [rbp - 0x70], r14b
lea rdx, str.AppIsx64
lea rcx, [rbp - 0x70]
call fcn.140054efc
nop
lea rdi, [0x1401eec3c]
mov rcx, rdi
call fcn.140177210
nop
mov r8, rax
mov rdx, rdi
lea rcx, [rbp - 0x70]
call fcn.140054d8c
call fcn.1400c533c
lea rcx, [0x1401eec40]
lea rbx, [0x1401eec44]
test al, al
cmovne rbx, rcx
mov rcx, rbx
call fcn.140177210
nop
mov r8, rax
mov rdx, rbx
lea rcx, [rbp - 0x70]
call fcn.140054d8c
nop
mov rcx, rdi
call fcn.140177210
nop
mov r8, rax
mov rdx, rdi
lea rcx, [rbp - 0x70]
call fcn.140054d8c
lea rcx, [rbp - 0x70]
cmp qword [rbp - 0x58], 0x10
cmovae rcx, qword [rbp - 0x70]
mov rdx, qword [rbp - 0x60]
call sub.CRClient.dll_AddCRCustomData
nop
mov rdx, qword [rbp - 0x58]
cmp rdx, 0x10
jb 0x14005303a
inc rdx
mov rcx, qword [rbp - 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140053034
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14005314e
call fcn.14016f250
nop
mov rdx, qword [rbp - 0x18]
cmp rdx, 8
jb 0x140053055
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x30]
call fcn.14004effc
mov qword [rbp - 0x20], r14
mov qword [rbp - 0x18], r15
mov word [rbp - 0x30], r14w
mov rdx, qword [rbp - 0x78]
cmp rdx, 8
jb 0x1400530a4
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005309e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140053154
call fcn.14016f250
nop
mov qword [rbp - 0x80], r14
mov qword [rbp - 0x78], r15
mov word [rsp + 0x70], r14w
mov rdx, qword [rbp - 0x38]
cmp rdx, 8
jb 0x1400530ef
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400530e9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140053142
call fcn.14016f250
nop
mov qword [rbp - 0x40], r14
mov qword [rbp - 0x38], r15
mov word [rbp - 0x50], r14w
mov rdx, qword [rbp + 8]
cmp rdx, 0x10
jb 0x140053112
inc rdx
mov rcx, qword [rbp - 0x10]
call fcn.14004effc
mov rcx, qword [rbp + 0x110]
xor rcx, rsp
call fcn.14016f860
lea r11, [rsp + 0x220]
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.1401767ac
nop
call fcn.1401767ac
nop
call fcn.1401767ac
nop
call fcn.1401767ac
int3