Function at 0x4020c0
Capabilities:
Enumerate files on windows
Enumerate files recursively

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x559a89
mov eax, dword fs:[0]
push eax
sub esp, 0x324
mov eax, dword [0x5cb218]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, ecx
xor ebx, ebx
mov byte [ebp - 0x329], 1
mov dword [ebp - 0x330], ebx
mov eax, esi
mov dword [ebp - 4], ebx
cmp dword [esi + 0x14], 0x10
jb 0x40210f
mov eax, dword [esi]
mov edi, dword [sym.imp.KERNEL32.dll_FindFirstFileA]
lea ecx, [ebp - 0x328]
push ecx
push eax
call edi
cmp eax, 0xffffffff
je 0x4024a5
test byte [ebp - 0x328], 0x10
je 0x4024a5
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
push 1
mov dword [ebp - 0x2c], 0
lea ecx, [ebp - 0x2c]
push 0x5bc6b0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0xf
mov byte [ebp - 0x2c], 0
call fcn.00406ac0
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 1
push eax
mov edx, esi
lea ecx, [ebp - 0xa4]
call fcn.00407430
add esp, 4
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x18]
cmp edx, 0x10
jb 0x4021b4
mov ecx, dword [ebp - 0x2c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4021aa
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4024ca
push edx
push ecx
call fcn.0052e508
add esp, 8
push 3
mov dword [ebp - 0x44], 0
lea ecx, [ebp - 0x44]
push 0x5bc6b4
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0xf
mov byte [ebp - 0x2c], 0
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0xf
mov byte [ebp - 0x44], 0
call fcn.00406ac0
lea eax, [ebp - 0x44]
mov byte [ebp - 4], 4
push eax
lea edx, [ebp - 0xa4]
lea ecx, [ebp - 0x5c]
call fcn.00407430
add esp, 4
mov byte [ebp - 4], 6
mov edx, dword [ebp - 0x30]
cmp edx, 0x10
jb 0x40223f
mov ecx, dword [ebp - 0x44]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x402235
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4024cf
push edx
push ecx
call fcn.0052e508
add esp, 8
cmp dword [ebp - 0x48], 0x10
lea ecx, [ebp - 0x1e8]
lea eax, [ebp - 0x5c]
mov dword [ebp - 0x34], 0
cmovae eax, dword [ebp - 0x5c]
push ecx
push eax
mov dword [ebp - 0x30], 0xf
mov byte [ebp - 0x44], 0
call edi
mov esi, eax
cmp esi, 0xffffffff
je 0x4023ee
mov edi, dword [sym.imp.KERNEL32.dll_FindNextFileA]
nop word [eax + eax]
cmp byte [ebp - 0x1bc], 0x2e
je 0x4023d5
test byte [ebp - 0x1e8], 0x10
je 0x402462
lea ecx, [ebp - 0x1bc]
mov dword [ebp - 0x74], 0
mov dword [ebp - 0x64], 0
lea edx, [ecx + 1]
mov dword [ebp - 0x60], 0xf
mov byte [ebp - 0x74], 0
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4022c0
sub ecx, edx
lea eax, [ebp - 0x1bc]
push ecx
push eax
lea ecx, [ebp - 0x74]
call fcn.00406ac0
lea eax, [ebp - 0x74]
mov byte [ebp - 4], 7
or ebx, 1
lea edx, [ebp - 0xa4]
push eax
lea ecx, [ebp - 0x8c]
mov dword [ebp - 0x330], ebx
call fcn.00407430
add esp, 4
mov dword [ebp - 4], 8
or ebx, 2
mov ecx, eax
mov dword [ebp - 0x330], ebx
call fcn.004020c0
test al, al
jne 0x402327
cmp byte [ebp - 0x329], al
mov byte [ebp - 0x329], al
je 0x40232e
mov byte [ebp - 0x329], 1
mov dword [ebp - 4], 7
test bl, 2
je 0x402389
mov edx, dword [ebp - 0x78]
and ebx, 0xfffffffd
cmp edx, 0x10
jb 0x402374
mov ecx, dword [ebp - 0x8c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40236a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4024d4
push edx
push ecx
call fcn.0052e508
add esp, 8
mov dword [ebp - 0x7c], 0
mov dword [ebp - 0x78], 0xf
mov byte [ebp - 0x8c], 0
mov dword [ebp - 4], 6
test bl, 1
je 0x4023cc
mov edx, dword [ebp - 0x60]
and ebx, 0xfffffffe
cmp edx, 0x10
jb 0x4023cc
mov ecx, dword [ebp - 0x74]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4023c2
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4024d4
push edx
push ecx
call fcn.0052e508
add esp, 8
cmp byte [ebp - 0x329], 0
je 0x4023e7
lea eax, [ebp - 0x1e8]
push eax
push esi
call edi
test eax, eax
jne 0x402280
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov edx, dword [ebp - 0x48]
cmp edx, 0x10
jb 0x402422
mov ecx, dword [ebp - 0x5c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x402418
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4024d9
push edx
push ecx
call fcn.0052e508
add esp, 8
mov edx, dword [ebp - 0x90]
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 0xf
mov byte [ebp - 0x5c], 0
cmp edx, 0x10
jb 0x402478
mov ecx, dword [ebp - 0xa4]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40246e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4024d9
jmp 0x40246e
mov byte [ebp - 0x329], 0
jmp 0x4023e7
push edx
push ecx
call fcn.0052e508
add esp, 8
mov al, byte [ebp - 0x329]
jmp 0x4024ae
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0052e4fa
mov esp, ebp
pop ebp
ret
call fcn.0053380f
call fcn.0053380f
call fcn.0053380f
call fcn.0053380f
int3