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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x570b2e
mov eax, dword fs:[0]
push eax
sub esp, 0x25c
mov eax, dword [0x5cac4c]
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, dword [ebp + 8]
mov dword [ebp - 0x264], ebx
push 0x140
lea eax, [ebp - 0x254]
mov dword [ebp - 4], 0
push 0
push eax
call fcn.00507970
add esp, 0xc
lea ecx, [ebp - 0x258]
push ebx
call fcn.004a39d0
mov eax, dword [ebp - 0x258]
mov ecx, 0x595e4c
sub ecx, eax
mov byte [ebp - 4], 1
push 4
push 0x595e4c
mov edi, dword [eax - 0xc]
mov dword [ebp - 0x25c], ecx
call fcn.00533a19
mov ebx, eax
mov ecx, SysReAllocString
sub ecx, ebx
add esp, 8
cmp ecx, edi
jl 0x4d2e36
lea esi, [edi + ebx]
test esi, esi
js 0x4d2e40
mov eax, dword [ebp - 0x258]
mov edx, 1
mov ecx, dword [eax - 8]
sub edx, dword [eax - 4]
sub ecx, esi
or ecx, edx
jge 0x4d2bfe
push esi
lea ecx, [ebp - 0x258]
call fcn.00414e70
mov eax, dword [ebp - 0x258]
mov ecx, dword [ebp - 0x25c]
cmp ecx, edi
ja 0x4d2c0c
add ecx, eax
jmp 0x4d2c11
mov ecx, 0x595e4c
push ebx
push ecx
add eax, edi
push ebx
push eax
call fcn.004d3560
mov eax, dword [ebp - 0x258]
add esp, 0x10
cmp esi, dword [eax - 8]
jg 0x4d2e36
mov dword [eax - 0xc], esi
mov eax, dword [ebp - 0x258]
mov byte [esi + eax], 0
lea eax, [ebp - 0x254]
push eax
push dword [ebp - 0x258]
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x4d2de0
mov edi, dword [ebp + 0xc]
nop dword [eax]
mov ecx, 0x586e74
lea eax, [ebp - 0x228]
nop dword [eax + eax]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x4d2c90
test dl, dl
je 0x4d2c8c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x4d2c90
add eax, 2
add ecx, 2
test dl, dl
jne 0x4d2c70
xor eax, eax
jmp 0x4d2c95
sbb eax, eax
or eax, 1
test eax, eax
je 0x4d2dc3
mov ecx, 0x57cd48
lea eax, [ebp - 0x228]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x4d2cc8
test dl, dl
je 0x4d2cc4
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x4d2cc8
add eax, 2
add ecx, 2
test dl, dl
jne 0x4d2ca8
xor eax, eax
jmp 0x4d2ccd
sbb eax, eax
or eax, 1
test eax, eax
je 0x4d2dc3
mov ecx, dword [ebp + 0x34]
test ecx, ecx
je 0x4d2d12
lea eax, [ebp - 0x25c]
mov dword [ebp - 0x25c], 0
lea edx, [ebp - 0x260]
mov dword [ebp - 0x260], eax
mov eax, dword [ecx]
push edx
lea edx, [ebp - 0x254]
push edx
call dword [eax + 8]
cmp dword [ebp - 0x25c], 0
jne 0x4d2dd9
test edi, edi
je 0x4d2dc3
test byte [ebp - 0x254], 0x10
je 0x4d2dc3
push 0x104
lea eax, [ebp - 0x114]
push 0
push eax
call fcn.00507970
mov esi, dword [ebp - 0x264]
lea ecx, [ebp - 0x114]
mov eax, ecx
add esp, 0xc
mov edx, 0x104
sub esi, eax
lea eax, [edx + 0x7ffffefa]
test eax, eax
je 0x4d2d6b
mov al, byte [esi + ecx]
test al, al
je 0x4d2d6b
mov byte [ecx], al
inc ecx
sub edx, 1
jne 0x4d2d52
test edx, edx
lea eax, [ecx - 1]
cmovne eax, ecx
mov byte [eax], 0
lea eax, [ebp - 0x228]
push eax
lea eax, [ebp - 0x114]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendA]
sub esp, 0x28
mov esi, esp
mov dword [ebp - 0x268], esi
mov dword [esi + 0x24], 0
mov ecx, dword [ebp + 0x34]
mov byte [ebp - 4], 2
test ecx, ecx
je 0x4d2daf
mov eax, dword [ecx]
push esi
call dword [eax]
mov dword [esi + 0x24], eax
lea eax, [ebp - 0x114]
mov byte [ebp - 4], 1
push edi
push eax
call fcn.004d2b30
add esp, 0x30
lea eax, [ebp - 0x254]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x4d2c60
push ebx
call dword [sym.imp.KERNEL32.dll_FindClose]
mov edx, dword [ebp - 0x258]
or eax, 0xffffffff
add edx, 0xfffffff0
mov byte [ebp - 4], 0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4d2e02
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp + 0x34]
test ecx, ecx
je 0x4d2e1a
mov edx, dword [ecx]
lea eax, [ebp + 0x10]
cmp ecx, eax
setne al
movzx eax, al
push eax
call dword [edx + 0x10]
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.004aa2b8
mov esp, ebp
pop ebp
ret
push 0x80070057
call fcn.0040ad60
push 0x80070057
call fcn.0040ad60
int3