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

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x129c
call fcn.004c2cd0
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
lea eax, [ebp - 0x828]
push ebx
mov ebx, ecx
push esi
push edi
test edx, edx
je 0x404c17
push edx
push str._sAppDataRoaming
push 0x820
push eax
call fcn.004010a0
add esp, 0x10
test eax, eax
jns 0x404c51
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Cannot_determine_app_data_folder:0x_X
push 1
call fcn.00408d60
add esp, 0xc
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004ac4d4
mov esp, ebp
pop ebp
ret
push 0
push 0x1a
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
jne 0x404c51
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Cannot_find_app_data_folder:0x_X
push 1
call fcn.00408d60
add esp, 0xc
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004ac4d4
mov esp, ebp
pop ebp
ret
push str.MozillaFirefoxProfiles
lea ecx, [ebp - 0x828]
call fcn.00404aa0
test eax, eax
jns 0x404c8e
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Cannot_find_profiles_folder:0x_X
push 1
call fcn.00408d60
add esp, 0xc
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004ac4d4
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x828]
push eax
push str._s
lea eax, [ebp - 0x1048]
push 0x820
push eax
call fcn.004010a0
add esp, 0x10
test eax, eax
jns 0x404cdb
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Cannot_compose_search_path:0x_X
push 1
call fcn.00408d60
add esp, 0xc
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004ac4d4
mov esp, ebp
pop ebp
ret
push 0
push 0
push 1
lea eax, [ebp - 0x1298]
push eax
push 0
lea eax, [ebp - 0x1048]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileExW]
mov dword [ebp - 0x129c], eax
cmp eax, 0xffffffff
jne 0x404d2b
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Error_searching_for_profiles:0x_X
push 1
call fcn.00408d60
add esp, 0xc
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004ac4d4
mov esp, ebp
pop ebp
ret
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, dword [ebp - 0x129c]
nop word [eax + eax]
lea ecx, [ebp - 0x126c]
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x404d50
sub ecx, edx
sar ecx, 1
cmp ecx, 2
jbe 0x404ec1
lea eax, [ebp - 0x126c]
push eax
lea eax, [ebp - 0x828]
push eax
push 0x4cbe14
lea eax, [ebp - 0x1048]
push 0x820
push eax
call fcn.004010a0
add esp, 0x14
test eax, eax
jns 0x404da0
call esi
push eax
push str.Cannot_compose_search_path:0x_X
jmp 0x404eb7
mov edx, 0x7fffffff
lea eax, [ebp - 0x1048]
nop dword [eax + eax]
cmp word [eax], 0
je 0x404dbe
add eax, 2
sub edx, 1
jne 0x404db0
test edx, edx
je 0x404eaf
lea eax, [edx + edx]
mov edi, 0xfffffffe
sub edi, eax
neg edx
sbb edx, edx
and edi, edx
add edi, 2
test ebx, ebx
jne 0x404df7
push str.NULL_List
push 1
call fcn.00408d60
mov edi, dword [ebp - 0x129c]
add esp, 8
jmp 0x404ec1
push 0xc
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
inc dword [0x4de7b4]
mov esi, eax
test esi, esi
jne 0x404e2d
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
push eax
push str.Error_creating_a_new_list_entry:0x_X
push 1
call fcn.00408d60
mov edi, dword [ebp - 0x129c]
jmp 0x404ebe
test edi, edi
je 0x404e57
push edi
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
inc dword [0x4de7b4]
mov dword [esi], eax
test eax, eax
je 0x404e73
push edi
lea ecx, [ebp - 0x1048]
push ecx
push eax
call fcn.004ae080
add esp, 0xc
cmp dword [ebx + 4], 0
jne 0x404e90
inc dword [ebx]
mov dword [ebx + 4], esi
mov dword [ebx + 8], esi
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, dword [ebp - 0x129c]
jmp 0x404ec1
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
push eax
push str.Error_copying_list_value:0x_X
push 1
call fcn.00408d60
mov edi, dword [ebp - 0x129c]
jmp 0x404ebe
mov eax, dword [ebx + 8]
mov dword [esi + 4], eax
mov eax, dword [ebx + 8]
mov dword [eax + 8], esi
inc dword [ebx]
mov dword [ebx + 8], esi
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, dword [ebp - 0x129c]
jmp 0x404ec1
call esi
push eax
push str.Cannot_get_the_string_size:0x_X
push 1
call fcn.00408d60
add esp, 0xc
lea eax, [ebp - 0x1298]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x404d40
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp - 4]
mov eax, 1
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004ac4d4
mov esp, ebp
pop ebp
ret