Function at 0x410e70
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x154
mov eax, dword [0x4cc8c0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
push 0x140
mov dword [ebp - 0x154], eax
lea eax, [ebp - 0x144]
push 0
push eax
mov dword [ebp - 0x150], edi
call fcn.00466ad0
push edi
call fcn.00451684
add esp, 0x10
test eax, eax
jne 0x410f01
lea eax, [ebp - 0x144]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov esi, eax
mov dword [ebp - 0x148], esi
cmp esi, 0xffffffff
je 0x410f01
push 0x114
push 1
call fcn.004701d4
mov ebx, eax
pop ecx
pop ecx
test ebx, ebx
jne 0x410f13
push 0x114
push edi
push str.:5:FindFirstFileOrdered___s___FAILED:_calloc__d__FAILED.
call fcn.0040d511
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
or eax, 0xffffffff
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004654a8
leave
ret
push 0x104
lea esi, [ebx + 0x10]
push edi
push esi
call fcn.00452b01
push esi
call fcn.0045201f
push esi
call fcn.00451f5e
push esi
call fcn.00451da8
push esi
call fcn.004500ef
and dword [ebx + 0xc], 0
mov esi, 0x140
and dword [ebx + 4], 0
push esi
push 0x33
mov dword [ebx + 8], 0x32
call fcn.004701d4
add esp, 0x24
mov dword [ebx], eax
test eax, eax
jne 0x410f8b
mov eax, dword [ebx + 8]
add eax, esi
push eax
push edi
push str.:5:FindFirstFileOrdered___s___FAILED:_calloc2__d__FAILED.
call fcn.0040d511
add esp, 0xc
push dword [ebp - 0x148]
call dword [sym.imp.KERNEL32.dll_FindClose]
push ebx
call fcn.004701df
pop ecx
jmp 0x410f01
mov eax, dword [ebp + 0x10]
mov esi, dword [ebp - 0x148]
and eax, 0x200000
mov dword [ebp - 0x14c], eax
test eax, eax
je 0x410fb0
test byte [ebp - 0x144], 0x10
jne 0x411049
test dword [ebp + 0x10], 0x800000
je 0x410fc6
test byte [ebp - 0x144], 0x10
je 0x411049
test dword [ebp + 0x10], 0x400000
je 0x410ffd
lea eax, [ebp - 0x118]
push 0x489fcc
push eax
call fcn.00470487
pop ecx
pop ecx
test eax, eax
je 0x411049
lea eax, [ebp - 0x118]
push 0x491af0
push eax
call fcn.00470487
pop ecx
pop ecx
test eax, eax
je 0x411049
mov eax, dword [ebx + 8]
cmp dword [ebx + 4], eax
jl 0x41102c
imul eax, eax, 0x280
mov edi, 0x140
add eax, edi
push eax
push dword [ebx]
call fcn.00471ac4
pop ecx
pop ecx
mov ecx, eax
mov eax, dword [ebx + 8]
add eax, eax
test ecx, ecx
je 0x411066
mov dword [ebx], ecx
mov dword [ebx + 8], eax
imul edi, dword [ebx + 4], 0x140
lea esi, [ebp - 0x144]
push 0x50
pop ecx
add edi, dword [ebx]
rep movsd dword es:[edi], dword [esi]
inc dword [ebx + 4]
mov esi, dword [ebp - 0x148]
lea eax, [ebp - 0x144]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
je 0x41107d
mov eax, dword [ebp - 0x14c]
jmp 0x410f9f
inc eax
push eax
push dword [ebp - 0x150]
push str.:FindFirstFileOrdered___s___FAILED:_realloc___FAILED_to_allocate__d_file_slots.
call fcn.0040d511
add esp, 0xc
jmp 0x411082
mov edi, 0x140
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [ebx + 4]
test eax, eax
jg 0x4110a3
push dword [ebx]
call fcn.004701df
push ebx
call fcn.004701df
pop ecx
jmp 0x410f85
test byte [ebp + 0x10], 1
mov esi, 0x100000
je 0x4110cb
test dword [ebp + 0x10], esi
je 0x4110ba
push 0x411350
jmp 0x4110bf
push fcn.00411336
push edi
push eax
push dword [ebx]
call fcn.00471ad0
add esp, 0x10
test byte [ebp + 0x10], 2
je 0x4110f0
test dword [ebp + 0x10], esi
je 0x4110dd
push 0x411277
jmp 0x4110e2
push 0x41125e
push edi
push dword [ebx + 4]
push dword [ebx]
call fcn.00471ad0
add esp, 0x10
test byte [ebp + 0x10], 4
je 0x411115
test dword [ebp + 0x10], esi
je 0x411102
push 0x41131d
jmp 0x411107
push 0x411304
push edi
push dword [ebx + 4]
push dword [ebx]
call fcn.00471ad0
add esp, 0x10
test byte [ebp + 0x10], 8
je 0x41113a
test dword [ebp + 0x10], esi
je 0x411127
push 0x41120f
jmp 0x41112c
push 0x4111f6
push edi
push dword [ebx + 4]
push dword [ebx]
call fcn.00471ad0
add esp, 0x10
test byte [ebp + 0x10], 0x10
je 0x41115f
test dword [ebp + 0x10], esi
je 0x41114c
push 0x4113b6
jmp 0x411151
push 0x41136a
push edi
push dword [ebx + 4]
push dword [ebx]
call fcn.00471ad0
add esp, 0x10
test byte [ebp + 0x10], 0x20
je 0x411184
test dword [ebp + 0x10], esi
je 0x411171
push 0x411244
jmp 0x411176
push 0x411228
push edi
push dword [ebx + 4]
push dword [ebx]
call fcn.00471ad0
add esp, 0x10
test byte [ebp + 0x10], 0x40
je 0x4111a9
test dword [ebp + 0x10], esi
je 0x411196
push 0x4112f0
jmp 0x41119b
push fcn.00411290
push edi
push dword [ebx + 4]
push dword [ebx]
call fcn.00471ad0
add esp, 0x10
mov eax, dword [ebp - 0x154]
test eax, eax
je 0x4111c6
imul esi, dword [ebx + 0xc], 0x140
mov edi, eax
push 0x50
pop ecx
add esi, dword [ebx]
rep movsd dword es:[edi], dword [esi]
inc dword [ebx + 0xc]
mov eax, dword [0x4d5aa4]
test eax, eax
jne 0x4111d9
call fcn.00443594
mov dword [0x4d5aa4], eax
push ebx
push eax
call fcn.00443a46
cmp dword [0x4d5aa4], 0
pop ecx
pop ecx
je 0x411090
mov eax, ebx
jmp 0x410f04