Function at 0x485ffb
Capabilities:
Enumerate files on windows

Disassembly:
mov eax, 0x6b0ffe
call fcn.00651da4
sub esp, 0x2bc
push ebx
push edi
mov edi, ecx
mov byte [ebp - 0x34], 1
lea eax, [edi + 0x34]
push eax
mov dword [ebp - 0x38], eax
call fcn.00467ec4
xor ebx, ebx
mov dword [ebp - 4], ebx
cmp dword [edi + 0x18], ebx
je 0x48629c
lea eax, [edi + 8]
cmp dword [eax + 0x14], 8
jb 0x486038
mov eax, dword [eax]
push eax
lea eax, [ebp - 0x78]
push str._s_.btapp
push eax
call fcn.00462014
add esp, 0xc
inc dword [edi + 4]
cmp dword [ebp - 0x64], 8
mov eax, dword [ebp - 0x78]
mov byte [ebp - 4], 2
jae 0x48605d
lea eax, [ebp - 0x78]
push esi
lea ecx, [ebp - 0x2c8]
push ecx
push eax
call dword [sym.imp.KERNEL32.DLL_FindFirstFileW]
mov esi, eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x10], esi
cmp esi, 0xffffffff
je 0x4861cd
lea eax, [ebp - 0x29c]
push eax
lea ecx, [ebp - 0x30]
call fcn.00428153
cmp dword [edi + 0x30], 0
mov byte [ebp - 4], 3
jbe 0x486129
lea eax, [edi + 0x20]
push ebx
mov ecx, eax
call fcn.004733af
add eax, 8
lea ecx, [ebp - 0x30]
push eax
call fcn.00436351
test eax, eax
je 0x4860c0
inc ebx
lea eax, [edi + 0x20]
cmp ebx, dword [edi + 0x30]
jb 0x48609d
jmp 0x486129
push ebx
lea ecx, [edi + 0x20]
call fcn.004733af
push ebx
lea ecx, [eax + 0x24]
mov eax, dword [edi + 4]
mov dword [ecx], eax
lea ecx, [edi + 0x20]
call fcn.004733af
mov ecx, dword [ebp - 0x2b4]
cmp ecx, dword [eax]
jne 0x4860eb
xor ecx, ecx
cmp ecx, dword [eax + 4]
je 0x486129
cmp dword [ebp - 0x1c], 8
mov eax, dword [ebp - 0x30]
jae 0x4860f7
lea eax, [ebp - 0x30]
mov esi, dword [edi]
lea ecx, [edi + 0x20]
push ebx
mov dword [ebp - 0x14], eax
call fcn.004733af
mov ecx, edi
push dword [eax + 0x20]
push dword [ebp - 0x14]
call dword [esi + 0xc]
push ebx
lea ecx, [edi + 0x20]
call fcn.004733af
mov ecx, dword [ebp - 0x2b4]
mov esi, dword [ebp - 0x10]
mov dword [eax], ecx
xor ecx, ecx
mov dword [eax + 4], ecx
cmp ebx, dword [edi + 0x30]
jne 0x486198
xor ebx, ebx
mov dword [ebp - 0x44], 7
xor eax, eax
mov dword [ebp - 0x48], ebx
mov word [ebp - 0x58], ax
mov dword [ebp - 0x40], ebx
mov dword [ebp - 0x3c], ebx
mov eax, dword [ebp - 0x2b4]
lea ecx, [ebp - 0x58]
push 0xffffffffffffffff
mov dword [ebp - 0x60], eax
lea eax, [ebp - 0x30]
push ebx
push eax
mov byte [ebp - 4], 4
mov dword [ebp - 0x5c], ebx
call fcn.00428657
mov eax, dword [edi + 4]
lea ecx, [edi + 0x20]
mov dword [ebp - 0x3c], eax
lea eax, [ebp - 0x60]
push eax
call fcn.00486423
cmp dword [ebp - 0x1c], 8
mov ecx, dword [ebp - 0x30]
jae 0x486183
lea ecx, [ebp - 0x30]
mov eax, dword [edi]
push ecx
mov ecx, edi
call dword [eax + 4]
push ebx
push 1
lea ecx, [ebp - 0x58]
call fcn.004284eb
jmp 0x48619a
xor ebx, ebx
push ebx
push 1
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 2
call fcn.004284eb
lea eax, [ebp - 0x2c8]
push eax
push esi
call dword [sym.imp.KERNEL32.DLL_FindNextFileW]
test eax, eax
jne 0x4861c1
or esi, 0xffffffff
mov dword [ebp - 0x10], esi
cmp esi, 0xffffffff
jne 0x48607d
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x4861dd
cmp eax, 0xffffffff
je 0x4861dd
push eax
call dword [sym.imp.KERNEL32.DLL_FindClose]
cmp dword [edi + 0x30], 0
jbe 0x48628e
lea esi, [edi + 0x20]
push ebx
mov ecx, esi
call fcn.004733af
mov eax, dword [eax + 0x24]
cmp eax, dword [edi + 4]
je 0x486284
push ebx
mov ecx, esi
call fcn.004733af
add eax, 8
mov dword [ebp - 0x10], eax
cmp dword [eax + 0x14], 8
jb 0x486217
mov eax, dword [eax]
mov dword [ebp - 0x10], eax
mov esi, dword [edi]
lea ecx, [edi + 0x20]
push ebx
call fcn.004733af
mov ecx, edi
push dword [eax + 0x20]
push dword [ebp - 0x10]
call dword [esi + 8]
push ebx
lea ecx, [edi + 0x20]
call fcn.004733af
add eax, 8
mov dword [ebp - 0x10], eax
cmp dword [eax + 0x14], 8
jb 0x486247
mov eax, dword [eax]
mov dword [ebp - 0x10], eax
mov esi, dword [edi]
lea ecx, [edi + 0x20]
push ebx
call fcn.004733af
mov ecx, edi
push dword [eax + 0x20]
push dword [ebp - 0x10]
call dword [esi + 0x10]
lea esi, [edi + 0x20]
push ebx
mov ecx, esi
call fcn.004733af
add eax, 8
xor ecx, ecx
cmp dword [eax + 0x14], 8
mov dword [eax + 0x10], ecx
jb 0x486278
mov eax, dword [eax]
push ebx
xor ecx, ecx
push esi
mov word [eax], cx
call fcn.00485d65
inc ebx
cmp ebx, dword [edi + 0x30]
jb 0x4861ea
xor eax, eax
lea ecx, [ebp - 0x78]
push eax
push 1
call fcn.004284eb
pop esi
push dword [ebp - 0x38]
mov dword [ebp - 4], 5
call fcn.00468001
mov ecx, dword [ebp - 0xc]
pop edi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret