Function at 0x1000716e
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x26c
mov dword [ebp - 0x26c], ecx
mov eax, dword [ebp - 0x26c]
mov dword [eax + 0x120], 0
mov dword [ebp - 0x114], 0
mov dword [ebp - 8], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x25c], 0
mov dword [ebp - 0x258], 0x2800
mov ecx, dword [ebp - 0x258]
push ecx
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov dword [ebp - 4], eax
mov edx, dword [ebp + 8]
push edx
push 0x100892d0
lea eax, [ebp - 0x110]
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
lea ecx, [ebp - 0x254]
push ecx
lea edx, [ebp - 0x110]
push edx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov dword [ebp - 0x260], eax
cmp dword [ebp - 0x260], 0xffffffff
jne 0x10007230
mov byte [ebp - 0x264], 0x87
push 0
push 1
lea eax, [ebp - 0x264]
push eax
mov ecx, dword [ebp - 0x26c]
call fcn.1000f8b3
jmp 0x1000743f
mov ecx, dword [ebp - 4]
mov byte [ecx], 0x87
mov dword [ebp - 0xc], 1
mov edx, dword [ebp + 0xc]
and edx, 0xff
test edx, edx
je 0x100072bb
mov eax, dword [ebp - 4]
mov byte [eax], 0x93
mov ecx, dword [ebp + 8]
push ecx
call sub.MSVCRT.dll_strlen
add esp, 4
mov dword [ebp - 0x268], eax
push 4
lea edx, [ebp - 0x268]
push edx
mov eax, dword [ebp - 4]
add eax, dword [ebp - 0xc]
push eax
call sub.MSVCRT.dll_memcpy
add esp, 0xc
mov ecx, dword [ebp - 0xc]
add ecx, 4
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 0x268]
push edx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 4]
add ecx, dword [ebp - 0xc]
push ecx
call sub.MSVCRT.dll_memcpy
add esp, 0xc
mov edx, dword [ebp - 0xc]
add edx, dword [ebp - 0x268]
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 4]
add eax, dword [ebp - 0xc]
mov byte [eax], 0x87
mov ecx, dword [ebp - 0xc]
add ecx, 1
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 0x258]
sub edx, 0x208
cmp dword [ebp - 0xc], edx
jbe 0x100072f3
mov eax, dword [ebp - 0x258]
add eax, 0x208
mov dword [ebp - 0x258], eax
push 0x42
mov ecx, dword [ebp - 0x258]
push ecx
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_LocalReAlloc]
mov dword [ebp - 4], eax
lea eax, [ebp - 0x228]
mov dword [ebp - 8], eax
push 0x100892d8
mov ecx, dword [ebp - 8]
push ecx
call sub.MSVCRT.dll_strcmp
add esp, 8
test eax, eax
je 0x10007326
push 0x100892dc
mov edx, dword [ebp - 8]
push edx
call sub.MSVCRT.dll_strcmp
add esp, 8
test eax, eax
jne 0x1000732b
jmp 0x100073eb
mov eax, dword [ebp - 0x254]
and eax, 0x10
mov ecx, dword [ebp - 4]
add ecx, dword [ebp - 0xc]
mov byte [ecx], al
mov edx, dword [ebp - 0xc]
add edx, 1
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov dword [ebp - 0x25c], eax
mov ecx, dword [ebp - 0x25c]
push ecx
mov edx, dword [ebp - 8]
push edx
mov eax, dword [ebp - 4]
add eax, dword [ebp - 0xc]
push eax
call sub.MSVCRT.dll_memcpy
add esp, 0xc
mov ecx, dword [ebp - 0xc]
add ecx, dword [ebp - 0x25c]
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 4]
add edx, dword [ebp - 0xc]
mov byte [edx], 0
mov eax, dword [ebp - 0xc]
add eax, 1
mov dword [ebp - 0xc], eax
push 4
lea ecx, [ebp - 0x238]
push ecx
mov edx, dword [ebp - 4]
add edx, dword [ebp - 0xc]
push edx
call sub.MSVCRT.dll_memcpy
add esp, 0xc
push 4
lea eax, [ebp - 0x234]
push eax
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 4]
lea eax, [edx + ecx + 4]
push eax
call sub.MSVCRT.dll_memcpy
add esp, 0xc
mov ecx, dword [ebp - 0xc]
add ecx, 8
mov dword [ebp - 0xc], ecx
push 8
lea edx, [ebp - 0x240]
push edx
mov eax, dword [ebp - 4]
add eax, dword [ebp - 0xc]
push eax
call sub.MSVCRT.dll_memcpy
add esp, 0xc
mov ecx, dword [ebp - 0xc]
add ecx, 8
mov dword [ebp - 0xc], ecx
lea edx, [ebp - 0x254]
push edx
mov eax, dword [ebp - 0x260]
push eax
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x100072bb
push 0
mov ecx, dword [ebp - 0xc]
push ecx
mov edx, dword [ebp - 4]
push edx
mov ecx, dword [ebp - 0x26c]
call fcn.1000f8b3
mov dword [ebp - 0x114], eax
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov ecx, dword [ebp - 0x260]
push ecx
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [ebp - 0x114]
mov esp, ebp
pop ebp
ret 8