Function at 0x100a8810
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1ec
mov eax, dword [0x10102008]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x18]
push ebx
push esi
push edi
xor edi, edi
mov dword [ebp - 8], 0xf
lea edx, [eax - 1]
mov dword [ebp - 0x1b0], edi
mov dword [ebp - 0x1c], edi
mov esi, ecx
mov dword [ebp - 0xc], edi
cmp eax, edx
jb 0x100a8d81
sub eax, edx
mov ecx, 1
cmp eax, ecx
cmovb ecx, eax
cmp dword [ebp + 0x1c], 0x10
lea eax, [ebp + 8]
cmovae eax, dword [ebp + 8]
push ecx
add eax, edx
lea ecx, [ebp - 0x1c]
push eax
call fcn.100b3d90
mov edx, 0x100fc694
lea ecx, [ebp - 0x1c]
call fcn.100b4160
mov edx, dword [ebp - 8]
mov bl, al
cmp edx, 0x10
jb 0x100a88b1
mov ecx, dword [ebp - 0x1c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100a88a7
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100a8d8b
push edx
push ecx
call fcn.100bfa23
add esp, 8
mov ecx, dword [ebp + 0x18]
mov eax, 0x7fffffff
sub eax, ecx
test bl, bl
jne 0x100a88d1
cmp eax, 2
jb 0x100a8d86
push 2
push 0x100fc8f8
jmp 0x100a88e1
cmp eax, 1
jb 0x100a8d86
push 1
push 0x100f6ec8
cmp dword [ebp + 0x1c], 0x10
lea eax, [ebp + 8]
push ecx
cmovae eax, dword [ebp + 8]
push eax
push ecx
push dword [ebp - 0x194]
lea ecx, [ebp - 0x1ac]
call fcn.100b6510
lea eax, [ebp - 0x1ac]
push eax
lea ecx, [ebp + 8]
call fcn.100b36c0
mov edx, dword [ebp - 0x198]
cmp edx, 0x10
jb 0x100a8949
mov ecx, dword [ebp - 0x1ac]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100a893f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100a8d8b
push edx
push ecx
call fcn.100bfa23
add esp, 8
push 0
push 0x100f3188
mov ecx, esi
mov dword [esi], edi
mov dword [esi + 0x10], edi
mov dword [esi + 0x14], 0xf
call fcn.100b3d90
cmp dword [ebp + 0x1c], 0x10
lea ecx, [ebp - 0x190]
lea eax, [ebp + 8]
cmovae eax, dword [ebp + 8]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov ebx, eax
mov dword [ebp - 0x1b4], ebx
nop dword [eax]
nop dword [eax + eax]
lea eax, [ebp - 0x164]
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0xc], 0
lea edx, [eax + 1]
mov dword [ebp - 8], 0xf
nop
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x100a89b0
sub eax, edx
lea ecx, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x164]
push eax
call fcn.100b3d90
test byte [ebp - 0x190], 0x10
jne 0x100a8cf1
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x1ac], 0
mov dword [ebp - 0x19c], 0
mov dword [ebp - 0x198], 0xf
lea ecx, [eax - 2]
cmp eax, ecx
cmovb ecx, eax
cmp dword [ebp + 0x1c], 0x10
lea eax, [ebp + 8]
cmovae eax, dword [ebp + 8]
push ecx
push eax
lea ecx, [ebp - 0x1ac]
call fcn.100b3d90
push 0x100fc694
lea ecx, [ebp - 0x1ac]
call fcn.100b3600
sub esp, 0x18
lea edx, [ebp - 0x1cc]
mov ecx, esp
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x1cc], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x1bc], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
lea eax, [ebp - 0x1c]
push eax
call fcn.100b41e0
add esp, 4
call fcn.100a8600
mov edx, dword [ebp - 0x1b8]
add esp, 0x18
test al, al
sete bl
cmp edx, 0x10
jb 0x100a8aad
mov ecx, dword [ebp - 0x1cc]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100a8aa3
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100a8d8b
push edx
push ecx
call fcn.100bfa23
add esp, 8
mov edx, dword [ebp - 0x198]
mov dword [ebp - 0x1bc], 0
mov dword [ebp - 0x1b8], 0xf
mov byte [ebp - 0x1cc], 0
cmp edx, 0x10
jb 0x100a8b02
mov ecx, dword [ebp - 0x1ac]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100a8af8
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100a8d8b
push edx
push ecx
call fcn.100bfa23
add esp, 8
test bl, bl
je 0x100a8b14
push 1
push 0x100fd0b4
mov ecx, esi
call fcn.100b3d90
mov eax, dword [ebp + 0x18]
or edi, 1
mov dword [ebp - 0x1b0], edi
mov dword [ebp - 0x1ac], 0
mov dword [ebp - 0x19c], 0
lea ecx, [eax - 2]
mov dword [ebp - 0x198], 0xf
cmp eax, ecx
cmovb ecx, eax
cmp dword [ebp + 0x1c], 0x10
lea eax, [ebp + 8]
cmovae eax, dword [ebp + 8]
push ecx
push eax
lea ecx, [ebp - 0x1ac]
call fcn.100b3d90
push 0x100fc694
lea ecx, [ebp - 0x1ac]
call fcn.100b3600
lea edx, [ebp - 0x1cc]
lea ecx, [ebp - 0x1e8]
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x1cc], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x1bc], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
lea eax, [ebp - 0x1c]
push eax
call fcn.100b41e0
add esp, 4
lea ecx, [ebp - 0x50]
cmp dword [ebp - 0x1d4], 0x10
lea eax, [ebp - 0x1e8]
cmovae eax, dword [ebp - 0x1e8]
push ecx
push eax
call fcn.100cb38a
mov edx, dword [ebp - 0x1d4]
or edi, 0xffffffff
add esp, 8
test eax, eax
cmove edi, dword [ebp - 0x3c]
cmp edx, 0x10
jb 0x100a8c12
mov ecx, dword [ebp - 0x1e8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100a8c08
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100a8d8b
push edx
push ecx
call fcn.100bfa23
add esp, 8
mov dword [ebp - 0x1d8], 0
mov dword [ebp - 0x1d4], 0xf
mov byte [ebp - 0x1e8], 0
cmp edi, 0x2800
jge 0x100a8c3f
cmp dword [esi + 0x10], 0
jne 0x100a8c3f
mov bl, 1
jmp 0x100a8c41
xor bl, bl
mov edx, dword [ebp - 0x1b8]
cmp edx, 0x10
jb 0x100a8c7b
mov ecx, dword [ebp - 0x1cc]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100a8c71
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100a8d8b
push edx
push ecx
call fcn.100bfa23
add esp, 8
mov edi, dword [ebp - 0x1b0]
mov edx, dword [ebp - 0x198]
and edi, 0xfffffffc
mov dword [ebp - 0x1bc], 0
mov dword [ebp - 0x1b8], 0xf
mov byte [ebp - 0x1cc], 0
cmp edx, 0x10
jb 0x100a8cd9
mov ecx, dword [ebp - 0x1ac]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100a8ccf
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100a8d8b
push edx
push ecx
call fcn.100bfa23
add esp, 8
test bl, bl
je 0x100a8ceb
push 1
push 0x100f4404
mov ecx, esi
call fcn.100b3d90
mov ebx, dword [ebp - 0x1b4]
mov edx, dword [ebp - 8]
cmp edx, 0x10
jb 0x100a8d21
mov ecx, dword [ebp - 0x1c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100a8d17
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100a8d8b
push edx
push ecx
call fcn.100bfa23
add esp, 8
lea eax, [ebp - 0x190]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x100a8990
push ebx
call dword [sym.imp.KERNEL32.dll_FindClose]
mov edx, dword [ebp + 0x1c]
cmp edx, 0x10
jb 0x100a8d6e
mov ecx, dword [ebp + 8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100a8d64
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100a8d8b
push edx
push ecx
call fcn.100bfa23
add esp, 8
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100bf4c9
mov esp, ebp
pop ebp
ret
call fcn.100b4020
call fcn.100833c0
call fcn.100cc12d
int3