Function at 0x4c50b0
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x67e4e1
mov eax, dword fs:[0]
push eax
sub esp, 0xb8
mov eax, dword [0x735300]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov esi, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
mov dword [ebp - 0xc4], esi
call fcn.004c5460
cmp byte [ebx], 0
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
jne 0x4c510c
xor ecx, ecx
jmp 0x4c511a
mov ecx, ebx
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4c5111
sub ecx, edx
push ecx
push ebx
lea ecx, [ebp - 0x28]
call fcn.00441ae0
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 4], 0
test ecx, ecx
je 0x4c5151
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
mov al, byte [ecx + eax - 1]
cmp al, 0x5c
je 0x4c5151
push 0x5c
push 1
lea ecx, [ebp - 0x28]
call fcn.004417d0
mov dword [ebp - 0x2c], 0xf
mov dword [ebp - 0x30], 0
mov byte [ebp - 0x40], 0
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 1
push eax
lea ecx, [ebp - 0x40]
call fcn.00441710
push 3
push 0x698434
lea ecx, [ebp - 0x40]
call fcn.00441880
or dword [edi + 4], 0x10
lea ecx, [edi + 4]
cmp dword [ebp - 0x2c], 0x10
lea eax, [ebp - 0x40]
push ecx
cmovae eax, dword [ebp - 0x40]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov dword [edi + 0x144], eax
cmp eax, 0xffffffff
je 0x4c5406
lea ebx, [edi + 0x30]
cmp byte [ebx], 0x2e
je 0x4c5340
mov ecx, edi
call fcn.004c54b0
test al, al
je 0x4c51ec
cmp dword [ebp - 0x14], 0x10
lea ecx, [ebp - 0x28]
mov eax, dword [edi]
cmovae ecx, dword [ebp - 0x28]
push ebx
push ecx
mov eax, dword [eax + 4]
mov ecx, edi
push esi
call eax
test al, al
jne 0x4c5340
xor bl, bl
jmp 0x4c5408
push 0x2e
push ebx
call fcn.0056cd40
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x4c533d
cmp dword [ebp + 0x10], 0
je 0x4c53b2
push esi
lea ecx, [ebp - 0x70]
call fcn.0043c4e0
push 1
push 0
lea eax, [ebp - 0xbc]
mov byte [ebp - 4], 2
push eax
lea ecx, [ebp - 0x70]
mov byte [ebp - 0xbc], 0x3b
call fcn.00471c40
mov dword [ebp - 0xc0], eax
push esi
test eax, eax
jle 0x4c53d8
lea ecx, [ebp - 0x88]
call fcn.0043c4e0
push dword [ebp - 0xc0]
lea ecx, [ebp - 0xb8]
mov byte [ebp - 4], 3
push 0
push ecx
mov ecx, eax
call fcn.00474080
cmp dword [ebp - 0x74], 0x10
mov byte [ebp - 4], 5
jb 0x4c527e
push dword [ebp - 0x88]
call fcn.00567fdc
add esp, 4
mov dword [ebp - 0x74], 0xf
lea ecx, [esi + 1]
mov dword [ebp - 0x78], 0
mov byte [ebp - 0x88], 0
mov al, byte [esi]
inc esi
test al, al
jne 0x4c5296
push dword [ebp - 0xc4]
sub esi, ecx
lea ecx, [ebp - 0xa0]
call fcn.0043c4e0
mov ecx, dword [ebp - 0xc0]
inc ecx
mov byte [ebp - 4], 6
push esi
push ecx
lea ecx, [ebp - 0x58]
push ecx
mov ecx, eax
call fcn.00474080
cmp dword [ebp - 0x8c], 0x10
mov byte [ebp - 4], 8
jb 0x4c52e3
push dword [ebp - 0xa0]
call fcn.00567fdc
add esp, 4
lea esi, [ebx + 1]
mov dword [ebp - 0x8c], 0xf
push esi
lea ecx, [ebp - 0xb8]
mov dword [ebp - 0x90], 0
mov byte [ebp - 0xa0], 0
call fcn.00446030
test eax, eax
je 0x4c5363
push esi
lea ecx, [ebp - 0x58]
call fcn.00446030
test eax, eax
je 0x4c5363
lea ecx, [ebp - 0x58]
call fcn.0064a500
lea ecx, [ebp - 0xb8]
call fcn.0064a500
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 1
call fcn.0064a500
lea ebx, [edi + 0x30]
lea eax, [edi + 4]
push eax
push dword [edi + 0x144]
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
je 0x4c5406
mov esi, dword [ebp - 0xc4]
jmp 0x4c51b2
cmp dword [ebp - 0x44], 0x10
jb 0x4c5374
push dword [ebp - 0x58]
call fcn.00567fdc
add esp, 4
cmp dword [ebp - 0xa4], 0x10
mov dword [ebp - 0x44], 0xf
mov dword [ebp - 0x48], 0
mov byte [ebp - 0x58], 0
jb 0x4c539d
push dword [ebp - 0xb8]
call fcn.00567fdc
add esp, 4
cmp dword [ebp - 0x5c], 0x10
mov byte [ebp - 4], 1
jb 0x4c53b2
push dword [ebp - 0x70]
call fcn.00567fdc
add esp, 4
cmp dword [ebp - 0x14], 0x10
lea ecx, [ebp - 0x28]
mov eax, dword [edi]
lea ebx, [edi + 0x30]
cmovae ecx, dword [ebp - 0x28]
push ebx
push ecx
mov eax, dword [eax + 8]
mov ecx, edi
call eax
test al, al
je 0x4c51e5
jmp 0x4c5340
lea eax, [ebx + 1]
push eax
call fcn.0056b60d
add esp, 8
test eax, eax
je 0x4c539d
cmp dword [ebp - 0x5c], 0x10
mov byte [ebp - 4], 1
jb 0x4c533d
push dword [ebp - 0x70]
call fcn.00567fdc
add esp, 4
jmp 0x4c533d
mov bl, 1
cmp dword [ebp - 0x2c], 0x10
jb 0x4c5419
push dword [ebp - 0x40]
call fcn.00567fdc
add esp, 4
cmp dword [ebp - 0x14], 0x10
mov dword [ebp - 0x2c], 0xf
mov dword [ebp - 0x30], 0
mov byte [ebp - 0x40], 0
jb 0x4c543c
push dword [ebp - 0x28]
call fcn.00567fdc
add esp, 4
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005688a8
mov esp, ebp
pop ebp
ret 0xc