Function at 0x102cae9
Capabilities:
Enumerate files on windows

Disassembly:
mov eax, 0x103a08f
call fcn.01035f78
sub esp, 0x44
push ebx
lea eax, [ebp - 0x18]
mov dword [ebp - 0x28], ecx
mov ecx, dword [ebp + 8]
xor ebx, ebx
push eax
mov dword [ebp - 0x24], ebx
call sub.MFC42u.dll_CStringList::RemoveHead
push 0xa
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x18]
mov dword [ebp - 4], ebx
call sub.MFC42u.dll_CString::Left
push 0x1007f58
push eax
call fcn.0100eb0b
test al, al
je 0x102cb38
mov eax, dword [ebp - 0x18]
cmp dword [eax - 8], 0xd
mov byte [ebp - 0xd], 1
jle 0x102cb3b
mov byte [ebp - 0xd], bl
lea ecx, [ebp - 0x20]
call sub.MFC42u.dll_CString::CString
cmp byte [ebp - 0xd], bl
je 0x102cb55
push 0x1007f34
lea ecx, [ebp - 0x18]
call sub.MFC42u.dll_CString::operator_1
push dword [ebp - 0x18]
lea eax, [ebp - 0x38]
push eax
mov dword [ebp - 0x50], 0x18
mov dword [ebp - 0x4c], ebx
mov dword [ebp - 0x44], 0x40
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x40], ebx
mov dword [ebp - 0x3c], ebx
call dword [0x1001c1c]
lea eax, [ebp - 0x50]
push eax
push 1
lea eax, [ebp - 0x24]
push eax
call dword [0x1001c18]
cmp eax, ebx
jge 0x102cba1
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call sub.MFC42u.dll_CString::CString
jmp 0x102cd02
push edi
mov dword [ebp - 0x1c], 0x8000
mov dword [ebp - 0x14], ebx
mov edi, 0x80000005
push esi
push dword [ebp - 0x1c]
push ebx
call dword [fcn.010011a8]
push eax
call dword [fcn.010011a4]
cmp eax, ebx
mov dword [ebp - 0x20], eax
je 0x102cc29
lea ecx, [ebp - 0x2c]
push ecx
lea ecx, [ebp - 0x30]
push ecx
push 1
push ebx
push dword [ebp - 0x1c]
push eax
push dword [ebp - 0x24]
call dword [0x1001c14]
mov esi, eax
cmp esi, 0x105
jne 0x102cbee
mov esi, edi
cmp esi, ebx
jge 0x102cc2e
push dword [ebp - 0x20]
push ebx
call dword [fcn.010011a8]
push eax
call dword [fcn.010011a0]
add dword [ebp - 0x1c], 0x8000
cmp esi, edi
je 0x102cc1e
cmp esi, 0xc0000004
je 0x102cc1e
cmp esi, 0xc0000023
jne 0x102cc2e
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], 0xa
jb 0x102cbb2
jmp 0x102cc2e
mov esi, 0xc000009a
push dword [ebp - 0x24]
call dword [0x1001c10]
cmp esi, ebx
jl 0x102ccf4
mov eax, dword [ebp - 0x20]
add eax, 4
cmp dword [eax], ebx
je 0x102cce3
mov edi, eax
cmp dword [0x10445a4], ebx
mov dword [ebp - 0x14], ebx
je 0x102cc7e
mov eax, 0x10445a4
mov esi, eax
push dword [eax]
push dword [edi + 8]
call dword [sym.imp.msvcrt.dll__wcsicmp]
test eax, eax
pop ecx
pop ecx
je 0x102cc7e
inc dword [ebp - 0x14]
add esi, 4
cmp dword [esi], ebx
mov eax, esi
jne 0x102cc61
mov eax, dword [ebp - 0x14]
cmp dword [eax*4 + 0x10445a4], ebx
je 0x102ccd8
lea ecx, [ebp - 0x1c]
call sub.MFC42u.dll_CString::CString_3
push dword [edi]
lea eax, [ebp - 0x1c]
push dword [ebp - 0x18]
mov byte [ebp - 4], 1
push 0x1007f28
push eax
call sub.MFC42u.dll_CString::Format
add esp, 0x10
cmp dword [ebp - 0x14], ebx
jne 0x102ccb6
mov ecx, dword [ebp + 8]
jmp 0x102ccc4
lea ecx, [ebp - 0x1c]
call sub.MFC42u.dll_CString::MakeLower
mov ecx, dword [ebp - 0x28]
add ecx, 0x60
lea eax, [ebp - 0x1c]
push eax
call sub.MFC42u.dll_CStringList::AddTail_1
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], bl
call sub.MFC42u.dll_CString::CString
add edi, 0x10
cmp dword [edi], ebx
jne 0x102cc4f
push dword [ebp - 0x20]
push ebx
call dword [fcn.010011a8]
push eax
call dword [fcn.010011a0]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call sub.MFC42u.dll_CString::CString
pop esi
pop edi
mov ecx, dword [ebp - 0xc]
pop ebx
mov dword fs:[0], ecx
leave
ret 4