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

Disassembly:
push 0x324
mov eax, 0x10042ba5
call fcn.10021f0e
mov eax, dword [ebp + 8]
mov dword [ebp - 0x328], eax
mov eax, dword [ebp + 0xc]
xor ebx, ebx
push 0xf
mov dword [ebp - 0x32c], eax
pop eax
mov dword [ebp - 0x330], ebx
mov dword [ebp - 0x178], eax
mov dword [ebp - 0x17c], ebx
mov byte [ebp - 0x18c], bl
mov dword [ebp - 4], ebx
mov dword [ebp - 0x194], eax
mov dword [ebp - 0x198], ebx
mov byte [ebp - 0x1a8], bl
mov dword [ebp - 0x140], eax
mov dword [ebp - 0x144], ebx
mov byte [ebp - 0x154], bl
mov dword [ebp - 0x15c], eax
mov dword [ebp - 0x160], ebx
mov byte [ebp - 0x170], bl
push 0x104
lea eax, [ebp - 0x11c]
push eax
push str._ProgramData_
mov byte [ebp - 4], 3
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsA]
lea eax, [ebp - 0x11c]
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x1001bca3
sub eax, esi
push eax
lea eax, [ebp - 0x11c]
push eax
lea ecx, [ebp - 0x154]
call fcn.1000cffa
push str.MicrosoftWlansvcProfilesInterfaces_
lea eax, [ebp - 0x154]
push eax
call fcn.10009d74
lea eax, [ebp - 0x138]
push 0x1004d804
push eax
lea edi, [ebp - 0x154]
call fcn.1000bc91
pop ecx
pop ecx
mov esi, eax
lea edi, [ebp - 0x170]
mov byte [ebp - 4], 4
call fcn.1000cf26
push ebx
push 1
lea ecx, [ebp - 0x138]
mov byte [ebp - 4], 3
call fcn.10003236
cmp dword [ebp - 0x15c], 0x10
mov eax, dword [ebp - 0x170]
jae 0x1001bd1d
mov eax, edi
lea ecx, [ebp - 0x324]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x1001be3b
lea eax, [ebp - 0x2f8]
mov dword [ebp - 0x124], 0xf
mov dword [ebp - 0x128], ebx
mov byte [ebp - 0x138], bl
lea edi, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x1001bd55
sub eax, edi
push eax
lea eax, [ebp - 0x2f8]
push eax
lea ecx, [ebp - 0x138]
call fcn.1000cffa
mov byte [ebp - 4], 5
test byte [ebp - 0x324], 0x10
je 0x1001be0c
mov eax, 0x1004d8a8
lea edx, [ebp - 0x138]
call fcn.100166e3
test eax, eax
je 0x1001be0c
mov eax, 0x100507f8
lea edx, [ebp - 0x138]
call fcn.100166e3
test eax, eax
je 0x1001be0c
lea eax, [ebp - 0x154]
push eax
lea eax, [ebp - 0x1e0]
push eax
lea edi, [ebp - 0x138]
call fcn.1001c80d
push str._.mnvcxz_lkjhgfdsa__poiuytrq
push eax
lea eax, [ebp - 0x1c4]
push eax
mov byte [ebp - 4], 6
call fcn.1000bcf5
add esp, 0x14
mov ecx, edi
push ecx
push dword [ebp - 0x328]
mov ecx, eax
mov byte [ebp - 4], 7
call fcn.1001ba95
push ebx
push 1
lea ecx, [ebp - 0x1c4]
call fcn.10003236
push ebx
push 1
lea ecx, [ebp - 0x1e0]
call fcn.10003236
push ebx
push 1
lea ecx, [ebp - 0x138]
mov byte [ebp - 4], 3
call fcn.10003236
lea eax, [ebp - 0x324]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x1001bd36
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [ebp - 0x328]
mov esi, dword [ebp - 0x32c]
add eax, 0x10
push eax
call fcn.1000212a
xor edi, edi
push ebx
inc edi
push edi
lea ecx, [ebp - 0x170]
call fcn.10003236
push ebx
push edi
lea ecx, [ebp - 0x154]
call fcn.10003236
push ebx
push edi
lea ecx, [ebp - 0x1a8]
call fcn.10003236
push ebx
push edi
lea ecx, [ebp - 0x18c]
call fcn.10003236
mov eax, esi
call fcn.10021f58
ret 8