Function at 0x10014440
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100a8e33
mov eax, dword fs:[0]
push eax
sub esp, 0x304
mov eax, dword [0x100cef80]
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.10012520
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 0x100144e0
mov edx, dword [esi]
test edi, edi
je 0x10014513
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 0x1001450d
nop dword [eax]
cmp esi, edx
je 0x10014513
sub esi, 2
cmp word [esi], 0x2f
jne 0x10014500
sub esi, edx
sar esi, 1
jmp 0x10014516
or esi, 0xffffffff
mov dword [ebp - 0x300], esi
cmp esi, 0xffffffff
je 0x10014a8c
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 0x10014551
mov ecx, dword [edx]
push eax
push ecx
lea ecx, [ebp - 0x28]
call fcn.10003450
push 0x100b41a0
lea eax, [ebp - 0x58]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0x70]
push eax
call fcn.10012380
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.100038a0
mov dword [ebp - 0x2e8], 0x60
lea ecx, [ebp - 0x70]
call fcn.10003d40
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 5
call fcn.10003d40
push 0x100b41a4
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x88]
push eax
call fcn.10012380
add esp, 0xc
cmp dword [eax + 0x14], 7
jbe 0x100145c9
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.10003d40
cmp edi, 0xffffffff
jne 0x1001466e
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.10003d40
mov ecx, dword [ebp - 0x44]
cmp ecx, 7
jbe 0x1001464b
mov edx, dword [ebp - 0x58]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x10014641
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10014c90
push ecx
push edx
call fcn.1009832f
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.1009833d
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 0x1001472f
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 0x10014c95
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 0x100146f7
mov eax, dword [eax]
lea eax, [eax + ecx*2]
push edx
push eax
lea ecx, [ebp - 0x28]
call fcn.10003450
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 0x10014736
mov byte [ebp - 0x2d9], 1
mov eax, dword [ebp - 0x2e8]
test al, 2
je 0x10014783
mov ecx, dword [ebp - 0x14]
and eax, 0xfffffffd
mov dword [ebp - 0x2e8], eax
cmp ecx, 7
jbe 0x10014783
mov edx, dword [ebp - 0x28]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x10014779
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10014c90
push ecx
push edx
call fcn.1009832f
add esp, 8
cmp byte [ebp - 0x2d9], 0
je 0x100149e0
mov ecx, dword [ebp - 0x30]
mov eax, 0x7ffffffe
sub eax, ecx
cmp eax, 1
jb 0x10014c9f
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 0x10014872
mov esi, ecx
or esi, 7
cmp esi, 0x7ffffffe
jbe 0x100147fb
mov eax, 0x7fffffff
mov esi, 0x7ffffffe
add eax, eax
jmp 0x1001481d
cmp esi, 0xa
mov eax, 0xa
cmovb esi, eax
lea eax, [esi + 1]
cmp eax, 0x7fffffff
ja 0x10014c9a
add eax, eax
cmp eax, 0x1000
jb 0x10014850
lea ecx, [eax + 0x23]
cmp ecx, eax
jbe 0x10014c9a
push ecx
call fcn.100982ff
add esp, 4
test eax, eax
je 0x10014c90
mov ecx, dword [ebp - 0x308]
lea edi, [eax + 0x23]
mov edx, dword [ebp - 0x30c]
and edi, 0xffffffe0
mov dword [edi - 4], eax
jmp 0x1001486f
test eax, eax
je 0x1001486d
push eax
call fcn.100982ff
mov ecx, dword [ebp - 0x308]
add esp, 4
mov edx, dword [ebp - 0x30c]
mov edi, eax
jmp 0x1001486f
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 0x100148b0
sub ecx, edx
lea eax, [ebp - 0x2ac]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x28]
call fcn.10013bb0
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 0x10014936
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 0x1001495b
lea eax, [ebp - 0x70]
push eax
push edi
lea ecx, [ebp - 0x2f8]
call fcn.10012860
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 0x1001499c
mov edx, dword [ebp - 0x70]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x10014992
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10014c90
push ecx
push edx
call fcn.1009832f
add esp, 8
mov ecx, dword [ebp - 0x14]
mov byte [ebp - 4], 6
cmp ecx, 7
jbe 0x100149da
mov edx, dword [ebp - 0x28]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x100149d0
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10014c90
push ecx
push edx
call fcn.1009832f
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 0x100146a0
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.10013050
lea ecx, [ebp - 0x40]
call fcn.10003d40
mov ecx, dword [ebp - 0x44]
cmp ecx, 7
jbe 0x10014651
mov edx, dword [ebp - 0x58]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x10014b03
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10014c90
jmp 0x10014b03
mov eax, dword [ebp - 0x2ec]
cmp dword [eax + 0x14], 7
jbe 0x10014a9a
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 0x10014b12
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 0x10014651
mov edx, dword [ebp - 0x58]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x10014b03
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10014c8b
push ecx
push edx
call fcn.1009832f
add esp, 8
jmp 0x10014651
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 0x10014c18
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 0x10014b60
sub eax, edx
lea ecx, [ebp - 0x40]
sar eax, 1
push eax
lea eax, [ebp - 0x2ac]
push eax
call fcn.10003450
mov byte [ebp - 4], 0xa
cmp esi, edi
je 0x10014bc2
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 0x10014be1
lea eax, [ebp - 0x40]
push eax
push esi
lea ecx, [ebp - 0x2f8]
call fcn.10012860
mov edi, dword [ebp - 0x2f0]
mov esi, dword [ebp - 0x2f4]
mov ecx, dword [ebp - 0x2c]
mov byte [ebp - 4], 9
cmp ecx, 7
jbe 0x10014c18
mov edx, dword [ebp - 0x40]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x10014c0e
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10014c8b
push ecx
push edx
call fcn.1009832f
add esp, 8
lea eax, [ebp - 0x2d8]
push eax
push dword [ebp - 0x2e4]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x10014b30
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 0x1001464b
mov edx, dword [ebp - 0x58]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x10014641
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10014641
call fcn.10099820
call fcn.10099820
call fcn.10005930
call fcn.100058f0
call fcn.10005910
int3