Function at 0x5ff1d0
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xb08
push ebx
push esi
push edi
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 0x24]
mov dword [ebp - 0x22c], ecx
mov edx, dword [ebp - 0x22c]
mov eax, dword [edx]
mov dword [ebp - 0xb04], eax
mov ecx, dword [ebp - 0x22c]
mov edx, dword [ecx + 0x10]
mov dword [ebp - 0x76c], edx
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x22c]
mov dword [eax + 0x18], ecx
lea edx, [ebp - 0x340]
push edx
push 0xc000
mov eax, dword [ebp - 0xb04]
push eax
mov ecx, dword [ebp - 0x76c]
push ecx
mov edx, dword [ebp - 0x76c]
mov eax, dword [edx]
call dword [eax + 0x2c]
mov dword [ebp - 0x458], eax
cmp dword [ebp - 0x458], 0
jne 0x5ff72e
mov ecx, dword [ebp - 0xb04]
push ecx
lea edx, [ebp - 0x340]
push edx
lea eax, [ebp - 0x110]
push eax
call fcn.005f95a0
add esp, 0xc
lea edi, [ebp - 0x110]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
add ecx, 0xffffffff
mov dword [ebp - 0x880], ecx
cmp dword [ebp - 0x880], 0
je 0x5ff2dd
mov ecx, dword [ebp - 0x880]
movsx edx, byte [ebp + ecx - 0x111]
cmp edx, 0x5c
je 0x5ff2dd
mov edi, 0x67cac4
lea edx, [ebp - 0x110]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
add edi, 0xffffffff
mov ecx, ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [ebp - 0x880]
add eax, 1
mov dword [ebp - 0x880], eax
lea edi, [ebp - 0x110]
lea edx, [ebp - 0x220]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov eax, ecx
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [ebp - 0x110]
mov ecx, dword [ebp + 8]
add ecx, 0xb4c
mov edx, ecx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov eax, ecx
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, str.fxfthumb_
lea edx, [ebp - 0x110]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
add edi, 0xffffffff
mov ecx, ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [ebp - 0x110]
lea edx, [ebp - 0x568]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov eax, ecx
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, str..jpg
lea edx, [ebp - 0x568]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
add edi, 0xffffffff
mov ecx, ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov dword [ebp - 0x344], 0
lea eax, [ebp - 0xb00]
push eax
lea ecx, [ebp - 0x568]
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov dword [ebp - 0x454], eax
cmp dword [ebp - 0x454], 0xffffffff
je 0x5ff43d
mov dword [ebp - 0x224], 1
cmp dword [ebp - 0x224], 0
je 0x5ff430
mov edx, dword [ebp - 0x344]
add edx, 1
mov dword [ebp - 0x344], edx
lea eax, [ebp - 0xb00]
push eax
mov ecx, dword [ebp - 0x454]
push ecx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
mov dword [ebp - 0x224], eax
jmp 0x5ff3fc
mov edx, dword [ebp - 0x454]
push edx
call dword [sym.imp.KERNEL32.dll_FindClose]
mov dword [ebp - 0x230], 0
lea eax, [ebp - 0xb00]
push eax
lea ecx, [ebp - 0x568]
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov dword [ebp - 0x454], eax
cmp dword [ebp - 0x454], 0xffffffff
je 0x5ff72e
mov edx, dword [ebp - 0x344]
push edx
push str.Read_Folder
call fcn.005186a0
add esp, 8
mov dword [ebp - 0x224], 1
cmp dword [ebp - 0x224], 0
je 0x5ff710
mov eax, dword [ebp - 0x230]
mov dword [ebp - 0xb08], eax
mov ecx, dword [ebp - 0xb08]
push ecx
mov edx, dword [ebp - 0x230]
add edx, 1
mov dword [ebp - 0x230], edx
call fcn.00518590
add esp, 4
lea edi, [ebp - 0x110]
lea edx, [ebp - 0x568]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov eax, ecx
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [ebp - 0xad4]
lea edx, [ebp - 0x568]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
add edi, 0xffffffff
mov ecx, ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea eax, [ebp - 0x568]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.005feb30
add esp, 8
test eax, eax
je 0x5ff6f1
lea edi, [ebp - 0x220]
lea edx, [ebp - 0x87c]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov eax, ecx
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [ebp - 0xad4]
lea edx, [ebp - 0x87c]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
add edi, 0xffffffff
mov ecx, ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea eax, [ebp - 0x768]
push eax
lea ecx, [ebp - 0x668]
push ecx
lea edx, [ebp - 0x44c]
push edx
lea eax, [ebp - 0x348]
push eax
lea ecx, [ebp - 0x87c]
push ecx
call fcn.00668690
add esp, 0x14
lea edi, [ebp - 0x220]
lea edx, [ebp - 0x87c]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov eax, ecx
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [ebp - 0x668]
lea edx, [ebp - 0x87c]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
add edi, 0xffffffff
mov ecx, ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea eax, [ebp - 0x9c0]
push eax
lea ecx, [ebp - 0x87c]
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov dword [ebp - 0x450], eax
cmp dword [ebp - 0x450], 0xffffffff
je 0x5ff685
mov edx, dword [ebp - 0x9ac]
mov dword [ebp - 0x238], edx
mov eax, dword [ebp - 0x9a8]
mov dword [ebp - 0x228], eax
mov ecx, dword [ebp - 0x9a0]
mov dword [ebp - 0x34c], ecx
mov edx, dword [ebp - 0x9a4]
mov dword [ebp - 0x234], edx
mov eax, dword [ebp - 0x450]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
jmp 0x5ff6ad
mov dword [ebp - 0x238], 0
mov dword [ebp - 0x228], 0
mov dword [ebp - 0x34c], 0
mov dword [ebp - 0x234], 0
mov ecx, dword [ebp - 0x234]
push ecx
mov edx, dword [ebp - 0x34c]
push edx
mov eax, dword [ebp - 0x238]
push eax
mov ecx, dword [ebp - 0x228]
push ecx
lea edx, [ebp - 0x568]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.005fe8a0
add esp, 0x18
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x84]
add edx, 1
mov eax, dword [ebp + 8]
mov dword [eax + 0x84], edx
lea ecx, [ebp - 0xb00]
push ecx
mov edx, dword [ebp - 0x454]
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
mov dword [ebp - 0x224], eax
jmp 0x5ff48c
call fcn.00518750
mov eax, dword [ebp - 0x454]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp + 8]
push ecx
call fcn.005fd750
add esp, 4
mov edx, dword [ebp + 8]
push edx
call fcn.005f9070
add esp, 4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret