Function at 0x100077c0
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x1001066c
mov eax, dword fs:[0]
push eax
sub esp, 0x278
mov eax, dword [0x1001734c]
xor eax, esp
mov dword [esp + 0x274], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x1001734c]
xor eax, esp
push eax
lea eax, [esp + 0x28c]
mov dword fs:[0], eax
mov edi, dword [esp + 0x29c]
lea ecx, [esp + 0x20]
mov dword [esp + 0x1c], edi
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_void_]
push 0x10c
lea eax, [esp + 0x180]
push 0
push eax
mov dword [esp + 0x2a0], 0
call sub.MSVCR80.dll_memset
mov esi, dword [esp + 0x2ac]
add esp, 0xc
push esi
lea ecx, [esp + 0x180]
push ecx
mov ecx, edi
call fcn.10002ed0
cmp eax, esi
lea ecx, [esp + 0x20]
je 0x1000786a
mov dword [esp + 0x294], 0xffffffff
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
or eax, 0xffffffff
jmp 0x10007a5d
lea edx, [esp + 0x17c]
push edx
call dword [sym.imp.MSVCP80.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::operator_char_const__]
push 0x10011c20
lea ecx, [esp + 0x24]
call dword [sym.imp.MSVCP80.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::append_char_const__]
lea eax, [esp + 0x17c]
push eax
call fcn.100056f0
lea eax, [esp + 0x180]
add esp, 4
add eax, 0xffffffff
mov cl, byte [eax + 1]
add eax, 1
test cl, cl
jne 0x100078a1
mov ecx, dword [str..]
mov dl, byte [0x10011fb0]
mov dword [eax], ecx
mov byte [eax + 4], dl
call fcn.10005940
mov ebx, eax
lea eax, [esp + 0x17c]
push eax
mov dword [esp + 0x18], ebx
call fcn.10006f50
mov esi, eax
add esp, 4
test esi, esi
jle 0x100079db
lea ecx, [esp + 0x3c]
push ecx
lea edx, [esp + 0x180]
push edx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov ebp, eax
cmp ebp, 0xffffffff
je 0x100079db
lea edi, [esi + esi*4]
shl edi, 6
push edi
call fcn.1000bbf6
push edi
mov esi, eax
push 0
push esi
call sub.MSVCR80.dll_memset
add esp, 0x10
mov ebx, esi
jmp 0x10007920
mov edx, dword [esp + 0x3c]
test dl, 0x10
je 0x1000793a
lea eax, [esp + 0x68]
push eax
call fcn.10006f20
add esp, 4
test eax, eax
jne 0x10007992
mov dword [esi], edx
mov ecx, dword [esp + 0x58]
mov dword [esi + 4], ecx
mov edx, dword [esp + 0x5c]
add esi, 4
mov dword [esi + 4], edx
mov eax, dword [esp + 0x50]
add esi, 4
add esi, 4
mov dword [esi], eax
mov ecx, dword [esp + 0x54]
add esi, 4
mov dword [esi], ecx
add esi, 4
lea eax, [esp + 0x68]
mov edx, esi
mov ecx, eax
sub edx, ecx
nop
mov cl, byte [eax]
mov byte [edx + eax], cl
add eax, 1
test cl, cl
jne 0x10007970
lea eax, [esp + 0x68]
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x10007983
sub eax, edx
lea esi, [esi + eax + 1]
lea edx, [esp + 0x3c]
push edx
push ebp
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x10007920
mov dword [esi], 0xffffffff
push ebp
add esi, 4
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [esp + 0x1c]
push 0
sub esi, ebx
push esi
push ebx
push edi
push 0xa000
call fcn.10002f60
push ebx
call sub.MSVCR80.dll_void___cdecl_operator_delete___void__
add esp, 4
cmp dword [esp + 0x14], 0
jmp 0x10007a3b
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x52e
je 0x10007a16
cmp eax, 5
je 0x10007a16
cmp eax, 0x3ed
je 0x10007a16
cmp eax, 0x15
je 0x10007a16
cmp eax, 3
je 0x10007a16
cmp eax, 0x7b
je 0x10007a16
push 0
push 4
lea eax, [esp + 0x1c]
mov dword [esp + 0x1c], 0xffffffff
push eax
jmp 0x10007a2b
push 0
push 8
lea ecx, [esp + 0x1c]
mov dword [esp + 0x1c], 0xfffffffe
mov dword [esp + 0x20], eax
push ecx
push 0xffffffffffffffff
push 0xa000
mov ecx, edi
call fcn.10002f60
test ebx, ebx
je 0x10007a43
call dword [sym.imp.ADVAPI32.dll_RevertToSelf]
lea ecx, [esp + 0x20]
mov dword [esp + 0x294], 0xffffffff
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov eax, 1
mov ecx, dword [esp + 0x28c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x274]
xor ecx, esp
call fcn.1000bc08
add esp, 0x284
ret