Function at 0x5cb120
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x78adcc
mov eax, dword fs:[0]
push eax
sub esp, 0x1d0
mov eax, dword [0x867e6c]
xor eax, esp
mov dword [esp + 0x1c8], eax
push ebx
push esi
push edi
mov eax, dword [0x867e6c]
xor eax, esp
push eax
lea eax, [esp + 0x1e0]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
push 0xffffffffffffffff
xor esi, esi
mov ebx, ecx
push esi
push eax
lea ecx, [esp + 0x68]
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x28], eax
mov byte [esp + 0x23], 1
mov dword [esp + 0x80], 0xf
mov dword [esp + 0x7c], esi
mov byte [esp + 0x6c], 0
call fcn.00401530
mov dword [esp + 0x1e8], esi
mov eax, dword [esp + 0x70]
cmp eax, 2
jae 0x5cb1c0
cmp dword [esp + 0x74], 0x10
jb 0x5cb1b9
mov eax, dword [esp + 0x60]
push eax
call fcn.006441c7
add esp, 4
xor al, al
jmp 0x5cb4a5
lea esi, [eax - 1]
cmp esi, eax
jbe 0x5cb1d0
call fcn.006441b7
mov eax, dword [esp + 0x70]
mov ecx, dword [esp + 0x60]
mov edi, 0x10
cmp dword [esp + 0x74], edi
jae 0x5cb1e3
lea ecx, [esp + 0x60]
cmp byte [ecx + esi], 0x5c
jne 0x5cb209
lea esi, [eax - 1]
cmp esi, eax
jbe 0x5cb1f5
call fcn.006441b7
mov eax, dword [esp + 0x60]
cmp dword [esp + 0x74], edi
jae 0x5cb203
lea eax, [esp + 0x60]
cmp byte [eax + esi], 0x2f
je 0x5cb219
push 1
push 0x81d740
lea ecx, [esp + 0x64]
call fcn.00402820
lea ecx, [esp + 0x5c]
push ecx
mov edi, 0x8265a0
lea esi, [esp + 0x44]
call fcn.00402fb0
mov edi, 0x10
add esp, 4
cmp dword [eax + 0x18], edi
jb 0x5cb23e
mov eax, dword [eax + 4]
jmp 0x5cb241
add eax, 4
lea edx, [esp + 0x94]
push edx
push eax
call dword [sym.imp.kernel32.dll_FindFirstFileA]
mov esi, eax
mov dword [esp + 0x18], esi
cmp dword [esp + 0x58], edi
jb 0x5cb269
mov eax, dword [esp + 0x44]
push eax
call fcn.006441c7
add esp, 4
mov dword [esp + 0x58], 0xf
mov dword [esp + 0x54], 0
mov byte [esp + 0x44], 0
cmp esi, 0xffffffff
jne 0x5cb2a5
cmp dword [esp + 0x74], edi
jb 0x5cb1b9
mov ecx, dword [esp + 0x60]
push ecx
call fcn.006441c7
add esp, 4
xor al, al
jmp 0x5cb4a5
mov ebx, dword [esp + 0x20]
test byte [esp + 0x94], 0x10
je 0x5cb38a
mov ecx, 0x81d594
lea eax, [esp + 0xc0]
nop
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x5cb2e0
test dl, dl
je 0x5cb2dc
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x5cb2e0
add eax, 2
add ecx, 2
test dl, dl
jne 0x5cb2c0
xor eax, eax
jmp 0x5cb2e5
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x5cb444
mov ecx, 0x81d590
lea eax, [esp + 0xc0]
lea esp, [esp]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x5cb320
test dl, dl
je 0x5cb31c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x5cb320
add eax, 2
add ecx, 2
test dl, dl
jne 0x5cb300
xor eax, eax
jmp 0x5cb325
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x5cb444
lea edx, [esp + 0x5c]
push edx
lea edi, [esp + 0xc4]
lea esi, [esp + 0x7c]
call fcn.00402fb0
add esp, 4
mov edx, eax
mov byte [esp + 0x1e8], 1
call fcn.00439510
test al, al
sete bl
mov byte [esp + 0x1e8], 0
cmp dword [esp + 0x90], 0x10
jb 0x5cb378
mov eax, dword [esp + 0x7c]
push eax
call fcn.006441c7
add esp, 4
test bl, bl
je 0x5cb444
mov byte [esp + 0x17], 0
jmp 0x5cb444
lea ecx, [esp + 0x5c]
push ecx
lea edi, [esp + 0xc4]
lea esi, [esp + 0x7c]
call fcn.00402fb0
add esp, 4
mov byte [esp + 0x1e8], 2
cmp dword [esp + 0x90], 0x10
mov edx, dword [esp + 0x7c]
jae 0x5cb3bc
lea edx, [esp + 0x7c]
mov eax, edx
mov dword [esp + 0x3c], 0xf
mov dword [esp + 0x38], 0
mov byte [esp + 0x28], 0
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x5cb3d6
sub eax, esi
push eax
push edx
lea ecx, [esp + 0x2c]
call fcn.004016e0
mov byte [esp + 0x1e8], 3
mov edx, dword [ebx]
mov edx, dword [edx + 0x74]
lea eax, [esp + 0x24]
push eax
mov ecx, ebx
call edx
test al, al
mov esi, 0x10
sete bl
cmp dword [esp + 0x3c], esi
jb 0x5cb41d
mov eax, dword [esp + 0x28]
push eax
call fcn.006441c7
add esp, 4
test bl, bl
je 0x5cb426
mov byte [esp + 0x17], 0
mov byte [esp + 0x1e8], 0
cmp dword [esp + 0x90], esi
jb 0x5cb444
mov ecx, dword [esp + 0x7c]
push ecx
call fcn.006441c7
add esp, 4
mov esi, dword [esp + 0x18]
lea edx, [esp + 0x94]
push edx
push esi
call dword [sym.imp.kernel32.dll_FindNextFileA]
test eax, eax
jne 0x5cb2a1
push esi
call dword [sym.imp.kernel32.dll_FindClose]
mov eax, dword [esp + 0x1c]
mov esi, 0x10
cmp dword [eax + 0x18], esi
jb 0x5cb479
mov eax, dword [eax + 4]
jmp 0x5cb47c
add eax, 4
push eax
call fcn.006497d7
add esp, 4
test eax, eax
je 0x5cb48e
mov byte [esp + 0x17], 0
cmp dword [esp + 0x74], esi
jb 0x5cb4a1
mov eax, dword [esp + 0x60]
push eax
call fcn.006441c7
add esp, 4
mov al, byte [esp + 0x17]
mov ecx, dword [esp + 0x1e0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x1c8]
xor ecx, esp
call fcn.00643db8
mov esp, ebp
pop ebp
ret 4