Function at 0x477e30
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e36e8
mov eax, dword fs:[0]
push eax
sub esp, 0x2b4
mov eax, dword [0x527d34]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
xor eax, eax
mov edi, dword [ebp + 0xc]
mov ebx, dword [ebp + 0x10]
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
mov dword [ebp - 4], eax
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x44], 7
mov word [ebp - 0x58], ax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
lea eax, [ebp - 0x58]
mov byte [ebp - 4], 2
cmp eax, esi
je 0x477ebb
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x477eaf
mov eax, dword [esi]
push dword [esi + 0x10]
lea ecx, [ebp - 0x58]
push eax
call fcn.00463450
lea eax, [ebp - 0x40]
cmp eax, esi
je 0x477ed8
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x477ecc
mov eax, dword [esi]
push dword [esi + 0x10]
lea ecx, [ebp - 0x40]
push eax
call fcn.00463450
push 1
push 0x4edc70
lea ecx, [ebp - 0x40]
call fcn.00463350
cmp dword [ebx + 0x14], 8
mov eax, ebx
jb 0x477ef1
mov eax, dword [ebx]
push dword [ebx + 0x10]
lea ecx, [ebp - 0x40]
push eax
call fcn.00463350
push 0x250
lea eax, [ebp - 0x2c0]
push 0
push eax
call fcn.004ad050
add esp, 0xc
lea ecx, [ebp - 0x2c0]
cmp dword [ebp - 0x2c], 8
lea eax, [ebp - 0x40]
cmovae eax, dword [ebp - 0x40]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x478092
nop word [eax + eax]
test byte [ebp - 0x2c0], 0x10
je 0x47807c
xor eax, eax
mov dword [ebp - 0x60], 0
lea ecx, [ebp - 0x294]
mov dword [ebp - 0x5c], 7
mov word [ebp - 0x70], ax
lea edx, [ecx + 2]
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x477f70
sub ecx, edx
lea eax, [ebp - 0x294]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x70]
call fcn.00463450
lea eax, [ebp - 0x70]
push str..:_
push eax
call fcn.00471250
add esp, 8
test al, al
jne 0x477fbb
lea eax, [ebp - 0x70]
mov bl, 1
push 0x4edc98
push eax
call fcn.00471250
add esp, 8
test al, al
je 0x477fbd
xor bl, bl
mov edx, dword [ebp - 0x5c]
cmp edx, 8
jb 0x477ff7
mov ecx, dword [ebp - 0x70]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x477fed
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x47818f
push edx
push ecx
call fcn.00493fa5
add esp, 8
test bl, bl
je 0x47807c
cmp dword [ebp - 0x44], 8
lea eax, [ebp - 0x58]
push dword [ebp - 0x48]
cmovae eax, dword [ebp - 0x58]
lea ecx, [ebp - 0x28]
push eax
call fcn.00463450
push 1
push 0x4edc70
lea ecx, [ebp - 0x28]
call fcn.00463350
lea ecx, [ebp - 0x294]
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x478030
sub ecx, edx
lea eax, [ebp - 0x294]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x28]
call fcn.00463350
lea eax, [ebp - 0x28]
push eax
call sym.HdlVideoFilterPlayer.exe_void___cdecl_FileHelper::AdjustFilePathSlash_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t____
mov eax, dword [edi + 4]
lea ecx, [ebp - 0x28]
add esp, 4
push ecx
cmp dword [edi + 8], eax
je 0x478074
mov ecx, eax
call fcn.00412d20
add dword [edi + 4], 0x18
jmp 0x47807c
push eax
mov ecx, edi
call fcn.0045db80
lea eax, [ebp - 0x2c0]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x477f40
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [edi + 4]
mov eax, 0x2aaaaaab
sub ecx, dword [edi]
imul ecx
xor ecx, ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [ebp - 0x14]
cmp ecx, eax
sbb esi, esi
neg esi
cmp edx, 8
jb 0x4780f1
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4780e7
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x47818f
push edx
push ecx
call fcn.00493fa5
add esp, 8
mov edx, dword [ebp - 0x44]
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
cmp edx, 8
jb 0x47813b
mov ecx, dword [ebp - 0x58]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x478131
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x478194
push edx
push ecx
call fcn.00493fa5
add esp, 8
mov edx, dword [ebp - 0x2c]
cmp edx, 8
jb 0x478171
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x478167
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x478199
push edx
push ecx
call fcn.00493fa5
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0049425b
mov esp, ebp
pop ebp
ret
call fcn.004af5bc
call fcn.004af5bc
call fcn.004af5bc
int3