Function at 0x407ef0
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x4099b9
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x40e01c]
xor eax, esp
mov dword [esp + 0x1c], eax
push ebx
push ebp
mov eax, dword [0x40e01c]
xor eax, esp
push eax
lea eax, [esp + 0x2c]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x3c]
lea ecx, [esp + 0xc]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_void_]
mov dword [esp + 0x34], 0
cmp dword [esi + 0x3c], 0
mov ebx, 0x10
je 0x407fab
mov eax, dword [esi + 0x3c]
add eax, ebx
push eax
lea ecx, [esp + 0x10]
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_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
push 0
push 0x2e
lea ecx, [esp + 0x14]
call dword [sym.imp.MSVCP80.dll_public:_unsigned_int___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::find_first_of_char__unsigned_int_const]
mov ecx, dword [sym.imp.MSVCP80.dll_unsigned_int_const_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::npos]
cmp eax, dword [ecx]
jne 0x407f75
push 0x2e
lea ecx, [esp + 0x10]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::push_back_char_]
cmp dword [esp + 0x24], ebx
mov ecx, dword [esp + 0x10]
jae 0x407f83
lea ecx, [esp + 0x10]
cmp dword [esi + 0x34], ebx
jb 0x407f8d
mov eax, dword [esi + 0x20]
jmp 0x407f90
lea eax, [esi + 0x20]
push ecx
push eax
call fcn.00407c70
add esp, 8
test al, al
jne 0x407fd8
mov edx, dword [esi + 0x3c]
mov eax, dword [edx + 8]
test eax, eax
mov dword [esi + 0x3c], eax
jne 0x407f41
mov eax, dword [esi + 0x38]
test eax, eax
je 0x408001
push edi
push eax
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
lea ecx, [esp + 0xc]
setne bl
mov dword [esp + 0x34], 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 al, bl
jmp 0x408071
mov ecx, dword [esi + 0x3c]
mov eax, edi
call fcn.004081d0
mov ecx, dword [esi + 0x3c]
mov edx, dword [ecx + 8]
lea ecx, [esp + 0xc]
mov dword [esi + 0x3c], edx
mov dword [esp + 0x34], 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 al, 1
jmp 0x408071
cmp dword [esi + 0x18], ebx
jb 0x40800b
mov eax, dword [esi + 4]
jmp 0x40800e
lea eax, [esi + 4]
push ebp
lea ecx, [esp + 0x10]
push ecx
push eax
call fcn.00407950
add esp, 0xc
test eax, eax
je 0x40805d
cmp dword [esp + 0x20], 0
je 0x40805d
cmp dword [esp + 0x24], ebx
mov eax, dword [esp + 0x10]
jae 0x408036
lea eax, [esp + 0x10]
push edi
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
lea ecx, [esp + 0xc]
mov dword [esi + 0x38], eax
setne bl
mov dword [esp + 0x34], 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 al, bl
jmp 0x408071
lea ecx, [esp + 0xc]
mov dword [esp + 0x34], 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_]
xor al, al
mov ecx, dword [esp + 0x2c]
mov dword fs:[0], ecx
pop ecx
pop ebp
pop ebx
mov ecx, dword [esp + 0x1c]
xor ecx, esp
call fcn.00408d59
add esp, 0x2c
ret 4