Function at 0x1001d470
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x238
mov eax, dword [0x1006d080]
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 0x1001dafe
cmp dword [ebp + 0x10], 0
jne 0x1001d4ae
cmp dword [ebp + 0x14], 0
je 0x1001dafe
mov byte [esp + 0x10], 0
lea edx, [esp + 0xc]
push dword [esp + 0x10]
lea ecx, [esp + 0xd4]
call fcn.1001e0c0
add esp, 4
lea ecx, [esp + 0xd0]
call fcn.1000aa50
test al, al
jne 0x1001d58b
test esi, esi
je 0x1001d4eb
mov ecx, esi
call fcn.10024c20
jmp 0x1001d4fe
cmp dword [0x10095ccc], 0xf
mov eax, 0x10095cb8
cmova eax, dword [0x10095cb8]
mov byte [esp + 0x10], 0
lea edx, [esp + 0xc]
push dword [esp + 0x10]
lea ecx, [esp + 0x64]
mov dword [esp + 0x10], eax
call fcn.1001e0c0
add esp, 4
lea eax, [esp + 0xd0]
lea edx, [esp + 0x60]
lea ecx, [esp + 0x84]
push eax
call fcn.1001b3c0
mov esi, eax
add esp, 4
lea eax, [esp + 0xd0]
cmp eax, esi
je 0x1001d576
mov ecx, eax
call fcn.1000aae0
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.1000aae0
lea ecx, [esp + 0x60]
call fcn.1000aae0
push 0x140
lea eax, [esp + 0xfc]
push 0
push eax
call fcn.10038080
add esp, 8
lea eax, [esp + 0x4c]
lea ecx, [esp + 0xd4]
push eax
call fcn.1000b450
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 0x1001d60c
mov edx, dword [esp + 0x48]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1001d602
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1001db2e
push ecx
push edx
call fcn.1003662e
add esp, 8
mov dword [esp + 0x58], 0
mov dword [esp + 0x5c], 0xf
mov byte [esp + 0x48], 0
cmp edi, 0xffffffff
jne 0x1001d65d
xorps xmm0, xmm0
lea ecx, [esp + 0xd0]
movlpd qword [esp + 0x14], xmm0
mov esi, dword [esp + 0x18]
mov edi, dword [esp + 0x14]
call fcn.1000aae0
mov eax, edi
mov edx, esi
pop edi
pop esi
mov ecx, dword [esp + 0x234]
xor ecx, esp
call fcn.100362d6
mov esp, ebp
pop ebp
ret 0x10
push 0x28
mov dword [esp + 0xb0], 0
call fcn.100362e4
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 0x1001d6a5
test al, 0x10
jne 0x1001d9be
cmp dword [ebp + 0x14], 0
jne 0x1001d6b3
test al, 0x10
je 0x1001d9be
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 0x1001d6c4
sub ecx, edx
push ecx
push esi
push dword [esp + 0x18]
lea ecx, [esp + 0xbc]
call fcn.1000b960
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 0x1001d739
mov eax, dword [esi]
and eax, 0xffffffdf
sub eax, 0x3a0041
cmp eax, 0x1a
jae 0x1001d739
cmp ecx, 3
jl 0x1001d748
movzx eax, word [esi + 4]
cmp eax, 0x5c
je 0x1001d847
cmp eax, 0x2f
je 0x1001d847
jmp 0x1001d748
mov ecx, esi
call fcn.1000a690
cmp esi, eax
jne 0x1001d847
lea eax, [esp + 0xb0]
push eax
lea eax, [esp + 0x88]
push eax
lea ecx, [esp + 0xd8]
call fcn.1000a980
mov edx, eax
lea ecx, [esp + 0x64]
call fcn.1001b3c0
mov esi, eax
add esp, 4
lea eax, [esp + 0xb0]
cmp eax, esi
je 0x1001d7b2
mov ecx, eax
call fcn.1000aae0
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 0x1001d7ee
mov edx, dword [esp + 0x60]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x1001d7e4
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1001db2e
push ecx
push edx
call fcn.1003662e
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 0x1001d847
mov edx, dword [esp + 0x84]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x1001d83d
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1001db2e
push ecx
push edx
call fcn.1003662e
add esp, 8
push ecx
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0xb8]
call fcn.1000b450
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0xa0]
push eax
lea ecx, [esp + 0xb0]
call fcn.1001e450
movq xmm0, qword [eax]
mov eax, dword [eax + 8]
movq qword [esp + 0x78], xmm0
cmp byte [eax + 0xd], 0
jne 0x1001d89b
add eax, 0x10
push eax
lea eax, [esp + 0x24]
push eax
call fcn.1001e540
test al, al
je 0x1001d946
cmp dword [esp + 0xac], 0x6666666
je 0x1001db33
mov esi, dword [esp + 0xa8]
lea eax, [esp + 0xa8]
push 0x28
mov dword [esp + 0x18], eax
call fcn.100362e4
mov edi, eax
mov dword [esp + 0x1c], 0
xorps xmm0, xmm0
lea ecx, [esp + 0x18]
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.1001e360
push edi
push dword [esp + 0x80]
lea ecx, [esp + 0xb0]
push dword [esp + 0x80]
call fcn.1001ded0
mov edi, dword [esp + 0xc]
mov ecx, dword [esp + 0x34]
cmp ecx, 0xf
jbe 0x1001d97c
mov edx, dword [esp + 0x20]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1001d972
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1001db2e
push ecx
push edx
call fcn.1003662e
add esp, 8
mov ecx, dword [esp + 0xc4]
cmp ecx, 7
jbe 0x1001d9be
mov edx, dword [esp + 0xb0]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x1001d9b4
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1001db2e
push ecx
push edx
call fcn.1003662e
add esp, 8
lea eax, [esp + 0xf8]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x1001d690
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 0x1001daae
mov ecx, 4
mul ecx
mov ecx, 0xffffffff
cmovb eax, ecx
push eax
call fcn.1003f6ce
mov esi, dword [esp + 0xac]
add esp, 4
mov dword [esp + 0xc], eax
mov esi, dword [esi]
cmp byte [esi + 0xd], 0
jne 0x1001daaa
mov eax, dword [esi + 0x20]
lea edi, [esi + 0x10]
inc eax
push eax
mov dword [esp + 0x20], eax
call fcn.1003f6ce
add esp, 4
mov dword [esp + 0x14], eax
cmp dword [edi + 0x14], 0xf
jbe 0x1001da42
mov edi, dword [edi]
push dword [esp + 0x1c]
push edi
push eax
call fcn.10037ae0
mov edi, dword [esp + 0x1c]
add esp, 0xc
mov ecx, dword [esp + 0xc]
mov eax, dword [esp + 0x14]
mov dword [ecx + edi*4], eax
inc edi
mov eax, dword [esi + 8]
mov dword [esp + 0x10], edi
cmp byte [eax + 0xd], 0
je 0x1001da8a
mov eax, dword [esi + 4]
cmp byte [eax + 0xd], 0
jne 0x1001da86
cmp esi, dword [eax + 8]
jne 0x1001da86
mov esi, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0xd], 0
je 0x1001da76
mov esi, eax
jmp 0x1001daa0
mov esi, eax
mov ecx, dword [esi]
cmp byte [ecx + 0xd], 0
jne 0x1001daa0
mov eax, dword [ecx]
mov esi, ecx
mov ecx, eax
cmp byte [eax + 0xd], 0
je 0x1001da94
cmp byte [esi + 0xd], 0
je 0x1001da22
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.1001e100
push 0x28
push dword [esp + 0xac]
call fcn.1003662e
add esp, 8
lea ecx, [esp + 0xd0]
call fcn.1000aae0
mov eax, edi
mov edx, esi
pop edi
pop esi
mov ecx, dword [esp + 0x234]
xor ecx, esp
call fcn.100362d6
mov esp, ebp
pop ebp
ret 0x10
mov ecx, dword [esp + 0x23c]
xorps xmm0, xmm0
pop edi
pop esi
movlpd qword [esp + 0xa0], xmm0
xor ecx, esp
mov eax, dword [esp + 0xa0]
mov edx, dword [esp + 0xa4]
call fcn.100362d6
mov esp, ebp
pop ebp
ret 0x10
call fcn.1003d3f7
call fcn.1001bd10
int3