Function at 0x572e60
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x639ed7
mov eax, dword fs:[0]
push eax
sub esp, 0x300
mov eax, dword [0x6f8b74]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 0x38]
mov dword [ebp - 0x294], 0
mov dword [ebp - 4], 0
xor eax, eax
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 7
mov word [ebp - 0x3c], ax
xorps xmm0, xmm0
mov dword [ebp - 0x14], eax
movups xmmword [ebp - 0x24], xmm0
push 8
mov byte [ebp - 4], 3
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
call fcn.005b5266
lea ecx, [ebp - 0x24]
add esp, 4
mov dword [eax + 4], 0
mov dword [ebp - 0x24], eax
mov dword [eax], ecx
mov edx, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x1c]
mov byte [ebp - 4], 4
lea eax, [edx + 1]
cmp ecx, eax
ja 0x572f0c
push 1
lea ecx, [ebp - 0x24]
call fcn.00476730
mov edx, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x18]
dec ecx
and eax, ecx
mov dword [ebp - 0x18], eax
add eax, edx
and ecx, eax
lea esi, [ecx*4]
mov ecx, dword [ebp - 0x20]
cmp dword [esi + ecx], 0
jne 0x572f3c
push 0x18
call fcn.005b5266
mov ecx, dword [ebp - 0x20]
add esp, 4
mov dword [esi + ecx], eax
mov ecx, dword [ebp - 0x20]
mov ecx, dword [esi + ecx]
lea eax, [ebp + 8]
push eax
call fcn.00435a60
inc dword [ebp - 0x14]
push edi
push dword [edi + 4]
push dword [edi]
call fcn.00454900
mov eax, dword [edi]
add esp, 0xc
mov dword [edi + 4], eax
mov ecx, dword [ebp - 0x14]
test ecx, ecx
je 0x5733ee
mov eax, dword [ebp - 0x18]
lea edx, [ebp - 0x24]
add eax, ecx
mov ecx, dword [edx + 8]
mov dword [ebp - 0x2a0], eax
dec ecx
dec eax
and ecx, eax
mov eax, dword [edx + 4]
mov eax, dword [eax + ecx*4]
lea ecx, [ebp + 8]
cmp ecx, eax
je 0x572fa1
cmp dword [eax + 0x14], 8
mov ecx, eax
jb 0x572f95
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
lea ecx, [ebp + 8]
call fcn.00446390
push 0x665ec8
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 0x2f4]
push eax
call fcn.00476330
add esp, 0xc
cmp dword [ebp + 0x34], 8
lea ecx, [ebp + 0x20]
push dword [ebp + 0x30]
cmovae ecx, dword [ebp + 0x20]
push ecx
mov ecx, eax
mov byte [ebp - 4], 5
call fcn.00457e60
or dword [ebp - 0x294], 1
xor ecx, ecx
movups xmm0, xmmword [eax]
movq xmm1, qword [eax + 0x10]
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
mov edx, dword [ebp - 0x28]
movq qword [ebp - 0x29c], xmm1
movups xmmword [ebp - 0x2ac], xmm0
cmp edx, 8
jb 0x57304d
mov ecx, dword [ebp - 0x3c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x573034
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5734ee
push edx
push ecx
call fcn.005b5296
movups xmm0, xmmword [ebp - 0x2ac]
add esp, 8
movq xmm1, qword [ebp - 0x29c]
mov edx, dword [ebp - 0x2e0]
movq qword [ebp - 0x2c], xmm1
mov byte [ebp - 4], 4
movups xmmword [ebp - 0x3c], xmm0
cmp edx, 8
jb 0x57309a
mov ecx, dword [ebp - 0x2f4]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x573090
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5734ee
push edx
push ecx
call fcn.005b5296
add esp, 8
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x14]
dec eax
mov edx, dword [ebp - 0x1c]
add ecx, eax
mov eax, dword [ebp - 0x20]
dec edx
and edx, ecx
push dword [eax + edx*4]
lea eax, [ebp - 0x24]
push eax
call fcn.004765f0
mov eax, dword [ebp - 0x18]
add esp, 8
sub dword [ebp - 0x14], 1
mov ecx, 0
cmove eax, ecx
cmp dword [ebp - 0x28], 8
mov dword [ebp - 0x18], eax
lea ecx, [ebp - 0x28c]
lea eax, [ebp - 0x3c]
cmovae eax, dword [ebp - 0x3c]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x298], eax
mov esi, eax
cmp eax, 0xffffffff
je 0x5733c8
nop word [eax + eax]
mov edx, 0x664a90
lea ecx, [ebp - 0x260]
nop dword [eax + eax]
mov ax, word [ecx]
cmp ax, word [edx]
jne 0x573136
test ax, ax
je 0x573132
mov ax, word [ecx + 2]
cmp ax, word [edx + 2]
jne 0x573136
add ecx, 4
add edx, 4
test ax, ax
jne 0x573110
xor eax, eax
jmp 0x57313b
sbb eax, eax
or eax, 1
test eax, eax
je 0x5733b2
mov eax, 0x665fb0
lea ecx, [ebp - 0x260]
nop
mov dx, word [ecx]
cmp dx, word [eax]
jne 0x573176
test dx, dx
je 0x573172
mov dx, word [ecx + 2]
cmp dx, word [eax + 2]
jne 0x573176
add ecx, 4
add eax, 4
test dx, dx
jne 0x573150
xor eax, eax
jmp 0x57317b
sbb eax, eax
or eax, 1
test eax, eax
je 0x5733b2
test byte [ebp - 0x28c], 0x10
lea eax, [ebp + 8]
push 0x665ec8
push eax
lea eax, [ebp - 0x2dc]
push eax
je 0x573288
call fcn.00476330
add esp, 0xc
mov edx, eax
lea ecx, [ebp - 0x260]
mov byte [ebp - 4], 6
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x5731b7
sub ecx, esi
lea eax, [ebp - 0x260]
sar ecx, 1
push ecx
push eax
mov ecx, edx
call fcn.00457e60
or dword [ebp - 0x294], 2
xor ecx, ecx
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x2ec], xmm0
movups xmmword [ebp - 0x30c], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x2a4], xmm0
movq qword [ebp - 0x2fc], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
mov edx, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x1c]
mov byte [ebp - 4], 7
lea eax, [edx + 1]
cmp ecx, eax
ja 0x573236
push 1
lea ecx, [ebp - 0x24]
call fcn.00476730
mov edx, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x18]
dec ecx
and eax, ecx
mov dword [ebp - 0x18], eax
add eax, edx
and eax, ecx
lea esi, [eax*4]
mov eax, dword [ebp - 0x20]
cmp dword [esi + eax], 0
jne 0x573266
push 0x18
call fcn.005b5266
mov ecx, dword [ebp - 0x20]
add esp, 4
mov dword [esi + ecx], eax
mov eax, dword [ebp - 0x20]
mov eax, dword [esi + eax]
movups xmm0, xmmword [ebp - 0x2ec]
movups xmmword [eax], xmm0
movq xmm0, qword [ebp - 0x2a4]
movq qword [eax + 0x10], xmm0
inc dword [ebp - 0x14]
jmp 0x573368
call fcn.00476330
add esp, 0xc
mov edx, eax
lea ecx, [ebp - 0x260]
mov byte [ebp - 4], 8
lea esi, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x5732a0
sub ecx, esi
lea eax, [ebp - 0x260]
sar ecx, 1
push ecx
push eax
mov ecx, edx
call fcn.00457e60
or dword [ebp - 0x294], 4
xor ecx, ecx
movups xmm0, xmmword [eax]
movq xmm1, qword [eax + 0x10]
movups xmmword [ebp - 0x2c4], xmm0
mov dword [eax + 0x10], 0
movq qword [ebp - 0x2b4], xmm1
mov dword [eax + 0x14], 7
mov word [eax], cx
mov eax, dword [edi + 4]
mov byte [ebp - 4], 9
cmp eax, dword [edi + 8]
je 0x573315
movups xmmword [eax], xmm0
lea edx, [ecx + 7]
movq qword [eax + 0x10], xmm1
xor eax, eax
add dword [edi + 4], 0x18
mov word [ebp - 0x2c4], ax
jmp 0x57332a
lea ecx, [ebp - 0x2c4]
push ecx
push eax
mov ecx, edi
call fcn.004763f0
mov edx, dword [ebp - 0x2b0]
mov byte [ebp - 4], 8
cmp edx, 8
jb 0x573368
mov ecx, dword [ebp - 0x2c4]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x57335e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5734ee
push edx
push ecx
call fcn.005b5296
add esp, 8
mov edx, dword [ebp - 0x2c8]
mov byte [ebp - 4], 4
cmp edx, 8
jb 0x5733ac
mov ecx, dword [ebp - 0x2dc]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x5733a2
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5734ee
push edx
push ecx
call fcn.005b5296
add esp, 8
mov esi, dword [ebp - 0x298]
lea eax, [ebp - 0x28c]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x573100
call dword [sym.imp.KERNEL32.dll_GetLastError]
push esi
cmp eax, 0x12
jne 0x5733df
call dword [sym.imp.KERNEL32.dll_FindClose]
jmp 0x572f5e
call dword [sym.imp.KERNEL32.dll_FindClose]
mov byte [ebp - 0x28d], 0
jmp 0x5733f5
mov byte [ebp - 0x28d], 1
lea ecx, [ebp - 0x24]
call fcn.00476650
mov edx, dword [ebp - 0x28]
cmp edx, 8
jb 0x573437
mov ecx, dword [ebp - 0x3c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x57342d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5734ee
push edx
push ecx
call fcn.005b5296
add esp, 8
mov edx, dword [ebp + 0x1c]
xor eax, eax
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 7
mov word [ebp - 0x3c], ax
cmp edx, 8
jb 0x573481
mov ecx, dword [ebp + 8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x573477
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5734ee
push edx
push ecx
call fcn.005b5296
add esp, 8
mov edx, dword [ebp + 0x34]
xor eax, eax
mov dword [ebp + 0x18], 0
mov dword [ebp + 0x1c], 7
mov word [ebp + 8], ax
cmp edx, 8
jb 0x5734cb
mov ecx, dword [ebp + 0x20]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x5734c1
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5734ee
push edx
push ecx
call fcn.005b5296
add esp, 8
mov al, byte [ebp - 0x28d]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005b56fe
mov esp, ebp
pop ebp
ret 0x34
call fcn.005c116d
int3