Function at 0x100850d0
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 0x100d935b
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x288
mov eax, dword [0x10106024]
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, ecx
mov ecx, dword [esi]
mov edx, dword [esi + 4]
cmp ecx, edx
je 0x1008512a
push ecx
call fcn.10062e10
mov eax, dword [esi]
add esp, 4
mov dword [esi + 4], eax
mov ecx, dword [0x101149e4]
mov eax, 0x7fffffff
add ecx, 0x28
mov edx, dword [ecx + 0x10]
sub eax, edx
cmp eax, 1
jb 0x10085350
cmp dword [ecx + 0x14], 0x10
jb 0x1008514e
mov ecx, dword [ecx]
push 1
push 0x100ef454
push edx
push ecx
push ecx
push dword [ebp - 0x27c]
lea ecx, [ebp - 0x138]
call fcn.10029d20
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x278]
cmp dword [ebp - 0x124], 0x10
lea eax, [ebp - 0x138]
push ecx
cmovae eax, dword [ebp - 0x138]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov edi, eax
test edi, edi
je 0x100852fc
cmp edi, 0xffffffff
je 0x100852fc
nop word [eax + eax]
lea eax, [ebp - 0x24c]
push 0x100f5374
push eax
call fcn.100ab9b0
add esp, 8
test eax, eax
jne 0x100852df
cmp dword [ebp - 0x124], 0x10
lea ecx, [ebp - 0x27c]
push ecx
mov dword [ebp - 0x27c], eax
lea ecx, [ebp - 0x120]
push ecx
lea eax, [ebp - 0x138]
cmovae eax, dword [ebp - 0x138]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetFullPathNameA]
lea eax, [ebp - 0x24c]
push 0x100f6694
push eax
call fcn.100ab9b0
add esp, 8
test eax, eax
jne 0x100852df
lea ecx, [ebp - 0x24c]
mov dword [ebp - 0x294], eax
mov dword [ebp - 0x284], eax
lea edx, [ecx + 1]
mov dword [ebp - 0x280], 0xf
mov byte [ebp - 0x294], al
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10085241
sub ecx, edx
lea eax, [ebp - 0x24c]
push ecx
push eax
lea ecx, [ebp - 0x294]
call fcn.10044480
mov byte [ebp - 4], 1
mov eax, dword [esi + 4]
cmp eax, dword [esi + 8]
je 0x10085292
movups xmm0, xmmword [ebp - 0x294]
mov edx, 0xf
mov byte [ebp - 0x294], 0
movups xmmword [eax], xmm0
movq xmm0, qword [ebp - 0x284]
movq qword [eax + 0x10], xmm0
add dword [esi + 4], 0x18
jmp 0x100852a7
lea ecx, [ebp - 0x294]
push ecx
push eax
mov ecx, esi
call fcn.10085410
mov edx, dword [ebp - 0x280]
mov byte [ebp - 4], 0
cmp edx, 0x10
jb 0x100852df
mov ecx, dword [ebp - 0x294]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100852d5
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10085355
push edx
push ecx
call fcn.100aa01d
add esp, 8
lea eax, [ebp - 0x278]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x100851b0
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov edx, dword [ebp - 0x124]
cmp edx, 0x10
jb 0x10085332
mov ecx, dword [ebp - 0x138]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10085328
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10085355
push edx
push ecx
call fcn.100aa01d
add esp, 8
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.100aa00f
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.10029f50
call fcn.100bb40e
int3