Function at 0x140003700
Capabilities:
Enumerate files on windows
Read .ini file
Set file attributes

Disassembly:
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x750
mov qword [rsp + 0x158], 0xfffffffffffffffe
mov rax, qword [0x1400395a0]
xor rax, rsp
mov qword [rsp + 0x740], rax
mov dword [rsp + 0x30], 0
lea rdx, [rsp + 0xc0]
mov rcx, qword [rsp + 0x760]
call fcn.1400052a0
mov qword [rsp + 0xd8], rax
mov rax, qword [rsp + 0xd8]
mov qword [rsp + 0x110], rax
lea r8, str.oem.inf
mov rdx, qword [rsp + 0x110]
lea rcx, [rsp + 0xb8]
call fcn.140002220
nop
mov rax, qword [rsp + 0xc0]
sub rax, 0x18
mov qword [rsp + 0x120], rax
mov rcx, qword [rsp + 0x120]
call fcn.140007d70
mov byte [rsp + 0x340], 0
lea rax, [rsp + 0x341]
mov rdi, rax
xor eax, eax
mov ecx, 0x3ff
rep stosb byte [rdi], al
lea rax, [rsp + 0x340]
mov qword [rsp + 0x90], rax
lea r9, [0x14002aea0]
lea r8, [0x14002af50]
xor edx, edx
lea rcx, [rsp + 0x198]
call fcn.140012ab0
mov qword [rsp + 0xe8], rax
mov rax, qword [rsp + 0xe8]
mov qword [rsp + 0x130], rax
mov rax, qword [rsp + 0x130]
cmp qword [rax + 0x10], 0
jne 0x140003818
mov dword [rsp + 0x58], 1
jmp 0x140003820
mov dword [rsp + 0x58], 0
movzx eax, byte [rsp + 0x58]
test eax, eax
je 0x14000383a
lea rax, str.Synaptics
mov qword [rsp + 0xa0], rax
jmp 0x140003849
lea rax, str.SYNAPTICS_Inc.
mov qword [rsp + 0xa0], rax
mov rdx, qword [rsp + 0xa0]
lea rcx, [rsp + 0x178]
call fcn.140001850
nop
xor r8d, r8d
mov dl, 1
lea rcx, [rsp + 0x198]
call fcn.14000c230
mov rax, qword [rsp + 0xb8]
mov qword [rsp + 0xf8], rax
lea rdx, [rsp + 0x200]
mov rcx, qword [rsp + 0xf8]
call qword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov qword [rsp + 0xb0], rax
cmp qword [rsp + 0xb0], 0xffffffffffffffff
je 0x1400038b4
mov dword [rsp + 0x4c], 1
jmp 0x1400038bc
mov dword [rsp + 0x4c], 0
mov eax, dword [rsp + 0x4c]
mov dword [rsp + 0x68], eax
jmp 0x1400038e0
lea rdx, [rsp + 0x200]
mov rcx, qword [rsp + 0xb0]
call qword [sym.imp.KERNEL32.dll_FindNextFileA]
mov dword [rsp + 0x68], eax
cmp dword [rsp + 0x68], 0
je 0x140003e07
lea rdx, [rsp + 0x150]
mov rcx, qword [rsp + 0x760]
call fcn.1400052a0
mov qword [rsp + 0x140], rax
mov rax, qword [rsp + 0x140]
mov qword [rsp + 0x108], rax
lea r8, [rsp + 0x22c]
mov rdx, qword [rsp + 0x108]
lea rcx, [rsp + 0x40]
call fcn.140002220
nop
mov rax, qword [rsp + 0x150]
sub rax, 0x18
mov qword [rsp + 0x118], rax
mov rcx, qword [rsp + 0x118]
call fcn.140007d70
mov dword [rsp + 0x3c], 0
mov dword [rsp + 0x38], 0
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x138], rax
lea rax, [rsp + 0x3c]
mov qword [rsp + 0x20], rax
mov r9d, 0x400
mov r8, qword [rsp + 0x90]
mov edx, 2
mov rcx, qword [rsp + 0x138]
call qword [sym.imp.SETUPAPI.dll_SetupGetInfInformationA]
test eax, eax
je 0x140003de4
lea rax, [rsp + 0x3c]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x400
lea r9, [rsp + 0x340]
lea r8, str.Provider
xor edx, edx
mov rcx, qword [rsp + 0x90]
call qword [sym.imp.SETUPAPI.dll_SetupQueryInfVersionInformationA]
test eax, eax
je 0x140003a39
mov eax, dword [rsp + 0x3c]
cmp rax, 0x400
jae 0x140003a39
cmp qword [rsp + 0x190], 0x10
jb 0x140003a0c
mov rax, qword [rsp + 0x170]
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0x178]
mov qword [rsp + 0x70], rax
jmp 0x140003a19
lea rax, [rsp + 0x178]
mov qword [rsp + 0x70], rax
mov rdx, qword [rsp + 0x70]
lea rcx, [rsp + 0x340]
call fcn.1400147a8
test eax, eax
jne 0x140003a39
mov dword [rsp + 0x54], 1
jmp 0x140003a41
mov dword [rsp + 0x54], 0
mov eax, dword [rsp + 0x54]
mov dword [rsp + 0x38], eax
cmp dword [rsp + 0x38], 0
jne 0x140003b0d
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x128], rax
mov rax, qword [rsp + 0x128]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x400
lea r9, [rsp + 0x340]
lea r8, [0x14002ad6a]
lea rdx, str.SynMfg
lea rcx, str.Strings
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
test eax, eax
je 0x140003afd
cmp qword [rsp + 0x190], 0x10
jb 0x140003aca
mov rax, qword [rsp + 0x160]
mov qword [rsp + 0x98], rax
mov rax, qword [rsp + 0x178]
mov qword [rsp + 0x98], rax
jmp 0x140003ada
lea rax, [rsp + 0x178]
mov qword [rsp + 0x98], rax
mov rdx, qword [rsp + 0x98]
lea rcx, [rsp + 0x340]
call fcn.1400147a8
test eax, eax
jne 0x140003afd
mov dword [rsp + 0x64], 1
jmp 0x140003b05
mov dword [rsp + 0x64], 0
mov eax, dword [rsp + 0x64]
mov dword [rsp + 0x38], eax
cmp dword [rsp + 0x38], 0
je 0x140003b78
lea r9, [0x14002aea0]
lea r8, [0x14002af50]
xor edx, edx
lea rcx, [rsp + 0x1d8]
call fcn.140012ab0
mov qword [rsp + 0x148], rax
mov eax, dword [rsp + 0x30]
or eax, 1
mov dword [rsp + 0x30], eax
mov rax, qword [rsp + 0x148]
cmp qword [rax + 0x10], 0
jne 0x140003b5d
mov dword [rsp + 0x5c], 1
jmp 0x140003b65
mov dword [rsp + 0x5c], 0
movzx eax, byte [rsp + 0x5c]
test eax, eax
jne 0x140003b78
mov dword [rsp + 0x50], 1
jmp 0x140003b80
mov dword [rsp + 0x50], 0
movzx eax, byte [rsp + 0x50]
mov byte [rsp + 0x34], al
mov eax, dword [rsp + 0x30]
and eax, 1
test eax, eax
je 0x140003bab
and dword [rsp + 0x30], 0xfffffffe
xor r8d, r8d
mov dl, 1
lea rcx, [rsp + 0x1d8]
call fcn.14000c230
movzx eax, byte [rsp + 0x34]
test eax, eax
je 0x140003d2f
lea rax, [rsp + 0x3c]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x400
lea r9, [rsp + 0x340]
lea r8, str.Class
xor edx, edx
mov rcx, qword [rsp + 0x90]
call qword [sym.imp.SETUPAPI.dll_SetupQueryInfVersionInformationA]
test eax, eax
je 0x140003d2f
lea rdx, str.Mouse
lea rcx, [rsp + 0x340]
call fcn.1400147a8
test eax, eax
je 0x140003c25
lea rdx, str.HIDClass
lea rcx, [rsp + 0x340]
call fcn.1400147a8
test eax, eax
jne 0x140003d2f
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0xc8], rax
mov rax, qword [rsp + 0xc8]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x400
lea r9, [rsp + 0x340]
lea r8, [0x14002ad6a]
lea rdx, str.SynDriverUUID
lea rcx, str.Strings
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
test eax, eax
je 0x140003cfd
lea r9, [0x14002aea0]
lea r8, [0x14002af50]
xor edx, edx
lea rcx, [rsp + 0x1b8]
call fcn.140012ab0
mov qword [rsp + 0x88], rax
mov eax, dword [rsp + 0x30]
or eax, 2
mov dword [rsp + 0x30], eax
mov rax, qword [rsp + 0x88]
cmp qword [rax + 0x18], 0x10
jb 0x140003cd0
mov rax, qword [rsp + 0x168]
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0x88]
mov rax, qword [rax]
mov qword [rsp + 0x78], rax
jmp 0x140003cdd
mov rax, qword [rsp + 0x88]
mov qword [rsp + 0x78], rax
mov rdx, qword [rsp + 0x78]
lea rcx, [rsp + 0x340]
call fcn.1400147a8
test eax, eax
jne 0x140003cfd
mov dword [rsp + 0x48], 1
jmp 0x140003d05
mov dword [rsp + 0x48], 0
mov eax, dword [rsp + 0x48]
mov dword [rsp + 0x38], eax
mov eax, dword [rsp + 0x30]
and eax, 2
test eax, eax
je 0x140003d2f
and dword [rsp + 0x30], 0xfffffffd
xor r8d, r8d
mov dl, 1
lea rcx, [rsp + 0x1b8]
call fcn.14000c230
cmp dword [rsp + 0x38], 0
je 0x140003de4
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0xd0], rax
mov edx, 0x80
mov rcx, qword [rsp + 0xd0]
call qword [sym.imp.KERNEL32.dll_SetFileAttributesA]
mov rax, qword [rsp + 0x760]
add rax, 0x228
mov qword [rsp + 0xa8], rax
mov rax, qword [rsp + 0xa8]
cmp qword [rax + 8], 0
je 0x140003da2
xor r8d, r8d
mov edx, 1
lea rcx, [rsp + 0x22c]
mov rax, qword [rsp + 0xa8]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov dword [rsp + 0x60], eax
jmp 0x140003daa
mov dword [rsp + 0x60], 0
cmp dword [rsp + 0x60], 0
jne 0x140003de4
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0xe0], rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r9, qword [rsp + 0xe0]
mov r8d, eax
lea rdx, str.Error_in_deleting_inf_files._Error_code__0x_x__file___s__n
mov rcx, qword [rsp + 0x760]
call fcn.140007250
nop
mov rax, qword [rsp + 0x40]
sub rax, 0x18
mov qword [rsp + 0xf0], rax
mov rcx, qword [rsp + 0xf0]
call fcn.140007d70
jmp 0x1400038c6
mov dword [rsp + 0x80], 1
xor r8d, r8d
mov dl, 1
lea rcx, [rsp + 0x178]
call fcn.14000c230
nop
mov rax, qword [rsp + 0xb8]
sub rax, 0x18
mov qword [rsp + 0x100], rax
mov rcx, qword [rsp + 0x100]
call fcn.140007d70
mov eax, dword [rsp + 0x80]
mov rcx, qword [rsp + 0x740]
xor rcx, rsp
call fcn.1400168f0
add rsp, 0x750
pop rdi
ret