Function at 0x1001d900
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x238
mov eax, dword [0x1006e0c0]
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 0x1001df8e
cmp dword [ebp + 0x10], 0
jne 0x1001d93e
cmp dword [ebp + 0x14], 0
je 0x1001df8e
mov byte [esp + 0x10], 0
lea edx, [esp + 0xc]
push dword [esp + 0x10]
lea ecx, [esp + 0xd4]
call fcn.1001e550
add esp, 4
lea ecx, [esp + 0xd0]
call fcn.1000aac0
test al, al
jne 0x1001da1b
test esi, esi
je 0x1001d97b
mov ecx, esi
call fcn.10025c20
jmp 0x1001d98e
cmp dword [0x10096bb8], 0xf
mov eax, 0x10096ba4
cmova eax, dword [0x10096ba4]
mov byte [esp + 0x10], 0
lea edx, [esp + 0xc]
push dword [esp + 0x10]
lea ecx, [esp + 0x64]
mov dword [esp + 0x10], eax
call fcn.1001e550
add esp, 4
lea eax, [esp + 0xd0]
lea edx, [esp + 0x60]
lea ecx, [esp + 0x84]
push eax
call fcn.1001b760
mov esi, eax
add esp, 4
lea eax, [esp + 0xd0]
cmp eax, esi
je 0x1001da06
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.10033d40
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 0x1001da9c
mov edx, dword [esp + 0x48]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1001da92
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1001dfbe
push ecx
push edx
call fcn.10032345
add esp, 8
mov dword [esp + 0x58], 0
mov dword [esp + 0x5c], 0xf
mov byte [esp + 0x48], 0
cmp edi, 0xffffffff
jne 0x1001daed
xorps xmm0, xmm0
lea ecx, [esp + 0xd0]
movlpd qword [esp + 0x14], xmm0
mov esi, dword [esp + 0x18]
mov edi, dword [esp + 0x14]
call fcn.1000ab50
mov eax, edi
mov edx, esi
pop edi
pop esi
mov ecx, dword [esp + 0x234]
xor ecx, esp
call fcn.10031fed
mov esp, ebp
pop ebp
ret 0x10
push 0x28
mov dword [esp + 0xb0], 0
call fcn.10031ffb
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 0x1001db35
test al, 0x10
jne 0x1001de4e
cmp dword [ebp + 0x14], 0
jne 0x1001db43
test al, 0x10
je 0x1001de4e
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 0x1001db54
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 0x1001dbc9
mov eax, dword [esi]
and eax, 0xffffffdf
sub eax, 0x3a0041
cmp eax, 0x1a
jae 0x1001dbc9
cmp ecx, 3
jl 0x1001dbd8
movzx eax, word [esi + 4]
cmp eax, 0x5c
je 0x1001dcd7
cmp eax, 0x2f
je 0x1001dcd7
jmp 0x1001dbd8
mov ecx, esi
call fcn.1000a700
cmp esi, eax
jne 0x1001dcd7
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.1001b760
mov esi, eax
add esp, 4
lea eax, [esp + 0xb0]
cmp eax, esi
je 0x1001dc42
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 0x1001dc7e
mov edx, dword [esp + 0x60]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x1001dc74
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1001dfbe
push ecx
push edx
call fcn.10032345
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 0x1001dcd7
mov edx, dword [esp + 0x84]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x1001dccd
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1001dfbe
push ecx
push edx
call fcn.10032345
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.1001e8e0
movq xmm0, qword [eax]
mov eax, dword [eax + 8]
movq qword [esp + 0x78], xmm0
cmp byte [eax + 0xd], 0
jne 0x1001dd2b
add eax, 0x10
push eax
lea eax, [esp + 0x24]
push eax
call fcn.1001e9d0
test al, al
je 0x1001ddd6
cmp dword [esp + 0xac], 0x6666666
je 0x1001dfc3
mov esi, dword [esp + 0xa8]
lea eax, [esp + 0xa8]
push 0x28
mov dword [esp + 0x18], eax
call fcn.10031ffb
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.1001e7f0
push edi
push dword [esp + 0x80]
lea ecx, [esp + 0xb0]
push dword [esp + 0x80]
call fcn.1001e360
mov edi, dword [esp + 0xc]
mov ecx, dword [esp + 0x34]
cmp ecx, 0xf
jbe 0x1001de0c
mov edx, dword [esp + 0x20]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1001de02
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1001dfbe
push ecx
push edx
call fcn.10032345
add esp, 8
mov ecx, dword [esp + 0xc4]
cmp ecx, 7
jbe 0x1001de4e
mov edx, dword [esp + 0xb0]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x1001de44
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1001dfbe
push ecx
push edx
call fcn.10032345
add esp, 8
lea eax, [esp + 0xf8]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x1001db20
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 0x1001df3e
mov ecx, 4
mul ecx
mov ecx, 0xffffffff
cmovb eax, ecx
push eax
call fcn.1003b41e
mov esi, dword [esp + 0xac]
add esp, 4
mov dword [esp + 0xc], eax
mov esi, dword [esi]
cmp byte [esi + 0xd], 0
jne 0x1001df3a
mov eax, dword [esi + 0x20]
lea edi, [esi + 0x10]
inc eax
push eax
mov dword [esp + 0x20], eax
call fcn.1003b41e
add esp, 4
mov dword [esp + 0x14], eax
cmp dword [edi + 0x14], 0xf
jbe 0x1001ded2
mov edi, dword [edi]
push dword [esp + 0x1c]
push edi
push eax
call fcn.100337a0
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 0x1001df1a
mov eax, dword [esi + 4]
cmp byte [eax + 0xd], 0
jne 0x1001df16
cmp esi, dword [eax + 8]
jne 0x1001df16
mov esi, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0xd], 0
je 0x1001df06
mov esi, eax
jmp 0x1001df30
mov esi, eax
mov ecx, dword [esi]
cmp byte [ecx + 0xd], 0
jne 0x1001df30
mov eax, dword [ecx]
mov esi, ecx
mov ecx, eax
cmp byte [eax + 0xd], 0
je 0x1001df24
cmp byte [esi + 0xd], 0
je 0x1001deb2
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.1001e590
push 0x28
push dword [esp + 0xac]
call fcn.10032345
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.10031fed
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.10031fed
mov esp, ebp
pop ebp
ret 0x10
call fcn.100390b7
call fcn.1001c0b0
int3