Function at 0x10013000
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100468c8
mov eax, dword fs:[0]
push eax
sub esp, 0x2fc
mov eax, dword [0x1005a280]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
mov dword [ebp - 0x308], esi
mov dword [ebp - 0x2f4], 1
mov dword [ebp - 4], 0
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
lea eax, [ebp + 0xc]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0x70]
mov edi, 1
push eax
mov dword [ebp - 0x2f4], edi
call fcn.10013d60
push str._.
push eax
lea eax, [ebp - 0xa0]
mov dword [ebp - 4], 2
push eax
call fcn.1000fb40
add esp, 0x14
mov ecx, dword [ebp - 0x5c]
mov byte [ebp - 4], 4
cmp ecx, 7
jbe 0x100130d1
mov edx, dword [ebp - 0x70]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x100130c7
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1001354a
push ecx
push edx
call fcn.100278c5
add esp, 8
xor eax, eax
mov dword [ebp - 0x60], 0
cmp dword [ebp - 0x8c], 7
lea ecx, [ebp - 0x2f0]
mov word [ebp - 0x70], ax
lea eax, [ebp - 0xa0]
cmova eax, dword [ebp - 0xa0]
push ecx
push eax
mov dword [ebp - 0x5c], 7
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x2f8], eax
cmp eax, 0xffffffff
jne 0x10013170
lea ecx, [ebp - 0xa0]
call fcn.10005b30
mov ecx, dword [ebp + 0x20]
cmp ecx, 0xf
jbe 0x10013151
mov edx, dword [ebp + 0xc]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10013147
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10013545
push ecx
push edx
call fcn.100278c5
add esp, 8
mov eax, esi
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.100278e1
mov esp, ebp
pop ebp
ret
test byte [ebp - 0x2f0], 0x10
jne 0x100134df
xorps xmm0, xmm0
mov dword [ebp - 0x48], 0
lea ecx, [ebp - 0x2c4]
mov dword [ebp - 0x44], 0
movups xmmword [ebp - 0x58], xmm0
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100131a0
sub ecx, edx
lea eax, [ebp - 0x2c4]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x58]
call fcn.1000fbb0
lea eax, [ebp + 0xc]
mov byte [ebp - 4], 5
push eax
lea eax, [ebp - 0x88]
push eax
call fcn.10013d60
add esp, 8
push 1
push 0x1004ab48
mov ecx, eax
mov byte [ebp - 4], 6
call fcn.10011b00
mov dword [ebp - 0x18], 0
xorps xmm0, xmm0
movups xmmword [ebp - 0x28], xmm0
mov dword [ebp - 0x14], 0
xor ecx, ecx
movups xmm0, xmmword [eax]
or edi, 2
mov dword [ebp - 0x2f4], edi
movups xmmword [ebp - 0x28], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x18], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
cmp dword [ebp - 0x44], 7
lea eax, [ebp - 0x58]
push dword [ebp - 0x48]
cmova eax, dword [ebp - 0x58]
lea ecx, [ebp - 0x28]
push eax
mov byte [ebp - 4], 7
call fcn.10011b00
mov dword [ebp - 0x30], 0
xorps xmm0, xmm0
movups xmmword [ebp - 0x40], xmm0
mov dword [ebp - 0x2c], 0
xor ecx, ecx
movups xmm0, xmmword [eax]
or edi, 4
mov dword [ebp - 0x2f4], edi
movups xmmword [ebp - 0x40], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x30], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
mov ecx, dword [ebp - 0x14]
mov byte [ebp - 4], 9
cmp ecx, 7
jbe 0x100132c5
mov edx, dword [ebp - 0x28]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x100132bb
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1001354a
push ecx
push edx
call fcn.100278c5
add esp, 8
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov ecx, dword [ebp - 0x74]
mov byte [ebp - 4], 0xa
cmp ecx, 7
jbe 0x1001331a
mov edx, dword [ebp - 0x88]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x10013310
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1001354a
push ecx
push edx
call fcn.100278c5
add esp, 8
xor eax, eax
mov dword [ebp - 0x78], 0
mov word [ebp - 0x88], ax
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x304]
mov dword [ebp - 0x74], 7
push eax
call fcn.10011500
add esp, 8
mov edx, dword [eax]
xorps xmm0, xmm0
mov eax, edx
mov byte [ebp - 4], 0xb
movups xmmword [ebp - 0x28], xmm0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
lea edi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x10013364
sub eax, edi
lea ecx, [ebp - 0x28]
push eax
push edx
call fcn.10002af0
mov eax, dword [esi + 4]
mov byte [ebp - 4], 0xc
cmp eax, dword [esi + 8]
je 0x100133a3
movups xmm0, xmmword [ebp - 0x28]
mov ecx, 0xf
mov byte [ebp - 0x28], 0
movups xmmword [eax], xmm0
movq xmm0, qword [ebp - 0x18]
movq qword [eax + 0x10], xmm0
add dword [esi + 4], 0x18
jmp 0x100133b2
lea ecx, [ebp - 0x28]
push ecx
push eax
mov ecx, esi
call fcn.1000fc50
mov ecx, dword [ebp - 0x14]
mov byte [ebp - 4], 0xb
cmp ecx, 0xf
jbe 0x100133e7
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100133dd
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1001354a
push ecx
push edx
call fcn.100278c5
add esp, 8
mov ecx, dword [ebp - 0x304]
mov byte [ebp - 4], 0xa
test ecx, ecx
je 0x10013443
mov edx, dword [ebp - 0x2fc]
mov eax, ecx
sub edx, ecx
cmp edx, 0x1000
jb 0x1001341b
mov ecx, dword [eax - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1001354a
push edx
push ecx
call fcn.100278c5
add esp, 8
mov dword [ebp - 0x304], 0
mov dword [ebp - 0x300], 0
mov dword [ebp - 0x2fc], 0
mov ecx, dword [ebp - 0x2c]
mov byte [ebp - 4], 5
cmp ecx, 7
jbe 0x10013481
mov edx, dword [ebp - 0x40]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x10013477
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1001354a
push ecx
push edx
call fcn.100278c5
add esp, 8
mov ecx, dword [ebp - 0x44]
xor eax, eax
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
mov byte [ebp - 4], 4
cmp ecx, 7
jbe 0x100134d3
mov edx, dword [ebp - 0x58]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x100134c9
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1001354a
push ecx
push edx
call fcn.100278c5
add esp, 8
mov edi, dword [ebp - 0x2f4]
mov eax, dword [ebp - 0x2f8]
lea ecx, [ebp - 0x2f0]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
je 0x100134fc
mov eax, dword [ebp - 0x2f8]
jmp 0x10013170
push dword [ebp - 0x2f8]
call dword [sym.imp.KERNEL32.dll_FindClose]
lea ecx, [ebp - 0xa0]
call fcn.10005b30
mov ecx, dword [ebp + 0x20]
cmp ecx, 0xf
jbe 0x10013151
mov edx, dword [ebp + 0xc]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10013147
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10013147
call fcn.1002caaf
call fcn.1002caaf
int3