Function at 0x1001d3c0
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100e6313
mov eax, dword fs:[0]
push eax
sub esp, 0x304
mov eax, dword [0x10118fc0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
xorps xmm0, xmm0
mov dword [ebp - 0x2e0], eax
mov dword [ebp - 0x304], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x2e4], eax
lea eax, [ebp - 0x2ec]
push eax
lea eax, [ebp - 0x58]
mov dword [ebp - 0x310], 0
push eax
movups xmmword [ebp - 0x58], xmm0
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x2ec], 0x107
call fcn.10003a30
mov edx, eax
mov dword [ebp - 0x48], 0x104
mov eax, dword [ebp - 0x2ec]
mov ecx, 0x82
mov dword [ebp - 0x44], eax
mov edi, edx
xor eax, eax
mov dword [ebp - 0x58], edx
rep stosd dword es:[edi], eax
add esp, 8
mov word [edx + 0x208], ax
cmp dword [ebp - 0x44], 7
mov dword [ebp - 4], eax
lea eax, [ebp - 0x58]
cmova eax, dword [ebp - 0x58]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov eax, dword [ebp - 0x2e4]
mov edx, eax
cmp dword [eax + 0x14], 7
mov esi, dword [eax + 0x10]
jbe 0x1001d497
mov edx, dword [eax]
test esi, esi
je 0x1001d4c3
or ecx, 0xffffffff
lea eax, [esi - 1]
cmp eax, ecx
cmovb ecx, eax
cmp word [edx + ecx*2], 0x2f
lea edi, [edx + ecx*2]
je 0x1001d4bd
cmp edi, edx
je 0x1001d4c3
sub edi, 2
cmp word [edi], 0x2f
jne 0x1001d4b0
sub edi, edx
sar edi, 1
jmp 0x1001d4c6
or edi, 0xffffffff
cmp edi, 0xffffffff
je 0x1001d9dc
mov edx, dword [ebp - 0x2e4]
cmp esi, edi
mov eax, edi
mov dword [ebp - 0x18], 0
xorps xmm0, xmm0
mov dword [ebp - 0x14], 0
cmovb eax, esi
mov ecx, edx
cmp dword [edx + 0x14], 7
movups xmmword [ebp - 0x28], xmm0
jbe 0x1001d4fb
mov ecx, dword [edx]
push eax
push ecx
lea ecx, [ebp - 0x28]
call fcn.10014ca0
push 0x100f1494
lea eax, [ebp - 0x58]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0x70]
push eax
call fcn.1001b430
add esp, 0xc
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 2
push ecx
push eax
push dword [ebp - 0x304]
lea ecx, [ebp - 0x40]
call fcn.10004570
mov dword [ebp - 0x2e8], 0x60
lea ecx, [ebp - 0x70]
call fcn.10004960
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 5
call fcn.10004960
push 0x100f1498
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x88]
push eax
call fcn.1001b430
add esp, 0xc
cmp dword [eax + 0x14], 7
jbe 0x1001d573
mov eax, dword [eax]
lea ecx, [ebp - 0x2d8]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov esi, eax
lea ecx, [ebp - 0x88]
mov dword [ebp - 0x2fc], esi
call fcn.10004960
cmp esi, 0xffffffff
jne 0x1001d618
mov eax, dword [ebp - 0x2e0]
lea ecx, [ebp - 0x40]
mov dword [eax], 0
mov dword [eax + 4], 0
mov dword [eax + 8], 0
call fcn.10004960
mov ecx, dword [ebp - 0x44]
cmp ecx, 7
jbe 0x1001d5f5
mov edx, dword [ebp - 0x58]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x1001d5eb
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1001dbe0
push ecx
push edx
call fcn.100ba2da
add esp, 8
mov edi, dword [ebp - 0x2e0]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100ba602
mov esp, ebp
pop ebp
ret
xor esi, esi
mov dword [ebp - 0x2f8], 0
xor eax, eax
mov dword [ebp - 0x300], esi
mov dword [ebp - 0x2f4], esi
mov dword [ebp - 0x2ec], eax
mov dword [ebp - 0x2f0], eax
mov byte [ebp - 4], 6
test byte [ebp - 0x2d8], 0x10
jne 0x1001d6d1
mov eax, dword [ebp - 0x2e4]
lea ecx, [edi + 1]
xorps xmm0, xmm0
mov dword [ebp - 0x18], 0
movups xmmword [ebp - 0x28], xmm0
mov dword [ebp - 0x14], 0
mov eax, dword [eax + 0x10]
cmp eax, ecx
jb 0x1001dbe5
sub eax, ecx
or edx, 0xffffffff
cmp eax, 0xffffffff
cmovb edx, eax
mov eax, dword [ebp - 0x2e4]
mov esi, eax
cmp dword [esi + 0x14], 7
mov esi, dword [ebp - 0x300]
jbe 0x1001d699
mov eax, dword [eax]
lea eax, [eax + ecx*2]
push edx
push eax
lea ecx, [ebp - 0x28]
call fcn.10014ca0
or dword [ebp - 0x2e8], 6
lea eax, [ebp - 0x28]
cmp dword [ebp - 0x14], 7
cmova eax, dword [ebp - 0x28]
push eax
lea eax, [ebp - 0x2ac]
push eax
call dword [sym.imp.SHLWAPI.dll_PathMatchSpecW]
mov byte [ebp - 0x2d9], 0
test eax, eax
je 0x1001d6d8
mov byte [ebp - 0x2d9], 1
mov eax, dword [ebp - 0x2e8]
test al, 2
je 0x1001d725
mov ecx, dword [ebp - 0x14]
and eax, 0xfffffffd
mov dword [ebp - 0x2e8], eax
cmp ecx, 7
jbe 0x1001d725
mov edx, dword [ebp - 0x28]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x1001d71b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1001dbe0
push ecx
push edx
call fcn.100ba2da
add esp, 8
cmp byte [ebp - 0x2d9], 0
je 0x1001d930
mov ecx, dword [ebp - 0x30]
mov eax, bind
sub eax, ecx
cmp eax, 1
jb 0x1001dbea
cmp dword [ebp - 0x2c], 7
lea eax, [ebp - 0x40]
lea esi, [ecx + 1]
mov dword [ebp - 0x18], 0
cmova eax, dword [ebp - 0x40]
mov ecx, 7
mov dword [ebp - 0x304], eax
xorps xmm0, xmm0
mov dword [ebp - 0x14], 0
lea eax, [ebp - 0x28]
mov dword [ebp - 0x30c], eax
movups xmmword [ebp - 0x28], xmm0
cmp esi, ecx
jbe 0x1001d7c5
mov eax, esi
or eax, ecx
cmp eax, 0x7ffffffe
jbe 0x1001d792
mov eax, bind
jmp 0x1001d79d
cmp eax, 0xa
mov ecx, 0xa
cmovb eax, ecx
mov dword [ebp - 0x308], eax
lea eax, [ebp - 0x308]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.10003a30
mov ecx, dword [ebp - 0x308]
add esp, 8
mov dword [ebp - 0x30c], eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x18], esi
mov esi, dword [ebp - 0x30]
add esi, esi
mov dword [ebp - 0x14], ecx
push esi
push dword [ebp - 0x304]
push eax
call fcn.100bbe80
mov eax, dword [ebp - 0x30c]
mov ecx, 0x2f
add esp, 0xc
xor edx, edx
mov word [eax + esi], cx
mov ecx, dword [ebp - 0x30]
mov word [eax + ecx*2 + 2], dx
lea ecx, [ebp - 0x2ac]
mov byte [ebp - 4], 7
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1001d806
sub ecx, edx
lea eax, [ebp - 0x2ac]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x28]
call fcn.1001c9b0
or dword [ebp - 0x2e8], 0x18
xor ecx, ecx
movups xmm1, xmmword [eax]
movq xmm2, qword [eax + 0x10]
movups xmmword [ebp - 0x70], xmm1
mov dword [eax + 0x10], 0
movq qword [ebp - 0x60], xmm2
mov dword [eax + 0x14], 7
mov word [eax], cx
mov esi, dword [ebp - 0x300]
mov byte [ebp - 4], 8
cmp esi, dword [ebp - 0x2ec]
je 0x1001d88c
xorps xmm0, xmm0
xor eax, eax
movups xmmword [esi], xmm0
mov dword [esi + 0x10], ecx
mov dword [esi + 0x14], ecx
mov ecx, 7
movups xmmword [esi], xmm1
mov word [ebp - 0x70], ax
movq qword [esi + 0x10], xmm2
add esi, 0x18
mov dword [ebp - 0x2f4], esi
jmp 0x1001d8b1
lea eax, [ebp - 0x70]
push eax
push esi
lea ecx, [ebp - 0x2f8]
call fcn.1001b750
mov eax, dword [ebp - 0x2f0]
mov esi, dword [ebp - 0x2f4]
mov ecx, dword [ebp - 0x5c]
mov dword [ebp - 0x2ec], eax
mov dword [ebp - 0x300], esi
mov byte [ebp - 4], 7
cmp ecx, 7
jbe 0x1001d8f2
mov edx, dword [ebp - 0x70]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x1001d8e8
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1001dbe0
push ecx
push edx
call fcn.100ba2da
add esp, 8
mov ecx, dword [ebp - 0x14]
mov byte [ebp - 4], 6
cmp ecx, 7
jbe 0x1001d930
mov edx, dword [ebp - 0x28]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x1001d926
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1001dbe0
push ecx
push edx
call fcn.100ba2da
add esp, 8
lea eax, [ebp - 0x2d8]
push eax
push dword [ebp - 0x2fc]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x1001d642
push dword [ebp - 0x2fc]
call dword [sym.imp.KERNEL32.dll_FindClose]
mov edi, dword [ebp - 0x2e0]
lea ecx, [ebp - 0x2f8]
mov eax, dword [ebp - 0x2f8]
mov dword [ebp - 0x2f0], 0
mov dword [ebp - 0x2f4], 0
mov dword [edi], eax
mov eax, dword [ebp - 0x2ec]
mov dword [ebp - 0x2f8], 0
mov dword [edi + 4], esi
mov dword [edi + 8], eax
call fcn.1001bd90
lea ecx, [ebp - 0x40]
call fcn.10004960
mov ecx, dword [ebp - 0x44]
cmp ecx, 7
jbe 0x1001d5fb
mov edx, dword [ebp - 0x58]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x1001da53
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1001dbe0
jmp 0x1001da53
mov eax, dword [ebp - 0x2e4]
cmp dword [eax + 0x14], 7
jbe 0x1001d9ea
mov eax, dword [eax]
lea ecx, [ebp - 0x2d8]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov esi, eax
mov dword [ebp - 0x2fc], esi
cmp esi, 0xffffffff
jne 0x1001da62
mov edi, dword [ebp - 0x2e0]
mov ecx, dword [ebp - 0x44]
mov dword [edi], 0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
cmp ecx, 7
jbe 0x1001d5fb
mov edx, dword [ebp - 0x58]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x1001da53
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1001dbdb
push ecx
push edx
call fcn.100ba2da
add esp, 8
jmp 0x1001d5fb
xor esi, esi
mov dword [ebp - 0x2f8], 0
xor edi, edi
mov dword [ebp - 0x2f4], esi
mov dword [ebp - 0x2f0], edi
mov byte [ebp - 4], 9
test byte [ebp - 0x2d8], 0x10
jne 0x1001db68
xorps xmm0, xmm0
mov dword [ebp - 0x30], 0
lea eax, [ebp - 0x2ac]
mov dword [ebp - 0x2c], 0
movups xmmword [ebp - 0x40], xmm0
lea edx, [eax + 2]
nop dword [eax + eax]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x1001dab0
sub eax, edx
lea ecx, [ebp - 0x40]
sar eax, 1
push eax
lea eax, [ebp - 0x2ac]
push eax
call fcn.10014ca0
mov byte [ebp - 4], 0xa
cmp esi, edi
je 0x1001db12
xorps xmm0, xmm0
xor eax, eax
movups xmmword [esi], xmm0
mov dword [esi + 0x10], 0
mov ecx, 7
movups xmm0, xmmword [ebp - 0x40]
mov dword [esi + 0x14], 0
mov word [ebp - 0x40], ax
movups xmmword [esi], xmm0
movq xmm0, qword [ebp - 0x30]
movq qword [esi + 0x10], xmm0
add esi, 0x18
mov dword [ebp - 0x2f4], esi
jmp 0x1001db31
lea eax, [ebp - 0x40]
push eax
push esi
lea ecx, [ebp - 0x2f8]
call fcn.1001b750
mov edi, dword [ebp - 0x2f0]
mov esi, dword [ebp - 0x2f4]
mov ecx, dword [ebp - 0x2c]
mov byte [ebp - 4], 9
cmp ecx, 7
jbe 0x1001db68
mov edx, dword [ebp - 0x40]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x1001db5e
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1001dbdb
push ecx
push edx
call fcn.100ba2da
add esp, 8
lea eax, [ebp - 0x2d8]
push eax
push dword [ebp - 0x2fc]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x1001da80
push dword [ebp - 0x2fc]
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp - 0x2e0]
mov eax, dword [ebp - 0x2f8]
mov dword [ecx], eax
mov dword [ecx + 4], esi
mov dword [ecx + 8], edi
mov ecx, dword [ebp - 0x44]
cmp ecx, 7
jbe 0x1001d5f5
mov edx, dword [ebp - 0x58]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x1001d5eb
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1001d5eb
call fcn.100c64bf
call fcn.100c64bf
call fcn.100077a0
call fcn.10007790
int3