Function at 0x464a08
Capabilities:
Enumerate files on windows
Enumerate files recursively

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffda8
push ebx
push esi
push edi
mov ebx, dword [ebp + 0x10]
mov esi, dword [ebp + 8]
mov byte [ebx], 0
xor edi, edi
mov eax, dword [ebp + 0xc]
push eax
push esi
call fcn.0040123c
add esp, 8
cmp dword [0x515ee8], 0
je 0x464a5b
lea edx, [ebp - 0x258]
push edx
push esi
call sub.KERNEL32.dll_FindFirstFileA
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xffffffff
jne 0x464a54
mov dword [ebp - 4], 1
jmp 0x464a70
xor ecx, ecx
mov dword [ebp - 4], ecx
jmp 0x464a70
push 0x37
lea eax, [ebp - 0x118]
push eax
push esi
call fcn.004049dc
add esp, 0xc
mov dword [ebp - 4], eax
push esi
call fcn.00401318
pop ecx
push eax
mov edx, dword [ebp + 0xc]
push edx
call fcn.00401318
pop ecx
pop ecx
sub ecx, eax
mov byte [esi + ecx], 0
jmp 0x464cb7
cmp dword [0x515ee8], 0
je 0x464b01
test byte [ebp - 0x258], 0x10
je 0x464ad7
cmp dword [ebp + 0x1c], 0
je 0x464ab3
cmp byte [ebp - 0x22c], 0x2e
jne 0x464b49
lea eax, [ebp - 0x258]
push eax
mov edx, dword [ebp - 8]
push edx
call sub.KERNEL32.dll_FindNextFileA
test eax, eax
jne 0x464cb7
mov dword [ebp - 4], 1
jmp 0x464cb7
cmp dword [ebp + 0x1c], 1
jne 0x464b49
lea ecx, [ebp - 0x258]
push ecx
mov eax, dword [ebp - 8]
push eax
call sub.KERNEL32.dll_FindNextFileA
test eax, eax
jne 0x464cb7
mov dword [ebp - 4], 1
jmp 0x464cb7
test byte [ebp - 0x110], 0x10
je 0x464b2e
cmp dword [ebp + 0x1c], 0
je 0x464b19
cmp byte [ebp - 0x108], 0x2e
jne 0x464b49
lea edx, [ebp - 0x118]
push edx
call fcn.00404a9c
pop ecx
mov dword [ebp - 4], eax
jmp 0x464cb7
cmp dword [ebp + 0x1c], 1
jne 0x464b49
lea ecx, [ebp - 0x118]
push ecx
call fcn.00404a9c
pop ecx
mov dword [ebp - 4], eax
jmp 0x464cb7
inc edi
cmp dword [ebp + 0x14], 0
jle 0x464b59
cmp edi, dword [ebp + 0x14]
jl 0x464c0f
cmp dword [ebp + 0x18], 0
jne 0x464b69
cmp dword [ebp + 0x20], 0
je 0x464c0f
push esi
push edi
mov edi, esi
mov esi, ebx
xor eax, eax
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
xchg edi, esi
mov eax, edi
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
pop edi
pop esi
cmp dword [0x515ee8], 0
je 0x464ba9
lea eax, [ebp - 0x22c]
push eax
push ebx
call fcn.0040123c
add esp, 8
jmp 0x464bc0
lea edx, [ebp - 0x108]
push edx
push ebx
call fcn.0040123c
add esp, 8
push ebx
call fcn.00408b88
pop ecx
cmp dword [ebp + 0x18], 0
je 0x464bf2
push ebx
push 0
push 0x180
mov ecx, dword [ebp + 0x18]
push ecx
call sub.USER32.dll_SendMessageA
cmp eax, 0xffffffff
je 0x464bf2
mov edx, dword [0x4f29ec]
push edx
push eax
push 0x19a
mov eax, dword [ebp + 0x18]
push eax
call sub.USER32.dll_SendMessageA
cmp dword [ebp + 0x20], 0
je 0x464c0c
push 0
push 1
push ebx
mov ecx, dword [ebp + 0x20]
push ecx
mov eax, dword [0x4fd9fc]
push eax
call fcn.004864e8
mov byte [ebx], 0
cmp dword [ebp + 0x14], 0
jle 0x464c81
cmp edi, dword [ebp + 0x14]
jl 0x464c81
push esi
push edi
mov edi, esi
mov esi, ebx
xor eax, eax
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
xchg edi, esi
mov eax, edi
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
pop edi
pop esi
cmp dword [0x515ee8], 0
je 0x464c63
lea eax, [ebp - 0x22c]
push eax
push ebx
call fcn.0040123c
add esp, 8
mov edx, dword [ebp - 8]
push edx
call sub.KERNEL32.dll_FindClose
jmp 0x464c7a
lea ecx, [ebp - 0x108]
push ecx
push ebx
call fcn.0040123c
add esp, 8
push ebx
call fcn.00408b88
pop ecx
mov eax, edi
jmp 0x464e8a
cmp dword [0x515ee8], 0
je 0x464ca7
lea edx, [ebp - 0x258]
push edx
mov ecx, dword [ebp - 8]
push ecx
call sub.KERNEL32.dll_FindNextFileA
test eax, eax
jne 0x464cb7
mov dword [ebp - 4], 1
jmp 0x464cb7
lea eax, [ebp - 0x118]
push eax
call fcn.00404a9c
pop ecx
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x464a8e
cmp dword [0x515ee8], 0
je 0x464cd9
cmp dword [ebp - 8], 0xffffffff
je 0x464cd9
mov edx, dword [ebp - 8]
push edx
call sub.KERNEL32.dll_FindClose
dec dword [ebp + 0x24]
cmp dword [ebp + 0x24], 0
jg 0x464ce9
mov eax, edi
jmp 0x464e8a
push 0x4f624c
push esi
call fcn.0040123c
add esp, 8
cmp dword [0x515ee8], 0
je 0x464d26
lea edx, [ebp - 0x258]
push edx
push esi
call sub.KERNEL32.dll_FindFirstFileA
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xffffffff
jne 0x464d1f
mov dword [ebp - 4], 1
jmp 0x464d3b
xor ecx, ecx
mov dword [ebp - 4], ecx
jmp 0x464d3b
push 0x37
lea eax, [ebp - 0x118]
push eax
push esi
call fcn.004049dc
add esp, 0xc
mov dword [ebp - 4], eax
push esi
call fcn.00401318
pop ecx
mov byte [esi + eax - 3], 0
jmp 0x464e66
cmp dword [0x515ee8], 0
je 0x464d67
test byte [ebp - 0x258], 0x10
je 0x464d67
cmp byte [ebp - 0x22c], 0x2e
jne 0x464d8e
cmp dword [0x515ee8], 0
jne 0x464e30
test byte [ebp - 0x110], 0x10
je 0x464e30
cmp byte [ebp - 0x108], 0x2e
je 0x464e30
cmp dword [0x515ee8], 0
je 0x464da9
lea edx, [ebp - 0x22c]
push edx
push esi
call fcn.0040123c
add esp, 8
jmp 0x464db9
lea ecx, [ebp - 0x108]
push ecx
push esi
call fcn.0040123c
add esp, 8
push 0x4f6251
push esi
call fcn.0040123c
add esp, 8
mov eax, dword [ebp + 0x24]
push eax
mov edx, dword [ebp + 0x20]
push edx
mov ecx, dword [ebp + 0x1c]
push ecx
mov eax, dword [ebp + 0x18]
push eax
mov edx, dword [ebp + 0x14]
sub edx, edi
push edx
push ebx
mov ecx, dword [ebp + 0xc]
push ecx
push esi
call fcn.00464a08
add edi, eax
cmp byte [ebx], 0
je 0x464e0b
cmp dword [0x515ee8], 0
je 0x464e07
cmp dword [ebp - 8], 0xffffffff
je 0x464e07
mov eax, dword [ebp - 8]
push eax
call sub.KERNEL32.dll_FindClose
mov eax, edi
jmp 0x464e8a
push 0x5c
push esi
call fcn.004015cc
add esp, 8
test eax, eax
je 0x464e30
mov byte [eax], 0
push 0x5c
push esi
call fcn.004015cc
add esp, 8
test eax, eax
je 0x464e30
inc eax
mov byte [eax], 0
cmp dword [0x515ee8], 0
je 0x464e56
lea edx, [ebp - 0x258]
push edx
mov ecx, dword [ebp - 8]
push ecx
call sub.KERNEL32.dll_FindNextFileA
test eax, eax
jne 0x464e66
mov dword [ebp - 4], 1
jmp 0x464e66
lea eax, [ebp - 0x118]
push eax
call fcn.00404a9c
pop ecx
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x464d4c
cmp dword [0x515ee8], 0
je 0x464e88
cmp dword [ebp - 8], 0xffffffff
je 0x464e88
mov edx, dword [ebp - 8]
push edx
call sub.KERNEL32.dll_FindClose
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x20