Function at 0x1001d820
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10061302
mov eax, dword fs:[0]
push eax
sub esp, 0x29c
mov eax, dword [0x10079040]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 0xc]
xorps xmm0, xmm0
mov ecx, dword [ebp + 0x10]
mov eax, dword [ebp + 8]
movq qword [ebp - 0x138], xmm0
mov dword [ebp - 0x130], 0
mov dword [ebp - 0x298], edi
mov dword [ebp - 0x29c], ecx
mov dword [ebp - 0x138], 0
mov dword [ebp - 0x134], 0
mov dword [ebp - 0x130], 0
push eax
lea ecx, [ebp - 0x12c]
mov dword [ebp - 4], 0
call fcn.10013570
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x118]
mov eax, edx
mov ecx, dword [ebp - 0x11c]
sub eax, ecx
cmp eax, 2
jb 0x1001d8ea
lea eax, [ecx + 2]
cmp edx, 0xf
mov dword [ebp - 0x11c], eax
mov edx, 0x2a5c
lea eax, [ebp - 0x12c]
cmova eax, dword [ebp - 0x12c]
mov word [eax + ecx], dx
mov byte [eax + ecx + 2], 0
jmp 0x1001d90b
push 2
push 0x10070714
mov byte [ebp - 0x27c], 0
lea ecx, [ebp - 0x12c]
push dword [ebp - 0x27c]
push 2
call fcn.10014f70
cmp dword [ebp - 0x118], 0xf
lea ecx, [ebp - 0x278]
lea eax, [ebp - 0x12c]
cmova eax, dword [ebp - 0x12c]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov dword [ebp - 0x27c], eax
cmp eax, 0xffffffff
je 0x1001dd03
mov esi, eax
nop
mov ecx, 0x10070330
lea eax, [ebp - 0x24c]
nop dword [eax + eax]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x1001d970
test dl, dl
je 0x1001d96c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x1001d970
add eax, 2
add ecx, 2
test dl, dl
jne 0x1001d950
xor eax, eax
jmp 0x1001d975
sbb eax, eax
or eax, 1
test eax, eax
je 0x1001dce6
mov ecx, 0x10070718
lea eax, [ebp - 0x24c]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x1001d9a8
test dl, dl
je 0x1001d9a4
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x1001d9a8
add eax, 2
add ecx, 2
test dl, dl
jne 0x1001d988
xor eax, eax
jmp 0x1001d9ad
sbb eax, eax
or eax, 1
test eax, eax
je 0x1001dce6
push 0x104
lea eax, [ebp - 0x114]
push 0
push eax
call fcn.10037990
lea eax, [ebp - 0x24c]
push eax
lea eax, [ebp - 0x114]
push 0x10070118
push eax
call fcn.10014860
add esp, 0x18
lea eax, [ebp - 0x114]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveExtensionA]
mov esi, dword [edi]
cmp esi, dword [edi + 4]
je 0x1001da52
lea edi, [ebp - 0x114]
lea ecx, [edi + 1]
mov al, byte [edi]
inc edi
test al, al
jne 0x1001da00
sub edi, ecx
nop dword [eax]
cmp dword [esi + 0x14], 0xf
mov ecx, esi
jbe 0x1001da1a
mov ecx, dword [esi]
mov edx, dword [esi + 0x10]
lea eax, [ebp - 0x114]
push edi
push eax
call fcn.10015bc0
add esp, 8
test al, al
jne 0x1001da43
mov eax, dword [ebp - 0x298]
add esi, 0x18
cmp esi, dword [eax + 4]
jne 0x1001da10
mov edi, eax
jmp 0x1001da52
mov edi, dword [ebp - 0x298]
cmp esi, dword [edi + 4]
jne 0x1001dce0
mov esi, dword [ebp - 0x29c]
lea eax, [ebp - 0x114]
push dword [esi]
push eax
call fcn.10037380
add esp, 8
test eax, eax
je 0x1001dada
xorps xmm0, xmm0
mov dword [ebp - 0x284], 0
lea ecx, [ebp - 0x114]
mov dword [ebp - 0x280], 0
movups xmmword [ebp - 0x294], xmm0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1001da94
sub ecx, edx
lea eax, [ebp - 0x114]
push ecx
push eax
lea ecx, [ebp - 0x294]
call fcn.10006da0
lea eax, [ebp - 0x294]
mov byte [ebp - 4], 2
push eax
push dword [edi]
lea eax, [ebp - 0x2a0]
mov ecx, edi
push eax
call fcn.1001f9f0
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x280]
jmp 0x1001dcac
push dword [esi + 4]
lea eax, [ebp - 0x114]
push eax
call fcn.10037380
add esp, 8
test eax, eax
je 0x1001dc1b
mov ecx, dword [edi + 4]
mov eax, 0x2aaaaaab
mov esi, dword [edi]
sub ecx, esi
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
jne 0x1001db55
xorps xmm0, xmm0
mov dword [ebp - 0x284], eax
lea ecx, [ebp - 0x114]
mov dword [ebp - 0x280], eax
movups xmmword [ebp - 0x294], xmm0
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1001db30
sub ecx, edx
lea eax, [ebp - 0x114]
push ecx
push eax
lea ecx, [ebp - 0x294]
call fcn.10006da0
mov byte [ebp - 4], 3
jmp 0x1001dc62
cmp dword [esi + 0x14], 0xf
jbe 0x1001db5d
mov esi, dword [esi]
mov ecx, dword [ebp - 0x29c]
push dword [ecx]
push esi
call fcn.10037380
lea ecx, [ebp - 0x114]
add esp, 8
mov edx, eax
lea esi, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1001db80
sub ecx, esi
mov dword [ebp - 0x284], 0
mov dword [ebp - 0x280], 0
xorps xmm0, xmm0
lea eax, [ebp - 0x114]
push ecx
lea ecx, [ebp - 0x294]
movups xmmword [ebp - 0x294], xmm0
push eax
test edx, edx
je 0x1001dbec
call fcn.10006da0
lea eax, [ebp - 0x294]
mov byte [ebp - 4], 4
push eax
mov eax, dword [edi]
mov ecx, edi
add eax, 0x18
push eax
lea eax, [ebp - 0x2a4]
push eax
call fcn.1001f9f0
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x280]
jmp 0x1001dcac
call fcn.10006da0
lea eax, [ebp - 0x294]
mov byte [ebp - 4], 5
push eax
push dword [edi]
lea eax, [ebp - 0x2a8]
mov ecx, edi
push eax
call fcn.1001f9f0
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x280]
jmp 0x1001dcac
xorps xmm0, xmm0
mov dword [ebp - 0x284], 0
lea ecx, [ebp - 0x114]
mov dword [ebp - 0x280], 0
movups xmmword [ebp - 0x294], xmm0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1001dc42
sub ecx, edx
lea eax, [ebp - 0x114]
push ecx
push eax
lea ecx, [ebp - 0x294]
call fcn.10006da0
mov byte [ebp - 4], 6
mov eax, dword [edi + 4]
cmp eax, dword [edi + 8]
je 0x1001dc93
movups xmm0, xmmword [ebp - 0x294]
mov ecx, 0xf
mov byte [ebp - 0x294], 0
movups xmmword [eax], xmm0
movq xmm0, qword [ebp - 0x284]
movq qword [eax + 0x10], xmm0
add dword [edi + 4], 0x18
jmp 0x1001dca8
lea ecx, [ebp - 0x294]
push ecx
push eax
mov ecx, edi
call fcn.100159d0
mov ecx, dword [ebp - 0x280]
mov byte [ebp - 4], 1
cmp ecx, 0xf
jbe 0x1001dce0
mov edx, dword [ebp - 0x294]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1001dcd6
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1001dd56
push ecx
push edx
call fcn.100337ea
add esp, 8
mov esi, dword [ebp - 0x27c]
lea eax, [ebp - 0x278]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x1001d940
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp - 0x118]
cmp ecx, 0xf
jbe 0x1001dd39
mov edx, dword [ebp - 0x12c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1001dd2f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1001dd56
push ecx
push edx
call fcn.100337ea
add esp, 8
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.10033290
mov esp, ebp
pop ebp
ret 0xc
call fcn.1004280a
int3