Function at 0x48db60
Capabilities:
Enumerate files on windows
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x574d50
mov eax, dword fs:[0]
push eax
sub esp, 0x164
mov eax, dword [0x5edd38]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov edi, ecx
mov dword [ebp - 0x160], edi
mov eax, dword [ebp + 8]
xor bl, bl
mov dword [ebp - 0x170], edi
mov dword [ebp - 0x164], eax
mov byte [ebp - 0x155], bl
test bl, bl
jne 0x48df11
mov eax, dword [eax]
cmp eax, dword [edi + 4]
jae 0x48df11
lea ecx, [eax + eax*2]
mov eax, dword [edi]
mov esi, dword [eax + ecx*4 + 4]
lea ecx, [eax + ecx*4]
shl esi, 6
add esi, dword [edi + 0x2c]
mov dword [ebp - 0x15c], ecx
mov dword [ebp - 0x16c], esi
cmp byte [esi + 0x18], bl
jne 0x48dd63
mov eax, dword [ecx]
mov dword [ebp - 4], 0
cmp byte [edi + 0x20], bl
je 0x48dcc6
add eax, 0xfffffffe
cmp eax, 6
ja case.0x48dcd7.2
jmp dword [eax*4 + 0x48df34]
push esi
call fcn.0048e3d0
mov eax, dword [ebp - 0x164]
add esp, 4
mov dword [ebp - 4], 0xffffffff
inc dword [eax]
jmp 0x48dbb0
cmp byte [esi + 0x19], 0
lea eax, [esi + 0x19]
mov bl, 1
mov dword [ebp - 0x168], eax
mov byte [ebp - 0x155], bl
jne case.0x48dcd7.2
cmp dword [esi + 0x1c], 0xffffffff
lea eax, [esi + 0x1c]
mov dword [ebp - 0x15c], eax
jne case.0x48dcd7.2
cmp dword [esi + 0x14], 0x10
jb 0x48dc5f
mov esi, dword [esi]
push 0
push 0
push 3
push 0
push 3
push 0x80000000
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov ecx, eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x15c]
cmp ecx, 0xffffffff
mov dword [eax], ecx
sete al
mov ecx, dword [ebp - 0x168]
mov byte [ecx], al
mov eax, dword [ebp - 0x164]
inc dword [eax]
jmp 0x48dbb0
mov bl, 1
mov byte [ebp - 0x155], bl
push esi
call fcn.0048df80
mov eax, dword [ebp - 0x164]
add esp, 4
mov dword [ebp - 4], 0xffffffff
inc dword [eax]
jmp 0x48dbb0
mov bl, 1
mov byte [ebp - 0x155], bl
cmp eax, 8
ja case.0x48dcd7.2
jmp dword [eax*4 + 0x48df50]
cmp dword [esi + 0x14], 0x10
jb 0x48dce6
mov esi, dword [esi]
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov eax, dword [ebp - 0x164]
mov dword [ebp - 4], 0xffffffff
inc dword [eax]
jmp 0x48dbb0
mov edi, dword [ecx + 8]
test edi, edi
je 0x48dd56
cmp dword [esi + 0x14], 0x10
jb 0x48dd10
mov esi, dword [esi]
lea eax, [ebp - 0x154]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov dword [ebp - 0x15c], eax
cmp eax, 0xffffffff
je 0x48dd56
mov esi, 1
nop
cmp esi, edi
jae 0x48dd4f
lea ecx, [ebp - 0x154]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
mov eax, dword [ebp - 0x15c]
je 0x48dd4f
inc esi
jmp 0x48dd30
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov edi, dword [ebp - 0x160]
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x164]
inc dword [eax]
jmp 0x48dbb0
cmp byte [esi + 0x19], 0
lea eax, [esi + 0x19]
mov dword [ebp - 0x15c], eax
jne case.0x48dcd7.2
cmp dword [esi + 0x1c], 0xffffffff
lea eax, [esi + 0x1c]
mov dword [ebp - 0x168], eax
jne case.0x48dcd7.2
cmp dword [esi + 0x14], 0x10
jb 0x48dd96
mov esi, dword [esi]
push 0
push 0
push 3
push 0
push 3
push 0x80000000
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov ecx, eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x168]
cmp ecx, 0xffffffff
mov dword [eax], ecx
sete al
mov ecx, dword [ebp - 0x15c]
mov byte [ecx], al
mov eax, dword [ebp - 0x164]
inc dword [eax]
jmp 0x48dbb0
push 1
lea eax, [esi + 0x20]
push eax
push esi
call fcn.0048e280
add esp, 0xc
test al, al
je case.0x48dcd7.2
push dword [esi + 0x2c]
push dword [esi + 0x28]
mov ecx, dword [ebp - 0x15c]
mov eax, dword [edi + 0x10]
mov ecx, dword [ecx + 8]
lea eax, [eax + ecx*8]
push eax
call fcn.0048dab0
mov eax, dword [ebp - 0x164]
add esp, 0xc
mov dword [ebp - 4], 0xffffffff
inc dword [eax]
jmp 0x48dbb0
push 0
lea eax, [esi + 0x30]
push eax
push esi
call fcn.0048e280
add esp, 0xc
test al, al
je case.0x48dcd7.2
push dword [esi + 0x3c]
push dword [esi + 0x38]
jmp 0x48ddf5
cmp byte [esi + 0x19], 0
jne 0x48de7e
cmp dword [esi + 0x1c], 0xffffffff
jne 0x48de7e
cmp dword [esi + 0x14], 0x10
mov eax, esi
jb 0x48de56
mov eax, dword [esi]
push 0
push 0
push 3
push 0
push 3
push 0x80000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov ecx, dword [ebp - 0x15c]
cmp eax, 0xffffffff
mov dword [esi + 0x1c], eax
sete al
mov byte [esi + 0x19], al
mov edx, dword [esi + 0x1c]
cmp edx, 0xffffffff
je case.0x48dcd7.2
mov eax, dword [edi + 0x24]
test eax, eax
je case.0x48dcd7.2
push dword [edi + 0x28]
push eax
mov eax, dword [ecx + 8]
shl eax, 4
add eax, dword [edi + 0x18]
push eax
push edx
call fcn.0048d9b0
mov eax, dword [ebp - 0x164]
add esp, 0x10
mov dword [ebp - 4], 0xffffffff
inc dword [eax]
jmp 0x48dbb0
mov ecx, esi
call fcn.0048d3d0
mov eax, dword [ebp - 0x164]
mov dword [ebp - 4], 0xffffffff
inc dword [eax]
jmp 0x48dbb0
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00401682
mov esp, ebp
pop ebp
ret 4