Function at 0x4780fe
Capabilities:
Enumerate files on windows

Disassembly:
push 0x6f4
mov eax, 0x5c58f9
call fcn.004b8fda
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x498]
mov edi, dword [ebp + 0xc]
push eax
call fcn.00420790
xor ebx, ebx
lea ecx, [ebp - 0x480]
push edi
mov dword [ebp - 4], ebx
call fcn.00420790
lea eax, [ebp - 0x480]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0x468]
push eax
call fcn.0043e435
lea eax, [ebp - 0x468]
mov byte [ebp - 4], 2
push eax
call fcn.0043de5b
lea eax, [ebp - 0x468]
push eax
lea eax, [ebp - 0x450]
push eax
call fcn.0043e1fb
add esp, 0x14
lea ecx, [ebp - 0x480]
push eax
call fcn.00422a50
push ebx
push 1
lea ecx, [ebp - 0x450]
call fcn.004208a0
mov esi, 0x5c8cb4
push esi
call fcn.0059c41c
pop ecx
push eax
push esi
lea ecx, [ebp - 0x498]
call fcn.00422d00
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 0x478406
lea eax, [ebp - 0x700]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
je 0x478406
xor eax, eax
mov dword [ebp - 0x424], 7
mov dword [ebp - 0x428], ebx
mov word [ebp - 0x438], ax
cmp word [ebp - 0x6d4], ax
jne 0x478209
mov eax, ebx
jmp 0x478216
lea eax, [ebp - 0x6d4]
push eax
call fcn.0059c41c
pop ecx
push eax
lea eax, [ebp - 0x6d4]
push eax
lea ecx, [ebp - 0x438]
call fcn.00420960
lea eax, [ebp - 0x438]
mov byte [ebp - 4], 3
push eax
lea eax, [ebp - 0x4b0]
push eax
call fcn.0043e435
pop ecx
pop ecx
push eax
lea ecx, [ebp - 0x468]
call fcn.00447953
push ebx
push 1
lea ecx, [ebp - 0x4b0]
call fcn.00420a60
lea eax, [ebp - 0x468]
push eax
call fcn.0043de5b
lea eax, [ebp - 0x468]
push eax
lea eax, [ebp - 0x4b0]
push eax
call fcn.0043e1fb
add esp, 0xc
lea ecx, [ebp - 0x438]
push eax
call fcn.00422a50
push ebx
push 1
lea ecx, [ebp - 0x4b0]
call fcn.004208a0
push 0x2e
pop eax
cmp word [ebp - 0x6d4], ax
je 0x4783aa
cmp word [ebp - 0x6d2], 0
je 0x4783aa
cmp word [ebp - 0x6d2], ax
jne 0x4782cd
cmp word [ebp - 0x6d0], 0
je 0x4783aa
test byte [ebp - 0x700], 0x10
jne 0x4783aa
push 0x208
lea eax, [ebp - 0x420]
push ebx
push eax
call fcn.005991a0
push 0x208
lea eax, [ebp - 0x218]
push ebx
push eax
call fcn.005991a0
cmp dword [ebp - 0x424], 8
lea eax, [ebp - 0x438]
cmovae eax, dword [ebp - 0x438]
push eax
lea eax, [ebp - 0x218]
push 0x5c8b18
push eax
call fcn.0044b4c4
lea eax, [ebp - 0x420]
push eax
lea eax, [ebp - 0x218]
push eax
call fcn.0043bfd6
lea eax, [ebp - 0x420]
push str..lnk
push eax
call fcn.0059c3ba
add esp, 0x34
test eax, eax
jne 0x4783aa
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x450]
push eax
call fcn.0043c117
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.0043d749
add esp, 0x10
test eax, eax
jne 0x4783c1
push ebx
push 1
lea ecx, [ebp - 0x450]
call fcn.004208a0
push ebx
push 1
lea ecx, [ebp - 0x438]
mov byte [ebp - 4], 2
call fcn.004208a0
jmp 0x4781cd
cmp dword [ebp - 0x43c], 8
lea eax, [ebp - 0x450]
cmovae eax, dword [ebp - 0x450]
push eax
push edi
call fcn.0059c3ba
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.004208a0
push esi
push 1
lea ecx, [ebp - 0x438]
call fcn.004208a0
jmp 0x478408
xor esi, esi
push esi
push 1
lea ecx, [ebp - 0x468]
call fcn.00420a60
push esi
push 1
lea ecx, [ebp - 0x480]
call fcn.004208a0
push esi
push 1
lea ecx, [ebp - 0x498]
call fcn.004208a0
mov eax, ebx
call fcn.004b8f84
ret 8