Function at 0x550570
Capabilities:
Enumerate files on windows
Enumerate files recursively

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x732908
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x9a0
mov al, byte [ebp + 0xb]
push ebx
push esi
xor ebx, ebx
push edi
push ebx
push ebx
lea ecx, [ebp - 0x24]
mov byte [ebp - 0x24], al
call fcn.0042f260
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], ebx
mov cl, byte [ebp + 0xb]
push ebx
mov byte [ebp - 0x18], cl
push ebx
lea ecx, [ebp - 0x18]
mov dword [ebp - 4], ebx
call fcn.0042f260
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], ebx
mov ecx, 0x50
xor eax, eax
lea edi, [ebp - 0x1ac]
lea edx, [ebp - 0x9ac]
rep stosd dword es:[edi], eax
mov edi, dword [ebp + 8]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov byte [ebp - 4], 1
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [ebp - 0x9ac]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, 0x771b48
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea eax, [ebp - 0x1ac]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
lea ecx, [ebp - 0x9ac]
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov esi, eax
cmp esi, 0xffffffff
jne 0x550650
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
jmp 0x5509fe
mov dl, byte [ebp + 0xb]
push ebx
lea ecx, [ebp - 0x6c]
mov byte [ebp - 0x6c], dl
call fcn.00420200
mov edi, 0x76a66c
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push 0x76a66c
lea ecx, [ebp - 0x6c]
call fcn.0042f5e0
mov al, byte [ebp + 0xb]
push ebx
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 2
mov byte [ebp - 0x5c], al
call fcn.00420200
mov edi, 0x76a668
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push 0x76a668
lea ecx, [ebp - 0x5c]
call fcn.0042f5e0
lea ecx, [ebp - 0x180]
mov byte [ebp - 4], 3
push ecx
lea ecx, [ebp - 0x6c]
call fcn.004237e0
test eax, eax
je 0x55078e
lea edx, [ebp - 0x180]
lea ecx, [ebp - 0x5c]
push edx
call fcn.004237e0
test eax, eax
je 0x55078e
test byte [ebp - 0x1ac], 0x10
je 0x550739
mov al, byte [ebp + 0xb]
push ebx
lea ecx, [ebp - 0x34]
mov byte [ebp - 0x34], al
call fcn.00420200
lea edi, [ebp - 0x180]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
lea ecx, [ebp - 0x180]
push ecx
lea ecx, [ebp - 0x34]
call fcn.0042f5e0
mov eax, dword [ebp - 0x14]
lea edx, [ebp - 0x34]
push edx
lea ecx, [ebp - 0x38]
push eax
push ecx
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 4
call fcn.004bef20
mov byte [ebp - 4], 3
push 1
lea ecx, [ebp - 0x34]
jmp 0x550789
mov dl, byte [ebp + 0xb]
push ebx
lea ecx, [ebp - 0x34]
mov byte [ebp - 0x34], dl
call fcn.00420200
lea edi, [ebp - 0x180]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea eax, [ebp - 0x180]
push ecx
push eax
lea ecx, [ebp - 0x34]
call fcn.0042f5e0
mov edx, dword [ebp - 0x20]
lea ecx, [ebp - 0x34]
push ecx
lea eax, [ebp - 0x38]
push edx
push eax
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 5
call fcn.004bef20
mov byte [ebp - 4], 3
push 1
lea ecx, [ebp - 0x34]
call fcn.00420200
lea ecx, [ebp - 0x1ac]
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
je 0x55089c
mov bl, byte [ebp + 0xb]
lea edx, [ebp - 0x180]
lea ecx, [ebp - 0x6c]
push edx
call fcn.004237e0
test eax, eax
je 0x550884
lea eax, [ebp - 0x180]
lea ecx, [ebp - 0x5c]
push eax
call fcn.004237e0
test eax, eax
je 0x550884
test byte [ebp - 0x1ac], 0x10
je 0x55082e
push 0
lea ecx, [ebp - 0x34]
mov byte [ebp - 0x34], bl
call fcn.00420200
lea edi, [ebp - 0x180]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
lea ecx, [ebp - 0x180]
push ecx
lea ecx, [ebp - 0x34]
call fcn.0042f5e0
mov eax, dword [ebp - 0x14]
lea edx, [ebp - 0x34]
push edx
lea ecx, [ebp - 0x38]
push eax
push ecx
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 6
call fcn.004bef20
mov byte [ebp - 4], 3
push 1
lea ecx, [ebp - 0x34]
jmp 0x55087f
mov dl, byte [ebp + 0xb]
push 0
lea ecx, [ebp - 0x48]
mov byte [ebp - 0x48], dl
call fcn.00420200
lea edi, [ebp - 0x180]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea eax, [ebp - 0x180]
push ecx
push eax
lea ecx, [ebp - 0x48]
call fcn.0042f5e0
mov edx, dword [ebp - 0x20]
lea ecx, [ebp - 0x48]
push ecx
lea eax, [ebp - 0x4c]
push edx
push eax
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 7
call fcn.004bef20
mov byte [ebp - 4], 3
push 1
lea ecx, [ebp - 0x48]
call fcn.00420200
lea ecx, [ebp - 0x1ac]
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x5507a7
xor ebx, ebx
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov edi, dword [ebp + 8]
or ecx, 0xffffffff
xor eax, eax
lea edx, [ebp - 0x9ac]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [ebp - 0x9ac]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, 0x76a664
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov eax, dword [ebp - 0x20]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, dword [eax]
cmp edi, eax
je 0x550979
lea esi, [edi + 8]
lea eax, [ebp - 0x9ac]
push esi
lea ecx, [ebp - 0x48]
push eax
push ecx
call fcn.00445020
mov eax, dword [eax + 4]
add esp, 0xc
cmp eax, ebx
jne 0x550925
mov eax, 0x73a7f4
push 0x80
push eax
call fcn.00714b35
add esp, 8
lea ecx, [ebp - 0x48]
push 1
call fcn.00420200
lea edx, [ebp - 0x9ac]
push esi
lea eax, [ebp - 0x34]
push edx
push eax
call fcn.00445020
mov eax, dword [eax + 4]
add esp, 0xc
cmp eax, ebx
jne 0x55095d
mov eax, 0x73a7f4
push eax
call fcn.007149db
add esp, 4
lea ecx, [ebp - 0x34]
push 1
call fcn.00420200
mov edi, dword [edi]
mov eax, dword [ebp - 0x20]
cmp edi, eax
jne 0x550902
mov eax, dword [ebp - 0x14]
mov esi, dword [eax]
cmp esi, eax
je 0x5509cc
mov bl, 8
lea ecx, [esi + 8]
lea edx, [ebp - 0x9ac]
push ecx
lea eax, [ebp - 0x48]
push edx
push eax
call fcn.00445020
add esp, 0xc
mov eax, dword [eax + 4]
mov byte [ebp - 4], bl
test eax, eax
jne 0x5509aa
mov eax, 0x73a7f4
push eax
call fcn.00550570
add esp, 4
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 3
push 1
call fcn.00420200
mov esi, dword [esi]
mov eax, dword [ebp - 0x14]
cmp esi, eax
jne 0x550984
xor ebx, ebx
push 1
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 2
call fcn.00420200
mov eax, dword [ebp - 0x68]
cmp eax, ebx
je 0x5509fe
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x5509f5
cmp al, 0xff
je 0x5509f5
dec al
mov byte [ecx], al
jmp 0x5509fe
push ecx
call fcn.00703996
add esp, 4
mov ecx, dword [ebp + 8]
push ecx
call fcn.00714b0b
mov eax, dword [ebp - 0x14]
add esp, 4
mov byte [ebp - 4], 0
mov esi, eax
mov ecx, dword [eax]
cmp ecx, eax
mov dword [ebp + 8], ecx
je 0x550a40
lea edx, [ebp - 0x4c]
push ebx
push edx
lea ecx, [ebp + 8]
call fcn.0042f290
mov eax, dword [eax]
lea ecx, [ebp - 0x38]
push eax
push ecx
lea ecx, [ebp - 0x18]
call fcn.0042f1f0
cmp dword [ebp + 8], esi
jne 0x550a1c
mov eax, dword [ebp - 0x14]
push eax
call fcn.00703996
mov eax, dword [ebp - 0x20]
add esp, 4
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x10], ebx
mov ecx, dword [eax]
push eax
lea edx, [ebp + 8]
push ecx
push edx
lea ecx, [ebp - 0x24]
mov dword [ebp - 4], 0xffffffff
call fcn.004d2810
mov eax, dword [ebp - 0x20]
push eax
call fcn.00703996
mov ecx, dword [ebp - 0xc]
add esp, 4
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret