Function at 0x1001a2e0
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x238
mov eax, dword [0x1003c040]
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 0x1001a970
cmp dword [ebp + 0x10], 0
jne 0x1001a31e
cmp dword [ebp + 0x14], 0
je 0x1001a970
mov byte [esp + 0x10], 0
lea edx, [esp + 0xc]
push dword [esp + 0x10]
lea ecx, [esp + 0xd4]
call fcn.1001af30
add esp, 4
lea ecx, [esp + 0xd0]
call fcn.1000a9d0
test al, al
jne 0x1001a3fb
test esi, esi
je 0x1001a35b
mov ecx, esi
call fcn.10022230
jmp 0x1001a36e
cmp dword [0x100632d4], 0xf
mov eax, 0x100632c0
cmova eax, dword [0x100632c0]
mov byte [esp + 0x10], 0
lea edx, [esp + 0xc]
push dword [esp + 0x10]
lea ecx, [esp + 0x64]
mov dword [esp + 0x10], eax
call fcn.1001af30
add esp, 4
lea eax, [esp + 0xd0]
lea edx, [esp + 0x60]
lea ecx, [esp + 0x84]
push eax
call fcn.10018080
mov esi, eax
add esp, 4
lea eax, [esp + 0xd0]
cmp eax, esi
je 0x1001a3e6
mov ecx, eax
call fcn.1000aa60
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.1000aa60
lea ecx, [esp + 0x60]
call fcn.1000aa60
push 0x140
lea eax, [esp + 0xfc]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 8
lea eax, [esp + 0x4c]
lea ecx, [esp + 0xd4]
push eax
call fcn.1000b290
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 0x1001a47e
mov edx, dword [esp + 0x48]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1001a474
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1001a474
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.1002d3d9
add esp, 8
mov dword [esp + 0x58], 0
mov dword [esp + 0x5c], 0xf
mov byte [esp + 0x48], 0
cmp edi, 0xffffffff
jne 0x1001a4cf
xorps xmm0, xmm0
lea ecx, [esp + 0xd0]
movlpd qword [esp + 0x14], xmm0
mov esi, dword [esp + 0x18]
mov edi, dword [esp + 0x14]
call fcn.1000aa60
mov eax, edi
mov edx, esi
pop edi
pop esi
mov ecx, dword [esp + 0x234]
xor ecx, esp
call fcn.1002d081
mov esp, ebp
pop ebp
ret 0x10
push 0x28
mov dword [esp + 0xb0], 0
call fcn.1002d08f
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 dword [eax]
cmp dword [ebp + 0x10], 0
mov eax, dword [esp + 0xf8]
jne 0x1001a515
test al, 0x10
jne 0x1001a82e
cmp dword [ebp + 0x14], 0
jne 0x1001a523
test al, 0x10
je 0x1001a82e
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 0x1001a534
sub ecx, edx
push ecx
push esi
push dword [esp + 0x18]
lea ecx, [esp + 0xbc]
call fcn.1000b8e0
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 0x1001a5a9
mov eax, dword [esi]
and eax, 0xffffffdf
sub eax, 0x3a0041
cmp eax, 0x1a
jae 0x1001a5a9
cmp ecx, 3
jl 0x1001a5b8
movzx eax, word [esi + 4]
cmp eax, 0x5c
je 0x1001a6b7
cmp eax, 0x2f
je 0x1001a6b7
jmp 0x1001a5b8
mov ecx, esi
call fcn.1000a610
cmp esi, eax
jne 0x1001a6b7
lea eax, [esp + 0xb0]
push eax
lea eax, [esp + 0x88]
push eax
lea ecx, [esp + 0xd8]
call fcn.1000a900
mov edx, eax
lea ecx, [esp + 0x64]
call fcn.10018080
mov esi, eax
add esp, 4
lea eax, [esp + 0xb0]
cmp eax, esi
je 0x1001a622
mov ecx, eax
call fcn.1000aa60
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 0x1001a65e
mov edx, dword [esp + 0x60]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x1001a654
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1001a46e
push ecx
push edx
call fcn.1002d3d9
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 0x1001a6b7
mov edx, dword [esp + 0x84]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x1001a6ad
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1001a46e
push ecx
push edx
call fcn.1002d3d9
add esp, 8
push ecx
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0xb8]
call fcn.1000b290
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0xa0]
push eax
lea ecx, [esp + 0xb0]
call fcn.1001b2c0
movq xmm0, qword [eax]
mov eax, dword [eax + 8]
movq qword [esp + 0x78], xmm0
cmp byte [eax + 0xd], 0
jne 0x1001a70b
add eax, 0x10
push eax
lea eax, [esp + 0x24]
push eax
call fcn.1001b3b0
test al, al
je 0x1001a7b6
cmp dword [esp + 0xac], 0x6666666
je 0x1001a9a0
mov esi, dword [esp + 0xa8]
lea eax, [esp + 0xa8]
push 0x28
mov dword [esp + 0x18], eax
call fcn.1002d08f
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.1001b1d0
push edi
push dword [esp + 0x80]
lea ecx, [esp + 0xb0]
push dword [esp + 0x80]
call fcn.1001ad40
mov edi, dword [esp + 0xc]
mov ecx, dword [esp + 0x34]
cmp ecx, 0xf
jbe 0x1001a7ec
mov edx, dword [esp + 0x20]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1001a7e2
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1001a46e
push ecx
push edx
call fcn.1002d3d9
add esp, 8
mov ecx, dword [esp + 0xc4]
cmp ecx, 7
jbe 0x1001a82e
mov edx, dword [esp + 0xb0]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x1001a824
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1001a46e
push ecx
push edx
call fcn.1002d3d9
add esp, 8
lea eax, [esp + 0xf8]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x1001a500
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 0x1001a920
mov ecx, 4
mul ecx
mov ecx, 0xffffffff
cmovb eax, ecx
push eax
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov esi, dword [esp + 0xac]
add esp, 4
mov dword [esp + 0xc], eax
mov esi, dword [esi]
cmp byte [esi + 0xd], 0
jne 0x1001a91c
mov eax, dword [esi + 0x20]
lea edi, [esi + 0x10]
inc eax
push eax
mov dword [esp + 0x20], eax
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
add esp, 4
mov dword [esp + 0x14], eax
cmp dword [edi + 0x14], 0xf
jbe 0x1001a8b4
mov edi, dword [edi]
push dword [esp + 0x1c]
push edi
push eax
call sub.VCRUNTIME140.dll_memcpy
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 0x1001a8fc
mov eax, dword [esi + 4]
cmp byte [eax + 0xd], 0
jne 0x1001a8f8
cmp esi, dword [eax + 8]
jne 0x1001a8f8
mov esi, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0xd], 0
je 0x1001a8e8
mov esi, eax
jmp 0x1001a912
mov esi, eax
mov ecx, dword [esi]
cmp byte [ecx + 0xd], 0
jne 0x1001a912
mov eax, dword [ecx]
mov esi, ecx
mov ecx, eax
cmp byte [eax + 0xd], 0
je 0x1001a906
cmp byte [esi + 0xd], 0
je 0x1001a893
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.1001af70
push 0x28
push dword [esp + 0xac]
call fcn.1002d3d9
add esp, 8
lea ecx, [esp + 0xd0]
call fcn.1000aa60
mov eax, edi
mov edx, esi
pop edi
pop esi
mov ecx, dword [esp + 0x234]
xor ecx, esp
call fcn.1002d081
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.1002d081
mov esp, ebp
pop ebp
ret 0x10
call fcn.10018b00
int3