Function at 0x4024e1
Capabilities:
Enumerate files on windows

Disassembly:
push 0x2f4
mov eax, 0x43cae7
call fcn.0041a2c0
mov ebx, dword [0x459e04]
lea ecx, [ebp - 0x2c]
mov edx, ebx
call fcn.0040eaa7
and dword [ebp - 4], 0
lea edx, [ebp - 0x2c]
push str..ext.dll
lea ecx, [ebp - 0x2e8]
call fcn.00402de3
pop ecx
mov edx, eax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x5c]
call fcn.0040eccd
lea ecx, [ebp - 0x2e8]
mov byte [ebp - 4], 3
call fcn.004020b7
cmp dword [ebp - 0x48], 8
lea ecx, [ebp - 0x2c4]
lea eax, [ebp - 0x5c]
cmovae eax, dword [ebp - 0x5c]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov esi, eax
mov dword [ebp - 0x2c8], esi
cmp esi, 0xffffffff
je 0x4026c2
lea eax, [ebp - 0x298]
push eax
lea ecx, [ebp - 0x44]
call fcn.004028b0
mov byte [ebp - 4], 4
mov eax, 0x7ffffffe
sub eax, dword [ebp - 0x1c]
cmp eax, dword [ebp - 0x34]
jb 0x402720
cmp dword [ebp - 0x18], 8
lea ecx, [ebp - 0x2c]
push dword [ebp - 0x34]
cmovae ecx, dword [ebp - 0x2c]
lea eax, [ebp - 0x44]
cmp dword [ebp - 0x30], 8
cmovae eax, dword [ebp - 0x44]
push eax
push dword [ebp - 0x1c]
push ecx
push ecx
push dword [ebp - 0x2c8]
lea ecx, [ebp - 0x74]
call fcn.00403012
lea edx, [ebp - 0x74]
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x300]
call fcn.0040ebb7
mov esi, eax
push 0x44
mov byte [ebp - 4], 6
call fcn.00419942
mov edi, eax
mov dword [ebp - 0x2cc], edi
push 0x44
push 0
push edi
mov byte [ebp - 4], 7
call fcn.0041b630
add esp, 0x10
mov dword [edi], vtable.Extension.0
lea ecx, [edi + 8]
mov dword [edi + 4], ebx
push esi
call fcn.00402372
lea ecx, [edi + 0x2c]
mov dword [edi + 0x24], 1
xor edx, edx
xor eax, eax
mov dword [edi + 0x20], edx
mov dword [edi + 0x28], edx
mov edi, ecx
mov dword [ebp - 0x14], edx
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov dword [ecx + 0x10], edx
mov dword [ecx + 0x14], 0xf
mov byte [ecx], dl
lea ecx, [ebp - 0x14]
call fcn.0040286d
mov esi, dword [ebp - 0x2cc]
and dword [ebp - 0x2d0], 0
mov dword [ebp - 0x14], esi
lea ecx, [ebp - 0x2d0]
call fcn.0040286d
lea ecx, [ebp - 0x300]
mov byte [ebp - 4], 9
call fcn.00402417
mov ecx, esi
call fcn.004017a0
test al, al
je 0x402683
mov eax, dword [ebx + 0x38]
lea ecx, [ebx + 0x34]
cmp eax, dword [ebx + 0x3c]
je 0x402677
and dword [ebp - 0x14], 0
mov dword [eax], esi
add dword [ebx + 0x38], 4
jmp 0x40268a
lea edx, [ebp - 0x14]
push edx
push eax
call fcn.00403296
jmp 0x40268a
mov ecx, esi
call fcn.0040181a
lea ecx, [ebp - 0x14]
call fcn.0040286d
lea ecx, [ebp - 0x74]
call fcn.004020b7
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 3
call fcn.004020b7
mov esi, dword [ebp - 0x2c8]
lea eax, [ebp - 0x2c4]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x40255f
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
lea esi, [ebx + 0x34]
mov eax, dword [esi + 4]
cmp eax, dword [esi + 8]
je 0x4026ec
mov ecx, esi
cmp dword [esi], eax
jne 0x4026e1
call fcn.004029d8
jmp 0x4026ec
sub eax, dword [esi]
sar eax, 2
push eax
call fcn.00402a16
mov edi, dword [esi + 4]
mov esi, dword [esi]
jmp 0x402706
mov ecx, dword [esi]
cmp dword [ecx + 0x24], 2
jl 0x402703
mov ecx, dword [ecx + 0x28]
mov eax, dword [ecx]
call dword [eax + 0xc]
add esi, 4
cmp esi, edi
jne 0x4026f3
lea ecx, [ebp - 0x5c]
call fcn.004020b7
lea ecx, [ebp - 0x2c]
call fcn.004020b7
call fcn.0041a26f
ret
call fcn.0040219a
int3