Function at 0x140003d60
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, 0x418
mov qword [rsp + 0x210], 0xfffffffffffffffe
mov rax, qword [0x1400405b0]
xor rax, rsp
mov qword [rsp + 0x400], rax
mov dword [rsp + 0x58], 0
cmp dword [rsp + 0x440], 0
je 0x140003e90
lea r9, [0x140031280]
lea r8, [0x140031330]
xor edx, edx
lea rcx, [rsp + 0x258]
call fcn.140015bf0
mov qword [rsp + 0x188], rax
mov rax, qword [rsp + 0x188]
mov qword [rsp + 0x120], rax
mov rax, qword [rsp + 0x120]
cmp qword [rax + 0x10], 0
jne 0x140003dfd
mov dword [rsp + 0x74], 1
jmp 0x140003e05
mov dword [rsp + 0x74], 0
movzx eax, byte [rsp + 0x74]
test eax, eax
je 0x140003e1f
lea rax, [0x1400317c0]
mov qword [rsp + 0x90], rax
jmp 0x140003e2e
lea rax, str.SYNAPTICS_Inc.
mov qword [rsp + 0x90], rax
mov rax, qword [rsp + 0x90]
movsx eax, byte [rax]
test eax, eax
jne 0x140003e4b
mov qword [rsp + 0xf0], 0
jmp 0x140003e60
mov rcx, qword [rsp + 0x90]
call fcn.140017e70
mov qword [rsp + 0xf0], rax
mov r8, qword [rsp + 0xf0]
mov rdx, qword [rsp + 0x90]
mov rcx, qword [rsp + 0x430]
call fcn.14000e4a0
nop
xor r8d, r8d
mov dl, 1
lea rcx, [rsp + 0x258]
call fcn.14000dc70
lea rdx, [rsp + 0x148]
mov rcx, qword [rsp + 0x420]
call fcn.1400061f0
mov qword [rsp + 0x138], rax
mov rax, qword [rsp + 0x138]
mov qword [rsp + 0x198], rax
lea r8, str.oem.inf
mov rdx, qword [rsp + 0x198]
lea rcx, [rsp + 0x118]
call fcn.140002690
nop
mov rax, qword [rsp + 0x148]
sub rax, 0x18
mov qword [rsp + 0x1a8], rax
mov rcx, qword [rsp + 0x1a8]
call fcn.1400093c0
lea rcx, [rsp + 0x1d8]
call fcn.140001d90
nop
mov rax, qword [rsp + 0x118]
mov qword [rsp + 0x158], rax
lea rdx, [rsp + 0x2c0]
mov rcx, qword [rsp + 0x158]
call qword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov qword [rsp + 0x100], rax
cmp qword [rsp + 0x100], 0xffffffffffffffff
je 0x140003f4c
mov dword [rsp + 0x68], 1
jmp 0x140003f54
mov dword [rsp + 0x68], 0
mov eax, dword [rsp + 0x68]
mov dword [rsp + 0x7c], eax
jmp 0x140003f78
lea rdx, [rsp + 0x2c0]
mov rcx, qword [rsp + 0x100]
call qword [sym.imp.KERNEL32.dll_FindNextFileA]
mov dword [rsp + 0x7c], eax
cmp dword [rsp + 0x7c], 0
je 0x140004688
lea rdx, [rsp + 0x1d0]
mov rcx, qword [rsp + 0x420]
call fcn.1400061f0
mov qword [rsp + 0x1b8], rax
mov rax, qword [rsp + 0x1b8]
mov qword [rsp + 0x168], rax
lea r8, [rsp + 0x2ec]
mov rdx, qword [rsp + 0x168]
lea rcx, [rsp + 0xb8]
call fcn.140002690
nop
mov rax, qword [rsp + 0x1d0]
sub rax, 0x18
mov qword [rsp + 0x1c8], rax
mov rcx, qword [rsp + 0x1c8]
call fcn.1400093c0
mov dword [rsp + 0x50], 0
lea rax, [rsp + 0x238]
mov qword [rsp + 0x110], rax
mov rax, qword [rsp + 0xb8]
sub rax, 0x18
mov qword [rsp + 0x180], rax
mov rcx, qword [rsp + 0x180]
call fcn.140003130
mov qword [rsp + 0x1b0], rax
mov rax, qword [rsp + 0x1b0]
add rax, 0x18
mov rcx, qword [rsp + 0x110]
mov qword [rcx], rax
mov rax, qword [rsp + 0x110]
mov qword [rsp + 0x190], rax
lea rdx, [rsp + 0x1d8]
mov rcx, qword [rsp + 0x190]
call fcn.1400130c0
test eax, eax
je 0x140004662
mov rax, qword [rsp + 0x430]
cmp qword [rax + 0x18], 0x10
jb 0x1400040a8
mov rax, qword [rsp + 0x230]
mov qword [rsp + 0xb0], rax
mov rax, qword [rsp + 0x430]
mov rax, qword [rax]
mov qword [rsp + 0xb0], rax
jmp 0x1400040b8
mov rax, qword [rsp + 0x430]
mov qword [rsp + 0xb0], rax
mov rdx, qword [rsp + 0xb0]
lea rcx, [rsp + 0x1e0]
call fcn.1400032c0
test eax, eax
jne 0x1400040db
mov dword [rsp + 0x60], 1
jmp 0x1400040e3
mov dword [rsp + 0x60], 0
mov eax, dword [rsp + 0x60]
mov dword [rsp + 0x50], eax
cmp dword [rsp + 0x440], 0
je 0x1400043aa
cmp dword [rsp + 0x50], 0
jne 0x140004177
mov rax, qword [rsp + 0x430]
cmp qword [rax + 0x18], 0x10
jb 0x140004134
mov rax, qword [rsp + 0x228]
mov qword [rsp + 0xd8], rax
mov rax, qword [rsp + 0x430]
mov rax, qword [rax]
mov qword [rsp + 0xd8], rax
jmp 0x140004144
mov rax, qword [rsp + 0x430]
mov qword [rsp + 0xd8], rax
mov rdx, qword [rsp + 0xd8]
lea rcx, [rsp + 0x1f8]
call fcn.1400032c0
test eax, eax
jne 0x140004167
mov dword [rsp + 0x70], 1
jmp 0x14000416f
mov dword [rsp + 0x70], 0
mov eax, dword [rsp + 0x70]
mov dword [rsp + 0x50], eax
cmp dword [rsp + 0x50], 0
je 0x1400041eb
lea r9, [0x140031280]
lea r8, [0x140031330]
xor edx, edx
lea rcx, [rsp + 0x278]
call fcn.140015bf0
mov qword [rsp + 0x1c0], rax
mov eax, dword [rsp + 0x58]
or eax, 1
mov dword [rsp + 0x58], eax
mov rax, qword [rsp + 0x1c0]
cmp qword [rax + 0x10], 0
jne 0x1400041ca
mov dword [rsp + 0x84], 1
jmp 0x1400041d5
mov dword [rsp + 0x84], 0
movzx eax, byte [rsp + 0x84]
test eax, eax
jne 0x1400041eb
mov dword [rsp + 0x64], 1
jmp 0x1400041f3
mov dword [rsp + 0x64], 0
movzx eax, byte [rsp + 0x64]
mov byte [rsp + 0x54], al
mov eax, dword [rsp + 0x58]
and eax, 1
test eax, eax
je 0x14000421e
and dword [rsp + 0x58], 0xfffffffe
xor r8d, r8d
mov dl, 1
lea rcx, [rsp + 0x278]
call fcn.14000dc70
movzx eax, byte [rsp + 0x54]
test eax, eax
je 0x1400043a5
mov rax, qword [rsp + 0x428]
cmp qword [rax + 0x18], 0x10
jb 0x14000425f
mov rax, qword [rsp + 0x240]
mov qword [rsp + 0xc0], rax
mov rax, qword [rsp + 0x428]
mov rax, qword [rax]
mov qword [rsp + 0xc0], rax
jmp 0x14000426f
mov rax, qword [rsp + 0x428]
mov qword [rsp + 0xc0], rax
lea rdx, str.Mouse
mov rcx, qword [rsp + 0xc0]
call fcn.1400180d8
test eax, eax
je 0x1400042e7
mov rax, qword [rsp + 0x428]
cmp qword [rax + 0x18], 0x10
jb 0x1400042bb
mov rax, qword [rsp + 0x250]
mov qword [rsp + 0xe8], rax
mov rax, qword [rsp + 0x428]
mov rax, qword [rax]
mov qword [rsp + 0xe8], rax
jmp 0x1400042cb
mov rax, qword [rsp + 0x428]
mov qword [rsp + 0xe8], rax
lea rdx, str.HIDClass
mov rcx, qword [rsp + 0xe8]
call fcn.1400180d8
test eax, eax
jne 0x1400043a5
lea r9, [0x140031280]
lea r8, [0x140031330]
xor edx, edx
lea rcx, [rsp + 0x298]
call fcn.140015bf0
mov qword [rsp + 0x1a0], rax
mov rax, qword [rsp + 0x1a0]
mov qword [rsp + 0xd0], rax
mov rax, qword [rsp + 0xd0]
cmp qword [rax + 0x18], 0x10
jb 0x140004350
mov rax, qword [rsp + 0x248]
mov qword [rsp + 0xe0], rax
mov rax, qword [rsp + 0xd0]
mov rax, qword [rax]
mov qword [rsp + 0xe0], rax
jmp 0x140004360
mov rax, qword [rsp + 0xd0]
mov qword [rsp + 0xe0], rax
mov rdx, qword [rsp + 0xe0]
lea rcx, [rsp + 0x200]
call fcn.1400032c0
test eax, eax
jne 0x140004383
mov dword [rsp + 0x6c], 1
jmp 0x14000438b
mov dword [rsp + 0x6c], 0
mov eax, dword [rsp + 0x6c]
mov dword [rsp + 0x50], eax
xor r8d, r8d
mov dl, 1
lea rcx, [rsp + 0x298]
call fcn.14000dc70
jmp 0x140004489
cmp dword [rsp + 0x50], 0
je 0x140004489
mov rax, qword [rsp + 0x428]
cmp qword [rax + 0x18], 0x10
jb 0x1400043e9
mov rax, qword [rsp + 0x218]
mov qword [rsp + 0xa0], rax
mov rax, qword [rsp + 0x428]
mov rax, qword [rax]
mov qword [rsp + 0xa0], rax
jmp 0x1400043f9
mov rax, qword [rsp + 0x428]
mov qword [rsp + 0xa0], rax
mov rdx, qword [rsp + 0xa0]
lea rcx, [rsp + 0x1d8]
call fcn.1400032c0
test eax, eax
jne 0x140004479
mov rax, qword [rsp + 0x438]
cmp qword [rax + 0x18], 0x10
jb 0x140004446
mov rax, qword [rsp + 0x220]
mov qword [rsp + 0xa8], rax
mov rax, qword [rsp + 0x438]
mov rax, qword [rax]
mov qword [rsp + 0xa8], rax
jmp 0x140004456
mov rax, qword [rsp + 0x438]
mov qword [rsp + 0xa8], rax
mov rdx, qword [rsp + 0xa8]
lea rcx, [rsp + 0x1f0]
call fcn.1400032c0
test eax, eax
jne 0x140004479
mov dword [rsp + 0x78], 1
jmp 0x140004481
mov dword [rsp + 0x78], 0
mov eax, dword [rsp + 0x78]
mov dword [rsp + 0x50], eax
cmp dword [rsp + 0x50], 0
je 0x140004662
mov eax, dword [0x140042404]
inc eax
mov dword [0x140042404], eax
mov rax, qword [rsp + 0xb8]
mov qword [rsp + 0x170], rax
mov edx, 0x80
mov rcx, qword [rsp + 0x170]
call qword [sym.imp.KERNEL32.dll_SetFileAttributesA]
mov dword [rsp + 0x5c], 0
mov rax, qword [rsp + 0x420]
add rax, 0x230
mov qword [rsp + 0xf8], rax
mov rax, qword [rsp + 0xf8]
cmp qword [rax + 8], 0
je 0x140004518
xor r8d, r8d
mov edx, 1
lea rcx, [rsp + 0x2ec]
mov rax, qword [rsp + 0xf8]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov dword [rsp + 0x80], eax
jmp 0x140004523
mov dword [rsp + 0x80], 0
cmp dword [rsp + 0x80], 0
jne 0x140004537
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x5c], eax
cmp dword [rsp + 0x5c], 0
je 0x14000454f
lea rax, str.Fail
mov qword [rsp + 0x108], rax
jmp 0x14000455e
lea rax, str.Succeed
mov qword [rsp + 0x108], rax
mov rax, qword [rsp + 0x1e8]
mov qword [rsp + 0x178], rax
mov rax, qword [rsp + 0x1e0]
mov qword [rsp + 0x128], rax
mov rax, qword [rsp + 0x1d8]
mov qword [rsp + 0x130], 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 + 0x178]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x128]
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x130]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x2ec]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x108]
mov r8d, dword [0x140042404]
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 + 0x420]
call fcn.140008540
mov rax, qword [rsp + 0x208]
mov eax, dword [rax - 0x10]
mov dword [rsp + 0xc8], eax
cmp dword [rsp + 0xc8], 0
jne 0x14000461e
mov dword [rsp + 0x88], 1
jmp 0x140004629
mov dword [rsp + 0x88], 0
movzx eax, byte [rsp + 0x88]
test eax, eax
jne 0x140004662
mov rax, qword [rsp + 0x208]
mov qword [rsp + 0x140], rax
mov r8, qword [rsp + 0x140]
lea rdx, str.___Original_InstallDir:__s_n
mov rcx, qword [rsp + 0x420]
call fcn.140008540
nop
mov rax, qword [rsp + 0xb8]
sub rax, 0x18
mov qword [rsp + 0x150], rax
mov rcx, qword [rsp + 0x150]
call fcn.1400093c0
jmp 0x140003f5e
mov dword [rsp + 0x98], 1
lea rcx, [rsp + 0x1d8]
call fcn.140002110
nop
mov rax, qword [rsp + 0x118]
sub rax, 0x18
mov qword [rsp + 0x160], rax
mov rcx, qword [rsp + 0x160]
call fcn.1400093c0
nop
xor r8d, r8d
mov dl, 1
mov rcx, qword [rsp + 0x428]
call fcn.14000dc70
nop
xor r8d, r8d
mov dl, 1
mov rcx, qword [rsp + 0x430]
call fcn.14000dc70
nop
xor r8d, r8d
mov dl, 1
mov rcx, qword [rsp + 0x438]
call fcn.14000dc70
mov eax, dword [rsp + 0x98]
mov rcx, qword [rsp + 0x400]
xor rcx, rsp
call fcn.14001a850
add rsp, 0x418
ret