Function at 0x4f6ad0
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x603353
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x284
push ebx
push ebp
push esi
push edi
mov ebx, ecx
push 0x68
mov dword [esp + 0x38], ebx
call fcn.005db95d
add esp, 4
mov dword [esp + 0x20], eax
xor esi, esi
cmp eax, esi
mov dword [esp + 0x29c], esi
je 0x4f6b19
mov ecx, eax
call fcn.00477be0
jmp 0x4f6b1b
xor eax, eax
or edi, 0xffffffff
mov ecx, eax
mov dword [esp + 0x29c], edi
mov dword [esp + 0x30], eax
call fcn.00477d20
mov eax, dword [0x6cd6a8]
mov ecx, dword [esp + 0x30]
push eax
add ecx, 0x58
push 0x69dfbc
push ecx
call fcn.005d838b
mov eax, dword [ebx + 0x1c]
lea ebp, [ebx + 0x14]
add esp, 0xc
lea edx, [esp + 0x30]
mov ecx, ebp
push edx
push eax
call fcn.004f7330
push 0x68
call fcn.005db95d
add esp, 4
mov dword [esp + 0x20], eax
cmp eax, esi
mov dword [esp + 0x29c], 1
je 0x4f6b84
mov ecx, eax
call fcn.00477be0
mov esi, eax
mov ecx, esi
mov dword [esp + 0x29c], edi
mov dword [esi + 0x64], 2
call fcn.00477d20
mov eax, dword [0x6cd6a4]
lea ecx, [esi + 0x58]
push eax
push 0x69dfbc
push ecx
call fcn.005d838b
mov edi, dword [ebp + 8]
add esp, 0xc
mov ecx, ebp
lea edx, [edi + 1]
push 0xffffffffffffffff
push edx
call fcn.004f71f0
mov eax, dword [ebp + 4]
mov dword [eax + edi*4], esi
mov al, byte [ebx + 4]
test al, al
je 0x4f6eb2
xor edi, edi
xor ecx, ecx
mov dword [esp + 0x24], ecx
mov dword [esp + 0x2c], edi
mov word [esp + 0x28], di
mov eax, dword [ebx + 8]
mov dword [esp + 0x29c], 2
cmp eax, edi
jne 0x4f6bf7
lea eax, [ebx + 0xc]
mov edx, str._sq_.dt
test edx, edx
je 0x4f6cd7
cmp eax, edi
je 0x4f6cd7
push eax
lea ecx, [esp + 0x18]
call fcn.0040d680
lea ecx, [esp + 0x24]
mov byte [esp + 0x29c], 3
call fcn.00401070
push str._sq_.dt
lea ecx, [esp + 0x3c]
call fcn.00401ec0
mov eax, dword [esp + 0x14]
mov byte [esp + 0x29c], 4
cmp eax, edi
jne 0x4f6c49
lea eax, [esp + 0x18]
mov esi, dword [esp + 0x40]
push eax
call fcn.005c2f1a
lea esi, [eax + esi + 2]
lea ebx, [esi + esi]
push ebx
call fcn.005db95d
mov edi, eax
add esp, 8
test edi, edi
mov dword [esp + 0x24], edi
je 0x4f6caf
mov ecx, ebx
xor eax, eax
mov edx, ecx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
lea ecx, [esp + 0x14]
call fcn.00401f40
push eax
lea ecx, [esp + 0x3c]
call fcn.00401f40
push eax
mov eax, dword [esp + 0x2c]
push esi
push eax
call fcn.005c2eaa
mov ecx, dword [esp + 0x34]
push ecx
call fcn.005c2f1a
add esp, 0x14
mov dword [esp + 0x2c], eax
lea ecx, [esp + 0x38]
mov byte [esp + 0x29c], 3
call fcn.00401070
lea ecx, [esp + 0x14]
mov byte [esp + 0x29c], 2
call fcn.00401070
mov ecx, dword [esp + 0x24]
xor edi, edi
cmp ecx, edi
mov eax, ecx
jne 0x4f6ce1
lea eax, [esp + 0x28]
lea edx, [esp + 0x44]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov ebx, eax
cmp ebx, 0xffffffff
mov dword [esp + 0x20], ebx
je 0x4f6e9e
lea eax, [esp + 0x70]
push 0x5f
push eax
call fcn.005c2e6a
mov esi, eax
add esp, 8
cmp esi, edi
je 0x4f6e83
mov cx, word [esi + 2]
add esi, 2
push ecx
call fcn.005c620d
add esp, 4
test eax, eax
je 0x4f6e83
push esi
lea ecx, [esp + 0x18]
mov dword [esp + 0x18], edi
mov dword [esp + 0x20], edi
mov word [esp + 0x1c], di
call fcn.00401f50
mov eax, dword [esp + 0x14]
mov byte [esp + 0x29c], 5
cmp eax, edi
jne 0x4f6d58
lea eax, [esp + 0x18]
push 0x2e
push eax
call fcn.005c338f
add esp, 8
cmp eax, edi
je 0x4f6e6e
mov word [eax], di
mov eax, dword [esp + 0x14]
cmp eax, edi
jne 0x4f6d7a
lea eax, [esp + 0x18]
push eax
call fcn.005c49e1
mov ebx, eax
add esp, 4
cmp ebx, 2
jle 0x4f6e6c
push 0x68
call fcn.005db95d
add esp, 4
mov dword [esp + 0x10], eax
test eax, eax
mov byte [esp + 0x29c], 6
je 0x4f6db7
mov ecx, eax
call fcn.00477be0
mov edi, eax
mov dword [esp + 0x10], edi
jmp 0x4f6dc3
mov dword [esp + 0x10], 0
mov edi, dword [esp + 0x10]
mov ecx, edi
mov byte [esp + 0x29c], 5
mov dword [edi + 0x64], ebx
call fcn.00477d20
mov eax, dword [esp + 0x34]
mov esi, 2
mov ecx, dword [eax + 0x1c]
cmp ecx, esi
jle 0x4f6dfa
mov eax, dword [eax + 0x18]
add eax, 8
mov edx, dword [eax]
cmp ebx, dword [edx + 0x64]
jl 0x4f6dfa
inc esi
add eax, 4
cmp esi, ecx
jl 0x4f6deb
mov ebx, dword [ebp + 8]
push 0xffffffffffffffff
cmp esi, ebx
jl 0x4f6e10
lea eax, [esi + 1]
mov ecx, ebp
push eax
call fcn.004f71f0
jmp 0x4f6e52
lea ecx, [ebx + 1]
push ecx
mov ecx, ebp
call fcn.004f71f0
mov eax, dword [ebp + 4]
mov edx, esi
shl edx, 0x1e
sub edx, esi
lea edi, [esi*4]
add edx, ebx
shl edx, 2
push edx
lea ecx, [edi + eax]
lea edx, [eax + esi*4 + 4]
push ecx
push edx
call fcn.005c3fb0
mov eax, dword [ebp + 4]
add esp, 0xc
add eax, edi
mov edi, dword [esp + 0x10]
mov dword [eax], 0
xor ecx, ecx
lea eax, [esi*4]
mov edx, dword [ebp + 4]
add eax, 4
mov dword [edx + eax - 4], edi
mov edx, ecx
dec ecx
test edx, edx
jne 0x4f6e5b
xor edi, edi
lea ecx, [esp + 0x14]
mov byte [esp + 0x29c], 2
call fcn.00401070
mov ebx, dword [esp + 0x20]
lea eax, [esp + 0x44]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x4f6cfc
push ebx
call dword [sym.imp.KERNEL32.dll_FindClose]
lea ecx, [esp + 0x24]
mov dword [esp + 0x29c], 0xffffffff
call fcn.00401070
mov ecx, dword [esp + 0x294]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x290
ret