Function at 0x1001d860
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x238
mov eax, dword [0x1006d0c0]
xor eax, esp
mov dword [esp + 0x234], eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 4], eax
push esi
mov esi, dword [ebp + 8]
push edi
test eax, eax
je 0x1001defa
cmp dword [ebp + 0x10], 0
jne 0x1001d89e
cmp dword [ebp + 0x14], 0
je 0x1001defa
mov byte [esp + 0x10], 0
lea edx, [esp + 0xc]
push dword [esp + 0x10]
lea ecx, [esp + 0xd4]
call fcn.1001e4b0
add esp, 4
lea ecx, [esp + 0xd0]
call fcn.1000aac0
test al, al
jne 0x1001d97b
test esi, esi
je 0x1001d8db
mov ecx, esi
call fcn.10025a50
jmp 0x1001d8ee
cmp dword [0x10095bb8], 0xf
mov eax, 0x10095ba4
cmova eax, dword [0x10095ba4]
mov byte [esp + 0x10], 0
lea edx, [esp + 0xc]
push dword [esp + 0x10]
lea ecx, [esp + 0x64]
mov dword [esp + 0x10], eax
call fcn.1001e4b0
add esp, 4
lea eax, [esp + 0xd0]
lea edx, [esp + 0x60]
lea ecx, [esp + 0x84]
push eax
call fcn.1001b6c0
mov esi, eax
add esp, 4
lea eax, [esp + 0xd0]
cmp eax, esi
je 0x1001d966
mov ecx, eax
call fcn.1000ab50
movups xmm0, xmmword [esi]
xor eax, eax
movups xmmword [esp + 0xd0], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [esp + 0xe0], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
lea ecx, [esp + 0x84]
call fcn.1000ab50
lea ecx, [esp + 0x60]
call fcn.1000ab50
push 0x140
lea eax, [esp + 0xfc]
push 0
push eax
call fcn.10033b10
add esp, 8
lea eax, [esp + 0x4c]
lea ecx, [esp + 0xd4]
push eax
call fcn.1000b4e0
cmp dword [esp + 0x5c], 0xf
lea ecx, [esp + 0xf8]
lea eax, [esp + 0x48]
cmova eax, dword [esp + 0x48]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov ecx, dword [esp + 0x5c]
mov edi, eax
mov dword [esp + 0xc], edi
cmp ecx, 0xf
jbe 0x1001d9fc
mov edx, dword [esp + 0x48]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1001d9f2
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1001df21
push ecx
push edx
call fcn.10032118
add esp, 8
mov dword [esp + 0x58], 0
mov dword [esp + 0x5c], 0xf
mov byte [esp + 0x48], 0
cmp edi, 0xffffffff
jne 0x1001da4d
xorps xmm0, xmm0
lea ecx, [esp + 0xd0]
movlpd qword [esp + 0x10], xmm0
mov esi, dword [esp + 0x14]
mov edi, dword [esp + 0x10]
call fcn.1000ab50
mov eax, edi
mov edx, esi
pop edi
pop esi
mov ecx, dword [esp + 0x234]
xor ecx, esp
call fcn.10031dbd
mov esp, ebp
pop ebp
ret 0x10
push 0x28
mov dword [esp + 0xb0], 0
call fcn.10031dcb
add esp, 4
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [esp + 0xa8], eax
nop word [eax + eax]
cmp dword [ebp + 0x10], 0
mov eax, dword [esp + 0xf8]
jne 0x1001da95
test al, 0x10
jne 0x1001ddae
cmp dword [ebp + 0x14], 0
jne 0x1001daa3
test al, 0x10
je 0x1001ddae
lea esi, [esp + 0x124]
mov byte [esp + 0x10], 0
mov ecx, esi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1001dab4
sub ecx, edx
push ecx
push esi
push dword [esp + 0x18]
lea ecx, [esp + 0xbc]
call fcn.1000b9f0
mov eax, dword [esp + 0xcc]
lea esi, [esp + 0xbc]
add esp, 0xc
cmp dword [esp + 0xc4], 7
cmova esi, dword [esp + 0xb0]
lea ecx, [eax + eax]
lea edx, [ecx + esi]
sar ecx, 1
cmp ecx, 2
jl 0x1001db29
mov eax, dword [esi]
and eax, 0xffffffdf
sub eax, 0x3a0041
cmp eax, 0x1a
jae 0x1001db29
cmp ecx, 3
jl 0x1001db38
movzx eax, word [esi + 4]
cmp eax, 0x5c
je 0x1001dc37
cmp eax, 0x2f
je 0x1001dc37
jmp 0x1001db38
mov ecx, esi
call fcn.1000a700
cmp esi, eax
jne 0x1001dc37
lea eax, [esp + 0xb0]
push eax
lea eax, [esp + 0x88]
push eax
lea ecx, [esp + 0xd8]
call fcn.1000a9f0
mov edx, eax
lea ecx, [esp + 0x64]
call fcn.1001b6c0
mov esi, eax
add esp, 4
lea eax, [esp + 0xb0]
cmp eax, esi
je 0x1001dba2
mov ecx, eax
call fcn.1000ab50
movups xmm0, xmmword [esi]
xor eax, eax
movups xmmword [esp + 0xb0], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [esp + 0xc0], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
mov ecx, dword [esp + 0x74]
cmp ecx, 7
jbe 0x1001dbde
mov edx, dword [esp + 0x60]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x1001dbd4
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1001df21
push ecx
push edx
call fcn.10032118
add esp, 8
mov ecx, dword [esp + 0x98]
xor eax, eax
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 7
mov word [esp + 0x60], ax
cmp ecx, 7
jbe 0x1001dc37
mov edx, dword [esp + 0x84]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x1001dc2d
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1001df21
push ecx
push edx
call fcn.10032118
add esp, 8
push ecx
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0xb8]
call fcn.1000b4e0
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0xa0]
push eax
lea ecx, [esp + 0xb0]
call fcn.1001e840
movq xmm0, qword [eax]
mov eax, dword [eax + 8]
movq qword [esp + 0x78], xmm0
cmp byte [eax + 0xd], 0
jne 0x1001dc8b
add eax, 0x10
push eax
lea eax, [esp + 0x24]
push eax
call fcn.1001e930
test al, al
je 0x1001dd36
cmp dword [esp + 0xac], 0x6666666
je 0x1001df26
mov esi, dword [esp + 0xa8]
lea eax, [esp + 0xa8]
push 0x28
mov dword [esp + 0x1c], eax
call fcn.10031dcb
mov edi, eax
mov dword [esp + 0x20], 0
xorps xmm0, xmm0
lea ecx, [esp + 0x1c]
add esp, 4
movups xmmword [edi + 0x10], xmm0
mov dword [edi + 0x20], 0
mov dword [edi + 0x24], 0
movups xmm0, xmmword [esp + 0x20]
movups xmmword [edi + 0x10], xmm0
movq xmm0, qword [esp + 0x30]
movq qword [edi + 0x20], xmm0
mov dword [esp + 0x30], 0
mov dword [esp + 0x34], 0xf
mov byte [esp + 0x20], 0
mov dword [edi], esi
mov dword [edi + 4], esi
mov dword [edi + 8], esi
mov word [edi + 0xc], 0
call fcn.1001e750
push edi
push dword [esp + 0x80]
lea ecx, [esp + 0xb0]
push dword [esp + 0x80]
call fcn.1001e2c0
mov edi, dword [esp + 0xc]
mov ecx, dword [esp + 0x34]
cmp ecx, 0xf
jbe 0x1001dd6c
mov edx, dword [esp + 0x20]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1001dd62
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1001df21
push ecx
push edx
call fcn.10032118
add esp, 8
mov ecx, dword [esp + 0xc4]
cmp ecx, 7
jbe 0x1001ddae
mov edx, dword [esp + 0xb0]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x1001dda4
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1001df21
push ecx
push edx
call fcn.10032118
add esp, 8
lea eax, [esp + 0xf8]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x1001da80
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [esp + 0xac]
xor edi, edi
xor esi, esi
mov dword [esp + 0x10], edi
test eax, eax
je 0x1001deaa
mov ecx, 4
mul ecx
mov ecx, 0xffffffff
cmovb eax, ecx
push eax
call fcn.1003b1ee
mov esi, dword [esp + 0xac]
add esp, 4
mov dword [esp + 0xc], eax
mov esi, dword [esi]
cmp byte [esi + 0xd], 0
jne 0x1001dea6
mov eax, dword [esi + 0x20]
lea edi, [esi + 0x10]
add eax, 1
mov ecx, 0xffffffff
cmovb eax, ecx
push eax
call fcn.1003b1ee
add esp, 4
mov edx, eax
cmp dword [edi + 0x14], 0xf
jbe 0x1001de36
mov edi, dword [edi]
mov ecx, edx
sub ecx, edi
nop word [eax + eax]
mov al, byte [edi]
lea edi, [edi + 1]
mov byte [ecx + edi - 1], al
test al, al
jne 0x1001de40
mov edi, dword [esp + 0x10]
mov eax, dword [esp + 0xc]
mov dword [eax + edi*4], edx
inc edi
mov eax, dword [esi + 8]
mov dword [esp + 0x10], edi
cmp byte [eax + 0xd], 0
je 0x1001de84
mov eax, dword [esi + 4]
cmp byte [eax + 0xd], 0
jne 0x1001de80
nop
cmp esi, dword [eax + 8]
jne 0x1001de80
mov esi, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0xd], 0
je 0x1001de70
mov esi, eax
jmp 0x1001de9c
mov esi, eax
mov ecx, dword [esi]
cmp byte [ecx + 0xd], 0
jne 0x1001de9c
nop
mov eax, dword [ecx]
mov esi, ecx
mov ecx, eax
cmp byte [eax + 0xd], 0
je 0x1001de90
cmp byte [esi + 0xd], 0
je 0x1001de12
mov esi, dword [esp + 0xc]
mov eax, dword [esp + 0xa8]
push dword [eax + 4]
lea eax, [esp + 0xac]
push eax
mov ecx, eax
call fcn.1001e4f0
push 0x28
push dword [esp + 0xac]
call fcn.10032118
add esp, 8
lea ecx, [esp + 0xd0]
call fcn.1000ab50
mov eax, edi
mov edx, esi
pop edi
pop esi
mov ecx, dword [esp + 0x234]
xor ecx, esp
call fcn.10031dbd
mov esp, ebp
pop ebp
ret 0x10
mov ecx, dword [esp + 0x23c]
xorps xmm0, xmm0
pop edi
pop esi
movlpd qword [esp + 0x10], xmm0
xor ecx, esp
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
call fcn.10031dbd
mov esp, ebp
pop ebp
ret 0x10
call fcn.10038e87
call fcn.1001c010
int3