Function at 0x1006ed0
Capabilities:
Enumerate files on windows
Query environment variable

Disassembly:
mov eax, 0x1968
call fcn.010204c0
mov eax, dword [0x102806c]
xor eax, esp
mov dword [esp + 0x1964], eax
mov dx, word [0x102500c]
mov eax, dword [str._APPDATA_]
mov ecx, dword [0x1025008]
push ebx
push ebp
mov ebp, dword [esp + 0x1974]
push esi
push edi
mov word [esp + 0x158], dx
mov edx, dword [0x1025018]
mov dword [esp + 0x150], eax
mov eax, dword [str.Application_Data]
mov dword [esp + 0x154], ecx
mov ecx, dword [0x1025014]
push 0x800
mov dword [esp + 0x168], edx
lea esi, [ebp + 0x128c]
mov dword [esp + 0x160], eax
mov eax, dword [0x102501c]
mov dword [esp + 0x164], ecx
mov cl, byte [0x1025020]
push esi
lea edx, [esp + 0x158]
push edx
mov dword [esp + 0x174], eax
mov byte [esp + 0x178], cl
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsA]
test eax, eax
jne 0x1006f82
lea eax, [esp + 0x15c]
push eax
jmp 0x1006fa0
mov eax, esi
lea esi, [eax + 1]
push 0x1024ff4
push esi
call fcn.01011220
add esp, 8
test eax, eax
jne 0x1006f84
push esi
lea esi, [ebp + 0x128c]
push 0x800
push esi
call fcn.01011b01
add esp, 0xc
push str.Application_Data
push ebp
mov ecx, str.Documents_and_Settings
call fcn.01006540
cmp eax, 1
jne 0x100701c
lea ecx, [ebp + 0x28c]
push ecx
lea edx, [esp + 0x974]
push 0x800
push edx
call fcn.01011b01
add esp, 0xc
lea eax, [esp + 0x970]
push eax
lea ecx, [esp + 0x1174]
push 0x800
push ecx
call fcn.01011b01
add esp, 0xc
push str.MozillaFirefoxProfiles
lea eax, [ebp + 0xa8c]
push 0x800
push eax
call fcn.01011b01
add esp, 0xc
push str.Application_Data
jmp 0x100708c
push str.AppData
push ebp
mov ecx, str.Users
call fcn.01006540
cmp eax, 1
jne 0x10072d2
lea edx, [ebp + 0x28c]
push edx
lea eax, [esp + 0x974]
push 0x800
push eax
call fcn.01011b01
add esp, 0xc
lea ecx, [esp + 0x970]
push ecx
lea edx, [esp + 0x1174]
push 0x800
push edx
call fcn.01011b01
add esp, 0xc
push str.RoamingMozillaFirefoxProfiles
lea eax, [ebp + 0xa8c]
push 0x800
push eax
call fcn.01011b01
add esp, 0xc
push str.AppData
push 0x800
push esi
call fcn.01011b01
add esp, 0xc
push str.C:
lea eax, [esp + 0x974]
push 0x800
push eax
call fcn.01011ef9
add esp, 0xc
lea esi, [ebp + 0x140]
push esi
lea ecx, [esp + 0x974]
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [ebp + 0x284], eax
je 0x10072d2
jmp 0x10070e0
test byte [esi], 0x10
je 0x10072b6
lea ebx, [ebp + 0x16c]
mov edi, 0x1024c7c
mov esi, ebx
mov ecx, 2
xor edx, edx
repe cmpsb byte [esi], byte es:[edi]
je 0x10072b6
mov edi, 0x1024fec
mov esi, ebx
mov ecx, 3
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
je 0x10072b6
lea ecx, [esp + 0x1170]
push ecx
lea edx, [esp + 0x174]
push 0x800
push edx
call fcn.01011b01
add esp, 0xc
push ebx
lea eax, [esp + 0x174]
push 0x800
push eax
call fcn.01011ef9
add esp, 0xc
push 0x1024ff0
lea ecx, [esp + 0x174]
push 0x800
push ecx
call fcn.01011ef9
add esp, 0xc
lea edx, [esp + 0x10]
push edx
lea eax, [esp + 0x174]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x10072b6
jmp 0x1007190
test byte [esp + 0x10], 0x10
je 0x100729b
mov edi, 0x1024c7c
lea esi, [esp + 0x3c]
mov ecx, 2
xor edx, edx
repe cmpsb byte [esi], byte es:[edi]
je 0x100729b
mov edi, 0x1024fec
lea esi, [esp + 0x3c]
mov ecx, 3
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
je 0x100729b
lea ecx, [esp + 0x3c]
push ecx
lea eax, [ebp + 0x128c]
push eax
call fcn.01011220
add esp, 8
test eax, eax
je 0x100729b
lea eax, [esp + 0x170]
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x10071f1
sub eax, edx
lea edx, [esp + 0x3c]
push edx
mov byte [esp + eax + 0x173], cl
lea eax, [esp + 0x174]
push 0x800
push eax
call fcn.01011ef9
add esp, 0xc
lea eax, [ebp + 0xa8c]
push eax
lea ecx, [esp + 0x174]
push 0x800
push ecx
call fcn.01011ef9
add esp, 0xc
push ebp
lea edx, [esp + 0x174]
push edx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [ebp + 0x280], eax
je 0x100729b
test byte [ebp], 0x10
je 0x1007280
lea eax, [ebp + 0x2c]
mov edi, 0x1024c7c
mov esi, eax
mov ecx, 2
xor edx, edx
repe cmpsb byte [esi], byte es:[edi]
je 0x1007280
mov esi, eax
mov edi, 0x1024fec
mov ecx, 3
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
jne 0x1007292
mov ecx, dword [ebp + 0x280]
push ebp
push ecx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x1007253
cmp dword [ebp + 0x280], 0xffffffff
jne 0x10072ef
lea edx, [esp + 0x10]
push edx
push ebx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x1007190
push ebx
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [ebp + 0x284]
lea esi, [ebp + 0x140]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x10070e0
xor eax, eax
mov ecx, dword [esp + 0x1974]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0100fd07
add esp, 0x1968
ret 4
push ebx
mov dword [ebp + 0x288], 1
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, 1
jmp 0x10072d4