Function at 0x1008cdf0
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100f312d
mov eax, dword fs:[0]
push eax
sub esp, 0x2b8
mov eax, dword [0x1015f6c0]
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 0x1008ce52
sub ecx, dword [ebp - 0x2b0]
push ecx
push edx
lea ecx, [ebp - 0x28]
call fcn.10003a00
push 2
push 0x10107a44
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 0
call fcn.10020080
mov ecx, edi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1008ce84
sub ecx, edx
push ecx
push edi
lea ecx, [ebp - 0x28]
call fcn.10020080
cmp dword [0x1015f088], 3
jl 0x1008cec1
cmp dword [ebp - 0x14], 0xf
lea eax, [ebp - 0x28]
cmova eax, dword [ebp - 0x28]
push eax
push str.Searching__s_n
push dword [0x101647dc]
push 3
call fcn.10080dd0
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.10081230
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 0x1008d1a6
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 0x1008cf48
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 0x1008cf50
push eax
mov ecx, esi
call fcn.1008b8b0
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 0x1008cf60
mov edx, dword [edi + 0x14]
sub esi, ecx
mov dword [ebp - 0x2c0], edx
cmp esi, edx
ja 0x1008cfad
mov dword [ebp - 0x2ac], edi
mov eax, edi
cmp edx, 0xf
jbe 0x1008cf8b
mov eax, dword [edi]
mov dword [ebp - 0x2ac], eax
push esi
push dword [ebp - 0x2b4]
mov dword [edi + 0x10], esi
push eax
call fcn.100c0fd0
mov eax, dword [ebp - 0x2ac]
add esp, 0xc
mov byte [eax + esi], 0
jmp 0x1008d07d
cmp esi, 0x7fffffff
ja 0x1008d240
mov ecx, esi
or ecx, 0xf
cmp ecx, 0x7fffffff
jbe 0x1008cfcd
mov ecx, closesocket
jmp 0x1008cffa
mov eax, edx
shr eax, 1
mov dword [ebp - 0x2ac], eax
mov eax, closesocket
sub eax, dword [ebp - 0x2ac]
cmp edx, eax
jbe 0x1008cfed
mov ecx, closesocket
jmp 0x1008cffa
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.10003920
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.100c0fd0
mov ecx, dword [ebp - 0x2b0]
add esp, 0x14
mov eax, dword [ebp - 0x2c0]
mov byte [ecx + esi], 0
cmp eax, 0xf
jbe 0x1008d07b
mov ecx, dword [edi]
lea edx, [eax + 1]
cmp edx, 0x1000
jb 0x1008d067
mov esi, dword [ecx - 4]
add edx, 0x23
sub ecx, esi
lea eax, [ecx - 4]
cmp eax, 0x1f
ja 0x1008d23b
mov ecx, esi
push edx
push ecx
call fcn.100beee5
mov eax, dword [ebp - 0x2b0]
add esp, 8
mov dword [edi], eax
jmp 0x1008d07d
mov dword [edi], ecx
push 0x5c
mov ecx, edi
call fcn.1006e530
lea eax, [ebp - 0x27c]
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.10081350
add esp, 8
cmp dword [eax + 0x14], 0xf
mov ecx, eax
mov byte [ebp - 4], 2
jbe 0x1008d0a7
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
mov ecx, edi
call fcn.10020080
mov ecx, dword [ebp - 0x44]
mov byte [ebp - 4], 1
cmp ecx, 0xf
jbe 0x1008d0ea
mov edx, dword [ebp - 0x58]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1008d0e0
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1008d23b
push ecx
push edx
call fcn.100beee5
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 0x1008d10d
mov esi, dword [ebp - 0x2bc]
jmp 0x1008cf23
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.1008c9c0
add esp, 0x10
cmp esi, edi
je 0x1008d1a6
cmp dword [0x1015f088], 3
jl 0x1008d19f
cmp dword [esi + 0x14], 0xf
mov eax, esi
jbe 0x1008d189
mov eax, dword [esi]
push eax
push str._got__s_n
push dword [0x101647dc]
push 3
call fcn.10080dd0
add esp, 0x10
add esi, 0x18
cmp esi, edi
jne 0x1008d176
mov ecx, dword [ebp - 0x2c]
cmp ecx, 7
jbe 0x1008d1dc
mov edx, dword [ebp - 0x40]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x1008d1d2
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1008d23b
push ecx
push edx
call fcn.100beee5
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 0x1008d220
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1008d216
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1008d23b
push ecx
push edx
call fcn.100beee5
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.100bf2d0
mov esp, ebp
pop ebp
ret
call fcn.100c45bf
call fcn.1001fa00
int3