Function at 0x4f6bf0
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x603053
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.005db66d
add esp, 4
mov dword [esp + 0x20], eax
xor esi, esi
cmp eax, esi
mov dword [esp + 0x29c], esi
je 0x4f6c39
mov ecx, eax
call fcn.00477dc0
jmp 0x4f6c3b
xor eax, eax
or edi, 0xffffffff
mov ecx, eax
mov dword [esp + 0x29c], edi
mov dword [esp + 0x30], eax
call fcn.00477f00
mov eax, dword [0x6cd6a8]
mov ecx, dword [esp + 0x30]
push eax
add ecx, 0x58
push 0x69dfbc
push ecx
call fcn.005d809b
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.0041d580
push 0x68
call fcn.005db66d
add esp, 4
mov dword [esp + 0x20], eax
cmp eax, esi
mov dword [esp + 0x29c], 1
je 0x4f6ca4
mov ecx, eax
call fcn.00477dc0
mov esi, eax
mov ecx, esi
mov dword [esp + 0x29c], edi
mov dword [esi + 0x64], 2
call fcn.00477f00
mov eax, dword [0x6cd6a4]
lea ecx, [esi + 0x58]
push eax
push 0x69dfbc
push ecx
call fcn.005d809b
mov edi, dword [ebp + 8]
add esp, 0xc
mov ecx, ebp
lea edx, [edi + 1]
push 0xffffffffffffffff
push edx
call fcn.004f7310
mov eax, dword [ebp + 4]
mov dword [eax + edi*4], esi
mov al, byte [ebx + 4]
test al, al
je 0x4f6fd2
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 0x4f6d17
lea eax, [ebx + 0xc]
mov edx, str._sq_.dt
test edx, edx
je 0x4f6df7
cmp eax, edi
je 0x4f6df7
push eax
lea ecx, [esp + 0x18]
call fcn.0040d700
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 0x4f6d69
lea eax, [esp + 0x18]
mov esi, dword [esp + 0x40]
push eax
call fcn.005c2c42
lea esi, [eax + esi + 2]
lea ebx, [esi + esi]
push ebx
call fcn.005db66d
mov edi, eax
add esp, 8
test edi, edi
mov dword [esp + 0x24], edi
je 0x4f6dcf
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.005c2bd2
mov ecx, dword [esp + 0x34]
push ecx
call fcn.005c2c42
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 0x4f6e01
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 0x4f6fbe
lea eax, [esp + 0x70]
push 0x5f
push eax
call fcn.005c2b92
mov esi, eax
add esp, 8
cmp esi, edi
je 0x4f6fa3
mov cx, word [esi + 2]
add esi, 2
push ecx
call fcn.005c5f2d
add esp, 4
test eax, eax
je 0x4f6fa3
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 0x4f6e78
lea eax, [esp + 0x18]
push 0x2e
push eax
call fcn.005c30af
add esp, 8
cmp eax, edi
je 0x4f6f8e
mov word [eax], di
mov eax, dword [esp + 0x14]
cmp eax, edi
jne 0x4f6e9a
lea eax, [esp + 0x18]
push eax
call fcn.005c4701
mov ebx, eax
add esp, 4
cmp ebx, 2
jle 0x4f6f8c
push 0x68
call fcn.005db66d
add esp, 4
mov dword [esp + 0x10], eax
test eax, eax
mov byte [esp + 0x29c], 6
je 0x4f6ed7
mov ecx, eax
call fcn.00477dc0
mov edi, eax
mov dword [esp + 0x10], edi
jmp 0x4f6ee3
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.00477f00
mov eax, dword [esp + 0x34]
mov esi, 2
mov ecx, dword [eax + 0x1c]
cmp ecx, esi
jle 0x4f6f1a
mov eax, dword [eax + 0x18]
add eax, 8
mov edx, dword [eax]
cmp ebx, dword [edx + 0x64]
jl 0x4f6f1a
inc esi
add eax, 4
cmp esi, ecx
jl 0x4f6f0b
mov ebx, dword [ebp + 8]
push 0xffffffffffffffff
cmp esi, ebx
jl 0x4f6f30
lea eax, [esi + 1]
mov ecx, ebp
push eax
call fcn.004f7310
jmp 0x4f6f72
lea ecx, [ebx + 1]
push ecx
mov ecx, ebp
call fcn.004f7310
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.005c3cd0
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 0x4f6f7b
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 0x4f6e1c
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