Function at 0x10014920
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100aa863
mov eax, dword fs:[0]
push eax
sub esp, 0x304
mov eax, dword [0x100d0d40]
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]
lea ecx, [ebp - 0x58]
mov esi, dword [ebp + 0xc]
xorps xmm0, xmm0
push 0x104
push 0
mov dword [ebp - 0x2e0], eax
mov dword [ebp - 0x2e4], eax
mov dword [ebp - 0x2ec], esi
mov dword [ebp - 0x310], 0
movups xmmword [ebp - 0x58], xmm0
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0
call fcn.10012460
cmp dword [ebp - 0x44], 7
lea eax, [ebp - 0x58]
push 0x104
cmova eax, dword [ebp - 0x58]
push eax
push 0
mov dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
cmp dword [esi + 0x14], 7
mov edx, esi
mov edi, dword [esi + 0x10]
jbe 0x100149c0
mov edx, dword [esi]
test edi, edi
je 0x100149f3
or ecx, 0xffffffff
lea eax, [edi - 1]
cmp eax, ecx
cmovb ecx, eax
cmp word [edx + ecx*2], 0x2f
lea esi, [edx + ecx*2]
je 0x100149ed
nop dword [eax]
cmp esi, edx
je 0x100149f3
sub esi, 2
cmp word [esi], 0x2f
jne 0x100149e0
sub esi, edx
sar esi, 1
jmp 0x100149f6
or esi, 0xffffffff
mov dword [ebp - 0x300], esi
cmp esi, 0xffffffff
je 0x10014f6c
mov edx, dword [ebp - 0x2ec]
cmp edi, esi
mov eax, esi
mov dword [ebp - 0x18], 0
xorps xmm0, xmm0
mov dword [ebp - 0x14], 0
cmovb eax, edi
mov ecx, edx
cmp dword [edx + 0x14], 7
movups xmmword [ebp - 0x28], xmm0
jbe 0x10014a31
mov ecx, dword [edx]
push eax
push ecx
lea ecx, [ebp - 0x28]
call fcn.10012360
push 0x100b61a0
lea eax, [ebp - 0x58]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0x70]
push eax
call fcn.100121c0
add esp, 0xc
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 2
push ecx
push eax
push dword [ebp - 0x2e4]
lea ecx, [ebp - 0x40]
call fcn.100034c0
mov dword [ebp - 0x2e8], 0x60
lea ecx, [ebp - 0x70]
call fcn.10003860
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 5
call fcn.10003860
push 0x100b61a4
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x88]
push eax
call fcn.100121c0
add esp, 0xc
cmp dword [eax + 0x14], 7
jbe 0x10014aa9
mov eax, dword [eax]
lea ecx, [ebp - 0x2d8]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov edi, eax
lea ecx, [ebp - 0x88]
mov dword [ebp - 0x2e4], edi
call fcn.10003860
cmp edi, 0xffffffff
jne 0x10014b4e
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.10003860
mov ecx, dword [ebp - 0x44]
cmp ecx, 7
jbe 0x10014b2b
mov edx, dword [ebp - 0x58]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x10014b21
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10015170
push ecx
push edx
call fcn.10099daf
add esp, 8
mov esi, dword [ebp - 0x2e0]
mov eax, esi
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.10099dbd
mov esp, ebp
pop ebp
ret
xor edi, edi
mov dword [ebp - 0x2f8], 0
xor eax, eax
mov dword [ebp - 0x2fc], edi
mov dword [ebp - 0x2f4], edi
mov dword [ebp - 0x304], eax
mov dword [ebp - 0x2f0], eax
mov byte [ebp - 4], 6
nop dword [eax + eax]
test byte [ebp - 0x2d8], 0x10
jne 0x10014c0f
mov eax, dword [ebp - 0x2ec]
lea ecx, [esi + 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 0x10015175
sub eax, ecx
or edx, 0xffffffff
cmp eax, 0xffffffff
cmovb edx, eax
mov eax, dword [ebp - 0x2ec]
mov edi, eax
cmp dword [edi + 0x14], 7
mov edi, dword [ebp - 0x2fc]
jbe 0x10014bd7
mov eax, dword [eax]
lea eax, [eax + ecx*2]
push edx
push eax
lea ecx, [ebp - 0x28]
call fcn.10012360
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 0x10014c16
mov byte [ebp - 0x2d9], 1
mov eax, dword [ebp - 0x2e8]
test al, 2
je 0x10014c63
mov ecx, dword [ebp - 0x14]
and eax, 0xfffffffd
mov dword [ebp - 0x2e8], eax
cmp ecx, 7
jbe 0x10014c63
mov edx, dword [ebp - 0x28]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x10014c59
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10015170
push ecx
push edx
call fcn.10099daf
add esp, 8
cmp byte [ebp - 0x2d9], 0
je 0x10014ec0
mov ecx, dword [ebp - 0x30]
mov eax, 0x7ffffffe
sub eax, ecx
cmp eax, 1
jb 0x1001517f
cmp dword [ebp - 0x2c], 7
lea edx, [ebp - 0x40]
mov esi, 7
mov dword [ebp - 0x18], 0
cmova edx, dword [ebp - 0x40]
lea edi, [ebp - 0x28]
inc ecx
mov dword [ebp - 0x30c], edx
mov dword [ebp - 0x14], 0
xorps xmm0, xmm0
mov dword [ebp - 0x308], ecx
movups xmmword [ebp - 0x28], xmm0
cmp ecx, esi
jbe 0x10014d52
mov esi, ecx
or esi, 7
cmp esi, 0x7ffffffe
jbe 0x10014cdb
mov eax, 0x7fffffff
mov esi, 0x7ffffffe
add eax, eax
jmp 0x10014cfd
cmp esi, 0xa
mov eax, 0xa
cmovb esi, eax
lea eax, [esi + 1]
cmp eax, 0x7fffffff
ja 0x1001517a
add eax, eax
cmp eax, 0x1000
jb 0x10014d30
lea ecx, [eax + 0x23]
cmp ecx, eax
jbe 0x1001517a
push ecx
call fcn.10099d7f
add esp, 4
test eax, eax
je 0x10015170
mov ecx, dword [ebp - 0x308]
lea edi, [eax + 0x23]
mov edx, dword [ebp - 0x30c]
and edi, 0xffffffe0
mov dword [edi - 4], eax
jmp 0x10014d4f
test eax, eax
je 0x10014d4d
push eax
call fcn.10099d7f
mov ecx, dword [ebp - 0x308]
add esp, 4
mov edx, dword [ebp - 0x30c]
mov edi, eax
jmp 0x10014d4f
xor edi, edi
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x14], esi
mov esi, dword [ebp - 0x30]
add esi, esi
mov dword [ebp - 0x18], ecx
push esi
push edx
push edi
call sub.msvcrt.dll_memcpy
mov eax, 0x2f
add esp, 0xc
mov word [edi + esi], ax
xor ecx, ecx
mov eax, dword [ebp - 0x30]
mov word [edi + eax*2 + 2], cx
lea ecx, [ebp - 0x2ac]
mov byte [ebp - 4], 7
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10014d90
sub ecx, edx
lea eax, [ebp - 0x2ac]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x28]
call fcn.10014090
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 edi, dword [ebp - 0x2fc]
mov byte [ebp - 4], 8
cmp edi, dword [ebp - 0x304]
je 0x10014e16
xorps xmm0, xmm0
xor eax, eax
movups xmmword [edi], xmm0
mov dword [edi + 0x10], ecx
mov dword [edi + 0x14], ecx
mov ecx, 7
movups xmmword [edi], xmm1
mov word [ebp - 0x70], ax
movq qword [edi + 0x10], xmm2
add edi, 0x18
mov dword [ebp - 0x2f4], edi
jmp 0x10014e3b
lea eax, [ebp - 0x70]
push eax
push edi
lea ecx, [ebp - 0x2f8]
call fcn.100127a0
mov eax, dword [ebp - 0x2f0]
mov edi, dword [ebp - 0x2f4]
mov ecx, dword [ebp - 0x5c]
mov dword [ebp - 0x304], eax
mov dword [ebp - 0x2fc], edi
mov byte [ebp - 4], 7
cmp ecx, 7
jbe 0x10014e7c
mov edx, dword [ebp - 0x70]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x10014e72
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10015170
push ecx
push edx
call fcn.10099daf
add esp, 8
mov ecx, dword [ebp - 0x14]
mov byte [ebp - 4], 6
cmp ecx, 7
jbe 0x10014eba
mov edx, dword [ebp - 0x28]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x10014eb0
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10015170
push ecx
push edx
call fcn.10099daf
add esp, 8
mov esi, dword [ebp - 0x300]
lea eax, [ebp - 0x2d8]
push eax
push dword [ebp - 0x2e4]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x10014b80
push dword [ebp - 0x2e4]
call dword [sym.imp.KERNEL32.dll_FindClose]
mov esi, dword [ebp - 0x2e0]
lea ecx, [ebp - 0x2f8]
mov eax, dword [ebp - 0x2f8]
mov dword [ebp - 0x2f0], 0
mov dword [ebp - 0x2f4], 0
mov dword [esi], eax
mov eax, dword [ebp - 0x304]
mov dword [ebp - 0x2f8], 0
mov dword [esi + 4], edi
mov dword [esi + 8], eax
call fcn.100131e0
lea ecx, [ebp - 0x40]
call fcn.10003860
mov ecx, dword [ebp - 0x44]
cmp ecx, 7
jbe 0x10014b31
mov edx, dword [ebp - 0x58]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x10014fe3
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10015170
jmp 0x10014fe3
mov eax, dword [ebp - 0x2ec]
cmp dword [eax + 0x14], 7
jbe 0x10014f7a
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 - 0x2e4], esi
cmp esi, 0xffffffff
jne 0x10014ff2
mov esi, dword [ebp - 0x2e0]
mov ecx, dword [ebp - 0x44]
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
cmp ecx, 7
jbe 0x10014b31
mov edx, dword [ebp - 0x58]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x10014fe3
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1001516b
push ecx
push edx
call fcn.10099daf
add esp, 8
jmp 0x10014b31
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 0x100150f8
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 0x10015040
sub eax, edx
lea ecx, [ebp - 0x40]
sar eax, 1
push eax
lea eax, [ebp - 0x2ac]
push eax
call fcn.10012360
mov byte [ebp - 4], 0xa
cmp esi, edi
je 0x100150a2
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 0x100150c1
lea eax, [ebp - 0x40]
push eax
push esi
lea ecx, [ebp - 0x2f8]
call fcn.100127a0
mov edi, dword [ebp - 0x2f0]
mov esi, dword [ebp - 0x2f4]
mov ecx, dword [ebp - 0x2c]
mov byte [ebp - 4], 9
cmp ecx, 7
jbe 0x100150f8
mov edx, dword [ebp - 0x40]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x100150ee
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1001516b
push ecx
push edx
call fcn.10099daf
add esp, 8
lea eax, [ebp - 0x2d8]
push eax
push dword [ebp - 0x2e4]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x10015010
push dword [ebp - 0x2e4]
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 0x10014b2b
mov edx, dword [ebp - 0x58]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x10014b21
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10014b21
call fcn.1009b2a0
call fcn.1009b2a0
call fcn.100053e0
call fcn.100053a0
call fcn.100053c0
int3