Function at 0x1012c650
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10166d8d
mov eax, dword fs:[0]
push eax
sub esp, 0x2b8
mov eax, dword [0x102a0600]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edx, dword [ebp + 8]
xorps xmm0, xmm0
mov esi, dword [ebp + 0x10]
mov ecx, edx
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x2b4], edx
mov dword [ebp - 0x2bc], esi
lea eax, [ecx + 1]
mov dword [ebp - 0x18], 0
movups xmmword [ebp - 0x28], xmm0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x2b0], eax
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1012c6b2
sub ecx, dword [ebp - 0x2b0]
push ecx
push edx
lea ecx, [ebp - 0x28]
call fcn.10025eb3
push 2
push 0x1021cd5c
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 0
call fcn.10043690
mov ecx, edi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1012c6e4
sub ecx, edx
push ecx
push edi
lea ecx, [ebp - 0x28]
call fcn.10043690
cmp dword [0x102a10c0], 3
jl 0x1012c721
cmp dword [ebp - 0x14], 0xf
lea eax, [ebp - 0x28]
cmova eax, dword [ebp - 0x28]
push eax
push str.Searching__s_n
push dword [0x102a7f00]
push 3
call fcn.100f3fb0
add esp, 0x10
cmp dword [ebp - 0x14], 0xf
lea eax, [ebp - 0x28]
cmova eax, dword [ebp - 0x28]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.10121110
add esp, 8
cmp dword [ebp - 0x2c], 7
lea ecx, [ebp - 0x2a8]
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 1
cmova eax, dword [ebp - 0x40]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov edi, eax
mov dword [ebp - 0x2c4], edi
cmp edi, 0xffffffff
je 0x1012ca06
mov ecx, dword [esi + 4]
mov eax, 0x2aaaaaab
sub ecx, dword [esi]
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [ebp - 0x2b8], eax
mov eax, dword [esi + 4]
cmp eax, dword [esi + 8]
je 0x1012c7a8
xorps xmm0, xmm0
movups xmmword [eax], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
add dword [esi + 4], 0x18
jmp 0x1012c7b0
push eax
mov ecx, esi
call fcn.1012b160
mov edi, dword [esi + 4]
mov esi, dword [ebp - 0x2b4]
sub edi, 0x18
lea ecx, [esi + 1]
nop
mov al, byte [esi]
inc esi
test al, al
jne 0x1012c7c0
mov edx, dword [edi + 0x14]
sub esi, ecx
mov dword [ebp - 0x2c0], edx
cmp esi, edx
ja 0x1012c80d
mov dword [ebp - 0x2ac], edi
mov eax, edi
cmp edx, 0xf
jbe 0x1012c7eb
mov eax, dword [edi]
mov dword [ebp - 0x2ac], eax
push esi
push dword [ebp - 0x2b4]
mov dword [edi + 0x10], esi
push eax
call fcn.10086560
mov eax, dword [ebp - 0x2ac]
add esp, 0xc
mov byte [eax + esi], 0
jmp 0x1012c8dd
cmp esi, 0x7fffffff
ja 0x1012caa0
mov ecx, esi
or ecx, 0xf
cmp ecx, 0x7fffffff
jbe 0x1012c82d
mov ecx, 0x7fffffff
jmp 0x1012c85a
mov eax, edx
shr eax, 1
mov dword [ebp - 0x2ac], eax
mov eax, 0x7fffffff
sub eax, dword [ebp - 0x2ac]
cmp edx, eax
jbe 0x1012c84d
mov ecx, 0x7fffffff
jmp 0x1012c85a
mov eax, dword [ebp - 0x2ac]
add eax, edx
cmp ecx, eax
cmovb ecx, eax
lea eax, [ebp - 0x2ac]
mov dword [ebp - 0x2ac], ecx
push eax
push edi
call fcn.1002a53b
mov ecx, dword [ebp - 0x2ac]
push esi
push dword [ebp - 0x2b4]
mov dword [ebp - 0x2b0], eax
push eax
mov dword [edi + 0x10], esi
mov dword [edi + 0x14], ecx
call fcn.10086560
mov ecx, dword [ebp - 0x2b0]
add esp, 0x14
mov eax, dword [ebp - 0x2c0]
mov byte [ecx + esi], 0
cmp eax, 0xf
jbe 0x1012c8db
mov ecx, dword [edi]
lea edx, [eax + 1]
cmp edx, 0x1000
jb 0x1012c8c7
mov esi, dword [ecx - 4]
add edx, 0x23
sub ecx, esi
lea eax, [ecx - 4]
cmp eax, 0x1f
ja 0x1012ca9b
mov ecx, esi
push edx
push ecx
call fcn.100849ca
mov eax, dword [ebp - 0x2b0]
add esp, 8
mov dword [edi], eax
jmp 0x1012c8dd
mov dword [edi], ecx
push 0x5c
mov ecx, edi
call fcn.1000b07e
lea eax, [ebp - 0x27c]
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.10121230
add esp, 8
cmp dword [eax + 0x14], 0xf
mov ecx, eax
mov byte [ebp - 4], 2
jbe 0x1012c907
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
mov ecx, edi
call fcn.10043690
mov ecx, dword [ebp - 0x44]
mov byte [ebp - 4], 1
cmp ecx, 0xf
jbe 0x1012c94a
mov edx, dword [ebp - 0x58]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1012c940
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1012ca9b
push ecx
push edx
call fcn.100849ca
add esp, 8
mov edi, dword [ebp - 0x2c4]
lea eax, [ebp - 0x2a8]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
je 0x1012c96d
mov esi, dword [ebp - 0x2bc]
jmp 0x1012c783
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp - 0x2bc]
mov edi, dword [ebp - 0x2b8]
mov byte [ebp - 0x2b8], 0
push dword [ebp - 0x2b8]
mov edx, dword [ecx]
mov ecx, dword [ecx + 4]
lea eax, [edi + edi*2]
sub ecx, edx
lea esi, [edx + eax*8]
mov eax, 0x2aaaaaab
imul ecx
mov eax, 0x2aaaaaab
sar edx, 2
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
sub ecx, edi
lea ecx, [ecx + ecx*2]
shl ecx, 3
imul ecx
lea edi, [ecx + esi]
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
push eax
push edi
push esi
call fcn.1012c260
add esp, 0x10
cmp esi, edi
je 0x1012ca06
cmp dword [0x102a10c0], 3
jl 0x1012c9ff
cmp dword [esi + 0x14], 0xf
mov eax, esi
jbe 0x1012c9e9
mov eax, dword [esi]
push eax
push str._got__s_n
push dword [0x102a7f00]
push 3
call fcn.100f3fb0
add esp, 0x10
add esi, 0x18
cmp esi, edi
jne 0x1012c9d6
mov ecx, dword [ebp - 0x2c]
cmp ecx, 7
jbe 0x1012ca3c
mov edx, dword [ebp - 0x40]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x1012ca32
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1012ca9b
push ecx
push edx
call fcn.100849ca
add esp, 8
mov ecx, dword [ebp - 0x14]
xor eax, eax
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
cmp ecx, 0xf
jbe 0x1012ca80
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1012ca76
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1012ca9b
push ecx
push edx
call fcn.100849ca
add esp, 8
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.10084465
mov esp, ebp
pop ebp
ret
call fcn.1009532c
call fcn.10002923
int3