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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x55d480
mov eax, dword fs:[0]
push eax
sub esp, 0x160
mov eax, dword [0x5c7cec]
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 edx, dword [ebp + 8]
xor bl, bl
mov dword [ebp - 0x16c], edi
mov dword [ebp - 0x15c], edx
mov byte [ebp - 0x155], bl
nop word [eax + eax]
test bl, bl
jne 0x4870dd
mov eax, dword [edx]
cmp eax, dword [edi + 4]
jae 0x4870dd
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 - 0x160], ecx
mov dword [ebp - 0x168], esi
cmp byte [esi + 0x18], bl
jne 0x4870d6
mov eax, dword [ecx]
mov dword [ebp - 4], 0
cmp byte [edi + 0x20], bl
je 0x486f4e
add eax, 0xfffffffe
cmp eax, 6
ja case.0x486f5f.2
jmp dword [eax*4 + 0x487100]
push esi
call fcn.00487520
mov edx, dword [ebp - 0x15c]
add esp, 4
mov dword [ebp - 4], 0xffffffff
inc dword [edx]
jmp 0x486e70
mov bl, 1
mov byte [ebp - 0x155], bl
push esi
call fcn.004868b0
mov edx, dword [ebp - 0x15c]
add esp, 4
mov dword [ebp - 4], 0xffffffff
inc dword [edx]
jmp 0x486e70
mov bl, 1
mov byte [ebp - 0x155], bl
push esi
call fcn.00487140
mov edx, dword [ebp - 0x15c]
add esp, 4
mov dword [ebp - 4], 0xffffffff
inc dword [edx]
jmp 0x486e70
mov ecx, esi
call fcn.00486830
mov edx, dword [ebp - 0x15c]
mov dword [ebp - 4], 0xffffffff
inc dword [edx]
jmp 0x486e70
mov bl, 1
mov byte [ebp - 0x155], bl
cmp eax, 8
ja case.0x486f5f.2
jmp dword [eax*4 + 0x48711c]
cmp dword [esi + 0x14], 0x10
jb 0x486f6e
mov esi, dword [esi]
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov edx, dword [ebp - 0x15c]
mov dword [ebp - 4], 0xffffffff
inc dword [edx]
jmp 0x486e70
mov eax, dword [ecx + 8]
mov dword [ebp - 0x164], eax
test eax, eax
je case.0x486f5f.2
cmp dword [esi + 0x14], 0x10
jb 0x486fa2
mov esi, dword [esi]
lea eax, [ebp - 0x154]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov dword [ebp - 0x160], eax
cmp eax, 0xffffffff
je 0x4870c9
mov esi, 1
cmp esi, dword [ebp - 0x164]
jae 0x486fe7
lea ecx, [ebp - 0x154]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
mov eax, dword [ebp - 0x160]
je 0x486fe7
inc esi
jmp 0x486fc4
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov edx, dword [ebp - 0x15c]
mov dword [ebp - 4], 0xffffffff
inc dword [edx]
jmp 0x486e70
push 1
lea eax, [esi + 0x20]
push eax
push esi
call fcn.004873d0
add esp, 0xc
test al, al
je 0x4870c9
push dword [esi + 0x2c]
push dword [esi + 0x28]
mov eax, dword [ebp - 0x160]
mov ecx, dword [eax + 8]
mov eax, dword [edi + 0x10]
lea eax, [eax + ecx*8]
push eax
call fcn.00486d70
mov edx, dword [ebp - 0x15c]
add esp, 0xc
mov dword [ebp - 4], 0xffffffff
inc dword [edx]
jmp 0x486e70
push 0
lea eax, [esi + 0x30]
push eax
push esi
call fcn.004873d0
add esp, 0xc
test al, al
je 0x4870c9
push dword [esi + 0x3c]
push dword [esi + 0x38]
jmp 0x48701f
push esi
call fcn.004868b0
add esp, 4
test al, al
je 0x4870c9
mov eax, dword [edi + 0x24]
test eax, eax
je 0x4870c9
push dword [edi + 0x28]
push eax
mov eax, dword [ebp - 0x160]
mov eax, dword [eax + 8]
shl eax, 4
add eax, dword [edi + 0x18]
push eax
push dword [esi + 0x1c]
call fcn.00486c70
mov edx, dword [ebp - 0x15c]
add esp, 0x10
mov dword [ebp - 4], 0xffffffff
inc dword [edx]
jmp 0x486e70
mov edx, dword [ebp - 0x15c]
mov dword [ebp - 4], 0xffffffff
inc dword [edx]
jmp 0x486e70
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.0040154f
mov esp, ebp
pop ebp
ret 4