Function at 0x477a4f
Capabilities:
Enumerate files on windows

Disassembly:
push 0x6f4
mov eax, 0x55f7f7
call fcn.004a9932
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x498]
mov edi, dword [ebp + 0xc]
push eax
call fcn.00419540
xor ebx, ebx
lea ecx, [ebp - 0x480]
push edi
mov dword [ebp - 4], ebx
call fcn.00419540
lea eax, [ebp - 0x480]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0x468]
push eax
call fcn.0047335a
lea eax, [ebp - 0x468]
mov byte [ebp - 4], 2
push eax
call fcn.0047303e
lea eax, [ebp - 0x468]
push eax
lea eax, [ebp - 0x450]
push eax
call fcn.00472eb6
add esp, 0x14
lea ecx, [ebp - 0x480]
push eax
call fcn.0041b4a0
push ebx
push 1
lea ecx, [ebp - 0x450]
call fcn.00419c20
mov esi, 0x56d174
push esi
call fcn.00488e51
pop ecx
push eax
push esi
lea ecx, [ebp - 0x498]
call fcn.00419e50
cmp dword [ebp - 0x484], 8
lea ecx, [ebp - 0x700]
lea eax, [ebp - 0x498]
cmovae eax, dword [ebp - 0x498]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x477d57
lea eax, [ebp - 0x700]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
je 0x477d57
xor eax, eax
mov dword [ebp - 0x424], 7
mov dword [ebp - 0x428], ebx
mov word [ebp - 0x438], ax
cmp word [ebp - 0x6d4], ax
jne 0x477b5a
mov eax, ebx
jmp 0x477b67
lea eax, [ebp - 0x6d4]
push eax
call fcn.00488e51
pop ecx
push eax
lea eax, [ebp - 0x6d4]
push eax
lea ecx, [ebp - 0x438]
call fcn.00419ff0
lea eax, [ebp - 0x438]
mov byte [ebp - 4], 3
push eax
lea eax, [ebp - 0x4b0]
push eax
call fcn.0047335a
pop ecx
pop ecx
push eax
lea ecx, [ebp - 0x468]
call fcn.00420510
push ebx
push 1
lea ecx, [ebp - 0x4b0]
call fcn.0041bbd0
lea eax, [ebp - 0x468]
push eax
call fcn.0047303e
lea eax, [ebp - 0x468]
push eax
lea eax, [ebp - 0x4b0]
push eax
call fcn.00472eb6
add esp, 0xc
lea ecx, [ebp - 0x438]
push eax
call fcn.0041b4a0
push ebx
push 1
lea ecx, [ebp - 0x4b0]
call fcn.00419c20
push 0x2e
pop eax
cmp word [ebp - 0x6d4], ax
je 0x477cfb
cmp word [ebp - 0x6d2], 0
je 0x477cfb
cmp word [ebp - 0x6d2], ax
jne 0x477c1e
cmp word [ebp - 0x6d0], 0
je 0x477cfb
test byte [ebp - 0x700], 0x10
jne 0x477cfb
push 0x208
lea eax, [ebp - 0x420]
push ebx
push eax
call fcn.00485370
push 0x208
lea eax, [ebp - 0x218]
push ebx
push eax
call fcn.00485370
cmp dword [ebp - 0x424], 8
lea eax, [ebp - 0x438]
cmovae eax, dword [ebp - 0x438]
push eax
lea eax, [ebp - 0x218]
push 0x56d048
push eax
call fcn.00434b60
lea eax, [ebp - 0x420]
push eax
lea eax, [ebp - 0x218]
push eax
call fcn.00470963
lea eax, [ebp - 0x420]
push str..lnk
push eax
call fcn.0048efc8
add esp, 0x34
test eax, eax
jne 0x477cfb
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x450]
push eax
call fcn.00470aa4
cmp dword [ebp - 0x46c], 8
lea ecx, [ebp - 0x480]
lea eax, [ebp - 0x450]
mov byte [ebp - 4], 4
cmovae ecx, dword [ebp - 0x480]
cmp dword [ebp - 0x43c], 8
push ecx
cmovae eax, dword [ebp - 0x450]
push eax
call fcn.00471fd1
add esp, 0x10
test eax, eax
jne 0x477d12
push ebx
push 1
lea ecx, [ebp - 0x450]
call fcn.00419c20
push ebx
push 1
lea ecx, [ebp - 0x438]
mov byte [ebp - 4], 2
call fcn.00419c20
jmp 0x477b1e
cmp dword [ebp - 0x43c], 8
lea eax, [ebp - 0x450]
cmovae eax, dword [ebp - 0x450]
push eax
push edi
call fcn.0048efc8
xor ebx, ebx
test eax, eax
pop ecx
pop ecx
setne bl
lea ecx, [ebp - 0x450]
xor esi, esi
inc ebx
push esi
push 1
call fcn.00419c20
push esi
push 1
lea ecx, [ebp - 0x438]
call fcn.00419c20
jmp 0x477d59
xor esi, esi
push esi
push 1
lea ecx, [ebp - 0x468]
call fcn.0041bbd0
push esi
push 1
lea ecx, [ebp - 0x480]
call fcn.00419c20
push esi
push 1
lea ecx, [ebp - 0x498]
call fcn.00419c20
mov eax, ebx
call fcn.004a98dc
ret 8