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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x72e788
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.0042f270
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.0042f270
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, 0x76dab0
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 0x54d810
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
jmp 0x54dbbe
mov dl, byte [ebp + 0xb]
push ebx
lea ecx, [ebp - 0x6c]
mov byte [ebp - 0x6c], dl
call fcn.00420210
mov edi, 0x766664
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push 0x766664
lea ecx, [ebp - 0x6c]
call fcn.0042f5f0
mov al, byte [ebp + 0xb]
push ebx
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 2
mov byte [ebp - 0x5c], al
call fcn.00420210
mov edi, 0x766660
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push 0x766660
lea ecx, [ebp - 0x5c]
call fcn.0042f5f0
lea ecx, [ebp - 0x180]
mov byte [ebp - 4], 3
push ecx
lea ecx, [ebp - 0x6c]
call fcn.004237f0
test eax, eax
je 0x54d94e
lea edx, [ebp - 0x180]
lea ecx, [ebp - 0x5c]
push edx
call fcn.004237f0
test eax, eax
je 0x54d94e
test byte [ebp - 0x1ac], 0x10
je 0x54d8f9
mov al, byte [ebp + 0xb]
push ebx
lea ecx, [ebp - 0x34]
mov byte [ebp - 0x34], al
call fcn.00420210
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.0042f5f0
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.004bc330
mov byte [ebp - 4], 3
push 1
lea ecx, [ebp - 0x34]
jmp 0x54d949
mov dl, byte [ebp + 0xb]
push ebx
lea ecx, [ebp - 0x34]
mov byte [ebp - 0x34], dl
call fcn.00420210
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.0042f5f0
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.004bc330
mov byte [ebp - 4], 3
push 1
lea ecx, [ebp - 0x34]
call fcn.00420210
lea ecx, [ebp - 0x1ac]
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
je 0x54da5c
mov bl, byte [ebp + 0xb]
lea edx, [ebp - 0x180]
lea ecx, [ebp - 0x6c]
push edx
call fcn.004237f0
test eax, eax
je 0x54da44
lea eax, [ebp - 0x180]
lea ecx, [ebp - 0x5c]
push eax
call fcn.004237f0
test eax, eax
je 0x54da44
test byte [ebp - 0x1ac], 0x10
je 0x54d9ee
push 0
lea ecx, [ebp - 0x34]
mov byte [ebp - 0x34], bl
call fcn.00420210
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.0042f5f0
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.004bc330
mov byte [ebp - 4], 3
push 1
lea ecx, [ebp - 0x34]
jmp 0x54da3f
mov dl, byte [ebp + 0xb]
push 0
lea ecx, [ebp - 0x48]
mov byte [ebp - 0x48], dl
call fcn.00420210
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.0042f5f0
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.004bc330
mov byte [ebp - 4], 3
push 1
lea ecx, [ebp - 0x48]
call fcn.00420210
lea ecx, [ebp - 0x1ac]
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x54d967
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, 0x76665c
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 0x54db39
lea esi, [edi + 8]
lea eax, [ebp - 0x9ac]
push esi
lea ecx, [ebp - 0x48]
push eax
push ecx
call fcn.00445180
mov eax, dword [eax + 4]
add esp, 0xc
cmp eax, ebx
jne 0x54dae5
mov eax, 0x7367f4
push 0x80
push eax
call fcn.007108c8
add esp, 8
lea ecx, [ebp - 0x48]
push 1
call fcn.00420210
lea edx, [ebp - 0x9ac]
push esi
lea eax, [ebp - 0x34]
push edx
push eax
call fcn.00445180
mov eax, dword [eax + 4]
add esp, 0xc
cmp eax, ebx
jne 0x54db1d
mov eax, 0x7367f4
push eax
call fcn.0071076e
add esp, 4
lea ecx, [ebp - 0x34]
push 1
call fcn.00420210
mov edi, dword [edi]
mov eax, dword [ebp - 0x20]
cmp edi, eax
jne 0x54dac2
mov eax, dword [ebp - 0x14]
mov esi, dword [eax]
cmp esi, eax
je 0x54db8c
mov bl, 8
lea ecx, [esi + 8]
lea edx, [ebp - 0x9ac]
push ecx
lea eax, [ebp - 0x48]
push edx
push eax
call fcn.00445180
add esp, 0xc
mov eax, dword [eax + 4]
mov byte [ebp - 4], bl
test eax, eax
jne 0x54db6a
mov eax, 0x7367f4
push eax
call fcn.0054d730
add esp, 4
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 3
push 1
call fcn.00420210
mov esi, dword [esi]
mov eax, dword [ebp - 0x14]
cmp esi, eax
jne 0x54db44
xor ebx, ebx
push 1
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 2
call fcn.00420210
mov eax, dword [ebp - 0x68]
cmp eax, ebx
je 0x54dbbe
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x54dbb5
cmp al, 0xff
je 0x54dbb5
dec al
mov byte [ecx], al
jmp 0x54dbbe
push ecx
call fcn.006ffa16
add esp, 4
mov ecx, dword [ebp + 8]
push ecx
call fcn.0071089e
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 0x54dc00
lea edx, [ebp - 0x4c]
push ebx
push edx
lea ecx, [ebp + 8]
call fcn.0042f2a0
mov eax, dword [eax]
lea ecx, [ebp - 0x38]
push eax
push ecx
lea ecx, [ebp - 0x18]
call fcn.0042f200
cmp dword [ebp + 8], esi
jne 0x54dbdc
mov eax, dword [ebp - 0x14]
push eax
call fcn.006ffa16
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.004cfc20
mov eax, dword [ebp - 0x20]
push eax
call fcn.006ffa16
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