Function at 0x140003f10
Capabilities:
Enumerate files on windows
Set file attributes

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x498
mov qword [rsp + 0x258], 0xfffffffffffffffe
mov rax, qword [0x1400425e0]
xor rax, rsp
mov qword [rsp + 0x480], rax
mov dword [rsp + 0x58], 0
cmp dword [rsp + 0x4c0], 0
je 0x140004040
lea r9, [0x1400332e0]
lea r8, [0x140033390]
xor edx, edx
lea rcx, [rsp + 0x318]
call fcn.140017550
mov qword [rsp + 0x178], rax
mov rax, qword [rsp + 0x178]
mov qword [rsp + 0x1c8], rax
mov rax, qword [rsp + 0x1c8]
cmp qword [rax + 0x10], 0
jne 0x140003fad
mov dword [rsp + 0x74], 1
jmp 0x140003fb5
mov dword [rsp + 0x74], 0
movzx eax, byte [rsp + 0x74]
test eax, eax
je 0x140003fcf
lea rax, [0x140033820]
mov qword [rsp + 0x90], rax
jmp 0x140003fde
lea rax, str.SYNAPTICS_Inc.
mov qword [rsp + 0x90], rax
mov rax, qword [rsp + 0x90]
movsx eax, byte [rax]
test eax, eax
jne 0x140003ffb
mov qword [rsp + 0xf0], 0
jmp 0x140004010
mov rcx, qword [rsp + 0x90]
call fcn.140019bc0
mov qword [rsp + 0xf0], rax
mov r8, qword [rsp + 0xf0]
mov rdx, qword [rsp + 0x90]
mov rcx, qword [rsp + 0x4b0]
call fcn.14000e9b0
nop
xor r8d, r8d
mov dl, 1
lea rcx, [rsp + 0x318]
call fcn.14000e180
lea rdx, [rsp + 0x1e0]
mov rcx, qword [rsp + 0x4a0]
call fcn.140006510
mov qword [rsp + 0x1d0], rax
mov rax, qword [rsp + 0x1d0]
mov qword [rsp + 0x160], rax
lea r8, str.oem.inf
mov rdx, qword [rsp + 0x160]
lea rcx, [rsp + 0x120]
call fcn.1400027d0
nop
mov rax, qword [rsp + 0x1e0]
sub rax, 0x18
mov qword [rsp + 0x188], rax
mov rcx, qword [rsp + 0x188]
call fcn.140009650
lea rcx, [rsp + 0x128]
call fcn.140001ed0
nop
mov rax, qword [rsp + 0x120]
mov qword [rsp + 0x1f0], rax
lea rdx, [rsp + 0x340]
mov rcx, qword [rsp + 0x1f0]
call qword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov qword [rsp + 0x118], rax
cmp qword [rsp + 0x118], 0xffffffffffffffff
je 0x1400040fc
mov dword [rsp + 0x7c], 1
jmp 0x140004104
mov dword [rsp + 0x7c], 0
mov eax, dword [rsp + 0x7c]
mov dword [rsp + 0x6c], eax
jmp 0x140004128
lea rdx, [rsp + 0x340]
mov rcx, qword [rsp + 0x118]
call qword [sym.imp.KERNEL32.dll_FindNextFileA]
mov dword [rsp + 0x6c], eax
cmp dword [rsp + 0x6c], 0
je 0x1400049a0
lea rdx, [rsp + 0x1a8]
mov rcx, qword [rsp + 0x4a0]
call fcn.140006510
mov qword [rsp + 0x198], rax
mov rax, qword [rsp + 0x198]
mov qword [rsp + 0x200], rax
lea r8, [rsp + 0x36c]
mov rdx, qword [rsp + 0x200]
lea rcx, [rsp + 0xb0]
call fcn.1400027d0
nop
mov rax, qword [rsp + 0x1a8]
sub rax, 0x18
mov qword [rsp + 0x210], rax
mov rcx, qword [rsp + 0x210]
call fcn.140009650
mov dword [rsp + 0x50], 0
lea rax, [rsp + 0x280]
mov qword [rsp + 0x108], rax
lea rdx, [rsp + 0xb0]
mov rcx, qword [rsp + 0x108]
call fcn.140001940
mov rax, qword [rsp + 0x108]
mov qword [rsp + 0x1b8], rax
lea rdx, [rsp + 0x128]
mov rcx, qword [rsp + 0x1b8]
call fcn.140014060
test eax, eax
je 0x14000497a
mov rax, qword [rsp + 0x4b0]
cmp qword [rax + 0x18], 0x10
jb 0x14000422d
mov rax, qword [rsp + 0x268]
mov qword [rsp + 0xd8], rax
mov rax, qword [rsp + 0x4b0]
mov rax, qword [rax]
mov qword [rsp + 0xd8], rax
jmp 0x14000423d
mov rax, qword [rsp + 0x4b0]
mov qword [rsp + 0xd8], rax
mov rdx, qword [rsp + 0xd8]
lea rcx, [rsp + 0x130]
call fcn.140003470
test eax, eax
jne 0x140004263
mov dword [rsp + 0x8c], 1
jmp 0x14000426e
mov dword [rsp + 0x8c], 0
mov eax, dword [rsp + 0x8c]
mov dword [rsp + 0x50], eax
cmp dword [rsp + 0x4c0], 0
je 0x1400046c2
cmp dword [rsp + 0x50], 0
jne 0x140004305
mov rax, qword [rsp + 0x4b0]
cmp qword [rax + 0x18], 0x10
jb 0x1400042c2
mov rax, qword [rsp + 0x290]
mov qword [rsp + 0xb8], rax
mov rax, qword [rsp + 0x4b0]
mov rax, qword [rax]
mov qword [rsp + 0xb8], rax
jmp 0x1400042d2
mov rax, qword [rsp + 0x4b0]
mov qword [rsp + 0xb8], rax
mov rdx, qword [rsp + 0xb8]
lea rcx, [rsp + 0x148]
call fcn.140003470
test eax, eax
jne 0x1400042f5
mov dword [rsp + 0x60], 1
jmp 0x1400042fd
mov dword [rsp + 0x60], 0
mov eax, dword [rsp + 0x60]
mov dword [rsp + 0x50], eax
cmp dword [rsp + 0x50], 0
je 0x140004520
mov rax, qword [rsp + 0x4a0]
mov eax, dword [rax + 4]
mov dword [rsp + 0xa8], eax
cmp dword [rsp + 0xa8], 0
je 0x140004520
mov qword [rsp + 0x240], 0
mov qword [rsp + 0x248], 0
mov qword [rsp + 0x250], 0
lea rdx, [0x140033af0]
lea rcx, [rsp + 0x2b8]
call fcn.140001b00
nop
mov rax, qword [rsp + 0x138]
mov qword [rsp + 0x220], rax
mov rdx, qword [rsp + 0x220]
lea rcx, [rsp + 0x298]
call fcn.140001b00
nop
lea r8, [rsp + 0x2b8]
lea rdx, [rsp + 0x240]
lea rcx, [rsp + 0x298]
call fcn.14000cac0
nop
xor r8d, r8d
mov dl, 1
lea rcx, [rsp + 0x298]
call fcn.14000e180
nop
xor r8d, r8d
mov dl, 1
lea rcx, [rsp + 0x2b8]
call fcn.14000e180
mov eax, 1
imul rax, rax, 0x20
mov rcx, qword [rsp + 0x240]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0xe8], rax
mov rax, qword [rsp + 0xe8]
cmp qword [rax + 0x18], 0x10
jb 0x140004425
mov rax, qword [rsp + 0x288]
mov qword [rsp + 0xe0], rax
mov rax, qword [rsp + 0xe8]
mov rax, qword [rax]
mov qword [rsp + 0xe0], rax
jmp 0x140004435
mov rax, qword [rsp + 0xe8]
mov qword [rsp + 0xe0], rax
mov rdx, qword [rsp + 0xe0]
lea rcx, [rsp + 0x228]
call fcn.140001a10
mov qword [rsp + 0x230], rax
mov rax, qword [rsp + 0x230]
mov qword [rsp + 0x208], rax
mov rcx, qword [rsp + 0x208]
call fcn.14000c9f0
mov rcx, rax
call fcn.14000c8c0
mov qword [rsp + 0x1d8], rax
mov rdx, qword [rsp + 0x1d8]
lea rcx, [rsp + 0xf8]
call fcn.140001940
nop
mov rax, qword [rsp + 0x228]
sub rax, 0x18
mov qword [rsp + 0x1e8], rax
mov rcx, qword [rsp + 0x1e8]
call fcn.140009650
lea rdx, str.19.3.4.228
lea rcx, [rsp + 0xf8]
call fcn.140003470
test eax, eax
je 0x1400044db
mov dword [rsp + 0x84], 1
jmp 0x1400044e6
mov dword [rsp + 0x84], 0
mov eax, dword [rsp + 0x84]
mov dword [rsp + 0x50], eax
mov rax, qword [rsp + 0xf8]
sub rax, 0x18
mov qword [rsp + 0x218], rax
mov rcx, qword [rsp + 0x218]
call fcn.140009650
nop
lea rcx, [rsp + 0x240]
call fcn.14000e300
cmp dword [rsp + 0x50], 0
je 0x14000458b
lea r9, [0x1400332e0]
lea r8, [0x140033390]
xor edx, edx
lea rcx, [rsp + 0x2f8]
call fcn.140017550
mov qword [rsp + 0x1f8], rax
mov eax, dword [rsp + 0x58]
or eax, 1
mov dword [rsp + 0x58], eax
mov rax, qword [rsp + 0x1f8]
cmp qword [rax + 0x10], 0
jne 0x140004570
mov dword [rsp + 0x64], 1
jmp 0x140004578
mov dword [rsp + 0x64], 0
movzx eax, byte [rsp + 0x64]
test eax, eax
jne 0x14000458b
mov dword [rsp + 0x68], 1
jmp 0x140004593
mov dword [rsp + 0x68], 0
movzx eax, byte [rsp + 0x68]
mov byte [rsp + 0x54], al
mov eax, dword [rsp + 0x58]
and eax, 1
test eax, eax
je 0x1400045be
and dword [rsp + 0x58], 0xfffffffe
xor r8d, r8d
mov dl, 1
lea rcx, [rsp + 0x2f8]
call fcn.14000e180
movzx eax, byte [rsp + 0x54]
test eax, eax
je 0x1400046bd
lea rdx, str.Mouse
lea rcx, [rsp + 0x128]
call fcn.140003470
test eax, eax
je 0x1400045ff
lea rdx, str.HIDClass
lea rcx, [rsp + 0x128]
call fcn.140003470
test eax, eax
jne 0x1400046bd
lea r9, [0x1400332e0]
lea r8, [0x140033390]
xor edx, edx
lea rcx, [rsp + 0x2d8]
call fcn.140017550
mov qword [rsp + 0x238], rax
mov rax, qword [rsp + 0x238]
mov qword [rsp + 0xd0], rax
mov rax, qword [rsp + 0xd0]
cmp qword [rax + 0x18], 0x10
jb 0x140004668
mov rax, qword [rsp + 0x278]
mov qword [rsp + 0xc0], rax
mov rax, qword [rsp + 0xd0]
mov rax, qword [rax]
mov qword [rsp + 0xc0], rax
jmp 0x140004678
mov rax, qword [rsp + 0xd0]
mov qword [rsp + 0xc0], rax
mov rdx, qword [rsp + 0xc0]
lea rcx, [rsp + 0x150]
call fcn.140003470
test eax, eax
jne 0x14000469b
mov dword [rsp + 0x70], 1
jmp 0x1400046a3
mov dword [rsp + 0x70], 0
mov eax, dword [rsp + 0x70]
mov dword [rsp + 0x50], eax
xor r8d, r8d
mov dl, 1
lea rcx, [rsp + 0x2d8]
call fcn.14000e180
jmp 0x1400047a1
cmp dword [rsp + 0x50], 0
je 0x1400047a1
mov rax, qword [rsp + 0x4a8]
cmp qword [rax + 0x18], 0x10
jb 0x140004701
mov rax, qword [rsp + 0x260]
mov qword [rsp + 0xc8], rax
mov rax, qword [rsp + 0x4a8]
mov rax, qword [rax]
mov qword [rsp + 0xc8], rax
jmp 0x140004711
mov rax, qword [rsp + 0x4a8]
mov qword [rsp + 0xc8], rax
mov rdx, qword [rsp + 0xc8]
lea rcx, [rsp + 0x128]
call fcn.140003470
test eax, eax
jne 0x140004791
mov rax, qword [rsp + 0x4b8]
cmp qword [rax + 0x18], 0x10
jb 0x14000475e
mov rax, qword [rsp + 0x270]
mov qword [rsp + 0xa0], rax
mov rax, qword [rsp + 0x4b8]
mov rax, qword [rax]
mov qword [rsp + 0xa0], rax
jmp 0x14000476e
mov rax, qword [rsp + 0x4b8]
mov qword [rsp + 0xa0], rax
mov rdx, qword [rsp + 0xa0]
lea rcx, [rsp + 0x140]
call fcn.140003470
test eax, eax
jne 0x140004791
mov dword [rsp + 0x78], 1
jmp 0x140004799
mov dword [rsp + 0x78], 0
mov eax, dword [rsp + 0x78]
mov dword [rsp + 0x50], eax
cmp dword [rsp + 0x50], 0
je 0x14000497a
mov eax, dword [0x140044424]
inc eax
mov dword [0x140044424], eax
mov rax, qword [rsp + 0xb0]
mov qword [rsp + 0x1c0], rax
mov edx, 0x80
mov rcx, qword [rsp + 0x1c0]
call qword [sym.imp.KERNEL32.dll_SetFileAttributesA]
mov dword [rsp + 0x5c], 0
mov rax, qword [rsp + 0x4a0]
add rax, 0x230
mov qword [rsp + 0x100], rax
mov rax, qword [rsp + 0x100]
cmp qword [rax + 8], 0
je 0x140004830
xor r8d, r8d
mov edx, 1
lea rcx, [rsp + 0x36c]
mov rax, qword [rsp + 0x100]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov dword [rsp + 0x80], eax
jmp 0x14000483b
mov dword [rsp + 0x80], 0
cmp dword [rsp + 0x80], 0
jne 0x14000484f
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x5c], eax
cmp dword [rsp + 0x5c], 0
je 0x140004867
lea rax, str.Fail
mov qword [rsp + 0x110], rax
jmp 0x140004876
lea rax, str.Succeed
mov qword [rsp + 0x110], rax
mov rax, qword [rsp + 0x138]
mov qword [rsp + 0x168], rax
mov rax, qword [rsp + 0x130]
mov qword [rsp + 0x170], rax
mov rax, qword [rsp + 0x128]
mov qword [rsp + 0x180], rax
mov eax, dword [rsp + 0x5c]
mov dword [rsp + 0x48], eax
mov eax, dword [rsp + 0x5c]
mov dword [rsp + 0x40], eax
mov rax, qword [rsp + 0x168]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x170]
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x180]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x36c]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x110]
mov r8d, dword [0x140044424]
lea rdx, str._d.__s_to_Uninstall_driver_OemInf:__s__Class:__s__Provider___s__Version___s___ErrorCode__0x_x__d__n
mov rcx, qword [rsp + 0x4a0]
call fcn.140008860
mov rax, qword [rsp + 0x158]
mov eax, dword [rax - 0x10]
mov dword [rsp + 0xac], eax
cmp dword [rsp + 0xac], 0
jne 0x140004936
mov dword [rsp + 0x88], 1
jmp 0x140004941
mov dword [rsp + 0x88], 0
movzx eax, byte [rsp + 0x88]
test eax, eax
jne 0x14000497a
mov rax, qword [rsp + 0x158]
mov qword [rsp + 0x190], rax
mov r8, qword [rsp + 0x190]
lea rdx, str.___Original_InstallDir:__s_n
mov rcx, qword [rsp + 0x4a0]
call fcn.140008860
nop
mov rax, qword [rsp + 0xb0]
sub rax, 0x18
mov qword [rsp + 0x1a0], rax
mov rcx, qword [rsp + 0x1a0]
call fcn.140009650
jmp 0x14000410e
mov dword [rsp + 0x98], 1
lea rcx, [rsp + 0x128]
call fcn.140002250
nop
mov rax, qword [rsp + 0x120]
sub rax, 0x18
mov qword [rsp + 0x1b0], rax
mov rcx, qword [rsp + 0x1b0]
call fcn.140009650
nop
xor r8d, r8d
mov dl, 1
mov rcx, qword [rsp + 0x4a8]
call fcn.14000e180
nop
xor r8d, r8d
mov dl, 1
mov rcx, qword [rsp + 0x4b0]
call fcn.14000e180
nop
xor r8d, r8d
mov dl, 1
mov rcx, qword [rsp + 0x4b8]
call fcn.14000e180
mov eax, dword [rsp + 0x98]
mov rcx, qword [rsp + 0x480]
xor rcx, rsp
call fcn.14001c4b0
add rsp, 0x498
ret