Function at 0x1801e61e0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x160]
sub rsp, 0x260
mov qword [rbp + 0xe8], 0xfffffffffffffffe
mov qword [rsp + 0x290], rbx
mov rsi, rdx
mov r14, rcx
mov dword [rbp + 0x30], 0
lea rax, [0x1802ca6e0]
mov qword [rbp - 0x60], rax
lea rdx, [rbp - 0x60]
lea rcx, [rsp + 0x50]
call fcn.18001a440
nop
lea rax, [0x1802c55ec]
mov qword [rbp + 0xa8], rax
lea rdx, [rbp + 0xa8]
lea rcx, [rbp - 0x50]
call fcn.18001a440
lea r8, [0x1802c558c]
lea rdx, [rbp - 0x50]
lea rcx, [rbp + 0x110]
call fcn.1800eb4b0
lea r8, [rsp + 0x50]
mov rdx, rax
lea rcx, [rbp + 0x1a8]
call fcn.1800eb420
nop
mov rcx, qword [rsp + 0x50]
add rcx, 0xfffffffffffffff0
lea r15, [0x1802bccb0]
or edi, 0xffffffff
cmp rcx, r15
je 0x1801e62a4
mov eax, edi
lock xadd dword [rcx], eax
dec eax
cmp eax, edi
jne 0x1801e62a4
call fcn.1800a0c6c
lea rax, [0x1802ca748]
mov qword [rbp + 0x70], rax
lea rdx, [rbp + 0x70]
lea rcx, [rsp + 0x70]
call fcn.18001a440
nop
lea r8, [rsp + 0x70]
lea rdx, str.SOFTWARE_
lea rcx, [rbp + 0x100]
call fcn.1800ec3a0
lea r8, [0x1802c55dc]
mov rdx, rax
lea rcx, [rbp + 0x120]
call fcn.1800eb4b0
lea r8, [0x1802ca710]
mov rdx, rax
lea rcx, [rbp + 0xf0]
call fcn.1800eb4b0
lea r8, str.DataPath
mov rdx, rax
lea rcx, [rsp + 0x30]
call fcn.1800eb4b0
nop
mov rcx, qword [rsp + 0x70]
add rcx, 0xfffffffffffffff0
cmp rcx, r15
je 0x1801e6337
mov eax, edi
lock xadd dword [rcx], eax
dec eax
cmp eax, 0xffffffff
jne 0x1801e6337
call fcn.1800a0c6c
lea rax, [0x1802bcc6e]
mov qword [rbp - 0x40], rax
lea rdx, [rbp - 0x40]
lea rcx, [rsp + 0x40]
call fcn.18001a440
nop
lea r8, [rsp + 0x30]
lea rdx, [0x1802ca730]
lea rcx, [rbp + 0xb0]
call fcn.1800ec3a0
nop
lea r8, [rsp + 0x40]
mov rdx, rax
lea rcx, [rsp + 0x38]
call fcn.1800c2980
nop
mov rcx, qword [rbp + 0xb0]
add rcx, 0xfffffffffffffff0
cmp rcx, r15
je 0x1801e63a0
mov eax, edi
lock xadd dword [rcx], eax
dec eax
cmp eax, 0xffffffff
jne 0x1801e63a0
call fcn.1800a0c6c
nop
mov rcx, qword [rsp + 0x40]
add rcx, 0xfffffffffffffff0
cmp rcx, r15
je 0x1801e63c0
mov eax, edi
lock xadd dword [rcx], eax
dec eax
cmp eax, 0xffffffff
jne 0x1801e63c0
call fcn.1800a0c6c
mov rbx, qword [rsp + 0x38]
cmp byte [rbx], 0
jne 0x1801e647d
lea rax, [0x1802bcc6f]
mov qword [rbp - 0x30], rax
lea rdx, [rbp - 0x30]
lea rcx, [rbp - 0x80]
call fcn.18001a440
nop
lea r8, [rsp + 0x30]
lea rdx, str.HKEY_LOCAL_MACHINE
lea rcx, [rbp - 0x20]
call fcn.1800ec3a0
nop
lea r8, [rbp - 0x80]
mov rdx, rax
lea rcx, [rbp + 0x80]
call fcn.1800c2980
mov rcx, qword [rax]
mov qword [rsp + 0x38], rcx
mov qword [rax], rbx
mov rcx, qword [rbp + 0x80]
add rcx, 0xfffffffffffffff0
cmp rcx, r15
je 0x1801e643e
mov eax, edi
lock xadd dword [rcx], eax
dec eax
cmp eax, 0xffffffff
jne 0x1801e643e
call fcn.1800a0c6c
nop
mov rcx, qword [rbp - 0x20]
add rcx, 0xfffffffffffffff0
cmp rcx, r15
je 0x1801e645e
mov eax, edi
lock xadd dword [rcx], eax
dec eax
cmp eax, 0xffffffff
jne 0x1801e645e
call fcn.1800a0c6c
nop
mov rcx, qword [rbp - 0x80]
add rcx, 0xfffffffffffffff0
cmp rcx, r15
je 0x1801e647d
mov eax, edi
lock xadd dword [rcx], eax
dec eax
cmp eax, 0xffffffff
jne 0x1801e647d
call fcn.1800a0c6c
lea rdx, [rsp + 0x38]
lea rcx, [rbp + 0x1a0]
call fcn.1800e7430
nop
mov rax, qword [rbp + 0x1a0]
cmp byte [rax], 0
je 0x1801e64c0
lea rdx, [rbp + 0x1a0]
lea rcx, [rbp + 0xf8]
call fcn.180016d90
mov rcx, qword [rax]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x1801e6c7a
mov edx, 0xa
lea rcx, [rbp]
call fcn.1800ec100
nop
lea rdx, [rbp + 0x90]
mov rcx, rax
call fcn.1800e6c30
nop
lea rcx, [0x1802ca768]
mov qword [rbp + 0xc0], rcx
lea r8, [rbp + 0xc0]
lea rdx, [rbp - 0x10]
mov rcx, rax
call fcn.1800e6340
mov rcx, qword [rbp + 0x1a0]
mov rdx, qword [rax]
mov qword [rbp + 0x1a0], rdx
mov qword [rax], rcx
mov rcx, qword [rbp - 0x10]
add rcx, 0xfffffffffffffff0
cmp rcx, r15
je 0x1801e6534
mov eax, edi
lock xadd dword [rcx], eax
dec eax
cmp eax, 0xffffffff
jne 0x1801e6534
call fcn.1800a0c6c
nop
mov rcx, qword [rbp + 0x90]
add rcx, 0xfffffffffffffff0
cmp rcx, r15
je 0x1801e6557
mov eax, edi
lock xadd dword [rcx], eax
dec eax
cmp eax, 0xffffffff
jne 0x1801e6557
call fcn.1800a0c6c
nop
mov rcx, qword [rbp]
add rcx, 0xfffffffffffffff0
cmp rcx, r15
je 0x1801e6576
mov eax, edi
lock xadd dword [rcx], eax
dec eax
cmp eax, 0xffffffff
jne 0x1801e6576
call fcn.1800a0c6c
mov rax, qword [rbp + 0x1a8]
mov qword [rbp + 0xd0], rax
lea r8, [rbp + 0xd0]
lea rdx, [rbp + 0x10]
lea rcx, [rbp + 0x1a0]
call fcn.1800e6340
mov rcx, qword [rax]
cmp byte [rcx], 0
je 0x1801e65c3
mov rdx, rax
lea rcx, [rbp + 0x108]
call fcn.180016d90
mov rcx, qword [rax]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
test al, 0x10
jne 0x1801e65c3
mov bl, 1
jmp 0x1801e65c5
xor bl, bl
mov rcx, qword [rbp + 0x10]
add rcx, 0xfffffffffffffff0
cmp rcx, r15
je 0x1801e65e4
mov eax, edi
lock xadd dword [rcx], eax
dec eax
cmp eax, 0xffffffff
jne 0x1801e65e4
call fcn.1800a0c6c
test bl, bl
je 0x1801e6674
mov rax, qword [rbp + 0x1a0]
mov qword [rsi], rax
lea rax, [0x1802bccc0]
mov qword [rbp + 0x1a0], rax
mov rcx, qword [rsp + 0x38]
add rcx, 0xfffffffffffffff0
cmp rcx, r15
je 0x1801e6625
mov eax, edi
lock xadd dword [rcx], eax
dec eax
cmp eax, 0xffffffff
jne 0x1801e6625
call fcn.1800a0c6c
nop
mov rcx, qword [rsp + 0x30]
add rcx, 0xfffffffffffffff0
cmp rcx, r15
je 0x1801e6646
mov eax, edi
lock xadd dword [rcx], eax
dec eax
cmp eax, 0xffffffff
jne 0x1801e6646
call fcn.1800a0c6c
nop
mov rcx, qword [rbp + 0x1a8]
add rcx, 0xfffffffffffffff0
cmp rcx, r15
je 0x1801e6cb9
lock xadd dword [rcx], edi
lea eax, [rdi - 1]
cmp eax, 0xffffffff
jne 0x1801e6cb9
call fcn.1800a0c6c
jmp 0x1801e6cb9
mov edx, 1
lea rcx, [rbp + 0xa0]
call fcn.1800ec100
mov rcx, qword [rbp + 0x1a0]
mov rdx, qword [rax]
mov qword [rbp + 0x1a0], rdx
mov qword [rax], rcx
mov rcx, qword [rbp + 0xa0]
add rcx, 0xfffffffffffffff0
cmp rcx, r15
je 0x1801e66bb
mov eax, edi
lock xadd dword [rcx], eax
dec eax
cmp eax, 0xffffffff
jne 0x1801e66bb
call fcn.1800a0c6c
lea rax, [0x1802ca778]
mov qword [rbp + 0x20], rax
lea rdx, [rbp + 0x20]
lea rcx, [rsp + 0x48]
call fcn.18001a440
nop
lea rax, [0x1802ca7d8]
mov qword [rbp + 0xe0], rax
lea rdx, [rbp + 0xe0]
lea rcx, [rbp - 0x70]
call fcn.18001a440
lea r8, [0x1802c5604]
lea rdx, [rbp - 0x70]
lea rcx, [rbp + 0x118]
call fcn.1800eb4b0
lea r8, [rsp + 0x48]
mov rdx, rax
lea rcx, [rbp + 0xb8]
call fcn.1800eb420
nop
mov rax, qword [rax]
mov qword [rbp + 0xc8], rax
lea r8, [rbp + 0xc8]
lea rdx, [rbp + 0x40]
lea rcx, [rbp + 0x1a0]
call fcn.1800e6340
mov rcx, qword [rbp + 0x1a0]
mov rdx, qword [rax]
mov qword [rbp + 0x1a0], rdx
mov qword [rax], rcx
mov rcx, qword [rbp + 0x40]
add rcx, 0xfffffffffffffff0
cmp rcx, r15
je 0x1801e6774
mov eax, edi
lock xadd dword [rcx], eax
dec eax
cmp eax, 0xffffffff
jne 0x1801e6774
call fcn.1800a0c6c
nop
mov rcx, qword [rbp + 0xb8]
add rcx, 0xfffffffffffffff0
cmp rcx, r15
je 0x1801e6797
mov eax, edi
lock xadd dword [rcx], eax
dec eax
cmp eax, 0xffffffff
jne 0x1801e6797
call fcn.1800a0c6c
nop
mov rcx, qword [rsp + 0x48]
add rcx, 0xfffffffffffffff0
cmp rcx, r15
je 0x1801e67b7
mov eax, edi
lock xadd dword [rcx], eax
dec eax
cmp eax, 0xffffffff
jne 0x1801e67b7
call fcn.1800a0c6c
mov rax, qword [rbp + 0x1a8]
mov qword [rbp + 0x50], rax
lea r8, [rbp + 0x50]
lea rdx, [rbp + 0xd8]
lea rcx, [rbp + 0x1a0]
call fcn.1800e6340
mov rcx, rax
call fcn.1800c3c70
movzx ebx, al
mov rcx, qword [rbp + 0xd8]
add rcx, 0xfffffffffffffff0
cmp rcx, r15
je 0x1801e6806
mov edx, edi
lock xadd dword [rcx], edx
dec edx
cmp edx, 0xffffffff
jne 0x1801e6806
call fcn.1800a0c6c
test bl, bl
jne 0x1801e65ec
lea rax, [0x1802c55f4]
mov qword [rbp + 0x60], rax
lea rdx, [rbp + 0x60]
lea rcx, [rsp + 0x68]
call fcn.18001a440
nop
lea rax, str.Please_select_location_of_the_Sylenth1_data_folder...
mov qword [rbp - 0x68], rax
lea rdx, [rbp - 0x68]
lea rcx, [rsp + 0x58]
call fcn.18001a440
nop
lea r9, [rsp + 0x68]
lea r8, [rbp + 0x1a0]
lea rdx, [rsp + 0x58]
lea rcx, [rbp + 0x128]
call fcn.18014fb30
nop
mov rcx, qword [rsp + 0x58]
add rcx, 0xfffffffffffffff0
cmp rcx, r15
je 0x1801e6881
mov eax, edi
lock xadd dword [rcx], eax
dec eax
cmp eax, 0xffffffff
jne 0x1801e6881
call fcn.1800a0c6c
nop
mov rcx, qword [rsp + 0x68]
add rcx, 0xfffffffffffffff0
cmp rcx, r15
je 0x1801e68a1
mov eax, edi
lock xadd dword [rcx], eax
dec eax
cmp eax, 0xffffffff
jne 0x1801e68a1
call fcn.1800a0c6c
mov edx, 9
lea rcx, [rbp + 0x128]
call fcn.18014f460
test al, al
je 0x1801e6c6e
lea rdx, [rbp - 0x58]
lea rcx, [rbp + 0x128]
call fcn.18014f430
mov rcx, qword [rbp + 0x1a0]
mov rdx, qword [rax]
mov qword [rbp + 0x1a0], rdx
mov qword [rax], rcx
mov rcx, qword [rbp - 0x58]
add rcx, 0xfffffffffffffff0
cmp rcx, r15
je 0x1801e68fd
mov eax, edi
lock xadd dword [rcx], eax
dec eax
cmp eax, 0xffffffff
jne 0x1801e68fd
call fcn.1800a0c6c
mov rax, qword [rbp + 0x1a8]
mov qword [rbp - 0x48], rax
lea r8, [rbp - 0x48]
lea rdx, [rbp - 0x38]
lea rcx, [rbp + 0x1a0]
call fcn.1800e6340
mov rcx, rax
call fcn.1800c3c70
test al, al
sete bl
mov rcx, qword [rbp - 0x38]
add rcx, 0xfffffffffffffff0
cmp rcx, r15
je 0x1801e6948
mov eax, edi
lock xadd dword [rcx], eax
dec eax
cmp eax, 0xffffffff
jne 0x1801e6948
call fcn.1800a0c6c
test bl, bl
je 0x1801e6b39
lea rax, [0x1802ca8b8]
mov qword [rbp - 0x28], rax
lea rdx, [rbp - 0x28]
lea rcx, [rsp + 0x78]
call fcn.18001a440
nop
mov rax, qword [rsp + 0x78]
mov qword [rbp - 0x18], rax
lea r8, [rbp - 0x18]
lea rdx, [rbp - 8]
lea rcx, [rbp + 0x1a0]
call fcn.1800e6340
mov rcx, qword [rbp + 0x1a0]
mov rdx, qword [rax]
mov qword [rbp + 0x1a0], rdx
mov qword [rax], rcx
mov rcx, qword [rbp - 8]
add rcx, 0xfffffffffffffff0
cmp rcx, r15
je 0x1801e69bb
mov eax, edi
lock xadd dword [rcx], eax
dec eax
cmp eax, 0xffffffff
jne 0x1801e69bb
call fcn.1800a0c6c
nop
mov rcx, qword [rsp + 0x78]
add rcx, 0xfffffffffffffff0
cmp rcx, r15
je 0x1801e69db
mov eax, edi
lock xadd dword [rcx], eax
dec eax
cmp eax, 0xffffffff
jne 0x1801e69db
call fcn.1800a0c6c
mov rax, qword [rbp + 0x1a8]
mov qword [rbp + 8], rax
lea r8, [rbp + 8]
lea rdx, [rbp + 0x18]
lea rcx, [rbp + 0x1a0]
call fcn.1800e6340
mov rcx, rax
call fcn.1800c3c70
test al, al
sete bl
mov rcx, qword [rbp + 0x18]
add rcx, 0xfffffffffffffff0
cmp rcx, r15
je 0x1801e6a26
mov eax, edi
lock xadd dword [rcx], eax
dec eax
cmp eax, 0xffffffff
jne 0x1801e6a26
call fcn.1800a0c6c
test bl, bl
je 0x1801e6b39
lea rdx, [rbp + 0x38]
lea rcx, [rbp + 0x1a0]
call fcn.1800e6c30
nop
lea rdx, [rbp + 0x28]
mov rcx, rax
call fcn.1800e6c30
mov rcx, qword [rbp + 0x1a0]
mov rdx, qword [rax]
mov qword [rbp + 0x1a0], rdx
mov qword [rax], rcx
mov rcx, qword [rbp + 0x28]
add rcx, 0xfffffffffffffff0
cmp rcx, r15
je 0x1801e6a7f
mov eax, edi
lock xadd dword [rcx], eax
dec eax
cmp eax, 0xffffffff
jne 0x1801e6a7f
call fcn.1800a0c6c
nop
mov rcx, qword [rbp + 0x38]
add rcx, 0xfffffffffffffff0
cmp rcx, r15
je 0x1801e6a9e
mov eax, edi
lock xadd dword [rcx], eax
dec eax
cmp eax, 0xffffffff
jne 0x1801e6a9e
call fcn.1800a0c6c
mov rax, qword [rbp + 0x1a8]
mov qword [rbp + 0x48], rax
lea r8, [rbp + 0x48]
lea rdx, [rbp + 0x58]
lea rcx, [rbp + 0x1a0]
call fcn.1800e6340
mov rcx, rax
call fcn.1800c3c70
test al, al
sete bl
mov rcx, qword [rbp + 0x58]
add rcx, 0xfffffffffffffff0
cmp rcx, r15
je 0x1801e6ae9
mov eax, edi
lock xadd dword [rcx], eax
dec eax
cmp eax, 0xffffffff
jne 0x1801e6ae9
call fcn.1800a0c6c
test bl, bl
je 0x1801e6b39
mov rdx, rsi
lea rcx, [rbp + 0x128]
call fcn.18014f430
nop
lea rcx, [rbp + 0x128]
call fcn.18014fa90
nop
mov rcx, qword [rbp + 0x1a0]
add rcx, 0xfffffffffffffff0
cmp rcx, r15
je 0x1801e6604
mov eax, edi
lock xadd dword [rcx], eax
dec eax
cmp eax, 0xffffffff
jne 0x1801e6604
call fcn.1800a0c6c
jmp 0x1801e6604
lea r8, [rsp + 0x30]
lea rdx, str.HKEY_CURRENT_USER
lea rcx, [rbp + 0x68]
call fcn.1800ec3a0
nop
lea rdx, [rbp + 0x1a0]
mov rcx, rax
call fcn.1800c2930
test al, al
sete bl
mov rcx, qword [rbp + 0x68]
add rcx, 0xfffffffffffffff0
cmp rcx, r15
je 0x1801e6b82
mov eax, edi
lock xadd dword [rcx], eax
dec eax
cmp eax, 0xffffffff
jne 0x1801e6b82
call fcn.1800a0c6c
test bl, bl
je 0x1801e6c6e
lea rax, [0x1802bcc79]
mov qword [rbp + 0x78], rax
lea rdx, [rbp + 0x78]
lea rcx, [rsp + 0x60]
call fcn.18001a440
nop
lea rax, [0x1802ca8d8]
mov qword [rbp + 0x88], rax
lea rdx, [rbp + 0x88]
lea rcx, [rbp - 0x78]
call fcn.18001a440
nop
lea r8, [rsp + 0x30]
lea rdx, str.Unable_to_store_the_location_of_the_Sylenth1_data_folder._Please_make_sure_your_user_account_has_write_permissions_to_the_registry_key_below__then_restart_Sylenth1:_n_nHKEY_CURRENT_USER
lea rcx, [rbp + 0x98]
call fcn.1800ec3a0
nop
lea rcx, [r14 + 0x310]
mov qword [rsp + 0x28], rcx
mov rcx, qword [r14 + 0x1090d8]
mov qword [rsp + 0x20], rcx
lea r9, [rsp + 0x60]
mov r8, rax
lea rdx, [rbp - 0x78]
mov ecx, 2
call fcn.1801ea0a0
nop
mov rcx, qword [rbp + 0x98]
add rcx, 0xfffffffffffffff0
cmp rcx, r15
je 0x1801e6c2e
mov eax, edi
lock xadd dword [rcx], eax
dec eax
cmp eax, 0xffffffff
jne 0x1801e6c2e
call fcn.1800a0c6c
nop
mov rcx, qword [rbp - 0x78]
add rcx, 0xfffffffffffffff0
cmp rcx, r15
je 0x1801e6c4e
mov eax, edi
lock xadd dword [rcx], eax
dec eax
cmp eax, 0xffffffff
jne 0x1801e6c4e
call fcn.1800a0c6c
nop
mov rcx, qword [rsp + 0x60]
add rcx, 0xfffffffffffffff0
cmp rcx, r15
je 0x1801e6c6e
lock xadd dword [rcx], edi
lea eax, [rdi - 1]
cmp eax, 0xffffffff
jne 0x1801e6c6e
call fcn.1800a0c6c
nop
lea rcx, [rbp + 0x128]
call fcn.18014fa90
lea rdx, [rbp + 0x1a0]
mov rcx, rsi
call fcn.1800e7a50
nop
lea rcx, [rbp + 0x1a0]
call fcn.180002fa0
nop
lea rcx, [rsp + 0x38]
call fcn.1800ebff0
nop
lea rcx, [rsp + 0x30]
call fcn.1800ebff0
nop
lea rcx, [rbp + 0x1a8]
call fcn.1800ebff0
mov rax, rsi
mov rbx, qword [rsp + 0x290]
add rsp, 0x260
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret