Function at 0x10014f90
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x228
mov eax, dword [0x1006c064]
xor eax, esp
mov dword [esp + 0x224], eax
mov eax, dword [ebp + 8]
push esi
push edi
mov edi, dword [ebp + 0xc]
mov dword [esp + 0x14], eax
xor eax, eax
mov dword [esp + 0x94], edi
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
test edi, edi
je 0x10015592
cmp dword [ebp + 0x10], eax
jne 0x10014fdd
cmp dword [ebp + 0x14], eax
je 0x10015592
mov byte [esp + 0x98], al
lea edx, [esp + 0x94]
push dword [esp + 0x98]
lea ecx, [esp + 0xc4]
call fcn.10015fc0
mov eax, dword [esp + 0xd4]
lea esi, [esp + 0xc4]
add esp, 4
cmp dword [esp + 0xd4], 8
cmovae esi, dword [esp + 0xc0]
lea ecx, [eax + eax]
lea edx, [esi + ecx]
sar ecx, 1
cmp ecx, 2
jl 0x10015058
mov eax, dword [esi]
and eax, 0xffffffdf
sub eax, 0x3a0041
cmp eax, 0x1a
jae 0x10015058
cmp ecx, 3
jl 0x10015067
movzx eax, word [esi + 4]
cmp eax, 0x5c
je 0x1001511e
cmp eax, 0x2f
je 0x1001511e
jmp 0x10015067
mov ecx, esi
call fcn.1000a480
cmp esi, eax
jne 0x1001511e
mov eax, dword [esp + 0x14]
test eax, eax
je 0x10015078
mov ecx, eax
call fcn.100260d0
jmp 0x1001508b
cmp dword [0x100947a8], 0x10
mov eax, 0x10094794
cmovae eax, dword [0x10094794]
mov byte [esp + 0x14], 0
lea edx, [esp + 0x94]
push dword [esp + 0x14]
lea ecx, [esp + 0x44]
mov dword [esp + 0x98], eax
call fcn.10015fc0
add esp, 4
lea eax, [esp + 0x40]
lea ecx, [esp + 0x20]
push eax
call fcn.1000bfc0
lea eax, [esp + 0xc0]
push eax
lea ecx, [esp + 0x24]
call fcn.1000a5f0
lea ecx, [esp + 0xc0]
call fcn.1000a870
movaps xmm0, xmmword [esp + 0x20]
lea ecx, [esp + 0x20]
movaps xmmword [esp + 0xc0], xmm0
xor eax, eax
movq xmm0, qword [esp + 0x30]
movq qword [esp + 0xd0], xmm0
mov dword [esp + 0x30], 0
mov dword [esp + 0x34], 7
mov word [esp + 0x20], ax
call fcn.1000a870
lea ecx, [esp + 0x40]
call fcn.1000a870
push 0x140
lea eax, [esp + 0xec]
push 0
push eax
call fcn.100347d0
add esp, 0xc
lea eax, [esp + 0xe8]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov dword [esp + 0x14], eax
cmp eax, 0xffffffff
jne 0x10015162
push edi
push str.No_files_found_in:__s
push 3
call fcn.1000c440
add esp, 0xc
jmp 0x10015550
push 0x28
mov dword [esp + 0xa0], 0
call fcn.10032be3
mov edi, dword [esp + 0x18]
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 + 0x98], eax
cmp dword [ebp + 0x10], 0
mov eax, dword [esp + 0xe8]
jne 0x100151a5
test al, 0x10
jne 0x1001543f
cmp dword [ebp + 0x14], 0
jne 0x100151b3
test al, 0x10
je 0x1001543f
lea esi, [esp + 0x114]
mov byte [esp + 0x14], 0
mov ecx, esi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100151c4
sub ecx, edx
push ecx
push esi
push dword [esp + 0x1c]
lea ecx, [esp + 0xac]
call fcn.1000b6e0
mov eax, dword [esp + 0xbc]
lea esi, [esp + 0xac]
add esp, 0xc
cmp dword [esp + 0xb4], 8
cmovae esi, dword [esp + 0xa0]
lea ecx, [eax + eax]
lea edx, [ecx + esi]
sar ecx, 1
cmp ecx, 2
jl 0x10015239
mov eax, dword [esi]
and eax, 0xffffffdf
sub eax, 0x3a0041
cmp eax, 0x1a
jae 0x10015239
cmp ecx, 3
jl 0x10015248
movzx eax, word [esi + 4]
cmp eax, 0x5c
je 0x100152f2
cmp eax, 0x2f
je 0x100152f2
jmp 0x10015248
mov ecx, esi
call fcn.1000a480
cmp esi, eax
jne 0x100152f2
lea eax, [esp + 0x70]
push eax
lea ecx, [esp + 0xc4]
call fcn.1000a770
push eax
lea ecx, [esp + 0x44]
call fcn.1000bfc0
lea eax, [esp + 0xa0]
push eax
lea ecx, [esp + 0x44]
call fcn.1000a5f0
lea ecx, [esp + 0xa0]
call fcn.1000a870
movaps xmm0, xmmword [esp + 0x40]
xor eax, eax
mov ecx, dword [esp + 0x84]
movaps xmmword [esp + 0xa0], xmm0
movq xmm0, qword [esp + 0x50]
movq qword [esp + 0xb0], xmm0
mov dword [esp + 0x50], 0
mov dword [esp + 0x54], 7
mov word [esp + 0x40], ax
cmp ecx, 8
jb 0x100152f2
mov edx, dword [esp + 0x70]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x100152e8
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100155b1
push ecx
push edx
call fcn.10032f2d
add esp, 8
push ecx
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0xa8]
call fcn.1000b1f0
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x8c]
push eax
lea ecx, [esp + 0xa0]
call fcn.10016000
mov edx, dword [eax + 8]
movq xmm0, qword [eax]
movq qword [esp + 0x64], xmm0
cmp byte [edx + 0xd], 0
jne 0x10015344
add edx, 0x10
lea ecx, [esp + 0x20]
call fcn.10016370
test al, al
je 0x100153c7
cmp dword [esp + 0x9c], 0x6666666
je 0x100155ac
mov esi, dword [esp + 0x98]
push 0x28
call fcn.10032be3
xorps xmm0, xmm0
lea ecx, [esp + 0x9c]
add esp, 4
movups xmmword [eax + 0x10], xmm0
mov dword [eax + 0x20], 0
mov dword [eax + 0x24], 0
movups xmm0, xmmword [esp + 0x20]
push eax
push dword [esp + 0x6c]
movups xmmword [eax + 0x10], xmm0
movq xmm0, qword [esp + 0x38]
push dword [esp + 0x6c]
movq qword [eax + 0x20], xmm0
mov dword [esp + 0x3c], 0
mov dword [esp + 0x40], 0xf
mov byte [esp + 0x2c], 0
mov dword [eax], esi
mov dword [eax + 4], esi
mov dword [eax + 8], esi
mov word [eax + 0xc], 0
call fcn.10016160
mov ecx, dword [esp + 0x34]
cmp ecx, 0x10
jb 0x100153fd
mov edx, dword [esp + 0x20]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100153f3
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100155b1
push ecx
push edx
call fcn.10032f2d
add esp, 8
mov ecx, dword [esp + 0xb4]
cmp ecx, 8
jb 0x1001543f
mov edx, dword [esp + 0xa0]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x10015435
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100155b1
push ecx
push edx
call fcn.10032f2d
add esp, 8
lea eax, [esp + 0xe8]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x10015190
mov eax, dword [esp + 0x9c]
xor ecx, ecx
mov edx, 4
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.100395a2
mov dword [esp + 0x20], eax
add esp, 4
mov eax, dword [esp + 0x98]
mov esi, dword [eax]
cmp byte [esi + 0xd], 0
jne 0x1001552d
nop dword [eax]
mov eax, dword [esi + 0x20]
lea edi, [esi + 0x10]
xor ecx, ecx
add eax, 1
setb cl
neg ecx
or ecx, eax
push ecx
call fcn.100395a2
add esp, 4
mov edx, eax
cmp dword [edi + 0x14], 0x10
jb 0x100154b5
mov edi, dword [edi]
mov ecx, edx
sub ecx, edi
nop dword [eax]
mov al, byte [edi]
lea edi, [edi + 1]
mov byte [ecx + edi - 1], al
test al, al
jne 0x100154c0
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
mov dword [eax + ecx*4], edx
inc ecx
mov eax, dword [esi + 8]
mov dword [esp + 0x18], ecx
cmp byte [eax + 0xd], 0
je 0x10015504
mov eax, dword [esi + 4]
cmp byte [eax + 0xd], 0
jne 0x10015500
nop
cmp esi, dword [eax + 8]
jne 0x10015500
mov esi, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0xd], 0
je 0x100154f0
mov esi, eax
jmp 0x1001551c
mov esi, eax
mov ecx, dword [esi]
cmp byte [ecx + 0xd], 0
jne 0x1001551c
nop
mov eax, dword [ecx]
mov esi, ecx
mov ecx, eax
cmp byte [eax + 0xd], 0
je 0x10015510
cmp byte [esi + 0xd], 0
je 0x10015490
mov eax, dword [esp + 0x98]
push dword [eax + 4]
lea eax, [esp + 0x9c]
push eax
mov ecx, eax
call fcn.10016060
push 0x28
push dword [esp + 0x9c]
call fcn.10032f2d
add esp, 8
mov ecx, dword [esp + 0xd4]
cmp ecx, 8
jb 0x1001558e
mov edx, dword [esp + 0xc0]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x10015584
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100155b1
push ecx
push edx
call fcn.10032f2d
add esp, 8
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x22c]
mov edx, dword [esp + 0x1c]
pop edi
pop esi
xor ecx, esp
call fcn.10032bd5
mov esp, ebp
pop ebp
ret 0x10
call fcn.1000c0c0
call fcn.10038e77
int3