Function at 0x5f96f0
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa38
push ebx
push esi
push edi
mov dword [0x74e6d4], 1
mov eax, dword [0x74e6dc]
mov dword [ebp - 0x22c], eax
mov dword [0x74e6dc], 1
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x18]
mov dword [ebp - 0x340], edx
cmp dword [ebp - 0x340], 0
je 0x5fa036
mov eax, dword [ebp - 0x340]
mov ecx, dword [eax + 0x10]
mov dword [ebp - 0x450], ecx
mov edx, dword [ebp - 0x340]
mov eax, dword [edx]
mov dword [ebp - 0x7c0], eax
lea ecx, [ebp - 0x448]
push ecx
push 0xc000
mov edx, dword [ebp - 0x7c0]
push edx
mov eax, dword [ebp - 0x450]
push eax
mov ecx, dword [ebp - 0x450]
mov edx, dword [ecx]
call dword [edx + 0x2c]
mov dword [ebp - 0x568], eax
cmp dword [ebp - 0x568], 0
jne 0x5fa036
mov eax, dword [ebp - 0x7c0]
push eax
lea ecx, [ebp - 0x448]
push ecx
lea edx, [ebp - 0x110]
push edx
call fcn.005f95a0
add esp, 0xc
lea eax, [ebp - 0x110]
push eax
call fcn.005f93f0
add esp, 4
mov dword [ebp - 0x56c], eax
lea edi, [ebp - 0x110]
lea edx, [ebp - 0x8d0]
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 - 0x8d0]
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 - 0x8d0]
lea edx, [ebp - 0x9e0]
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 - 0x9e0]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
add ecx, 0xffffffff
mov byte [ebp + ecx - 0x9e1], 0
lea ecx, [ebp - 0x9e0]
push ecx
call fcn.005f6770
add esp, 4
test eax, eax
jne 0x5f9891
lea edx, [ebp - 0x9e0]
push edx
call fcn.00676120
add esp, 4
cmp eax, 0xffffffff
jne 0x5f9891
mov dword [0x74e6d4], 0
jmp 0x5fa04c
lea edi, [ebp - 0x110]
lea edx, [ebp - 0x564]
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, 0x693ee8
lea edx, [ebp - 0x564]
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 - 0x228], 0
lea eax, [ebp - 0x6ac]
push eax
lea ecx, [ebp - 0x564]
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov dword [ebp - 0x454], eax
cmp dword [ebp - 0x454], 0xffffffff
je 0x5f9c16
mov dword [ebp - 0x114], 1
cmp dword [ebp - 0x114], 0
je 0x5f9c16
lea edi, [ebp - 0x110]
lea edx, [ebp - 0x33c]
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 - 0x680]
lea edx, [ebp - 0x33c]
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 - 0x8d0]
lea edx, [ebp - 0x7bc]
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 - 0x680]
lea edx, [ebp - 0x7bc]
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 - 0x7bc]
lea edx, [ebp - 0x224]
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, 0x6909fc
lea edx, [ebp - 0x7bc]
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 edi, str..bad
lea edx, [ebp - 0x224]
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 - 0x680]
mov dword [ebp - 0x9ec], eax
mov dword [ebp - 0x9f0], 0x67d2e4
mov ecx, dword [ebp - 0x9f0]
mov dl, byte [ecx]
mov byte [ebp - 0x9f1], dl
mov eax, dword [ebp - 0x9ec]
cmp dl, byte [eax]
jne 0x5f9af7
cmp byte [ebp - 0x9f1], 0
je 0x5f9aeb
mov ecx, dword [ebp - 0x9f0]
mov dl, byte [ecx + 1]
mov byte [ebp - 0x9f2], dl
mov eax, dword [ebp - 0x9ec]
cmp dl, byte [eax + 1]
jne 0x5f9af7
add dword [ebp - 0x9f0], 2
add dword [ebp - 0x9ec], 2
cmp byte [ebp - 0x9f2], 0
jne 0x5f9a99
mov dword [ebp - 0x9f8], 0
jmp 0x5f9b02
sbb ecx, ecx
sbb ecx, 0xffffffff
mov dword [ebp - 0x9f8], ecx
mov edx, dword [ebp - 0x9f8]
mov dword [ebp - 0x9fc], edx
cmp dword [ebp - 0x9fc], 0
je 0x5f9bf7
lea eax, [ebp - 0x680]
mov dword [ebp - 0xa00], eax
mov dword [ebp - 0xa04], 0x698fb4
mov ecx, dword [ebp - 0xa04]
mov dl, byte [ecx]
mov byte [ebp - 0xa05], dl
mov eax, dword [ebp - 0xa00]
cmp dl, byte [eax]
jne 0x5f9b8f
cmp byte [ebp - 0xa05], 0
je 0x5f9b83
mov ecx, dword [ebp - 0xa04]
mov dl, byte [ecx + 1]
mov byte [ebp - 0xa06], dl
mov eax, dword [ebp - 0xa00]
cmp dl, byte [eax + 1]
jne 0x5f9b8f
add dword [ebp - 0xa04], 2
add dword [ebp - 0xa00], 2
cmp byte [ebp - 0xa06], 0
jne 0x5f9b31
mov dword [ebp - 0xa0c], 0
jmp 0x5f9b9a
sbb ecx, ecx
sbb ecx, 0xffffffff
mov dword [ebp - 0xa0c], ecx
mov edx, dword [ebp - 0xa0c]
mov dword [ebp - 0xa10], edx
cmp dword [ebp - 0xa10], 0
je 0x5f9bf7
lea eax, [ebp - 0x33c]
push eax
call fcn.005f9650
add esp, 4
test eax, eax
je 0x5f9bf7
lea ecx, [ebp - 0x7bc]
push ecx
call fcn.005f6710
add esp, 4
test eax, eax
jne 0x5f9bf7
lea edx, [ebp - 0x224]
push edx
call fcn.005f6710
add esp, 4
test eax, eax
jne 0x5f9bf7
mov eax, dword [ebp - 0x228]
add eax, 1
mov dword [ebp - 0x228], eax
lea ecx, [ebp - 0x6ac]
push ecx
mov edx, dword [ebp - 0x454]
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
mov dword [ebp - 0x114], eax
jmp 0x5f9929
mov dword [ebp - 0x44c], 0
mov eax, dword [ebp - 0x228]
push eax
push str.Thumb_Folder
call fcn.005186a0
add esp, 8
lea ecx, [ebp - 0x6ac]
push ecx
lea edx, [ebp - 0x564]
push edx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov dword [ebp - 0x454], eax
cmp dword [ebp - 0x454], 0xffffffff
je 0x5fa036
mov dword [ebp - 0x114], 1
cmp dword [ebp - 0x114], 0
je 0x5fa024
lea edi, [ebp - 0x110]
lea edx, [ebp - 0x33c]
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 - 0x680]
lea edx, [ebp - 0x33c]
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 - 0x8d0]
lea edx, [ebp - 0x7bc]
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 - 0x680]
lea edx, [ebp - 0x7bc]
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 - 0x7bc]
lea edx, [ebp - 0x224]
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, 0x6909fc
lea edx, [ebp - 0x7bc]
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 edi, str..bad
lea edx, [ebp - 0x224]
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 - 0x680]
mov dword [ebp - 0xa14], eax
mov dword [ebp - 0xa18], 0x67d2e4
mov ecx, dword [ebp - 0xa18]
mov dl, byte [ecx]
mov byte [ebp - 0xa19], dl
mov eax, dword [ebp - 0xa14]
cmp dl, byte [eax]
jne 0x5f9e33
cmp byte [ebp - 0xa19], 0
je 0x5f9e27
mov ecx, dword [ebp - 0xa18]
mov dl, byte [ecx + 1]
mov byte [ebp - 0xa1a], dl
mov eax, dword [ebp - 0xa14]
cmp dl, byte [eax + 1]
jne 0x5f9e33
add dword [ebp - 0xa18], 2
add dword [ebp - 0xa14], 2
cmp byte [ebp - 0xa1a], 0
jne 0x5f9dd5
mov dword [ebp - 0xa20], 0
jmp 0x5f9e3e
sbb ecx, ecx
sbb ecx, 0xffffffff
mov dword [ebp - 0xa20], ecx
mov edx, dword [ebp - 0xa20]
mov dword [ebp - 0xa24], edx
cmp dword [ebp - 0xa24], 0
je 0x5fa005
lea eax, [ebp - 0x680]
mov dword [ebp - 0xa28], eax
mov dword [ebp - 0xa2c], 0x698fb4
mov ecx, dword [ebp - 0xa2c]
mov dl, byte [ecx]
mov byte [ebp - 0xa2d], dl
mov eax, dword [ebp - 0xa28]
cmp dl, byte [eax]
jne 0x5f9ecb
cmp byte [ebp - 0xa2d], 0
je 0x5f9ebf
mov ecx, dword [ebp - 0xa2c]
mov dl, byte [ecx + 1]
mov byte [ebp - 0xa2e], dl
mov eax, dword [ebp - 0xa28]
cmp dl, byte [eax + 1]
jne 0x5f9ecb
add dword [ebp - 0xa2c], 2
add dword [ebp - 0xa28], 2
cmp byte [ebp - 0xa2e], 0
jne 0x5f9e6d
mov dword [ebp - 0xa34], 0
jmp 0x5f9ed6
sbb ecx, ecx
sbb ecx, 0xffffffff
mov dword [ebp - 0xa34], ecx
mov edx, dword [ebp - 0xa34]
mov dword [ebp - 0xa38], edx
cmp dword [ebp - 0xa38], 0
je 0x5fa005
lea eax, [ebp - 0x33c]
push eax
call fcn.005f9650
add esp, 4
test eax, eax
je 0x5fa005
lea ecx, [ebp - 0x7bc]
push ecx
call fcn.005f6710
add esp, 4
test eax, eax
jne 0x5fa005
lea edx, [ebp - 0x224]
push edx
call fcn.005f6710
add esp, 4
test eax, eax
jne 0x5fa005
mov eax, dword [ebp - 0x44c]
add eax, 1
mov dword [ebp - 0x44c], eax
mov ecx, dword [ebp - 0x44c]
push ecx
call fcn.00518590
add esp, 4
lea edi, [ebp - 0x110]
mov edx, 0x765200
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]
cmp dword [ebp - 0x56c], 0
je 0x5f9f90
mov ecx, dword [ebp - 0x56c]
mov byte [ecx + 0x7651ff], 0
lea edi, [ebp - 0x680]
mov edx, 0x7513a0
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 ecx, dword [0x74e6d0]
mov dword [ebp - 0x9e8], ecx
mov edx, dword [0x74e6cc]
mov dword [ebp - 0x9e4], edx
mov dword [0x74e6d0], 1
mov dword [0x74e6cc], 1
push 0
call fcn.00568390
add esp, 4
mov eax, dword [ebp - 0x9e8]
mov dword [0x74e6d0], eax
mov ecx, dword [ebp - 0x9e4]
mov dword [0x74e6cc], ecx
lea edx, [ebp - 0x6ac]
push edx
mov eax, dword [ebp - 0x454]
push eax
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
mov dword [ebp - 0x114], eax
jmp 0x5f9c65
mov ecx, dword [ebp - 0x454]
push ecx
call dword [sym.imp.KERNEL32.dll_FindClose]
call fcn.00518750
mov edx, dword [ebp - 0x22c]
mov dword [0x74e6dc], edx
mov dword [0x74e6d4], 0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret