Function at 0x18000844c
Capabilities:
Check if file exists

Disassembly:
mov rax, rsp
mov qword [rax + 8], rcx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x278]
sub rsp, 0x340
mov qword [rbp + 0x110], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov r15, rdx
mov r14, rcx
xor r12d, r12d
mov dword [rsp + 0x20], r12d
lea r8, str.Local_State
lea rcx, [rbp - 0x40]
call fcn.18000b86c
nop
mov qword [rsp + 0x60], r12
mov qword [rsp + 0x68], r12
lea r13d, [r12 + 0xf]
mov qword [rsp + 0x68], r13
mov qword [rsp + 0x60], r12
mov byte [rsp + 0x50], r12b
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x70], xmm0
mov qword [rbp - 0x80], r12
lea rcx, [rbp - 0x40]
cmp qword [rbp - 0x28], 8
cmovae rcx, qword [rbp - 0x40]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x180008536
mov qword [r14 + 0x18], r13
mov qword [r14 + 0x10], r12
mov byte [r14], r12b
lea rdx, [rsp + 0x50]
mov rcx, r14
call fcn.180006ca4
nop
mov rax, qword [rsp + 0x70]
mov qword [r14 + 0x20], rax
mov rax, qword [rsp + 0x78]
mov qword [r14 + 0x28], rax
mov rax, qword [rbp - 0x80]
mov qword [r14 + 0x30], rax
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x70], xmm0
mov qword [rbp - 0x80], r12
lea esi, [r12 + 1]
mov dword [rsp + 0x20], esi
lea rcx, [rsp + 0x70]
call fcn.180009560
nop
jmp 0x180008d23
lea rax, [0x1800f4230]
mov qword [rbp], rax
lea rax, [rbp + 0xb0]
mov qword [rbp + 0x290], rax
lea rax, [0x1800f3fd8]
mov qword [rbp + 0xb0], rax
lea rax, [0x1800f4228]
mov qword [rbp + 0xb0], rax
mov dword [rsp + 0x20], 2
lea rdx, [rbp + 0x10]
lea rcx, [rbp]
call fcn.18000af64
nop
mov rax, qword [rbp]
movsxd rcx, dword [rax + 4]
lea rax, [0x1800f4ec0]
mov qword [rbp + rcx], rax
mov rax, qword [rbp]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xb0]
mov dword [rbp + rcx - 4], edx
lea rax, [rbp + 0x10]
mov qword [rbp + 0x290], rax
lea rcx, [rbp + 0x10]
call fcn.18000b444
nop
lea rax, [0x1800f4098]
mov qword [rbp + 0x10], rax
xor r8d, r8d
xor edx, edx
lea rcx, [rbp + 0x10]
call fcn.18000ae78
nop
lea rcx, [rbp - 0x40]
cmp qword [rbp - 0x28], 8
cmovae rcx, qword [rbp - 0x40]
mov esi, 1
cmp qword [rbp + 0x90], r12
jne 0x1800086b0
lea r8d, [rsi + 0x3f]
mov edx, esi
call fcn.180062324
test rax, rax
je 0x1800086b0
mov r8d, esi
mov rdx, rax
lea rcx, [rbp + 0x10]
call fcn.18000ae78
lea rdx, [rsp + 0x30]
lea rcx, [rbp + 0x10]
call fcn.18000b404
nop
mov rcx, rax
call fcn.18000bd28
mov rbx, rax
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 0x18]
test al, al
je 0x180008646
mov qword [rbp + 0x78], r12
jmp 0x18000868e
mov qword [rbp + 0x78], rbx
lea rax, [rbp + 0x18]
mov qword [rbp + 0x28], rax
lea rax, [rbp + 0x20]
mov qword [rbp + 0x30], rax
lea rax, [rbp + 0x38]
mov qword [rbp + 0x48], rax
lea rax, [rbp + 0x40]
mov qword [rbp + 0x50], rax
lea rax, [rbp + 0x58]
mov qword [rbp + 0x60], rax
lea rax, [rbp + 0x5c]
mov qword [rbp + 0x68], rax
mov qword [rbp + 0x20], r12
mov qword [rbp + 0x40], r12
mov qword [rbp + 0x58], r12
mov qword [rbp + 0x18], r12
mov qword [rbp + 0x38], r12
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x1800086da
mov rax, qword [rcx]
call qword [rax + 0x10]
test rax, rax
je 0x1800086da
mov r8, qword [rax]
mov edx, esi
mov rcx, rax
call qword [r8]
jmp 0x1800086da
mov rax, qword [rbp]
movsxd rcx, dword [rax + 4]
lea r9, [rbp]
add rcx, r9
mov edx, dword [rcx + 0x10]
or edx, 2
mov eax, edx
or eax, 4
cmp qword [rcx + 0x48], r12
cmove edx, eax
xor r8d, r8d
call fcn.180007f78
nop
mov qword [rbp - 0x70], r12
mov word [rbp - 0x68], 1
mov rax, qword [rbp]
movsxd rcx, dword [rax + 4]
mov rax, qword [rbp + rcx + 0x48]
mov qword [rsp + 0x30], rax
test rax, rax
sete byte [rsp + 0x38]
mov qword [rbp - 0x50], r12
mov qword [rbp - 0x48], r12
mov qword [rbp - 0x48], r13
mov qword [rbp - 0x50], r12
mov byte [rbp - 0x60], r12b
movaps xmm0, xmmword [rbp - 0x70]
movdqa xmmword [rbp - 0x70], xmm0
movaps xmm1, xmmword [rsp + 0x30]
movdqa xmmword [rsp + 0x30], xmm1
lea r8, [rbp - 0x70]
lea rdx, [rsp + 0x30]
lea rcx, [rbp - 0x60]
call fcn.18000cad8
nop
lea rcx, [rbp + 0x120]
call fcn.180009428
nop
lea rdx, [rbp - 0x60]
cmp qword [rbp - 0x48], 0x10
cmovae rdx, qword [rbp - 0x60]
lea rcx, [rbp + 0x120]
call fcn.180009288
lea rbx, str.os_crypt
mov rdx, rbx
lea rcx, [rbp + 0x120]
call fcn.1800094c4
movabs rdi, 0xffffffffffff
test al, al
je 0x1800087fa
mov rdx, rbx
lea rcx, [rbp + 0x120]
call fcn.18000b9dc
mov rcx, rax
lea rdx, str.encrypted_key
call fcn.1800094c4
test al, al
je 0x1800087fa
mov rdx, rbx
lea rcx, [rbp + 0x120]
call fcn.18000b9dc
mov rcx, rax
lea rdx, str.encrypted_key
call fcn.18000b9dc
mov ecx, 0x1000
test word [rax + 0xe], cx
jne 0x1800087d6
mov rax, qword [rax + 8]
and rax, rdi
cmp byte [rax], r12b
jne 0x1800087e0
mov r8, r12
jmp 0x1800087ed
or r8, 0xffffffffffffffff
inc r8
cmp byte [rax + r8], r12b
jne 0x1800087e4
mov rdx, rax
lea rcx, [rsp + 0x50]
call fcn.18000697c
lea rdi, str.profile
mov rdx, rdi
lea rcx, [rbp + 0x120]
call fcn.1800094c4
test al, al
je 0x180008c5a
mov rdx, rdi
lea rcx, [rbp + 0x120]
call fcn.18000b9dc
mov rcx, rax
lea rbx, str.info_cache
mov rdx, rbx
call fcn.1800094c4
test al, al
je 0x180008c5a
mov rdx, rdi
lea rcx, [rbp + 0x120]
call fcn.18000b9dc
mov rcx, rax
mov rdx, rbx
call fcn.18000b9dc
mov ecx, 3
cmp word [rax + 0xe], cx
jne 0x180008c5a
mov rdx, rdi
lea rcx, [rbp + 0x120]
call fcn.18000b9dc
mov rcx, rax
mov rdx, rbx
call fcn.18000b9dc
mov rbx, qword [rax + 8]
movabs rax, 0xffffffffffff
and rbx, rax
mov rdx, rdi
lea rcx, [rbp + 0x120]
call fcn.18000b9dc
lea rdx, str.info_cache
mov rcx, rax
call fcn.18000b9dc
mov rcx, qword [rax + 8]
mov eax, dword [rax]
movabs r8, 0xffffffffffff
shl rax, 5
and rcx, r8
add rcx, rax
cmp rbx, rcx
je 0x180008c5a
mov eax, 0x1000
test word [rbx + 0xe], ax
je 0x1800088e6
mov rdx, rbx
jmp 0x1800088ed
mov rdx, qword [rbx + 8]
and rdx, r8
mov qword [rsp + 0x40], r12
mov qword [rsp + 0x48], r12
mov qword [rsp + 0x48], r13
mov qword [rsp + 0x40], r12
mov byte [rsp + 0x30], r12b
cmp byte [rdx], r12b
jne 0x180008910
mov r8, r12
jmp 0x18000891d
or r8, 0xffffffffffffffff
inc r8
cmp byte [rdx + r8], r12b
jne 0x180008914
lea rcx, [rsp + 0x30]
call fcn.18000697c
nop
lea r8, [rsp + 0x30]
cmp qword [rsp + 0x48], 0x10
cmovae r8, qword [rsp + 0x30]
add r8, qword [rsp + 0x40]
lea rdx, [rsp + 0x30]
cmp qword [rsp + 0x48], 0x10
cmovae rdx, qword [rsp + 0x30]
lea rcx, [rbp + 0x1a0]
call fcn.18000ba9c
mov rdi, rax
lea r8, [0x1800f3ee4]
mov rdx, r15
lea rcx, [rbp + 0x180]
call fcn.18000b86c
nop
mov r8, rdi
mov rdx, rax
lea rcx, [rbp - 0x20]
call fcn.18000bb34
nop
xor r8d, r8d
mov dl, sil
lea rcx, [rbp + 0x180]
call fcn.18000a738
nop
xor r8d, r8d
mov dl, sil
lea rcx, [rbp + 0x1a0]
call fcn.18000a738
lea r8, [rsp + 0x30]
cmp qword [rsp + 0x48], 0x10
cmovae r8, qword [rsp + 0x30]
add r8, qword [rsp + 0x40]
lea rdx, [rsp + 0x30]
cmp qword [rsp + 0x48], 0x10
cmovae rdx, qword [rsp + 0x30]
lea rcx, [rbp + 0x200]
call fcn.18000ba9c
mov rdi, rax
lea r8, [0x1800f3ee4]
mov rdx, r15
lea rcx, [rbp + 0x1e0]
call fcn.18000b86c
nop
mov r8, rdi
mov rdx, rax
lea rcx, [rbp + 0x1c0]
call fcn.18000bb34
nop
lea r8, [0x1800f3ee8]
mov rdx, rax
lea rcx, [rbp + 0x220]
call fcn.18000b95c
nop
xor r8d, r8d
mov dl, sil
lea rcx, [rbp + 0x1c0]
call fcn.18000a738
nop
xor r8d, r8d
mov dl, sil
lea rcx, [rbp + 0x1e0]
call fcn.18000a738
nop
xor r8d, r8d
mov dl, sil
lea rcx, [rbp + 0x200]
call fcn.18000a738
lea rax, [rbp - 0x20]
mov r8, qword [rsp + 0x70]
mov rcx, qword [rsp + 0x78]
cmp rax, rcx
jae 0x180008b3a
lea rax, [rbp - 0x20]
cmp r8, rax
ja 0x180008b3a
lea rdi, [rbp - 0x20]
sub rdi, r8
mov r9, qword [rbp - 0x80]
cmp rcx, r9
jne 0x180008afb
mov rax, r9
sub rax, rcx
sar rax, 5
cmp rax, rsi
jae 0x180008afb
sub rcx, r8
sar rcx, 5
movabs r10, 0x7ffffffffffffff
mov rax, r10
sub rax, rcx
cmp rax, rsi
jb 0x180008c40
lea rdx, [rcx + 1]
sub r9, r8
sar r9, 5
mov rax, r9
shr rax, 1
mov rcx, r10
sub rcx, rax
add rax, r9
mov r8, r12
cmp rcx, r9
cmovae r8, rax
cmp r8, rdx
cmovae rdx, r8
lea rcx, [rsp + 0x70]
call fcn.18000b120
mov rcx, qword [rsp + 0x78]
mov r8, qword [rsp + 0x70]
mov qword [rbp + 0x290], rcx
and rdi, 0xffffffffffffffe0
add rdi, r8
mov qword [rbp + 0x298], rcx
test rcx, rcx
je 0x180008b35
mov qword [rcx + 0x18], 7
mov qword [rcx + 0x10], r12
mov word [rcx], r12w
or r9, 0xffffffffffffffff
xor r8d, r8d
mov rdx, rdi
call fcn.18000b2c0
nop
jmp 0x180008bdd
mov r9, qword [rbp - 0x80]
cmp rcx, r9
jne 0x180008bac
mov rax, r9
sub rax, rcx
sar rax, 5
cmp rax, rsi
jae 0x180008bac
sub rcx, r8
sar rcx, 5
movabs r10, 0x7ffffffffffffff
mov rax, r10
sub rax, rcx
cmp rax, rsi
jb 0x180008c4d
lea rdx, [rcx + 1]
sub r9, r8
sar r9, 5
mov rax, r9
shr rax, 1
mov rcx, r10
sub rcx, rax
add rax, r9
mov r8, r12
cmp rcx, r9
cmovae r8, rax
cmp r8, rdx
cmovae rdx, r8
lea rcx, [rsp + 0x70]
call fcn.18000b120
mov rcx, qword [rsp + 0x78]
mov qword [rbp + 0x290], rcx
mov qword [rbp - 0x70], rcx
test rcx, rcx
je 0x180008bdd
mov qword [rcx + 0x18], 7
mov qword [rcx + 0x10], r12
mov word [rcx], r12w
or r9, 0xffffffffffffffff
xor r8d, r8d
lea rdx, [rbp - 0x20]
call fcn.18000b2c0
nop
add qword [rsp + 0x78], 0x20
xor r8d, r8d
mov dl, sil
lea rcx, [rbp + 0x220]
call fcn.18000a738
nop
xor r8d, r8d
mov dl, sil
lea rcx, [rbp - 0x20]
call fcn.18000a738
nop
mov rdx, qword [rsp + 0x48]
cmp rdx, 0x10
jb 0x180008c21
inc rdx
mov r8, rsi
mov rcx, qword [rsp + 0x30]
call fcn.1800062ec
mov qword [rsp + 0x48], r13
mov qword [rsp + 0x40], r12
mov byte [rsp + 0x30], r12b
add rbx, 0x20
lea rdx, str.profile
jmp 0x180008898
lea rcx, str.vector_T__too_long
call fcn.180061ae0
int3
lea rcx, str.vector_T__too_long
call fcn.180061ae0
nop
mov qword [r14 + 0x18], r13
mov qword [r14 + 0x10], r12
mov byte [r14], r12b
lea rdx, [rsp + 0x50]
mov rcx, r14
call fcn.180006ca4
nop
mov rax, qword [rsp + 0x70]
mov qword [r14 + 0x20], rax
mov rax, qword [rsp + 0x78]
mov qword [r14 + 0x28], rax
mov rax, qword [rbp - 0x80]
mov qword [r14 + 0x30], rax
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x70], xmm0
mov qword [rbp - 0x80], r12
mov eax, 3
mov dword [rsp + 0x20], eax
lea rcx, [rbp + 0x120]
call fcn.180009380
nop
mov rdx, qword [rbp - 0x48]
cmp rdx, 0x10
jb 0x180008cc9
inc rdx
mov r8, rsi
mov rcx, qword [rbp - 0x60]
call fcn.1800062ec
mov qword [rbp - 0x48], r13
mov qword [rbp - 0x50], r12
mov byte [rbp - 0x60], r12b
lea rcx, [rbp + 0xb0]
call fcn.180009750
lea rax, [rbp + 0xb0]
mov qword [rbp + 0x290], rax
lea rax, [0x1800f4228]
mov qword [rbp + 0xb0], rax
lea rax, [0x1800f3fd8]
mov qword [rbp + 0xb0], rax
lea rcx, [rbp + 0xb0]
call fcn.180062148
nop
lea rcx, [rsp + 0x70]
call fcn.180009560
nop
mov rdx, qword [rsp + 0x68]
cmp rdx, 0x10
jb 0x180008d3e
mov r8, rsi
inc rdx
mov rcx, qword [rsp + 0x50]
call fcn.1800062ec
mov byte [rsp + 0x50], r12b
mov qword [rsp + 0x60], r12
mov qword [rsp + 0x68], r13
xor r8d, r8d
mov dl, sil
lea rcx, [rbp - 0x40]
call fcn.18000a738
mov rax, r14
mov rbx, qword [rsp + 0x388]
add rsp, 0x340
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret