Function at 0x402e20
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x405d50
mov eax, dword fs:[0]
push eax
sub esp, 0x160
mov eax, dword [0x40b61c]
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 edi, ecx
mov dword [ebp - 0x164], edi
mov edx, dword [ebp + 8]
xor bl, bl
mov dword [ebp - 0x16c], edi
mov dword [ebp - 0x158], edx
mov byte [ebp - 0x159], bl
test bl, bl
jne 0x4030cc
mov eax, dword [edx]
cmp eax, dword [edi + 4]
jae 0x4030cc
lea ecx, [eax + eax*2]
mov eax, dword [edi]
mov esi, dword [eax + ecx*4 + 4]
lea ecx, [eax + ecx*4]
shl esi, 6
add esi, dword [edi + 0x2c]
mov dword [ebp - 0x160], ecx
mov dword [ebp - 0x168], esi
cmp byte [esi + 0x18], bl
jne 0x402fcc
mov eax, dword [ecx]
mov dword [ebp - 4], 0
cmp byte [edi + 0x20], bl
je 0x402f25
add eax, 0xfffffffe
cmp eax, 5
ja case.0x402f36.2
jmp dword [eax*4 + 0x4030ec]
push esi
call fcn.00403280
mov edx, dword [ebp - 0x158]
add esp, 4
mov dword [ebp - 4], 0xffffffff
inc dword [edx]
jmp 0x402e70
mov bl, 1
mov byte [ebp - 0x159], bl
push esi
call fcn.00402890
mov edx, dword [ebp - 0x158]
add esp, 4
mov dword [ebp - 4], 0xffffffff
inc dword [edx]
jmp 0x402e70
mov ecx, esi
call fcn.00402810
mov edx, dword [ebp - 0x158]
mov dword [ebp - 4], 0xffffffff
inc dword [edx]
jmp 0x402e70
mov bl, 1
mov byte [ebp - 0x159], bl
cmp eax, 7
ja case.0x402f36.2
jmp dword [eax*4 + 0x403104]
cmp dword [esi + 0x14], 0x10
jb 0x402f45
mov esi, dword [esi]
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov edx, dword [ebp - 0x158]
mov dword [ebp - 4], 0xffffffff
inc dword [edx]
jmp 0x402e70
mov edi, dword [ecx + 8]
test edi, edi
je 0x4030b8
cmp dword [esi + 0x14], 0x10
jb 0x402f73
mov esi, dword [esi]
lea eax, [ebp - 0x154]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov dword [ebp - 0x160], eax
cmp eax, 0xffffffff
je 0x402fb9
mov esi, 1
cmp edi, esi
jbe 0x402fb2
lea ecx, [ebp - 0x154]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
mov eax, dword [ebp - 0x160]
je 0x402fb2
inc esi
cmp esi, edi
jb 0x402f95
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov edi, dword [ebp - 0x164]
mov edx, dword [ebp - 0x158]
mov dword [ebp - 4], 0xffffffff
inc dword [edx]
jmp 0x402e70
push 1
lea eax, [esi + 0x20]
push eax
push esi
call fcn.00403130
add esp, 0xc
test al, al
je 0x402fbf
push dword [esi + 0x2c]
push dword [esi + 0x28]
mov eax, dword [ebp - 0x160]
mov ecx, dword [eax + 8]
mov eax, dword [edi + 0x10]
lea eax, [eax + ecx*8]
push eax
call fcn.00402d70
mov edx, dword [ebp - 0x158]
add esp, 0xc
mov dword [ebp - 4], 0xffffffff
inc dword [edx]
jmp 0x402e70
push 0
lea eax, [esi + 0x30]
push eax
push esi
call fcn.00403130
add esp, 0xc
test al, al
je 0x402fbf
push dword [esi + 0x3c]
push dword [esi + 0x38]
jmp 0x402fec
push esi
call fcn.00402890
add esp, 4
test al, al
je 0x402fbf
mov eax, dword [edi + 0x24]
test eax, eax
je 0x402fbf
push dword [edi + 0x28]
push eax
mov eax, dword [ebp - 0x160]
mov eax, dword [eax + 8]
shl eax, 4
add eax, dword [edi + 0x18]
push eax
push dword [esi + 0x1c]
call fcn.00402c80
mov edx, dword [ebp - 0x158]
add esp, 0x10
mov dword [ebp - 4], 0xffffffff
inc dword [edx]
jmp 0x402e70
mov edi, dword [ebp - 0x164]
inc dword [edx]
mov dword [ebp - 4], 0xffffffff
jmp 0x402e70
mov al, bl
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.00404c9b
mov esp, ebp
pop ebp
ret 4