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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x56796c
mov eax, dword fs:[0]
push eax
sub esp, 0x278
mov eax, dword [0x5a6124]
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 dword [ebp - 0x284], edx
mov eax, dword [ecx]
sub eax, 0x10
push eax
call fcn.00407010
add eax, 0x10
add esp, 4
mov dword [ebp - 0x268], eax
lea ecx, [ebp - 0x268]
mov dword [ebp - 4], 0
call fcn.004cc650
mov ecx, eax
call fcn.004cc5a0
push 0x57fcd4
push 0x57fcd4
lea ecx, [ebp - 0x268]
call fcn.00489370
mov ecx, eax
call fcn.004cc3c0
mov eax, dword [ebp - 0x268]
cmp dword [eax - 0xc], 0
jne 0x4c9c18
xorps xmm0, xmm0
movlpd qword [ebp - 0x274], xmm0
mov ebx, dword [ebp - 0x270]
mov edi, dword [ebp - 0x274]
jmp 0x4c9f86
push 1
lea eax, [ebp - 0x278]
push eax
lea ecx, [ebp - 0x268]
call fcn.0047c290
mov byte [ebp - 4], 1
mov ecx, 0x584208
mov esi, dword [ebp - 0x278]
mov eax, esi
nop dword [eax]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x4c9c66
test dx, dx
je 0x4c9c62
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x4c9c66
add eax, 4
add ecx, 4
test dx, dx
jne 0x4c9c40
xor eax, eax
jmp 0x4c9c6b
sbb eax, eax
or eax, 1
test eax, eax
setne al
test al, al
je 0x4c9c98
lea edx, [ebp - 0x278]
mov ecx, 0x588aa8
call fcn.004cc250
test al, al
je 0x4c9c98
push 0x584208
lea ecx, [ebp - 0x268]
call fcn.0047c4a0
xorps xmm0, xmm0
movlpd qword [ebp - 0x274], xmm0
call fcn.00408130
mov ecx, eax
test ecx, ecx
jne 0x4c9cb8
push 0x80004005
call fcn.00407c80
mov eax, dword [ecx]
mov edx, dword [eax + 0xc]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x4c9ccd
lock inc dword [ecx + 0x14]
lea eax, [ecx + 8]
jmp 0x4c9ccf
call edx
add eax, 0x10
mov dword [ebp - 0x26c], eax
push 0x250
lea eax, [ebp - 0x260]
mov byte [ebp - 4], 2
push 0
push eax
call fcn.00506b00
push 0x583b3c
lea edx, [ebp - 0x268]
lea ecx, [ebp - 0x280]
call fcn.00450190
add esp, 0x10
lea ecx, [ebp - 0x260]
push ecx
push dword [eax]
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov edx, dword [ebp - 0x280]
mov ebx, eax
mov dword [ebp - 0x27c], ebx
add edx, 0xfffffff0
or ecx, 0xffffffff
lock xadd dword [edx + 0xc], ecx
dec ecx
test ecx, ecx
jg 0x4c9d62
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
mov edi, dword [eax + 4]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x4c9d60
mov ecx, dword [ecx + 4]
mov eax, dword [ecx]
mov edi, dword [eax + 4]
cmp eax, vtable.ATL::CWin32Heap.0
jne 0x4c9d60
push 0
push dword [ecx + 4]
call dword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x4c9d62
call edi
cmp ebx, 0xffffffff
mov ebx, dword [ebp - 0x270]
je 0x4c9eea
mov eax, dword [ebp - 0x274]
mov esi, dword [ebp - 0x27c]
mov dword [ebp - 0x264], eax
lea ecx, [ebp - 0x234]
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4c9d90
sub ecx, edx
lea eax, [ebp - 0x234]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x26c]
call fcn.00407990
mov eax, dword [ebp - 0x26c]
mov edx, 0x5803c4
mov ecx, eax
nop
mov di, word [ecx]
cmp di, word [edx]
jne 0x4c9de6
test di, di
je 0x4c9de2
mov di, word [ecx + 2]
cmp di, word [edx + 2]
jne 0x4c9de6
add ecx, 4
add edx, 4
test di, di
jne 0x4c9dc0
xor ecx, ecx
jmp 0x4c9deb
sbb ecx, ecx
or ecx, 1
test ecx, ecx
je 0x4c9eba
mov ecx, 0x5865e8
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x4c9e1e
test dx, dx
je 0x4c9e1a
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x4c9e1e
add eax, 4
add ecx, 4
test dx, dx
jne 0x4c9df8
xor eax, eax
jmp 0x4c9e23
sbb eax, eax
or eax, 1
test eax, eax
je 0x4c9eba
test byte [ebp - 0x260], 0x10
je 0x4c9e98
mov edi, dword [ebp - 0x284]
test edi, edi
jle 0x4c9e98
lea eax, [ebp - 0x26c]
push eax
lea edx, [ebp - 0x268]
lea ecx, [ebp - 0x270]
call fcn.004cc2f0
add esp, 4
push eax
lea ecx, [ebp - 0x26c]
mov byte [ebp - 4], 3
call fcn.00402730
lea ecx, [ebp - 0x270]
mov byte [ebp - 4], 2
call fcn.00407c20
lea edx, [edi - 1]
lea ecx, [ebp - 0x26c]
call fcn.004c9b70
mov edi, dword [ebp - 0x264]
add edi, eax
mov dword [ebp - 0x264], edi
adc ebx, edx
jmp 0x4c9ec0
mov eax, dword [ebp - 0x240]
xor ecx, ecx
mov edi, dword [ebp - 0x264]
add eax, ecx
adc ecx, dword [ebp - 0x244]
add edi, eax
mov dword [ebp - 0x264], edi
adc ebx, ecx
jmp 0x4c9ec0
mov edi, dword [ebp - 0x264]
lea eax, [ebp - 0x260]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x4c9d83
push dword [ebp - 0x27c]
call dword [sym.imp.KERNEL32.dll_FindClose]
mov esi, dword [ebp - 0x278]
jmp 0x4c9ef6
mov edi, dword [ebp - 0x274]
mov dword [ebp - 0x264], edi
mov byte [ebp - 4], 1
or eax, 0xffffffff
mov ecx, dword [ebp - 0x26c]
add ecx, 0xfffffff0
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x4c9f45
mov edx, dword [ecx]
push ecx
mov eax, dword [edx]
mov edi, dword [eax + 4]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x4c9f3b
mov edx, dword [edx + 4]
mov eax, dword [edx]
mov edi, dword [eax + 4]
cmp eax, vtable.ATL::CWin32Heap.0
jne 0x4c9f3b
push 0
push dword [edx + 4]
call dword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x4c9f3f
mov ecx, edx
call edi
mov edi, dword [ebp - 0x264]
mov byte [ebp - 4], 0
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x4c9f86
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
mov edx, dword [eax + 4]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x4c9f84
mov ecx, dword [ecx + 4]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
cmp eax, vtable.ATL::CWin32Heap.0
jne 0x4c9f84
push 0
push dword [ecx + 4]
call dword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x4c9f86
call edx
mov dword [ebp - 4], 0xffffffff
or eax, 0xffffffff
mov ecx, dword [ebp - 0x268]
add ecx, 0xfffffff0
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x4c9fd2
mov edx, dword [ecx]
push ecx
mov eax, dword [edx]
mov esi, dword [eax + 4]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x4c9fce
mov edx, dword [edx + 4]
mov eax, dword [edx]
mov esi, dword [eax + 4]
cmp eax, vtable.ATL::CWin32Heap.0
jne 0x4c9fce
push 0
push dword [edx + 4]
call dword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x4c9fd2
mov ecx, edx
call esi
mov eax, edi
mov edx, ebx
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.00502bf3
mov esp, ebp
pop ebp
ret