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

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0xc0
mov rax, qword [0x1400f8100]
xor rax, rsp
mov qword [rbp + 0x47], rax
mov rdi, rcx
mov qword [rbp - 0x21], rcx
xor esi, esi
lea rcx, [rbp + 0x27]
call fcn.140021880
nop
cmp qword [rbp + 0x37], rsi
jne 0x140021e79
lea rdx, str.Could_not_retrieve_APPDATA_folder_path.
lea rcx, [0x1400fad70]
call fcn.140010c30
mov rbx, rax
mov rax, qword [rax]
movsxd rcx, dword [rax + 4]
add rcx, rbx
mov dl, 0xa
call fcn.140014560
movzx edx, ax
mov rcx, rbx
call fcn.1400143b0
mov rcx, rbx
call fcn.14000fda0
lea rdx, [0x1400e74c0]
mov rcx, rdi
call fcn.14000bae0
nop
mov rdx, qword [rbp + 0x3f]
cmp rdx, 7
jbe 0x140021e51
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x27]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140021e4c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140022237
call fcn.1400289a0
mov rax, rdi
mov rcx, qword [rbp + 0x47]
xor rcx, rsp
call fcn.140028980
lea r11, [rsp + 0xc0]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
lea r8, str.MozillaFirefoxProfiles
lea rdx, [rbp + 0x27]
lea rcx, [rbp - 0x19]
call fcn.140022260
nop
lea rcx, [rbp - 0x19]
cmp qword [rbp - 1], 7
cmova rcx, qword [rbp - 0x19]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x140021f4b
lea rdx, str.Mozilla_Profiles_folder_not_found_
lea rcx, [0x1400fad70]
call fcn.140010c30
mov rbx, rax
mov rax, qword [rax]
movsxd rcx, dword [rax + 4]
add rcx, rbx
mov dl, 0xa
call fcn.140014560
movzx edx, ax
mov rcx, rbx
call fcn.1400143b0
mov rcx, rbx
call fcn.14000fda0
lea rdx, [0x1400e74c0]
mov rcx, rdi
call fcn.14000bae0
nop
mov rdx, qword [rbp - 1]
cmp rdx, 7
jbe 0x140021f35
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x19]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140021f30
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002222b
call fcn.1400289a0
movdqa xmm0, xmmword [0x1400e7590]
movdqu xmmword [rbp - 9], xmm0
mov word [rbp - 0x19], si
jmp 0x140021e11
lea rdx, [rbp - 0x19]
lea rcx, [rbp + 7]
call fcn.1400219c0
nop
cmp qword [rbp + 0x17], 0
je 0x140022100
lea r8, [0x1400e7548]
lea rdx, [rbp - 0x19]
lea rcx, [rbp - 0x41]
call fcn.140022260
nop
lea rdx, [rbp + 7]
cmp qword [rbp + 0x1f], 7
cmova rdx, qword [rbp + 7]
mov r8, qword [rbp + 0x17]
mov rcx, rax
call fcn.14000b9f0
xorps xmm0, xmm0
movups xmmword [rdi], xmm0
mov qword [rdi + 0x10], rsi
mov qword [rdi + 0x18], rsi
movups xmm0, xmmword [rax]
movups xmmword [rdi], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rdi + 0x10], xmm1
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], 7
mov word [rax], si
mov rdx, qword [rbp - 0x29]
cmp rdx, 7
jbe 0x140021ffe
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x41]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140021ff9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002223d
call fcn.1400289a0
movdqa xmm0, xmmword [0x1400e7590]
movdqu xmmword [rbp - 0x31], xmm0
mov word [rbp - 0x41], si
mov rdx, qword [rbp + 0x1f]
cmp rdx, 7
jbe 0x140022057
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 7]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002204a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140022243
call fcn.1400289a0
movdqa xmm0, xmmword [0x1400e7590]
mov qword [rbp + 0x17], rsi
mov qword [rbp + 0x1f], 7
mov word [rbp + 7], si
mov rdx, qword [rbp - 1]
cmp rdx, 7
jbe 0x1400220af
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x19]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400220a2
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140022249
call fcn.1400289a0
movdqa xmm0, xmmword [0x1400e7590]
movdqu xmmword [rbp - 9], xmm0
mov word [rbp - 0x19], si
mov rdx, qword [rbp + 0x3f]
cmp rdx, 7
jbe 0x140021e51
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x27]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140021e4c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140022231
jmp 0x140021e4c
lea rdx, str.No_profile_folders_found.
lea rcx, [0x1400fad70]
call fcn.140010c30
mov rbx, rax
mov rax, qword [rax]
movsxd rcx, dword [rax + 4]
add rcx, rbx
mov dl, 0xa
call fcn.140014560
movzx edx, ax
mov rcx, rbx
call fcn.1400143b0
mov rcx, rbx
call fcn.14000fda0
lea rdx, [0x1400e74c0]
mov rcx, rdi
call fcn.14000bae0
nop
mov rdx, qword [rbp + 0x1f]
cmp rdx, 7
jbe 0x14002218a
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 7]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140022185
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002224f
call fcn.1400289a0
mov qword [rbp + 0x17], rsi
mov qword [rbp + 0x1f], 7
mov word [rbp + 7], si
mov rdx, qword [rbp - 1]
cmp rdx, 7
jbe 0x1400221d6
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x19]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400221d1
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002222b
call fcn.1400289a0
movdqa xmm0, xmmword [0x1400e7590]
movdqu xmmword [rbp - 9], xmm0
mov word [rbp - 0x19], si
mov rdx, qword [rbp + 0x3f]
cmp rdx, 7
jbe 0x140021e51
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x27]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140021e4c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140022237
jmp 0x140021e4c
call fcn.140038268
nop
call fcn.140038268
int3
call fcn.140038268
nop
call fcn.140038268
nop
call fcn.140038268
nop
call fcn.140038268
nop
call fcn.140038268
int3