Function at 0x10012a30
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101925ae
mov eax, dword fs:[0]
push eax
sub esp, 0x2fc
mov eax, dword [0x101fd000]
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 + 8]
mov dword [ebp - 0x2d8], edi
mov dword [ebp - 0x2ac], 1
mov dword [ebp - 4], 0
xorps xmm0, xmm0
movq qword [edi], xmm0
mov dword [edi + 8], 0
mov dword [edi], 0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
lea eax, [ebp + 0xc]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0x2f0]
mov dword [ebp - 0x2ac], 1
push eax
call fcn.10012810
push 4
push str._.
mov ecx, eax
mov dword [ebp - 4], 2
call fcn.100163d0
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]
mov esi, 0x11
mov dword [ebp - 0x2ac], esi
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 byte [ebp - 4], 4
mov ecx, dword [ebp - 0x2dc]
cmp ecx, 7
jbe 0x10012b54
mov edx, dword [ebp - 0x2f0]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x10012b4a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100130df
push ecx
push edx
call fcn.10165540
add esp, 8
xor eax, eax
mov dword [ebp - 0x2e0], 0
cmp dword [ebp - 0x2c], 7
lea ecx, [ebp - 0x2a8]
mov word [ebp - 0x2f0], ax
lea eax, [ebp - 0x40]
cmova eax, dword [ebp - 0x40]
push ecx
push eax
mov dword [ebp - 0x2dc], 7
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x2b0], eax
cmp eax, 0xffffffff
jne 0x10012c40
mov ecx, dword [ebp - 0x2c]
cmp ecx, 7
jbe 0x10012bd3
mov edx, dword [ebp - 0x40]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x10012bc9
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100130da
push ecx
push edx
call fcn.10165540
add esp, 8
mov ecx, dword [ebp + 0x20]
xor eax, eax
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
cmp ecx, 0xf
jbe 0x10012c1b
mov edx, dword [ebp + 0xc]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10012c11
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100130da
push ecx
push edx
call fcn.10165540
add esp, 8
mov eax, edi
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.1016550f
mov esp, ebp
pop ebp
ret 0x1c
test byte [ebp - 0x2a8], 0x10
jne 0x10013035
lea eax, [ebp - 0x27c]
push eax
lea ecx, [ebp - 0x58]
call fcn.10015670
lea eax, [ebp + 0xc]
mov byte [ebp - 4], 5
push eax
lea eax, [ebp - 0x308]
push eax
call fcn.10012810
push 1
push 0x101dae38
mov ecx, eax
mov byte [ebp - 4], 6
call fcn.100163d0
mov dword [ebp - 0x2c4], 0
xorps xmm0, xmm0
movups xmmword [ebp - 0x2d4], xmm0
mov dword [ebp - 0x2c0], 0
xor ecx, ecx
movups xmm0, xmmword [eax]
or esi, 2
mov dword [ebp - 0x2ac], esi
movups xmmword [ebp - 0x2d4], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x2c4], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
mov byte [ebp - 4], 7
lea eax, [ebp - 0x58]
cmp dword [ebp - 0x44], 7
lea ecx, [ebp - 0x2d4]
push dword [ebp - 0x48]
cmova eax, dword [ebp - 0x58]
push eax
call fcn.100163d0
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 esi, 4
mov dword [ebp - 0x2ac], esi
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
mov byte [ebp - 4], 9
mov ecx, dword [ebp - 0x2c0]
cmp ecx, 7
jbe 0x10012d77
mov edx, dword [ebp - 0x2d4]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x10012d6d
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100130df
push ecx
push edx
call fcn.10165540
add esp, 8
xor eax, eax
mov dword [ebp - 0x2c4], 0
mov dword [ebp - 0x2c0], 7
mov word [ebp - 0x2d4], ax
mov byte [ebp - 4], 0xa
mov ecx, dword [ebp - 0x2f4]
cmp ecx, 7
jbe 0x10012dd8
mov edx, dword [ebp - 0x308]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x10012dce
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100130df
push ecx
push edx
call fcn.10165540
add esp, 8
push 0
push 0
push 0
xor eax, eax
mov dword [ebp - 0x2f8], 0
cmp dword [ebp - 0x14], 7
push 0
push dword [ebp - 0x18]
mov word [ebp - 0x308], ax
lea eax, [ebp - 0x28]
cmova eax, dword [ebp - 0x28]
push eax
push 0
push 0xfde9
mov dword [ebp - 0x2f4], 7
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov esi, eax
mov dword [ebp - 0x2b4], 0
push ecx
xorps xmm0, xmm0
lea ecx, [ebp - 0x2bc]
movq qword [ebp - 0x2bc], xmm0
lea eax, [esi + 1]
push eax
call fcn.1000e640
or dword [ebp - 0x2ac], 8
lea eax, [ebp - 0x28]
cmp dword [ebp - 0x14], 7
push 0
cmova eax, dword [ebp - 0x28]
push 0
push esi
push dword [ebp - 0x2bc]
push dword [ebp - 0x18]
push eax
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov eax, dword [ebp - 0x2bc]
mov byte [eax + esi], 0
mov byte [ebp - 4], 0xb
xorps xmm0, xmm0
mov edx, dword [ebp - 0x2bc]
mov eax, edx
movups xmmword [ebp - 0x2d4], xmm0
mov dword [ebp - 0x2c4], 0
mov dword [ebp - 0x2c0], 0
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x10012ea5
sub eax, esi
lea ecx, [ebp - 0x2d4]
push eax
push edx
call fcn.1000dcd0
mov byte [ebp - 4], 0xc
mov eax, dword [edi + 4]
cmp eax, dword [edi + 8]
je 0x10012ef0
movups xmm0, xmmword [ebp - 0x2d4]
mov ecx, 0xf
mov byte [ebp - 0x2d4], 0
movups xmmword [eax], xmm0
movq xmm0, qword [ebp - 0x2c4]
movq qword [eax + 0x10], xmm0
add dword [edi + 4], 0x18
jmp 0x10012f05
lea ecx, [ebp - 0x2d4]
push ecx
push eax
mov ecx, edi
call fcn.10016560
mov ecx, dword [ebp - 0x2c0]
mov byte [ebp - 4], 0xb
cmp ecx, 0xf
jbe 0x10012f3d
mov edx, dword [ebp - 0x2d4]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10012f33
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100130df
push ecx
push edx
call fcn.10165540
add esp, 8
mov byte [ebp - 4], 0xa
mov ecx, dword [ebp - 0x2bc]
test ecx, ecx
je 0x10012f99
mov edx, dword [ebp - 0x2b4]
mov eax, ecx
sub edx, ecx
cmp edx, 0x1000
jb 0x10012f71
mov ecx, dword [eax - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100130df
push edx
push ecx
call fcn.10165540
add esp, 8
mov dword [ebp - 0x2bc], 0
mov dword [ebp - 0x2b8], 0
mov dword [ebp - 0x2b4], 0
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x14]
cmp ecx, 7
jbe 0x10012fd7
mov edx, dword [ebp - 0x28]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x10012fcd
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100130df
push ecx
push edx
call fcn.10165540
add esp, 8
xor eax, eax
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x44]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
cmp ecx, 7
jbe 0x10013029
mov edx, dword [ebp - 0x58]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x1001301f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100130df
push ecx
push edx
call fcn.10165540
add esp, 8
mov eax, dword [ebp - 0x2b0]
mov esi, dword [ebp - 0x2ac]
lea ecx, [ebp - 0x2a8]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
je 0x10013052
mov eax, dword [ebp - 0x2b0]
jmp 0x10012c40
push dword [ebp - 0x2b0]
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp - 0x2c]
cmp ecx, 7
jbe 0x10013094
mov edx, dword [ebp - 0x40]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x1001308a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100130da
push ecx
push edx
call fcn.10165540
add esp, 8
mov ecx, dword [ebp + 0x20]
xor eax, eax
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
cmp ecx, 0xf
jbe 0x10012c1b
mov edx, dword [ebp + 0xc]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10012c11
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10012c11
call fcn.1016cb5f
call fcn.1016cb5f
int3