Function at 0x14000f640
Capabilities:
Enumerate files on windows

Disassembly:
mov rax, rsp
push rbp
push r14
push r15
lea rbp, [rax - 0x138]
sub rsp, 0x220
mov qword [rsp + 0x50], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov rax, qword [0x140076350]
xor rax, rsp
mov qword [rbp + 0x118], rax
cmp qword [rcx + 0x18], 8
jb 0x14000f688
mov rax, qword [rcx]
jmp 0x14000f68b
mov rax, rcx
mov qword [rbp + 0x100], rax
mov rax, qword [rcx + 0x10]
mov qword [rbp + 0x108], rax
lea rdx, [rbp + 0x100]
lea rcx, [rsp + 0x58]
call fcn.140004970
nop
cmp qword [rax + 0x18], 0x10
jb 0x14000f6b9
mov rax, qword [rax]
mov qword [rbp - 0x50], 0xf
xor esi, esi
mov qword [rbp - 0x58], rsi
mov byte [rbp - 0x68], sil
cmp byte [rax], sil
jne 0x14000f6d5
mov r8d, esi
jmp 0x14000f6e9
or r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp byte [rax + r8], sil
jne 0x14000f6e0
mov rdx, rax
lea rcx, [rbp - 0x68]
call fcn.1400026c0
nop
cmp qword [rsp + 0x70], 0x10
jb 0x14000f708
mov rcx, qword [rsp + 0x58]
call fcn.14001a538
mov qword [rsp + 0x70], 0xf
mov qword [rsp + 0x68], rsi
mov byte [rsp + 0x58], 0
lea r8, str.Subdev
lea rdx, [rbp - 0x68]
lea rcx, [rsp + 0x78]
call fcn.140006920
nop
lea rcx, [rsp + 0x78]
cmp qword [rbp - 0x70], 0x10
cmovae rcx, qword [rsp + 0x78]
lea rdx, [rbp - 0x40]
call qword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov rbx, rax
cmp rax, 0xffffffffffffffff
jne 0x14000f78b
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x28], eax
lea rax, str.FindFirstFile_failed___d_
mov qword [rsp + 0x20], rax
lea r9, str.InstallIntelSubdev
mov r8d, 0xbf
lea rdx, str.ControlPanelTool.cpp
lea ecx, [rbx + 0x21]
call fcn.140001e40
jmp 0x14000f931
lea rdi, [0x140059adc]
lea r15, str.install_inf:_s
lea r14, str.enum_file_name:_s
test byte [rbp - 0x40], 0x10
jne 0x14000f912
mov edx, 0x2e
lea rcx, [rbp - 0x14]
call fcn.14001b454
test rax, rax
je 0x14000f8e6
mov byte [rbp + 0x100], 0
xor ecx, ecx
mov qword [rbp + 0x101], rcx
mov qword [rbp + 0x109], rcx
mov word [rbp + 0x111], cx
mov byte [rbp + 0x113], cl
or r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp byte [rax + r8 + 1], cl
jne 0x14000f7f0
lea rdx, [rax + 1]
lea rcx, [rbp + 0x100]
call fcn.14001ad70
lea rcx, [rbp + 0x100]
call fcn.140037cbc
mov rax, rsi
lea rdx, [rbp + 0x100]
movzx ecx, byte [rdx + rax]
inc rax
cmp cl, byte [rdi + rax - 1]
jne 0x14000f8e6
cmp rax, 4
jne 0x14000f820
lea r8, str.Subdev_
lea rdx, [rbp - 0x68]
lea rcx, [rsp + 0x30]
call fcn.140006920
nop
lea r8, [rbp - 0x14]
mov rdx, rax
lea rcx, [rsp + 0x58]
call fcn.140002cd0
nop
cmp qword [rsp + 0x48], 0x10
jb 0x14000f871
mov rcx, qword [rsp + 0x30]
call fcn.14001a538
mov qword [rsp + 0x48], 0xf
mov qword [rsp + 0x40], rsi
mov byte [rsp + 0x30], 0
lea rax, [rsp + 0x58]
cmp qword [rsp + 0x70], 0x10
cmovae rax, qword [rsp + 0x58]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r15
lea r9, str.InstallIntelSubdev
mov r8d, 0xd6
lea rdx, str.ControlPanelTool.cpp
mov ecx, 0x10
call fcn.140001e40
lea rcx, [rsp + 0x58]
cmp qword [rsp + 0x70], 0x10
cmovae rcx, qword [rsp + 0x58]
call fcn.14000f570
nop
cmp qword [rsp + 0x70], 0x10
jb 0x14000f8e6
mov rcx, qword [rsp + 0x58]
call fcn.14001a538
lea rax, [rbp - 0x14]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r14
lea r9, str.InstallIntelSubdev
mov r8d, 0xdb
lea rdx, str.ControlPanelTool.cpp
mov ecx, 0x10
call fcn.140001e40
lea rdx, [rbp - 0x40]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x14000f7a0
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindClose]
nop
cmp qword [rbp - 0x70], 0x10
jb 0x14000f942
mov rcx, qword [rsp + 0x78]
call fcn.14001a538
mov qword [rbp - 0x70], 0xf
mov qword [rbp - 0x78], rsi
mov byte [rsp + 0x78], 0
cmp qword [rbp - 0x50], 0x10
jb 0x14000f963
mov rcx, qword [rbp - 0x68]
call fcn.14001a538
mov rcx, qword [rbp + 0x118]
xor rcx, rsp
call fcn.14001c3b0
lea r11, [rsp + 0x220]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov rsp, r11
pop r15
pop r14
pop rbp
ret