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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffc2c
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x3d4], ebx
mov dword [ebp - 0x3d0], ebx
mov dword [ebp - 0x3cc], ebx
mov dword [ebp - 0x3c8], ebx
mov dword [ebp - 0x3c4], ebx
mov dword [ebp - 0x3c0], ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
call fcn.00404ec0
mov eax, dword [ebp - 0xc]
call fcn.00404ec0
mov eax, dword [ebp + 0xc]
call fcn.00404ec0
mov eax, dword [ebp + 8]
call fcn.00404ec0
xor eax, eax
push ebp
push 0x4b4597
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
call fcn.00409790
test al, al
jne 0x4b3d2d
xor ebx, ebx
jmp 0x4b454a
mov ebx, 0xa
lea eax, [ebp - 0x23]
mov byte [eax], 0
inc eax
dec ebx
jne 0x4b3d35
xor eax, eax
mov dword [ebp - 0x30], eax
mov eax, dword [0x4ba728]
mov byte [eax], 2
mov edx, dword [ebp - 8]
lea eax, [ebp - 0x2bc]
call fcn.00402f68
mov eax, dword [ebp - 8]
call fcn.00409790
test al, al
je 0x4b3d7a
mov edx, 1
lea eax, [ebp - 0x2bc]
call fcn.004034ac
call fcn.00402944
jmp 0x4b3d8f
mov edx, 1
lea eax, [ebp - 0x2bc]
call fcn.004034c8
call fcn.00402944
lea eax, [ebp - 0x2bc]
call fcn.0040331c
call fcn.00402944
mov edx, eax
lea eax, [ebp - 0x2bc]
call fcn.004034d4
call fcn.00402944
cmp dword [ebp - 0xc], 0
je 0x4b3f1e
mov eax, dword [ebp - 0xc]
call fcn.00409790
test al, al
je 0x4b3f1e
mov byte [ebp - 0x23], 2
lea edx, [ebp - 0x14]
mov eax, dword [ebp - 0xc]
call fcn.004099b4
mov edx, dword [ebp - 0x14]
mov eax, 0x4b45b4
call fcn.00405014
mov ebx, eax
test ebx, ebx
jle 0x4b3e17
lea eax, [ebp - 0x3c0]
push eax
mov ecx, ebx
dec ecx
mov edx, 1
mov eax, dword [ebp - 0x14]
call fcn.00404f30
mov edx, dword [ebp - 0x3c0]
lea eax, [ebp - 0x14]
mov ecx, 0x4b45c4
call fcn.00404d1c
mov eax, dword [ebp - 0x14]
call fcn.00404cd0
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
test eax, eax
jle 0x4b3e42
mov ebx, 1
lea edx, [ebp - 0x3bb]
mov ecx, dword [ebp - 0x14]
mov cl, byte [ecx + ebx - 1]
mov byte [edx], cl
inc ebx
inc edx
dec eax
jne 0x4b3e34
push 0
lea edx, [ebp - 0x30]
mov ecx, 4
lea eax, [ebp - 0x2bc]
call fcn.004030ec
call fcn.00402944
push 0
lea edx, [ebp - 0x23]
mov ecx, 0xa
lea eax, [ebp - 0x2bc]
call fcn.004030ec
call fcn.00402944
push 0
lea edx, [ebp - 0x28]
mov ecx, 4
lea eax, [ebp - 0x2bc]
call fcn.004030ec
call fcn.00402944
push 0
lea edx, [ebp - 0x3bb]
mov ecx, dword [ebp - 0x28]
lea eax, [ebp - 0x2bc]
call fcn.004030ec
call fcn.00402944
mov eax, dword [ebp - 0x28]
add eax, 0xe
mov dword [ebp - 0x30], eax
push 0
push 0
push 0
push 0
xor ecx, ecx
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
call fcn.004b125c
mov dword [ebp - 0x28], eax
push 0
lea edx, [ebp - 0x28]
mov ecx, 4
lea eax, [ebp - 0x2bc]
call fcn.004030ec
call fcn.00402944
push 0
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x50a0c]
mov ecx, dword [ebp - 0x28]
lea eax, [ebp - 0x2bc]
call fcn.004030ec
call fcn.00402944
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x50a0c]
call fcn.004027fc
mov eax, dword [ebp - 0x30]
add eax, 4
add eax, dword [ebp - 0x28]
mov dword [ebp - 0x30], eax
mov byte [ebp - 0x19], 1
lea eax, [ebp - 0x18]
call fcn.00409ae4
mov eax, dword [ebp + 0xc]
call fcn.00482f58
test al, al
jne 0x4b3fa8
lea eax, [ebp - 0x3c4]
push eax
mov eax, dword [ebp + 0xc]
call fcn.00404cd0
mov edx, eax
sub edx, 5
mov ecx, 6
mov eax, dword [ebp + 0xc]
call fcn.00404f30
mov eax, dword [ebp - 0x3c4]
lea edx, [ebp - 0x2c]
call fcn.00408c74
mov eax, dword [ebp - 0x2c]
mov edx, 0x4b45d4
call fcn.00404e1c
jne 0x4b3fa8
lea eax, [ebp - 0x3c8]
push eax
mov eax, dword [ebp + 0xc]
call fcn.00404cd0
mov ecx, eax
sub ecx, 6
mov edx, 1
mov eax, dword [ebp + 0xc]
call fcn.00404f30
mov edx, dword [ebp - 0x3c8]
lea eax, [ebp + 0xc]
mov ecx, 0x4b45e4
call fcn.00404d1c
mov eax, dword [ebp + 0xc]
call fcn.00482f58
test al, al
je 0x4b400f
xor eax, eax
push ebp
push 0x4b3fd9
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 0xc]
call fcn.00402980
call fcn.00402944
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4b4027
lea eax, [ebp - 0x2bc]
call fcn.0040310c
call fcn.00402944
mov ebx, dword [ebp - 0x30]
jmp 0x4b454a
lea eax, [ebp - 0x170]
push eax
push 0x4b45ec
call sub.kernel32.dll_FindFirstFileA_1
mov dword [ebp - 0x10], eax
mov byte [ebp - 0x23], 1
mov eax, dword [ebp - 4]
add eax, 0x50a84
mov edx, dword [ebp + 0xc]
call fcn.00404a64
lea eax, [ebp - 0x2c]
push eax
mov eax, dword [ebp + 0xc]
call fcn.00404cd0
push eax
mov eax, dword [ebp + 8]
call fcn.00404cd0
mov edx, eax
inc edx
mov eax, dword [ebp + 0xc]
pop ecx
call fcn.00404f30
mov eax, dword [ebp - 0x2c]
call fcn.00404cd0
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
test eax, eax
jle 0x4b409b
mov ebx, 1
lea edx, [ebp - 0x3bb]
mov ecx, dword [ebp - 0x2c]
mov cl, byte [ecx + ebx - 1]
mov byte [edx], cl
inc ebx
inc edx
dec eax
jne 0x4b408d
push 0
lea edx, [ebp - 0x23]
mov ecx, 0xa
lea eax, [ebp - 0x2bc]
call fcn.004030ec
call fcn.00402944
push 0
lea edx, [ebp - 0x28]
mov ecx, 4
lea eax, [ebp - 0x2bc]
call fcn.004030ec
call fcn.00402944
push 0
lea edx, [ebp - 0x3bb]
mov ecx, dword [ebp - 0x28]
lea eax, [ebp - 0x2bc]
call fcn.004030ec
call fcn.00402944
mov eax, dword [ebp - 0x30]
add eax, 0xa
add eax, 4
add eax, dword [ebp - 0x28]
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x2bc]
call fcn.0040310c
call fcn.00402944
cmp dword [ebp - 0x10], 0xffffffff
je 0x4b450a
lea eax, [ebp - 0x14]
lea edx, [ebp - 0x144]
mov ecx, 0x104
call fcn.00404c80
mov eax, dword [ebp - 0x14]
mov edx, 0x4b45f8
call fcn.00404e1c
je 0x4b4144
mov eax, dword [ebp - 0x14]
mov edx, 0x4b4604
call fcn.00404e1c
jne 0x4b4158
cmp byte [ebp - 0x19], 0
jne 0x4b414e
xor eax, eax
jmp 0x4b4150
mov al, 1
mov byte [ebp - 0x19], al
jmp 0x4b44ea
mov byte [ebp - 0x19], 0
cmp dword [ebp - 0x170], 0x10
jne 0x4b41e3
mov eax, dword [ebp + 0xc]
call fcn.00404cd0
mov edx, dword [ebp + 0xc]
cmp byte [edx + eax - 1], 0x5c
je 0x4b41b2
push dword [ebp + 0xc]
push 0x4b4610
push dword [ebp - 0x14]
lea eax, [ebp - 0x3cc]
mov edx, 3
call fcn.00404d90
mov eax, dword [ebp - 0x3cc]
push eax
mov eax, dword [ebp + 8]
push eax
xor ecx, ecx
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.004b3ca8
add dword [ebp - 0x30], eax
jmp 0x4b44ea
lea eax, [ebp - 0x3d0]
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp + 0xc]
call fcn.00404d1c
mov eax, dword [ebp - 0x3d0]
push eax
mov eax, dword [ebp + 8]
push eax
xor ecx, ecx
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.004b3ca8
add dword [ebp - 0x30], eax
jmp 0x4b44ea
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x50a84]
mov edx, dword [ebp + 0xc]
call fcn.00404e1c
je 0x4b4330
mov eax, dword [ebp - 4]
add eax, 0x50a84
mov edx, dword [ebp + 0xc]
call fcn.00404a64
mov byte [ebp - 0x23], 1
lea eax, [ebp - 0x2c]
push eax
mov eax, dword [ebp + 0xc]
call fcn.00404cd0
push eax
mov eax, dword [ebp + 8]
call fcn.00404cd0
mov edx, eax
inc edx
mov eax, dword [ebp + 0xc]
pop ecx
call fcn.00404f30
mov eax, dword [ebp - 0x2c]
call fcn.00404cd0
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
test eax, eax
jle 0x4b425a
mov ebx, 1
lea edx, [ebp - 0x3bb]
mov ecx, dword [ebp - 0x2c]
mov cl, byte [ecx + ebx - 1]
mov byte [edx], cl
inc ebx
inc edx
dec eax
jne 0x4b424c
mov edx, dword [ebp - 8]
lea eax, [ebp - 0x2bc]
call fcn.00402f68
mov eax, dword [ebp - 8]
call fcn.00409790
test al, al
je 0x4b428b
mov edx, 1
lea eax, [ebp - 0x2bc]
call fcn.004034ac
call fcn.00402944
jmp 0x4b42a0
mov edx, 1
lea eax, [ebp - 0x2bc]
call fcn.004034c8
call fcn.00402944
lea eax, [ebp - 0x2bc]
call fcn.0040331c
call fcn.00402944
mov edx, eax
lea eax, [ebp - 0x2bc]
call fcn.004034d4
call fcn.00402944
push 0
lea edx, [ebp - 0x23]
mov ecx, 0xa
lea eax, [ebp - 0x2bc]
call fcn.004030ec
call fcn.00402944
push 0
lea edx, [ebp - 0x28]
mov ecx, 4
lea eax, [ebp - 0x2bc]
call fcn.004030ec
call fcn.00402944
push 0
lea edx, [ebp - 0x3bb]
mov ecx, dword [ebp - 0x28]
lea eax, [ebp - 0x2bc]
call fcn.004030ec
call fcn.00402944
mov eax, dword [ebp - 0x30]
add eax, 0xa
add eax, 4
add eax, dword [ebp - 0x28]
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x2bc]
call fcn.0040310c
call fcn.00402944
mov byte [ebp - 0x23], 2
mov eax, dword [ebp - 0x14]
call fcn.00404cd0
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
test eax, eax
jle 0x4b435f
mov ebx, 1
lea edx, [ebp - 0x3bb]
mov ecx, dword [ebp - 0x14]
mov cl, byte [ecx + ebx - 1]
mov byte [edx], cl
inc ebx
inc edx
dec eax
jne 0x4b4351
mov eax, dword [0x4ba728]
mov byte [eax], 2
mov edx, dword [ebp - 8]
lea eax, [ebp - 0x2bc]
call fcn.00402f68
mov edx, 1
lea eax, [ebp - 0x2bc]
call fcn.004034ac
call fcn.00402944
lea eax, [ebp - 0x2bc]
call fcn.0040331c
call fcn.00402944
mov edx, eax
lea eax, [ebp - 0x2bc]
call fcn.004034d4
call fcn.00402944
push 0
lea edx, [ebp - 0x23]
mov ecx, 0xa
lea eax, [ebp - 0x2bc]
call fcn.004030ec
call fcn.00402944
push 0
lea edx, [ebp - 0x28]
mov ecx, 4
lea eax, [ebp - 0x2bc]
call fcn.004030ec
call fcn.00402944
push 0
lea edx, [ebp - 0x3bb]
mov ecx, dword [ebp - 0x28]
lea eax, [ebp - 0x2bc]
call fcn.004030ec
call fcn.00402944
mov eax, dword [ebp - 0x30]
add eax, 0xa
add eax, 4
add eax, dword [ebp - 0x28]
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x2bc]
call fcn.004032cc
call fcn.00402944
mov ebx, eax
push 0
lea edx, [ebp - 0x28]
mov ecx, 4
lea eax, [ebp - 0x2bc]
call fcn.004030ec
call fcn.00402944
lea eax, [ebp - 0x2bc]
call fcn.0040310c
call fcn.00402944
push 0
push 0
push 0
push 0
push 0
push dword [ebp + 0xc]
push 0x4b4610
push dword [ebp - 0x14]
lea eax, [ebp - 0x3d4]
mov edx, 3
call fcn.00404d90
mov edx, dword [ebp - 0x3d4]
mov ecx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.004b0fa0
mov dword [ebp - 0x28], eax
mov edx, dword [ebp - 8]
lea eax, [ebp - 0x2bc]
call fcn.00402f68
mov edx, 1
lea eax, [ebp - 0x2bc]
call fcn.004034ac
call fcn.00402944
mov edx, ebx
lea eax, [ebp - 0x2bc]
call fcn.004034d4
call fcn.00402944
push 0
lea edx, [ebp - 0x28]
mov ecx, 4
lea eax, [ebp - 0x2bc]
call fcn.004030ec
call fcn.00402944
lea eax, [ebp - 0x2bc]
call fcn.0040310c
call fcn.00402944
mov eax, dword [ebp - 0x30]
add eax, 4
add eax, dword [ebp - 0x28]
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x170]
push eax
mov eax, dword [ebp - 0x10]
push eax
call sub.kernel32.dll_FindNextFileA
cmp eax, 1
sbb eax, eax
inc eax
test al, al
jne 0x4b4113
jmp 0x4b451c
mov eax, dword [ebp - 0x18]
call fcn.00402980
call fcn.00402944
mov ebx, dword [ebp - 0x30]
jmp 0x4b454a
cmp byte [ebp - 0x19], 0
je 0x4b4531
mov eax, 0x4b4614
call fcn.00402994
call fcn.00402944
mov eax, dword [ebp - 0x18]
call fcn.00402980
call fcn.00402944
mov ebx, dword [ebp - 0x30]
mov eax, dword [ebp - 0x10]
push eax
call sub.kernel32.dll_FindClose_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b459e
lea eax, [ebp - 0x3d4]
mov edx, 6
call fcn.00404a34
lea eax, [ebp - 0x2c]
call fcn.00404a10
lea eax, [ebp - 0x18]
mov edx, 2
call fcn.00404a34
lea eax, [ebp - 0xc]
mov edx, 2
call fcn.00404a34
lea eax, [ebp + 8]
mov edx, 2
call fcn.00404a34
ret