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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffda0
push ebx
push esi
push edi
mov ebx, dword [ebp + 0x10]
mov esi, dword [ebp + 8]
mov dword [ebp - 0xc], 0xffffffff
mov byte [ebx], 0
xor eax, eax
mov dword [ebp - 8], eax
xor edi, edi
cmp dword [0x532a54], 0
je 0x463abd
mov edi, 1
push dword [ebp + 0xc]
push esi
call fcn.00518300
add esp, 8
test edi, edi
jne 0x463ae4
push 0x37
lea eax, [ebp - 0x120]
push eax
push esi
call fcn.0051bae0
add esp, 0xc
mov dword [ebp - 4], eax
jmp 0x463b08
lea edx, [ebp - 0x260]
push edx
push esi
call sub.KERNEL32.dll_FindFirstFileA
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0xffffffff
jne 0x463b03
mov dword [ebp - 4], 1
jmp 0x463b08
xor ecx, ecx
mov dword [ebp - 4], ecx
push esi
call fcn.005183dc
pop ecx
push eax
push dword [ebp + 0xc]
call fcn.005183dc
pop ecx
pop edx
sub edx, eax
mov byte [esi + edx], 0
jmp 0x463da4
test edi, edi
jne 0x463b75
test byte [ebp - 0x118], 0x10
je 0x463b5a
cmp dword [ebp + 0x1c], 0
je 0x463b45
cmp byte [ebp - 0x110], 0x2e
jne 0x463bd9
lea eax, [ebp - 0x120]
push eax
call fcn.0051bba0
pop ecx
mov dword [ebp - 4], eax
jmp 0x463da4
cmp dword [ebp + 0x1c], 1
jne 0x463bd9
lea ecx, [ebp - 0x120]
push ecx
call fcn.0051bba0
pop ecx
mov dword [ebp - 4], eax
jmp 0x463da4
test byte [ebp - 0x260], 0x10
je 0x463bb0
cmp dword [ebp + 0x1c], 0
je 0x463b8d
cmp byte [ebp - 0x234], 0x2e
jne 0x463bd9
lea eax, [ebp - 0x260]
push eax
push dword [ebp - 0xc]
call sub.KERNEL32.dll_FindNextFileA
test eax, eax
jne 0x463da4
mov dword [ebp - 4], 1
jmp 0x463da4
cmp dword [ebp + 0x1c], 1
jne 0x463bd9
lea edx, [ebp - 0x260]
push edx
push dword [ebp - 0xc]
call sub.KERNEL32.dll_FindNextFileA
test eax, eax
jne 0x463da4
mov dword [ebp - 4], 1
jmp 0x463da4
inc dword [ebp - 8]
cmp dword [ebp + 0x14], 0
jle 0x463bee
mov ecx, dword [ebp - 8]
cmp ecx, dword [ebp + 0x14]
jl 0x463d04
cmp dword [ebp + 0x18], 0
jne 0x463bfe
cmp dword [ebp + 0x20], 0
je 0x463d04
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
test edi, edi
jne 0x463c40
lea eax, [ebp - 0x110]
push eax
push ebx
call fcn.00518300
add esp, 8
push ebx
call fcn.005207ec
pop ecx
jmp 0x463c50
lea edx, [ebp - 0x234]
push edx
push ebx
call fcn.00518300
add esp, 8
cmp dword [ebp + 0x18], 0
je 0x463c7f
push ebx
push 0
push 0x180
push dword [ebp + 0x18]
call sub.USER32.dll_SendMessageA
cmp eax, 0xffffffff
je 0x463c7f
push dword [0x52a398]
push eax
push 0x19a
push dword [ebp + 0x18]
call sub.USER32.dll_SendMessageA
cmp dword [ebp + 0x20], 0
je 0x463d01
push 0
push 0
push dword [ebp + 0x20]
push 0
call fcn.0049d9f0
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x463cb5
push 2
push str.Lighthouse
push 0
push dword [0x537430]
call fcn.0045abd0
jmp 0x463f6c
cmp dword [ebp + 0x28], 0
je 0x463cc2
mov eax, 2
jmp 0x463cc7
mov eax, 1
push dword [ebp + 0x40]
push 0
push dword [ebp + 0x3c]
push 0
push 0
push dword [ebp + 0x38]
push dword [ebp + 0x34]
push dword [ebp + 0x30]
push dword [ebp + 0x2c]
push 0
push 0
push 0
push 0
push 0
push eax
push ebx
push dword [ebp - 0x10]
push dword [0x537430]
call fcn.00489fbe
push dword [ebp - 0x10]
call fcn.0049dfbe
mov byte [ebx], 0
cmp dword [ebp + 0x14], 0
jle 0x463d74
mov edx, dword [ebp - 8]
cmp edx, dword [ebp + 0x14]
jl 0x463d74
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
test edi, edi
jne 0x463d54
lea eax, [ebp - 0x110]
push eax
push ebx
call fcn.00518300
add esp, 8
push ebx
call fcn.005207ec
pop ecx
jmp 0x463d6c
lea edx, [ebp - 0x234]
push edx
push ebx
call fcn.00518300
add esp, 8
push dword [ebp - 0xc]
call sub.KERNEL32.dll_FindClose
mov eax, dword [ebp - 8]
jmp 0x463f6c
test edi, edi
jne 0x463d8a
lea edx, [ebp - 0x120]
push edx
call fcn.0051bba0
pop ecx
mov dword [ebp - 4], eax
jmp 0x463da4
lea ecx, [ebp - 0x260]
push ecx
push dword [ebp - 0xc]
call sub.KERNEL32.dll_FindNextFileA
test eax, eax
jne 0x463da4
mov dword [ebp - 4], 1
cmp dword [ebp - 4], 0
je 0x463b25
cmp dword [ebp - 0xc], 0xffffffff
je 0x463dbc
push dword [ebp - 0xc]
call sub.KERNEL32.dll_FindClose
mov dword [ebp - 0xc], 0xffffffff
dec dword [ebp + 0x24]
cmp dword [ebp + 0x24], 0
jg 0x463dd4
mov eax, dword [ebp - 8]
jmp 0x463f6c
push 0x52e0f0
push esi
call fcn.00518300
add esp, 8
test edi, edi
jne 0x463dfd
push 0x37
lea edx, [ebp - 0x120]
push edx
push esi
call fcn.0051bae0
add esp, 0xc
mov dword [ebp - 4], eax
jmp 0x463e21
lea ecx, [ebp - 0x260]
push ecx
push esi
call sub.KERNEL32.dll_FindFirstFileA
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0xffffffff
jne 0x463e1c
mov dword [ebp - 4], 1
jmp 0x463e21
xor eax, eax
mov dword [ebp - 4], eax
push esi
call fcn.005183dc
pop ecx
mov byte [esi + eax - 3], 0
jmp 0x463f51
test edi, edi
jne 0x463e6f
test byte [ebp - 0x118], 0x10
je 0x463e48
cmp byte [ebp - 0x110], 0x2e
jne 0x463e5d
lea edx, [ebp - 0x120]
push edx
call fcn.0051bba0
pop ecx
mov dword [ebp - 4], eax
jmp 0x463f51
lea ecx, [ebp - 0x110]
push ecx
push esi
call fcn.00518300
add esp, 8
jmp 0x463eb4
test byte [ebp - 0x260], 0x10
je 0x463e81
cmp byte [ebp - 0x234], 0x2e
jne 0x463ea4
lea eax, [ebp - 0x260]
push eax
push dword [ebp - 0xc]
call sub.KERNEL32.dll_FindNextFileA
test eax, eax
jne 0x463f51
mov dword [ebp - 4], 1
jmp 0x463f51
lea edx, [ebp - 0x234]
push edx
push esi
call fcn.00518300
add esp, 8
push 0x52e0f5
push esi
call fcn.00518300
add esp, 8
push dword [ebp + 0x40]
push dword [ebp + 0x3c]
push dword [ebp + 0x38]
push dword [ebp + 0x34]
push dword [ebp + 0x30]
push dword [ebp + 0x2c]
push dword [ebp + 0x28]
push dword [ebp + 0x24]
push dword [ebp + 0x20]
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
mov ecx, dword [ebp + 0x14]
sub ecx, dword [ebp - 8]
push ecx
push ebx
push dword [ebp + 0xc]
push esi
call fcn.00463a8c
add dword [ebp - 8], eax
cmp byte [ebx], 0
jne 0x463f5b
push 0x5c
push esi
call fcn.005186c4
add esp, 8
test eax, eax
je 0x463f21
mov byte [eax], 0
push 0x5c
push esi
call fcn.005186c4
add esp, 8
test eax, eax
je 0x463f21
inc eax
mov byte [eax], 0
test edi, edi
jne 0x463f37
lea eax, [ebp - 0x120]
push eax
call fcn.0051bba0
pop ecx
mov dword [ebp - 4], eax
jmp 0x463f51
lea edx, [ebp - 0x260]
push edx
push dword [ebp - 0xc]
call sub.KERNEL32.dll_FindNextFileA
test eax, eax
jne 0x463f51
mov dword [ebp - 4], 1
cmp dword [ebp - 4], 0
je 0x463e32
cmp dword [ebp - 0xc], 0xffffffff
je 0x463f69
push dword [ebp - 0xc]
call sub.KERNEL32.dll_FindClose
mov eax, dword [ebp - 8]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x3c