Function at 0x180072050
Capabilities:
Check if file exists

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x460]
sub rsp, 0x560
mov qword [rsp + 0x48], 0xfffffffffffffffe
mov qword [rsp + 0x5b0], rbx
mov rax, qword [0x180146748]
xor rax, rsp
mov qword [rbp + 0x450], rax
mov r14, rdx
mov r15, rcx
mov qword [rsp + 0x50], rdx
xor r12d, r12d
mov dword [rsp + 0x30], r12d
mov qword [rdx], r12
mov qword [rdx + 8], r12
mov qword [rdx + 0x10], r12
mov dword [rsp + 0x30], 1
mov rbx, qword [rcx + 0x70]
test rbx, rbx
je 0x180072205
xor edx, edx
mov r8d, 0x400
lea rcx, [rbp + 0x50]
call fcn.1800bbd80
call rbx
mov rbx, rax
test rax, rax
je 0x1800721d8
mov r8, rax
mov edx, 0x400
lea rcx, [rbp + 0x50]
call fcn.1800d4ecc
mov rcx, rbx
call qword [r15 + 0x58]
movdqa xmm0, xmmword [0x1800f68b0]
movdqu xmmword [rbp - 0x58], xmm0
mov word [rbp - 0x68], r12w
lea r8d, [r12 + 1]
lea rdx, [0x1800fcd7c]
lea rcx, [rbp - 0x68]
call fcn.18001b240
nop
mov r8d, 0xfde9
lea rdx, [rbp + 0x50]
lea rcx, [rbp - 0x28]
call fcn.18008dec0
nop
mov r9, r14
lea r8, [rbp - 0x68]
mov rdx, rax
mov rcx, r15
call fcn.180076e00
nop
mov rdx, qword [rbp - 0x10]
cmp rdx, 8
jb 0x180072186
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180072181
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18007251e
call fcn.18008c16c
movdqa xmm0, xmmword [0x1800f68b0]
movdqu xmmword [rbp - 0x18], xmm0
mov word [rbp - 0x28], r12w
mov rdx, qword [rbp - 0x50]
cmp rdx, 8
jb 0x1800721d8
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800721d3
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180072524
call fcn.18008c16c
mov rax, r14
mov rcx, qword [rbp + 0x450]
xor rcx, rsp
call fcn.18008c720
mov rbx, qword [rsp + 0x5b0]
add rsp, 0x560
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
cmp qword [rcx + 0xe0], 0
jbe 0x1800721d8
mov rdi, qword [rcx + 0xd8]
mov rbx, qword [rdi]
cmp rbx, rdi
je 0x1800721d8
lea r13, [0x1800f2fd8]
nop word [rax + rax]
lea rdx, [rbx + 0x20]
lea rcx, [rbp]
call fcn.180027350
nop
lea rdx, [rbx + 0x40]
lea rcx, [rbp + 0x20]
call fcn.18006e550
nop
call fcn.18000a3f0
mov rcx, rax
test rax, rax
je 0x180072513
mov rax, qword [rax]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x38], rax
lea rcx, [rsp + 0x38]
cmp r13, 0x10000
jae 0x180072285
movzx edx, r13w
call fcn.18000af40
jmp 0x180072291
xor r8d, r8d
mov rdx, r13
call fcn.18000b310
nop
mov qword [rbp - 0x78], r12
mov qword [rbp - 0x70], 0xf
mov byte [rsp + 0x78], 0
mov r8d, 0xa
lea rdx, str.product_id
lea rcx, [rsp + 0x78]
call fcn.18000c180
nop
mov dword [rsp + 0x20], 0xfde9
lea r9, [rsp + 0x38]
lea r8, [rsp + 0x78]
lea rdx, [rsp + 0x40]
lea rcx, [rbp + 0x20]
call fcn.18006f0c0
nop
mov rdx, qword [rax]
mov qword [rsp + 0x68], r12
mov qword [rsp + 0x70], 7
mov word [rsp + 0x58], r12w
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp word [rdx + r8*2], 0
jne 0x180072300
lea rcx, [rsp + 0x58]
call fcn.18001b240
nop
mov rdx, qword [rsp + 0x40]
add rdx, 0xffffffffffffffe8
mov eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x180072338
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
nop
mov rdx, qword [rbp - 0x70]
cmp rdx, 0x10
jb 0x180072374
inc rdx
mov rcx, qword [rsp + 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18007236f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18007252a
call fcn.18008c16c
mov qword [rbp - 0x78], r12
mov qword [rbp - 0x70], 0xf
mov byte [rsp + 0x78], 0
mov rdx, qword [rsp + 0x38]
add rdx, 0xffffffffffffffe8
mov eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x1800723a6
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
lea r9, [rsp + 0x58]
cmp qword [rsp + 0x70], 8
cmovae r9, qword [rsp + 0x58]
mov r8d, 1
lea rdx, [rbp - 0x48]
mov rcx, r15
call fcn.180071b40
or dword [rsp + 0x30], 2
lea rcx, [rbp - 0x48]
cmp qword [rbp - 0x30], 8
cmovae rcx, qword [rbp - 0x48]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov esi, eax
mov rdx, qword [rbp - 0x30]
cmp rdx, 8
jb 0x180072424
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18007241f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180072530
call fcn.18008c16c
test esi, esi
je 0x180072457
mov rax, qword [r14 + 8]
cmp qword [r14 + 0x10], rax
je 0x180072446
lea rdx, [rsp + 0x58]
mov rcx, rax
call fcn.180027350
add qword [r14 + 8], 0x20
jmp 0x180072457
lea r8, [rsp + 0x58]
mov rdx, rax
mov rcx, r14
call fcn.18006f7a0
nop
mov rdx, qword [rsp + 0x70]
cmp rdx, 8
jb 0x180072496
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180072490
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18007250d
call fcn.18008c16c
nop
lea rcx, [rbp + 0x20]
call fcn.18006bcf0
lea rcx, [rbp]
call fcn.18000bd30
mov rax, qword [rbx + 0x10]
cmp byte [rax + 0x19], 0
je 0x1800724d8
mov rax, qword [rbx + 8]
cmp byte [rax + 0x19], 0
jne 0x1800724d3
nop dword [rax]
cmp rbx, qword [rax + 0x10]
jne 0x1800724d3
mov rbx, rax
mov rax, qword [rax + 8]
cmp byte [rax + 0x19], 0
je 0x1800724c0
mov rbx, rax
jmp 0x1800724ff
mov rbx, rax
mov rcx, qword [rax]
cmp byte [rcx + 0x19], 0
jne 0x1800724ff
nop dword [rax]
nop dword [rax + rax]
mov rbx, rcx
mov rax, qword [rcx]
mov rcx, rax
cmp byte [rax + 0x19], 0
je 0x1800724f0
cmp rbx, rdi
je 0x1800721d8
jmp 0x180072230
call fcn.1800beee8
int3
mov ecx, 0x80004005
call fcn.180009990
nop
call fcn.1800beee8
nop
call fcn.1800beee8
nop
call fcn.1800beee8
nop
call fcn.1800beee8
int3