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

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x53
push 0
push 0
dec ecx
jne 0x559644
push ecx
push ebx
push esi
push edi
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
call fcn.0040529c
xor eax, eax
push ebp
push 0x5599e3
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp - 4]
mov eax, 0x5599f8
call fcn.00511bd0
mov ebx, eax
test ebx, ebx
jle 0x5596d0
lea eax, [ebp - 0xc]
mov edx, dword [ebp - 4]
call fcn.00404db4
lea eax, [ebp - 0xc]
mov ecx, 1
mov edx, 1
call fcn.00511cf4
mov edx, dword [ebp - 0xc]
mov eax, 0x5599f8
call fcn.00511bd0
mov ebx, eax
test ebx, ebx
jle 0x5596d0
mov eax, dword [ebp - 0xc]
call fcn.00404ef4
mov ecx, eax
sub ecx, ebx
inc ecx
lea eax, [ebp - 0xc]
mov edx, ebx
call fcn.00511cf4
lea eax, [ebp - 4]
mov edx, dword [ebp - 0xc]
call fcn.00404db4
lea ecx, [ebp - 0x26c]
mov dx, 0x22
mov eax, dword [ebp - 4]
call fcn.00512798
mov edx, dword [ebp - 0x26c]
lea eax, [ebp - 4]
call fcn.00404db4
lea ecx, [ebp - 0x270]
mov dx, 0x5c
mov eax, dword [ebp - 4]
call fcn.00512798
mov edx, dword [ebp - 0x270]
lea eax, [ebp - 4]
call fcn.00404db4
mov eax, dword [ebp - 4]
call fcn.0055945c
test al, al
je 0x559968
mov dl, 1
mov eax, dword [0x5118f4]
call fcn.00512498
mov esi, eax
lea eax, [ebp - 0x14]
call fcn.0040461c
lea eax, [ebp - 0x18]
call fcn.0040461c
lea eax, [ebp - 0x10]
call fcn.00404d54
push 0
call sub.kernel32.dll_SetLastError
lea eax, [ebp - 0x268]
push eax
lea eax, [ebp - 0x274]
mov ecx, 0x559a00
mov edx, dword [ebp - 4]
call fcn.00404f60
mov eax, dword [ebp - 0x274]
call fcn.00404ee4
push eax
call sub.kernel32.dll_FindFirstFileW
mov ebx, eax
cmp ebx, 0xffffffff
je 0x559786
mov al, 1
jmp 0x559913
lea eax, [ebp - 0x278]
mov edx, dword [ebp - 4]
call fcn.004048b8
mov eax, dword [ebp - 0x278]
call fcn.0055f594
xor eax, eax
jmp 0x559913
lea eax, [ebp - 0x27c]
lea edx, [ebp - 0x23c]
mov ecx, 0x104
call fcn.00404eb8
mov eax, dword [ebp - 0x27c]
mov edx, 0x559a10
call fcn.0040500c
je 0x559900
lea eax, [ebp - 0x280]
lea edx, [ebp - 0x23c]
mov ecx, 0x104
call fcn.00404eb8
mov eax, dword [ebp - 0x280]
mov edx, 0x559a18
call fcn.0040500c
je 0x559900
test byte [ebp - 0x267], 4
jne 0x559900
test byte [ebp - 0x268], 0x10
je 0x55985a
push dword [ebp - 4]
push 0x559a24
lea eax, [ebp - 0x288]
lea edx, [ebp - 0x23c]
mov ecx, 0x104
call fcn.00404eb8
push dword [ebp - 0x288]
lea eax, [ebp - 0x284]
mov edx, 3
call fcn.00404fc4
mov edx, dword [ebp - 0x284]
mov eax, esi
call fcn.0051228c
jmp 0x559900
lea eax, [ebp - 0x294]
lea edx, [ebp - 0x23c]
mov ecx, 0x104
call fcn.0040489c
mov eax, dword [ebp - 0x294]
lea edx, [ebp - 0x290]
call fcn.00409d94
mov eax, dword [ebp - 0x290]
lea edx, [ebp - 0x28c]
call fcn.00408ef0
mov eax, dword [ebp - 0x28c]
mov edx, 0x559a30
call fcn.00404a34
jne 0x559900
lea eax, [ebp - 0x10]
lea edx, [ebp - 0x23c]
mov ecx, 0x104
call fcn.00404eb8
push dword [ebp - 4]
push 0x559a24
push dword [ebp - 0x10]
lea eax, [ebp - 0x298]
mov edx, 3
call fcn.00404fc4
mov edx, dword [ebp - 0x298]
mov ecx, dword [ebp - 0x248]
mov eax, dword [ebp - 8]
call fcn.0055bd48
mov eax, dword [ebp - 8]
mov eax, dword [eax + 8]
mov eax, dword [eax + 8]
cmp eax, dword [0x564054]
jle 0x559900
mov eax, dword [ebp - 8]
mov byte [eax + 0xc], 1
jmp 0x55991b
lea eax, [ebp - 0x268]
push eax
push ebx
call sub.kernel32.dll_FindNextFileW
cmp eax, 1
sbb eax, eax
inc eax
test al, al
jne 0x5597a6
cmp ebx, 0xffffffff
je 0x559926
push ebx
call sub.kernel32.dll_FindClose_1
mov eax, dword [ebp - 8]
cmp byte [eax + 0xc], 0
jne 0x559961
mov eax, esi
call fcn.00512524
mov edi, eax
dec edi
test edi, edi
jl 0x559961
inc edi
xor ebx, ebx
lea ecx, [ebp - 0x29c]
mov edx, ebx
mov eax, esi
call fcn.005122e0
mov eax, dword [ebp - 0x29c]
mov edx, dword [ebp - 8]
call fcn.0055963c
inc ebx
dec edi
jne 0x559940
mov eax, esi
call fcn.004037f0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5599ea
lea eax, [ebp - 0x29c]
mov edx, 2
call fcn.00404d6c
lea eax, [ebp - 0x294]
mov edx, 3
call fcn.00404640
lea eax, [ebp - 0x288]
mov edx, 4
call fcn.00404d6c
lea eax, [ebp - 0x278]
call fcn.0040461c
lea eax, [ebp - 0x274]
mov edx, 3
call fcn.00404d6c
lea eax, [ebp - 0x18]
mov edx, 2
call fcn.00404640
lea eax, [ebp - 0x10]
mov edx, 2
call fcn.00404d6c
lea eax, [ebp - 4]
call fcn.00404d54
ret