Function at 0x48b29c
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe0
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov esi, eax
xor eax, eax
push ebp
push 0x48b4f2
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp - 4]
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 0x30]
lea eax, [esi + 0x88]
push eax
lea eax, [ebp - 0x18]
mov ecx, 0x48b514
mov edx, dword [ebp - 4]
call fcn.00405b94
mov eax, dword [ebp - 0x18]
call fcn.00405764
push eax
call sub.kernel32.dll_FindFirstFileW_1
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0xffffffff
setne byte [ebp - 9]
cmp byte [ebp - 9], 0
jne 0x48b323
call sub.kernel32.dll_GetLastError
sub eax, 2
je 0x48b319
sub eax, 3
je 0x48b319
xor eax, eax
jmp 0x48b31b
mov al, 1
mov byte [ebp - 9], al
jmp 0x48b4d7
mov byte [ebp - 0x11], 0
xor eax, eax
push ebp
push 0x48b4d0
push dword fs:[eax]
mov dword fs:[eax], esp
jmp 0x48b49c
mov eax, dword [0x498bf0]
cmp byte [eax], 0
jne 0x48b34b
mov eax, esi
mov edx, dword [eax]
call dword [edx + 0x40]
cmp byte [esi + 0x2d8], 0
je 0x48b362
mov byte [ebp - 9], 0
call fcn.00404750
jmp 0x48b4d7
lea edi, [esi + 0x88]
test dword [edi], 0x10
jbe 0x48b457
lea eax, [edi + 0x2c]
call fcn.0048aee4
test al, al
jne 0x48b478
test byte [esi + 0x61], 1
jne 0x48b39d
lea eax, [esi + 0x88]
call fcn.0048af0c
test al, al
jne 0x48b478
movzx eax, byte [esi + 0x2f0]
sub al, 2
jb 0x48b3b1
sub al, 2
jb 0x48b401
jmp 0x48b478
cmp byte [ebp + 8], 0
je 0x48b3d2
test byte [esi + 0x60], 0x10
je 0x48b3d2
mov eax, esi
mov edx, dword [eax]
call dword [edx + 0x44]
test al, al
je 0x48b3d2
mov edx, dword [ebp - 4]
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 0x38]
cmp byte [esi + 0x2f0], 1
jne 0x48b478
lea eax, [ebp - 0x1c]
lea edx, [edi + 0x2c]
mov ecx, 0x104
call fcn.004058c0
mov edx, dword [ebp - 0x1c]
mov ecx, 1
mov eax, dword [ebp - 8]
mov ebx, dword [eax]
call dword [ebx + 0x3c]
jmp 0x48b478
mov eax, esi
mov edx, dword [eax]
call dword [edx + 0x44]
mov byte [ebp - 0x12], al
cmp byte [ebp + 8], 0
je 0x48b427
test byte [esi + 0x60], 0x10
je 0x48b427
cmp byte [ebp - 0x12], 0
je 0x48b427
mov edx, dword [ebp - 4]
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 0x38]
cmp byte [esi + 0x2f0], 2
sete al
or al, byte [ebp - 0x12]
je 0x48b478
lea eax, [ebp - 0x20]
lea edx, [edi + 0x2c]
mov ecx, 0x104
call fcn.004058c0
mov edx, dword [ebp - 0x20]
movzx ecx, byte [ebp - 0x12]
mov eax, dword [ebp - 8]
mov ebx, dword [eax]
call dword [ebx + 0x3c]
jmp 0x48b478
cmp byte [ebp + 8], 0
je 0x48b478
test byte [esi + 0x60], 0x20
je 0x48b478
mov eax, esi
mov edx, dword [eax]
call dword [edx + 0x48]
test al, al
je 0x48b478
mov edx, dword [ebp - 4]
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 0x34]
lea eax, [esi + 0x88]
push eax
mov eax, dword [ebp - 0x10]
push eax
call sub.kernel32.dll_FindNextFileW
test eax, eax
jne 0x48b49c
mov byte [ebp - 0x11], 1
call sub.kernel32.dll_GetLastError
cmp eax, 0x12
sete byte [ebp - 9]
cmp byte [ebp - 0x11], 0
je 0x48b33a
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48b4d7
mov eax, dword [ebp - 0x10]
push eax
call sub.kernel32.dll_FindClose_1
test eax, eax
je 0x48b4c6
cmp byte [ebp - 9], 0
jne 0x48b4ca
xor eax, eax
jmp 0x48b4cc
mov al, 1
mov byte [ebp - 9], al
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48b4f9
lea eax, [ebp - 0x20]
mov edx, 3
call fcn.004056d0
ret