Function at 0x1003be20
Capabilities:
Enumerate files on windows

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100f2271
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x298
mov eax, dword [0x1012c208]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebx + 8]
mov dword [ebp - 0x2a4], esi
mov dword [ebp - 0x2a8], esi
mov dword [ebp - 4], 0
mov dword [ebp - 0x144], 0
mov dword [ebp - 0x134], 0
mov dword [ebp - 0x130], 0xf
mov byte [ebp - 0x144], 0
mov dword [ebp - 0x12c], 0
mov dword [ebp - 0x128], 0
mov dword [ebp - 0x124], 0
mov byte [ebp - 4], 3
lea eax, [ebx + 0xc]
cmp dword [ebx + 0x20], 0x10
lea ecx, [ebp - 0x144]
push dword [ebx + 0x1c]
cmovae eax, dword [ebx + 0xc]
push eax
call fcn.10017110
cmp dword [ebx + 0x1c], 0x100
jb 0x1003c015
lea eax, [ebp - 0x144]
mov ecx, esi
push eax
call fcn.1003c2a0
mov edi, dword [ebp - 0x12c]
test edi, edi
je 0x1003bfa5
mov eax, dword [ebp - 0x128]
mov dword [ebp - 0x2a8], eax
cmp edi, eax
je 0x1003bf66
lea esi, [edi + 0x14]
mov ecx, dword [esi]
cmp ecx, 0x10
jb 0x1003bf47
mov eax, dword [esi - 0x14]
inc ecx
cmp ecx, 0x1000
jb 0x1003bf3d
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1003c234
mov eax, edx
push ecx
push eax
call fcn.100c0347
add esp, 8
mov byte [esi - 0x14], 0
mov dword [esi - 4], 0
mov dword [esi], 0xf
add esi, 0x18
lea eax, [esi - 0x14]
cmp eax, dword [ebp - 0x2a8]
jne 0x1003bf14
mov eax, dword [ebp - 0x124]
sub eax, edi
sar eax, 3
imul eax, eax, 0xaaaaaaab
lea ecx, [eax + eax*2]
mov eax, edi
shl ecx, 3
cmp ecx, 0x1000
jb 0x1003bf9b
mov edi, dword [edi - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1003c234
push ecx
push edi
call fcn.100c0347
add esp, 8
mov edx, dword [ebp - 0x130]
cmp edx, 0x10
jb 0x1003bfdf
mov ecx, dword [ebp - 0x144]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1003bfd5
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1003c234
push edx
push ecx
call fcn.100c0347
add esp, 8
lea ecx, [ebx + 0xc]
call fcn.10017030
lea ecx, [ebx + 0x24]
call fcn.10017030
mov eax, dword [ebp - 0x2a4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.100bfded
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 0x34
cmp dword [ebx + 0x20], 0x10
lea ecx, [ebx + 0xc]
lea edx, [ebp - 0x120]
cmovae ecx, dword [ebx + 0xc]
sub edx, ecx
nop dword [eax + eax]
mov al, byte [ecx]
lea ecx, [ecx + 1]
mov byte [edx + ecx - 1], al
test al, al
jne 0x1003c030
cmp dword [ebx + 0x38], 0x10
lea eax, [ebx + 0x24]
cmovae eax, dword [ebx + 0x24]
push eax
lea eax, [ebp - 0x120]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [ebp - 0x2a0]
push eax
lea eax, [ebp - 0x120]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov edi, eax
cmp edi, 0xffffffff
je 0x1003c198
mov esi, dword [ebp - 0x128]
nop dword [eax + eax]
mov dword [ebp - 0x15c], 0
lea ecx, [ebp - 0x274]
mov dword [ebp - 0x14c], 0
mov dword [ebp - 0x148], 0xf
lea edx, [ecx + 1]
mov byte [ebp - 0x15c], 0
mov byte [ebp - 4], 3
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1003c0b2
sub ecx, edx
lea eax, [ebp - 0x274]
push ecx
push eax
lea ecx, [ebp - 0x15c]
call fcn.10017110
mov byte [ebp - 4], 5
cmp esi, dword [ebp - 0x124]
je 0x1003c11c
movups xmm0, xmmword [ebp - 0x15c]
mov dword [esi], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
movups xmmword [esi], xmm0
movq xmm0, qword [ebp - 0x14c]
movq qword [esi + 0x10], xmm0
add esi, 0x18
mov byte [ebp - 0x15c], 0
mov eax, 0xf
mov dword [ebp - 0x128], esi
jmp 0x1003c13b
lea eax, [ebp - 0x15c]
push eax
push esi
lea ecx, [ebp - 0x12c]
call fcn.10045e60
mov esi, dword [ebp - 0x128]
mov eax, dword [ebp - 0x148]
mov byte [ebp - 4], 3
cmp eax, 0x10
jb 0x1003c175
mov ecx, dword [ebp - 0x15c]
lea edx, [eax + 1]
mov eax, ecx
cmp edx, 0x1000
jb 0x1003c16b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1003c234
push edx
push ecx
call fcn.100c0347
add esp, 8
lea eax, [ebp - 0x2a0]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x1003c080
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov esi, dword [ebp - 0x2a4]
lea eax, [ebp - 0x144]
mov ecx, esi
push eax
call fcn.1003c2a0
mov esi, dword [ebp - 0x12c]
test esi, esi
je 0x1003c1fc
mov edx, dword [ebp - 0x128]
push ecx
mov ecx, esi
call fcn.100461c0
mov eax, dword [ebp - 0x124]
add esp, 4
sub eax, esi
sar eax, 3
imul eax, eax, 0xaaaaaaab
lea ecx, [eax + eax*2]
mov eax, esi
shl ecx, 3
cmp ecx, 0x1000
jb 0x1003c1f2
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1003c234
push ecx
push esi
call fcn.100c0347
add esp, 8
mov edx, dword [ebp - 0x130]
cmp edx, 0x10
jb 0x1003bfdf
mov ecx, dword [ebp - 0x144]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1003bfd5
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1003bfd5
call fcn.100c991f
int3