Function at 0x550160
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x7328a8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x180
mov al, byte [ebp + 0xb]
push ebx
push edi
push 0
lea ecx, [ebp - 0x4c]
mov byte [ebp - 0x4c], al
call fcn.00420200
mov edx, dword [ebp + 0xc]
or ecx, 0xffffffff
mov edi, edx
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push edx
lea ecx, [ebp - 0x4c]
call fcn.0042f5e0
mov edx, dword [ebp + 0x10]
or ecx, 0xffffffff
mov edi, edx
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov dword [ebp - 4], 0
push ecx
push edx
lea ecx, [ebp - 0x4c]
call fcn.004218f0
mov ecx, 0x50
xor eax, eax
lea edi, [ebp - 0x18c]
rep stosd dword es:[edi], eax
mov eax, dword [ebp - 0x48]
test eax, eax
jne 0x5501e4
mov eax, 0x73a7f4
lea ecx, [ebp - 0x18c]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov ebx, eax
cmp ebx, 0xffffffff
mov dword [ebp + 0xc], ebx
jne 0x550215
push 0x771b30
call fcn.00405d90
add esp, 4
push ebx
call dword [sym.imp.KERNEL32.dll_FindClose]
jmp 0x550466
mov dl, byte [ebp + 0xb]
push esi
push 0
lea ecx, [ebp - 0x3c]
mov byte [ebp - 0x3c], 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 - 0x3c]
call fcn.0042f5e0
mov al, byte [ebp + 0xb]
push 0
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 1
mov byte [ebp - 0x2c], 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 - 0x2c]
call fcn.0042f5e0
lea edi, [ebp - 0x160]
or ecx, 0xffffffff
xor eax, eax
mov edx, dword [ebp - 0x34]
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov byte [ebp - 4], 2
push ecx
lea ecx, [ebp - 0x160]
push ecx
push edx
push eax
lea ecx, [ebp - 0x3c]
call fcn.00430490
test eax, eax
je 0x550329
lea edi, [ebp - 0x160]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea eax, [ebp - 0x160]
push ecx
mov ecx, dword [ebp - 0x24]
push eax
push ecx
push 0
lea ecx, [ebp - 0x2c]
call fcn.00430490
test eax, eax
je 0x550329
mov dl, byte [ebp + 0xb]
push 0
lea ecx, [ebp - 0x1c]
mov byte [ebp - 0x1c], dl
call fcn.00420200
lea edi, [ebp - 0x160]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea eax, [ebp - 0x160]
push ecx
push eax
lea ecx, [ebp - 0x1c]
call fcn.0042f5e0
mov esi, dword [ebp + 8]
lea ecx, [ebp - 0x1c]
push ecx
lea edx, [ebp + 0x10]
mov eax, dword [esi + 4]
mov ecx, esi
push eax
push edx
mov byte [ebp - 4], 3
call fcn.004bef20
push 1
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 2
call fcn.00420200
jmp 0x55032c
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x18c]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
je 0x55042d
lea edi, [ebp - 0x160]
or ecx, 0xffffffff
xor eax, eax
mov edx, dword [ebp - 0x34]
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
lea ecx, [ebp - 0x160]
push ecx
push edx
push eax
lea ecx, [ebp - 0x3c]
call fcn.00430490
test eax, eax
je 0x550417
lea edi, [ebp - 0x160]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea eax, [ebp - 0x160]
push ecx
mov ecx, dword [ebp - 0x24]
push eax
push ecx
push 0
lea ecx, [ebp - 0x2c]
call fcn.00430490
test eax, eax
je 0x550417
mov dl, byte [ebp + 0xb]
push 0
lea ecx, [ebp - 0x1c]
mov byte [ebp - 0x1c], dl
call fcn.00420200
lea edi, [ebp - 0x160]
or ecx, 0xffffffff
xor eax, eax
push 1
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov ebx, ecx
lea ecx, [ebp - 0x1c]
push ebx
call fcn.004219e0
test al, al
je 0x5503ef
mov edi, dword [ebp - 0x18]
mov ecx, ebx
mov eax, ecx
lea esi, [ebp - 0x160]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
push ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [ebp - 0x1c]
call fcn.004219c0
mov esi, dword [ebp + 8]
mov eax, dword [esi + 4]
lea ecx, [ebp - 0x1c]
push ecx
lea edx, [ebp + 0x10]
push eax
push edx
mov ecx, esi
mov byte [ebp - 4], 4
call fcn.004bef20
push 1
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 2
call fcn.00420200
mov ebx, dword [ebp + 0xc]
lea eax, [ebp - 0x18c]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x550342
push ebx
call dword [sym.imp.KERNEL32.dll_FindClose]
push 1
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 1
call fcn.00420200
mov ecx, dword [ebp - 0x38]
pop esi
test ecx, ecx
je 0x550466
mov al, byte [ecx - 1]
test al, al
je 0x55045c
cmp al, 0xff
je 0x55045c
dec al
mov byte [ecx - 1], al
jmp 0x550466
dec ecx
push ecx
call fcn.00703996
add esp, 4
mov ecx, dword [ebp - 0x48]
pop edi
test ecx, ecx
pop ebx
je 0x550497
mov al, byte [ecx - 1]
test al, al
je 0x55048d
cmp al, 0xff
je 0x55048d
dec al
mov byte [ecx - 1], al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
dec ecx
push ecx
call fcn.00703996
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret