Function at 0x10012080
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101a5fc6
mov eax, dword fs:[0]
push eax
sub esp, 0x320
mov eax, dword [0x10216040]
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, ecx
mov dword [ebp - 0x310], esi
mov dword [ebp - 0x2d0], esi
mov dword [ebp - 0x314], esi
mov dword [ebp - 0x2c4], 0
mov dword [ebp - 4], 1
xorps xmm0, xmm0
movq qword [esi], xmm0
mov dword [esi + 8], 0
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
lea edx, [ebp + 8]
mov dword [ebp - 0x2c4], 1
lea ecx, [ebp - 0x32c]
call fcn.100117a0
push 4
push str._.
mov ecx, eax
mov byte [ebp - 4], 2
call fcn.100154e0
mov dword [ebp - 0x48], 0
xorps xmm0, xmm0
movups xmmword [ebp - 0x58], xmm0
mov dword [ebp - 0x44], 0
mov edi, 3
movups xmm0, xmmword [eax]
xor ecx, ecx
mov dword [ebp - 0x2d0], edi
mov dword [ebp - 0x2c4], edi
movups xmmword [ebp - 0x58], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x48], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x318]
cmp ecx, 7
jbe 0x100121ac
mov edx, dword [ebp - 0x32c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x100121a2
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100128f0
push ecx
push edx
call fcn.10178716
add esp, 8
xor eax, eax
mov dword [ebp - 0x31c], 0
cmp dword [ebp - 0x44], 7
lea ecx, [ebp - 0x2c0]
mov word [ebp - 0x32c], ax
lea eax, [ebp - 0x58]
cmova eax, dword [ebp - 0x58]
push ecx
push eax
mov dword [ebp - 0x318], 7
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x2c8], eax
cmp eax, 0xffffffff
je 0x10012859
test byte [ebp - 0x2c0], 0x10
je 0x10012830
mov ecx, 0x101f1608
lea eax, [ebp - 0x294]
nop dword [eax]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x10012236
test dx, dx
je 0x10012232
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x10012236
add eax, 4
add ecx, 4
test dx, dx
jne 0x10012210
xor eax, eax
jmp 0x1001223b
sbb eax, eax
or eax, 1
test eax, eax
je 0x1001282a
mov eax, 0x101f160c
lea ecx, [ebp - 0x294]
nop
mov dx, word [ecx]
cmp dx, word [eax]
jne 0x10012276
test dx, dx
je 0x10012272
mov dx, word [ecx + 2]
cmp dx, word [eax + 2]
jne 0x10012276
add ecx, 4
add eax, 4
test dx, dx
jne 0x10012250
xor eax, eax
jmp 0x1001227b
sbb eax, eax
or eax, 1
test eax, eax
je 0x1001282a
lea eax, [ebp - 0x294]
push eax
lea ecx, [ebp - 0x70]
call fcn.100146e0
mov byte [ebp - 4], 5
mov ecx, dword [ebp + 0x18]
test ecx, ecx
jne 0x100122c8
xorps xmm0, xmm0
mov dword [ebp - 0x2fc], ecx
xor eax, eax
mov dword [ebp - 0x2f8], 7
movups xmmword [ebp - 0x30c], xmm0
mov word [ebp - 0x30c], ax
or edi, 4
jmp 0x10012457
cmp dword [ebp + 0x1c], 0xf
lea eax, [ebp + 8]
push 0
cmova eax, dword [ebp + 8]
push 0
push ecx
push eax
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov esi, eax
test esi, esi
jne 0x10012304
push 0x101f1648
lea ecx, [ebp - 0x30c]
call fcn.100146e0
or edi, 4
jmp 0x10012457
mov dword [ebp - 0x18], 0
xorps xmm0, xmm0
mov dword [ebp - 0x14], 0
movups xmmword [ebp - 0x28], xmm0
cmp esi, 0x7ffffffe
ja 0x100128f5
cmp esi, 7
ja 0x1001234d
xor eax, eax
mov dword [ebp - 0x18], esi
mov ecx, esi
mov dword [ebp - 0x14], 7
shr ecx, 1
lea edi, [ebp - 0x28]
rep stosd dword es:[edi], eax
adc ecx, ecx
rep stosw word es:[edi], ax
xor eax, eax
mov word [ebp + esi*2 - 0x28], ax
jmp 0x100123af
mov eax, esi
or eax, 7
cmp eax, 0x7ffffffe
jbe 0x10012365
mov dword [ebp - 0x2cc], SysReAllocStringLen
jmp 0x10012376
cmp eax, 0xa
mov ecx, 0xa
cmovb eax, ecx
mov dword [ebp - 0x2cc], eax
lea eax, [ebp - 0x2cc]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.10003a10
mov edx, eax
mov ecx, esi
mov eax, dword [ebp - 0x2cc]
mov edi, edx
mov dword [ebp - 0x14], eax
add esp, 8
mov dword [ebp - 0x18], ecx
xor eax, eax
shr ecx, 1
mov dword [ebp - 0x28], edi
rep stosd dword es:[edi], eax
adc ecx, ecx
rep stosw word es:[edi], ax
xor eax, eax
mov word [edx + esi*2], ax
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x28]
cmp dword [ebp - 0x14], 7
lea eax, [ebp + 8]
push esi
cmova ecx, dword [ebp - 0x28]
cmp dword [ebp + 0x1c], 0xf
push ecx
push dword [ebp + 0x18]
cmova eax, dword [ebp + 8]
push eax
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov edi, dword [ebp - 0x2d0]
or edi, 4
test eax, eax
jne 0x1001243f
push 0x101f1648
lea ecx, [ebp - 0x30c]
call fcn.100146e0
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x2c4], edi
cmp ecx, 7
jbe 0x1001245d
mov edx, dword [ebp - 0x28]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x10012433
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100128f0
push ecx
push edx
call fcn.10178716
add esp, 8
jmp 0x1001245d
movups xmm0, xmmword [ebp - 0x28]
movups xmmword [ebp - 0x30c], xmm0
movq xmm0, qword [ebp - 0x18]
movq qword [ebp - 0x2fc], xmm0
mov dword [ebp - 0x2c4], edi
push 1
push 0x101f1644
lea ecx, [ebp - 0x30c]
mov byte [ebp - 4], 7
call fcn.100154e0
mov dword [ebp - 0x2e4], 0
xorps xmm0, xmm0
movups xmmword [ebp - 0x2f4], xmm0
mov dword [ebp - 0x2e0], 0
xor ecx, ecx
movups xmm0, xmmword [eax]
or edi, 8
mov dword [ebp - 0x2c4], edi
movups xmmword [ebp - 0x2f4], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x2e4], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
mov byte [ebp - 4], 8
lea eax, [ebp - 0x70]
cmp dword [ebp - 0x5c], 7
lea ecx, [ebp - 0x2f4]
push dword [ebp - 0x60]
cmova eax, dword [ebp - 0x70]
push eax
call fcn.100154e0
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, 0x10
mov dword [ebp - 0x2c4], 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 byte [ebp - 4], 0xa
mov ecx, dword [ebp - 0x2e0]
cmp ecx, 7
jbe 0x10012568
mov edx, dword [ebp - 0x2f4]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x1001255e
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100128f0
push ecx
push edx
call fcn.10178716
add esp, 8
xor eax, eax
mov dword [ebp - 0x2e4], 0
mov dword [ebp - 0x2e0], 7
mov word [ebp - 0x2f4], ax
mov byte [ebp - 4], 0xb
mov ecx, dword [ebp - 0x2f8]
cmp ecx, 7
jbe 0x100125c9
mov edx, dword [ebp - 0x30c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x100125bf
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100128f0
push ecx
push edx
call fcn.10178716
add esp, 8
push 0
push 0
push 0
xor eax, eax
mov dword [ebp - 0x2fc], 0
cmp dword [ebp - 0x2c], 7
push 0
push dword [ebp - 0x30]
mov word [ebp - 0x30c], ax
lea eax, [ebp - 0x40]
cmova eax, dword [ebp - 0x40]
push eax
push 0
push 0xfde9
mov dword [ebp - 0x2f8], 7
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov esi, eax
mov dword [ebp - 0x2d4], 0
push ecx
xorps xmm0, xmm0
lea ecx, [ebp - 0x2dc]
movq qword [ebp - 0x2dc], xmm0
lea eax, [esi + 1]
push eax
call fcn.1000d7e0
push 0
push 0
push esi
push dword [ebp - 0x2dc]
or edi, 0x20
lea eax, [ebp - 0x40]
cmp dword [ebp - 0x2c], 7
push dword [ebp - 0x30]
cmova eax, dword [ebp - 0x40]
push eax
push 0
push 0xfde9
mov dword [ebp - 0x2d0], edi
mov dword [ebp - 0x2c4], edi
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov eax, dword [ebp - 0x2dc]
mov byte [eax + esi], 0
mov byte [ebp - 4], 0xc
xorps xmm0, xmm0
mov edx, dword [ebp - 0x2dc]
mov ecx, edx
movups xmmword [ebp - 0x2f4], xmm0
mov dword [ebp - 0x2e4], 0
mov dword [ebp - 0x2e0], 0
lea esi, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100126a0
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x2f4]
call fcn.1000d570
mov byte [ebp - 4], 0xd
mov esi, dword [ebp - 0x310]
mov eax, dword [esi + 4]
cmp eax, dword [esi + 8]
je 0x100126f1
movups xmm0, xmmword [ebp - 0x2f4]
mov ecx, 0xf
mov byte [ebp - 0x2f4], 0
movups xmmword [eax], xmm0
movq xmm0, qword [ebp - 0x2e4]
movq qword [eax + 0x10], xmm0
add dword [esi + 4], 0x18
jmp 0x10012706
lea ecx, [ebp - 0x2f4]
push ecx
push eax
mov ecx, esi
call fcn.10015670
mov ecx, dword [ebp - 0x2e0]
mov byte [ebp - 4], 0xc
cmp ecx, 0xf
jbe 0x1001273e
mov edx, dword [ebp - 0x2f4]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10012734
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100128f0
push ecx
push edx
call fcn.10178716
add esp, 8
mov byte [ebp - 4], 0xb
mov ecx, dword [ebp - 0x2dc]
test ecx, ecx
je 0x1001279a
mov edx, dword [ebp - 0x2d4]
mov eax, ecx
sub edx, ecx
cmp edx, 0x1000
jb 0x10012772
mov ecx, dword [eax - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100128f0
push edx
push ecx
call fcn.10178716
add esp, 8
mov dword [ebp - 0x2dc], 0
mov dword [ebp - 0x2d8], 0
mov dword [ebp - 0x2d4], 0
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x2c]
cmp ecx, 7
jbe 0x100127d8
mov edx, dword [ebp - 0x40]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x100127ce
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100128f0
push ecx
push edx
call fcn.10178716
add esp, 8
xor eax, eax
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x5c]
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
cmp ecx, 7
jbe 0x1001282a
mov edx, dword [ebp - 0x70]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x10012820
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100128f0
push ecx
push edx
call fcn.10178716
add esp, 8
mov eax, dword [ebp - 0x2c8]
lea ecx, [ebp - 0x2c0]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
je 0x1001284d
mov eax, dword [ebp - 0x2c8]
jmp 0x100121f1
push dword [ebp - 0x2c8]
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp - 0x44]
cmp ecx, 7
jbe 0x1001288f
mov edx, dword [ebp - 0x58]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x10012885
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100128fa
push ecx
push edx
call fcn.10178716
add esp, 8
mov ecx, dword [ebp + 0x1c]
xor eax, eax
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 7
mov word [ebp - 0x58], ax
cmp ecx, 0xf
jbe 0x100128d3
mov edx, dword [ebp + 8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100128c9
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100128fa
push ecx
push edx
call fcn.10178716
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.101786e5
mov esp, ebp
pop ebp
ret
call fcn.1018001f
call fcn.10002c80
call fcn.1018001f
int3