Function at 0x48986e
Capabilities:
Enumerate files on windows

Disassembly:
mov eax, 0x6a4934
call fcn.006426c4
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.0046ba5f
xor ebx, ebx
mov dword [ebp - 4], ebx
cmp dword [edi + 0x18], ebx
je 0x489b0f
lea eax, [edi + 8]
cmp dword [eax + 0x14], 8
jb 0x4898ab
mov eax, dword [eax]
push eax
lea eax, [ebp - 0x78]
push 0x6d6fa4
push eax
call fcn.00465d7f
add esp, 0xc
inc dword [edi + 4]
cmp dword [ebp - 0x64], 8
mov eax, dword [ebp - 0x78]
mov byte [ebp - 4], 2
jae 0x4898d0
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 0x489a40
lea eax, [ebp - 0x29c]
push eax
lea ecx, [ebp - 0x30]
call fcn.00429d77
cmp dword [edi + 0x30], 0
mov byte [ebp - 4], 3
jbe 0x48999c
lea eax, [edi + 0x20]
push ebx
mov ecx, eax
call fcn.0053d231
add eax, 8
lea ecx, [ebp - 0x30]
push eax
call fcn.004392c2
test eax, eax
je 0x489933
inc ebx
lea eax, [edi + 0x20]
cmp ebx, dword [edi + 0x30]
jb 0x489910
jmp 0x48999c
push ebx
lea ecx, [edi + 0x20]
call fcn.0053d231
push ebx
lea ecx, [eax + 0x24]
mov eax, dword [edi + 4]
mov dword [ecx], eax
lea ecx, [edi + 0x20]
call fcn.0053d231
mov ecx, dword [ebp - 0x2b4]
cmp ecx, dword [eax]
jne 0x48995e
xor ecx, ecx
cmp ecx, dword [eax + 4]
je 0x48999c
cmp dword [ebp - 0x1c], 8
mov eax, dword [ebp - 0x30]
jae 0x48996a
lea eax, [ebp - 0x30]
mov esi, dword [edi]
lea ecx, [edi + 0x20]
push ebx
mov dword [ebp - 0x14], eax
call fcn.0053d231
mov ecx, edi
push dword [eax + 0x20]
push dword [ebp - 0x14]
call dword [esi + 0xc]
push ebx
lea ecx, [edi + 0x20]
call fcn.0053d231
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 0x489a0b
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.00428762
mov eax, dword [edi + 4]
lea ecx, [edi + 0x20]
mov dword [ebp - 0x3c], eax
lea eax, [ebp - 0x60]
push eax
call fcn.00489da0
cmp dword [ebp - 0x1c], 8
mov ecx, dword [ebp - 0x30]
jae 0x4899f6
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.004285f6
jmp 0x489a0d
xor ebx, ebx
push ebx
push 1
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 2
call fcn.004285f6
lea eax, [ebp - 0x2c8]
push eax
push esi
call dword [sym.imp.KERNEL32.DLL_FindNextFileW]
test eax, eax
jne 0x489a34
or esi, 0xffffffff
mov dword [ebp - 0x10], esi
cmp esi, 0xffffffff
jne 0x4898f0
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x489a50
cmp eax, 0xffffffff
je 0x489a50
push eax
call dword [sym.imp.KERNEL32.DLL_FindClose]
cmp dword [edi + 0x30], 0
jbe 0x489b01
lea esi, [edi + 0x20]
push ebx
mov ecx, esi
call fcn.0053d231
mov eax, dword [eax + 0x24]
cmp eax, dword [edi + 4]
je 0x489af7
push ebx
mov ecx, esi
call fcn.0053d231
add eax, 8
mov dword [ebp - 0x10], eax
cmp dword [eax + 0x14], 8
jb 0x489a8a
mov eax, dword [eax]
mov dword [ebp - 0x10], eax
mov esi, dword [edi]
lea ecx, [edi + 0x20]
push ebx
call fcn.0053d231
mov ecx, edi
push dword [eax + 0x20]
push dword [ebp - 0x10]
call dword [esi + 8]
push ebx
lea ecx, [edi + 0x20]
call fcn.0053d231
add eax, 8
mov dword [ebp - 0x10], eax
cmp dword [eax + 0x14], 8
jb 0x489aba
mov eax, dword [eax]
mov dword [ebp - 0x10], eax
mov esi, dword [edi]
lea ecx, [edi + 0x20]
push ebx
call fcn.0053d231
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.0053d231
add eax, 8
xor ecx, ecx
cmp dword [eax + 0x14], 8
mov dword [eax + 0x10], ecx
jb 0x489aeb
mov eax, dword [eax]
push ebx
xor ecx, ecx
push esi
mov word [eax], cx
call fcn.004895d8
inc ebx
cmp ebx, dword [edi + 0x30]
jb 0x489a5d
xor eax, eax
lea ecx, [ebp - 0x78]
push eax
push 1
call fcn.004285f6
pop esi
push dword [ebp - 0x38]
mov dword [ebp - 4], 5
call fcn.0046bb9c
mov ecx, dword [ebp - 0xc]
pop edi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret