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

Disassembly:
push 0xffffffffffffffff
push 0x424e8a
mov eax, dword fs:[0]
push eax
sub esp, 0x278
mov eax, dword [0x430d5c]
xor eax, esp
mov dword [esp + 0x274], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x430d5c]
xor eax, esp
push eax
lea eax, [esp + 0x28c]
mov dword fs:[0], eax
mov eax, dword [esp + 0x29c]
add eax, 0xfffffff0
push eax
mov dword [esp + 0x298], 0
call fcn.00401670
add eax, 0x10
add esp, 4
mov dword [esp + 0x14], eax
push 1
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x29c], 1
call fcn.00401d30
push 0x4264ac
push eax
mov byte [esp + 0x29c], 2
call fcn.004023c0
mov bl, al
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
add esp, 8
mov byte [esp + 0x294], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x402868
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
je 0x40287a
push 0x4264ac
lea ecx, [esp + 0x18]
call fcn.004025a0
push 0x4264b8
lea ecx, [esp + 0x24]
call fcn.00402320
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x2c]
push eax
mov byte [esp + 0x2a0], 3
call fcn.00401fa0
mov eax, dword [eax]
add esp, 0xc
lea ecx, [esp + 0x38]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov esi, eax
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
mov dword [esp + 0x28], esi
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4028db
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
mov byte [esp + 0x294], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x402903
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp esi, 0xffffffff
je 0x402aff
lea ecx, [esp + 0x38]
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
je 0x402af8
mov ebp, dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
test byte [esp + 0x38], 0x10
je 0x402a8e
call fcn.004082d4
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
je 0x402b88
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x18], eax
lea eax, [esp + 0x64]
mov byte [esp + 0x294], 4
lea edx, [eax + 2]
lea ebx, [ebx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x402970
sub eax, edx
sar eax, 1
push eax
lea ecx, [esp + 0x68]
push ecx
lea ecx, [esp + 0x20]
call fcn.00401c80
lea edx, [esp + 0x18]
push 0x4264b4
push edx
call fcn.004023c0
add esp, 8
test al, al
je 0x402a64
lea eax, [esp + 0x18]
push 0x4264b0
push eax
call fcn.004023c0
add esp, 8
test al, al
je 0x402a64
push 0x4264ac
lea ecx, [esp + 0x20]
call fcn.00402320
lea ecx, [esp + 0x64]
push ecx
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x34]
push eax
mov byte [esp + 0x2a0], 5
call fcn.00402060
add esp, 8
mov ecx, esp
mov dword [esp + 0x38], esp
lea edx, [esp + 0x20]
push edx
push eax
push ecx
mov byte [esp + 0x2a4], 6
call fcn.00401fa0
add esp, 0xc
call fcn.004027b0
mov eax, dword [esp + 0x30]
add eax, 0xfffffff0
add esp, 4
mov byte [esp + 0x294], 5
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x402a3c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
mov byte [esp + 0x294], 4
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x402a64
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
mov byte [esp + 0x294], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x402ae4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x402ae4
xor edi, edi
lea ecx, [esp + 0x64]
push ecx
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x38]
push eax
call fcn.00402060
mov eax, dword [eax]
add esp, 0xc
push eax
call ebp
mov esi, eax
mov eax, dword [esp + 0x30]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x402ace
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp esi, 1
je 0x402ae0
push 0x3e8
call ebx
inc edi
cmp edi, 3
jl 0x402a90
mov esi, dword [esp + 0x28]
lea ecx, [esp + 0x38]
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x40292c
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov edi, dword [esp + 0x14]
push edi
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
mov esi, eax
lea eax, [edi - 0x10]
mov byte [esp + 0x294], 0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x402b30
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x29c]
add eax, 0xfffffff0
mov dword [esp + 0x294], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x402b5e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
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.0041463c
add esp, 0x284
ret
push 0x80004005
call fcn.004010f0
int3