Function at 0x56b560
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x7148ee
mov eax, dword fs:[0]
push eax
sub esp, 0xd0
mov eax, dword [0x7b7fc0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0xbc], ecx
mov ecx, dword [ebp - 0xbc]
call fcn.0056b990
mov eax, dword [ebp + 0xc]
push eax
lea ecx, [ebp - 0x28]
call fcn.00447530
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.00447050
test eax, eax
je 0x56b5ed
lea ecx, [ebp - 0x28]
call fcn.00447050
sub eax, 1
push eax
lea ecx, [ebp - 0x28]
call fcn.00447330
mov cl, byte [eax]
mov byte [ebp - 0xbd], cl
movsx edx, byte [ebp - 0xbd]
cmp edx, 0x5c
je 0x56b5ed
push 0x5c
lea ecx, [ebp - 0x28]
call fcn.004599f0
lea ecx, [ebp - 0x40]
call fcn.004419d0
mov byte [ebp - 4], 1
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x40]
call fcn.00447400
push 0x73d1e8
lea ecx, [ebp - 0x40]
call fcn.0044ac90
mov ecx, dword [ebp - 0xbc]
mov edx, dword [ecx + 4]
or edx, 0x10
mov eax, dword [ebp - 0xbc]
mov dword [eax + 4], edx
mov ecx, dword [ebp - 0xbc]
add ecx, 4
push ecx
lea ecx, [ebp - 0x40]
call fcn.00441d60
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov edx, dword [ebp - 0xbc]
mov dword [edx + 0x144], eax
mov eax, dword [ebp - 0xbc]
cmp dword [eax + 0x144], 0xffffffff
jne 0x56b688
mov byte [ebp - 0xbe], 1
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x40]
call fcn.004419f0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.004419f0
mov al, byte [ebp - 0xbe]
jmp 0x56b96c
mov ecx, 1
imul edx, ecx, 0
mov eax, dword [ebp - 0xbc]
movsx ecx, byte [eax + edx + 0x30]
cmp ecx, 0x2e
jne 0x56b6a5
jmp 0x56b91f
mov ecx, dword [ebp - 0xbc]
call fcn.0056b9f0
movzx edx, al
test edx, edx
je 0x56b71a
mov eax, dword [ebp - 0xbc]
add eax, 0x30
push eax
lea ecx, [ebp - 0x28]
call fcn.00441d60
push eax
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 0xbc]
mov eax, dword [edx]
mov ecx, dword [ebp - 0xbc]
mov edx, dword [eax + 4]
call edx
movzx eax, al
test eax, eax
jne 0x56b715
mov byte [ebp - 0xbf], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x40]
call fcn.004419f0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.004419f0
mov al, byte [ebp - 0xbf]
jmp 0x56b96c
jmp 0x56b91f
push 0x2e
mov ecx, dword [ebp - 0xbc]
add ecx, 0x30
push ecx
call fcn.00505420
add esp, 8
mov dword [ebp - 0xc8], eax
cmp dword [ebp - 0xc8], 0
jne 0x56b742
jmp 0x56b91f
cmp dword [ebp + 0x10], 0
je 0x56b8c8
mov edx, dword [ebp + 8]
push edx
lea ecx, [ebp - 0x58]
call fcn.00447530
mov byte [ebp - 4], 2
push 0
push 0x3b
lea ecx, [ebp - 0x58]
call fcn.0056ba10
mov dword [ebp - 0xcc], eax
cmp dword [ebp - 0xcc], 0
jle 0x56b894
mov eax, dword [ebp - 0xcc]
push eax
push 0
lea ecx, [ebp - 0x88]
push ecx
mov edx, dword [ebp + 8]
push edx
lea ecx, [ebp - 0xa0]
call fcn.00447530
mov dword [ebp - 0xd0], eax
mov eax, dword [ebp - 0xd0]
mov dword [ebp - 0xd4], eax
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0xd4]
call fcn.0044dcc0
mov byte [ebp - 4], 5
lea ecx, [ebp - 0xa0]
call fcn.004419f0
mov ecx, dword [ebp + 8]
push ecx
call fcn.00681de0
add esp, 4
push eax
mov edx, dword [ebp - 0xcc]
add edx, 1
push edx
lea eax, [ebp - 0x70]
push eax
mov ecx, dword [ebp + 8]
push ecx
lea ecx, [ebp - 0xb8]
call fcn.00447530
mov dword [ebp - 0xd8], eax
mov edx, dword [ebp - 0xd8]
mov dword [ebp - 0xdc], edx
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0xdc]
call fcn.0044dcc0
mov byte [ebp - 4], 5
lea ecx, [ebp - 0xb8]
call fcn.004419f0
mov eax, dword [ebp - 0xc8]
add eax, 1
push eax
lea ecx, [ebp - 0x88]
call fcn.004a1ad0
test eax, eax
je 0x56b87b
mov ecx, dword [ebp - 0xc8]
add ecx, 1
push ecx
lea ecx, [ebp - 0x70]
call fcn.004a1ad0
test eax, eax
je 0x56b87b
lea ecx, [ebp - 0x70]
call fcn.004419f0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x88]
call fcn.004419f0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x58]
call fcn.004419f0
jmp 0x56b91f
lea ecx, [ebp - 0x70]
call fcn.004419f0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x88]
call fcn.004419f0
jmp 0x56b8bc
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 0xc8]
add eax, 1
push eax
call fcn.0068bdf1
add esp, 8
test eax, eax
je 0x56b8bc
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x58]
call fcn.004419f0
jmp 0x56b91f
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x58]
call fcn.004419f0
mov ecx, dword [ebp - 0xbc]
add ecx, 0x30
push ecx
lea ecx, [ebp - 0x28]
call fcn.00441d60
push eax
mov edx, dword [ebp - 0xbc]
mov eax, dword [edx]
mov ecx, dword [ebp - 0xbc]
mov edx, dword [eax + 8]
call edx
movzx eax, al
test eax, eax
jne 0x56b91f
mov byte [ebp - 0xc0], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x40]
call fcn.004419f0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.004419f0
mov al, byte [ebp - 0xc0]
jmp 0x56b96c
mov ecx, dword [ebp - 0xbc]
add ecx, 4
push ecx
mov edx, dword [ebp - 0xbc]
mov eax, dword [edx + 0x144]
push eax
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x56b688
mov byte [ebp - 0xc1], 1
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x40]
call fcn.004419f0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.004419f0
mov al, byte [ebp - 0xc1]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0065d40e
mov esp, ebp
pop ebp
ret 0xc