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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10148cd8
mov eax, dword fs:[0]
push eax
sub esp, 0x694
mov eax, dword [0x1019646c]
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 eax, dword [ebp + 0xc]
xor ebx, ebx
mov esi, dword [ebp + 8]
xorps xmm0, xmm0
push 0x208
mov dword [ebp - 0x69c], eax
lea eax, [ebp - 0x218]
push ebx
mov dword [ebp - 0x690], ebx
push eax
movlpd qword [ebp - 0x688], xmm0
call fcn.101166b0
mov eax, dword [esi]
add esp, 0xc
cmp dword [eax - 0xc], ebx
jle 0x1004c015
push 0x2a
push eax
call fcn.10116c3d
mov ecx, eax
add esp, 8
mov eax, dword [esi]
test ecx, ecx
je 0x1004c015
sub ecx, eax
sar ecx, 1
cmp ecx, 0xffffffff
jne 0x1004c02a
push 0x10156c58
push eax
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
jmp 0x1004c038
push eax
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_StrCpyW]
push 0x464
lea eax, [ebp - 0x67c]
push 0
push eax
call fcn.101166b0
mov eax, 0x5c
mov dword [ebp - 0x220], ebx
add esp, 0xc
mov word [ebp - 0x224], ax
lea eax, [ebp - 0x218]
mov dword [ebp - 4], 0
push eax
mov dword [ebp - 0x21c], 0
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, 0x104
jge 0x1004c11f
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x650]
push 0x104
push eax
call fcn.10126f5d
push eax
call fcn.1002ed20
add esp, 0x10
lea eax, [ebp - 0x67c]
push eax
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x220], eax
cmp eax, 0xffffffff
je 0x1004c4cc
push 0
lea eax, [ebp - 0x42c]
push eax
push 0x104
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_GetFullPathNameW]
test eax, eax
jne 0x1004c18e
mov dword [ebp - 0x21c], eax
mov eax, dword [ebp - 0x220]
test eax, eax
je 0x1004c117
cmp eax, 0xffffffff
je 0x1004c117
push eax
mov eax, dword [sym.imp.KERNEL32.dll_FindClose]
call eax
mov dword [ebp - 0x220], 0
push 0x7b
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov edi, dword [ebp - 0x688]
mov esi, dword [ebp - 0x684]
mov ecx, dword [ebp - 0x220]
mov dword [ebp - 0x21c], 0
test ecx, ecx
je 0x1004c153
cmp ecx, 0xffffffff
je 0x1004c153
push ecx
call dword [sym.imp.KERNEL32.dll_FindClose]
xor ecx, ecx
mov dword [ebp - 0x220], ecx
mov dword [ebp - 0x21c], 0
test ecx, ecx
je 0x1004c16e
cmp ecx, 0xffffffff
je 0x1004c16e
mov eax, dword [sym.imp.KERNEL32.dll_FindClose]
push ecx
call eax
mov eax, edi
mov edx, esi
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.100f5f8d
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x42c]
push 0x5c
push eax
call fcn.10116ae5
mov esi, eax
lea eax, [ebp - 0x42c]
push 0x2f
push eax
call fcn.10116ae5
mov ecx, eax
add esp, 0x10
test ecx, ecx
jne 0x1004c1bf
test esi, esi
je 0x1004c1da
lea ecx, [ebp - 0x42c]
test esi, esi
lea eax, [ebp - 0x42c]
cmovne eax, esi
cmp ecx, eax
jb 0x1004c1d5
xor eax, eax
mov word [ecx], ax
jmp 0x1004c1da
xor ecx, ecx
mov word [eax], cx
mov esi, dword [ebp - 0x684]
mov eax, 1
mov edi, dword [ebp - 0x688]
mov dword [ebp - 0x21c], eax
mov dword [ebp - 0x68c], esi
mov dword [ebp - 0x680], edi
test eax, eax
je 0x1004c2ea
mov ecx, dword [ebp - 0x67c]
shr ecx, 4
and ecx, 1
je 0x1004c254
cmp word [ebp - 0x650], 0x2e
jne 0x1004c254
mov dx, word [ebp - 0x64e]
test dx, dx
je 0x1004c239
cmp dx, 0x2e
jne 0x1004c254
cmp word [ebp - 0x64c], 0
jne 0x1004c254
mov eax, dword [ebp - 0x220]
test eax, eax
je 0x1004c16e
lea ecx, [ebp - 0x67c]
push ecx
push eax
jmp 0x1004c4b2
test ecx, ecx
je 0x1004c2ea
cmp dword [ebp + 0x10], 0
jne 0x1004c283
mov eax, dword [ebp - 0x220]
test eax, eax
je 0x1004c16e
lea ecx, [ebp - 0x67c]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
jmp 0x1004c4b9
lea eax, [ebp - 0x6a0]
push eax
lea ecx, [ebp - 0x67c]
call fcn.1004c630
mov ecx, dword [ebp + 0x10]
dec ecx
mov byte [ebp - 4], 1
push ecx
push dword [ebp - 0x69c]
push eax
call fcn.1004bf90
add esp, 0xc
mov byte [ebp - 4], 0
add edi, eax
mov dword [ebp - 0x680], edi
adc esi, edx
mov edx, dword [ebp - 0x6a0]
mov dword [ebp - 0x68c], esi
add edx, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x1004c2df
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x21c]
jmp 0x1004c494
mov ecx, dword [ebp - 0x69c]
mov edi, dword [ecx]
mov ecx, dword [ecx + 4]
mov dword [ebp - 0x684], ecx
cmp edi, ecx
jne 0x1004c370
mov dword [ebp - 0x684], 0
test eax, eax
je 0x1004c334
mov edi, dword [ebp - 0x680]
mov ecx, dword [ebp - 0x65c]
add edi, ecx
mov edx, dword [ebp - 0x660]
adc esi, edx
mov dword [ebp - 0x680], edi
mov dword [ebp - 0x68c], esi
jmp 0x1004c494
mov edi, dword [ebp - 0x680]
xorps xmm0, xmm0
movlpd qword [ebp - 0x688], xmm0
mov ecx, dword [ebp - 0x688]
add edi, ecx
mov edx, dword [ebp - 0x684]
adc esi, edx
mov dword [ebp - 0x680], edi
mov dword [ebp - 0x68c], esi
jmp 0x1004c494
mov byte [ebp - 4], 2
mov dword [ebp - 0x694], 0
call fcn.10017640
mov ecx, eax
test ecx, ecx
je 0x1004c4dd
mov eax, dword [ecx]
call dword [eax + 0xc]
or ebx, 1
cmp dword [ebp - 0x21c], 0
mov dword [ebp - 0x690], ebx
lea esi, [eax + 0x10]
mov dword [ebp - 0x694], esi
je 0x1004c3de
lea eax, [ebp - 0x650]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x1004c3b6
sub eax, edx
lea ecx, [ebp - 0x694]
sar eax, 1
push eax
lea eax, [ebp - 0x650]
push eax
call fcn.1001c180
mov esi, dword [ebp - 0x694]
push dword [edi]
push esi
call dword [sym.imp.SHLWAPI.dll_PathMatchSpecW]
and dword [ebp - 0x690], 0xfffffffe
mov ebx, eax
mov byte [ebp - 4], 0
add esi, 0xfffffff0
or ecx, 0xffffffff
lock xadd dword [esi + 0xc], ecx
dec ecx
test ecx, ecx
jg 0x1004c40c
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x21c]
test ebx, ebx
je 0x1004c473
mov dword [ebp - 0x694], 0
test eax, eax
je 0x1004c446
mov ecx, dword [ebp - 0x65c]
add dword [ebp - 0x680], ecx
mov esi, dword [ebp - 0x68c]
mov edx, dword [ebp - 0x660]
adc esi, edx
mov dword [ebp - 0x68c], esi
jmp 0x1004c479
mov esi, dword [ebp - 0x68c]
xorps xmm0, xmm0
movlpd qword [ebp - 0x698], xmm0
mov ecx, dword [ebp - 0x698]
add dword [ebp - 0x680], ecx
mov edx, dword [ebp - 0x694]
adc esi, edx
mov dword [ebp - 0x68c], esi
jmp 0x1004c479
mov esi, dword [ebp - 0x68c]
mov ebx, dword [ebp - 0x690]
add edi, 4
cmp edi, dword [ebp - 0x684]
jne 0x1004c370
mov edi, dword [ebp - 0x680]
mov ecx, dword [ebp - 0x220]
test ecx, ecx
je 0x1004c16e
test eax, eax
je 0x1004c131
lea eax, [ebp - 0x67c]
push eax
push ecx
mov eax, dword [sym.imp.KERNEL32.dll_FindNextFileW]
call eax
mov dword [ebp - 0x21c], eax
test eax, eax
jne 0x1004c205
jmp 0x1004c12b
mov esi, dword [ebp - 0x684]
mov edi, dword [ebp - 0x688]
jmp 0x1004c16e
push 0x80004005
call fcn.10013b40
int3