Function at 0x14000e1c0
Capabilities:
Delete file
Enumerate files on windows
Get common file path
Query or enumerate registry value
Set file attributes

Disassembly:
mov r11, rsp
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x8c0
mov qword [rsp + 0xd8], 0xfffffffffffffffe
mov qword [r11 + 0x10], rbx
mov qword [r11 + 0x18], rbp
mov qword [r11 + 0x20], rsi
mov rax, qword [0x140076bc8]
xor rax, rsp
mov qword [rsp + 0x8b0], rax
mov qword [rsp + 0x50], rcx
xor r13d, r13d
mov dword [r11 - 0x854], r13d
call fcn.140021e08
mov rdx, rax
mov ecx, r13d
test rax, rax
setne cl
test ecx, ecx
jne 0x14000e22c
mov ecx, 0x80004005
call fcn.140001000
int3
mov rax, qword [rax]
mov rcx, rdx
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x98], rax
lea r12, [0x1400582df]
mov rbp, r12
or rbx, 0xffffffffffffffff
shr rbp, 0x10
jne 0x14000e27a
movzx edi, r12w
mov ecx, edi
call fcn.140021df4
test rax, rax
je 0x14000e29c
mov r8d, edi
mov rdx, rax
lea rcx, [rsp + 0x98]
call fcn.140002ef0
jmp 0x14000e29c
xor eax, eax
mov rcx, rbx
mov rdi, r12
repne scasb al, byte [rdi]
not rcx
lea r8d, [rcx - 1]
mov rdx, r12
lea rcx, [rsp + 0x98]
call fcn.140003070
nop
mov qword [rsp + 0xb0], r13
mov dword [rsp + 0xa0], r13d
call fcn.140021e08
mov rdx, rax
mov ecx, r13d
test rax, rax
setne cl
test ecx, ecx
jne 0x14000e2cc
mov ecx, 0x80004005
call fcn.140001000
int3
mov rax, qword [rax]
mov rcx, rdx
call qword [rax + 0x18]
lea rsi, [rax + 0x18]
mov qword [rsp + 0x40], rsi
test rbp, rbp
jne 0x14000e30a
movzx edi, r12w
mov ecx, edi
call fcn.140021df4
test rax, rax
je 0x14000e32d
mov r8d, edi
mov rdx, rax
lea rcx, [rsp + 0x40]
call fcn.140002ef0
mov rsi, qword [rsp + 0x40]
jmp 0x14000e32d
xor eax, eax
mov rcx, rbx
mov rdi, r12
repne scasb al, byte [rdi]
not rcx
lea r8d, [rcx - 1]
mov rdx, r12
lea rcx, [rsp + 0x40]
call fcn.140003070
mov rsi, qword [rsp + 0x40]
call fcn.140021e08
mov rdx, rax
mov ecx, r13d
test rax, rax
setne cl
test ecx, ecx
jne 0x14000e34d
mov ecx, 0x80004005
call fcn.140001000
int3
mov rax, qword [rax]
mov rcx, rdx
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x80], rax
lea rdx, str.FUNC_01VEN_10EC
test rdx, 0xffffffffffff0000
jne 0x14000e396
movzx edi, dx
mov ecx, edi
call fcn.140021df4
test rax, rax
je 0x14000e3b5
mov r8d, edi
mov rdx, rax
lea rcx, [rsp + 0x80]
call fcn.140002ef0
jmp 0x14000e3b5
xor eax, eax
mov rcx, rbx
mov rdi, rdx
repne scasb al, byte [rdi]
not rcx
lea r8d, [rcx - 1]
lea rcx, [rsp + 0x80]
call fcn.140003070
nop
call fcn.140021e08
mov rdx, rax
mov ecx, r13d
test rax, rax
setne cl
test ecx, ecx
jne 0x14000e3d5
mov ecx, 0x80004005
call fcn.140001000
int3
mov rax, qword [rax]
mov rcx, rdx
call qword [rax + 0x18]
lea r15, [rax + 0x18]
mov qword [rsp + 0x70], r15
lea rdx, str.FUNC_01VEN_8086
test rdx, 0xffffffffffff0000
jne 0x14000e41d
movzx edi, dx
mov ecx, edi
call fcn.140021df4
test rax, rax
je 0x14000e43d
mov r8d, edi
mov rdx, rax
lea rcx, [rsp + 0x70]
call fcn.140002ef0
mov r15, qword [rsp + 0x70]
jmp 0x14000e43d
xor eax, eax
mov rcx, rbx
mov rdi, rdx
repne scasb al, byte [rdi]
not rcx
lea r8d, [rcx - 1]
lea rcx, [rsp + 0x70]
call fcn.140003070
mov r15, qword [rsp + 0x70]
call fcn.140021e08
mov rdx, rax
mov ecx, r13d
test rax, rax
setne cl
test ecx, ecx
jne 0x14000e45d
mov ecx, 0x80004005
call fcn.140001000
int3
mov rax, qword [rax]
mov rcx, rdx
call qword [rax + 0x18]
lea r14, [rax + 0x18]
mov qword [rsp + 0x78], r14
lea rdx, str.FUNC_01VEN_1002
test rdx, 0xffffffffffff0000
jne 0x14000e4a5
movzx edi, dx
mov ecx, edi
call fcn.140021df4
test rax, rax
je 0x14000e4c5
mov r8d, edi
mov rdx, rax
lea rcx, [rsp + 0x78]
call fcn.140002ef0
mov r14, qword [rsp + 0x78]
jmp 0x14000e4c5
xor eax, eax
mov rcx, rbx
mov rdi, rdx
repne scasb al, byte [rdi]
not rcx
lea r8d, [rcx - 1]
lea rcx, [rsp + 0x78]
call fcn.140003070
mov r14, qword [rsp + 0x78]
call fcn.140021e08
mov rdx, rax
mov ecx, r13d
test rax, rax
setne cl
test ecx, ecx
jne 0x14000e4e5
mov ecx, 0x80004005
call fcn.140001000
int3
mov rax, qword [rax]
mov rcx, rdx
call qword [rax + 0x18]
lea r13, [rax + 0x18]
mov qword [rsp + 0x68], r13
lea rdx, str.FUNC_01VEN_10DE
test rdx, 0xffffffffffff0000
jne 0x14000e52d
movzx edi, dx
mov ecx, edi
call fcn.140021df4
test rax, rax
je 0x14000e54d
mov r8d, edi
mov rdx, rax
lea rcx, [rsp + 0x68]
call fcn.140002ef0
mov r13, qword [rsp + 0x68]
jmp 0x14000e54d
xor eax, eax
mov rcx, rbx
mov rdi, rdx
repne scasb al, byte [rdi]
not rcx
lea r8d, [rcx - 1]
lea rcx, [rsp + 0x68]
call fcn.140003070
mov r13, qword [rsp + 0x68]
call fcn.140021e08
mov rdx, rax
xor ecx, ecx
test rax, rax
setne cl
test ecx, ecx
jne 0x14000e56c
mov ecx, 0x80004005
call fcn.140001000
int3
mov rax, qword [rax]
mov rcx, rdx
call qword [rax + 0x18]
lea r12, [rax + 0x18]
mov qword [rsp + 0x60], r12
lea rdx, str.FUNC_01VEN_1106
test rdx, 0xffffffffffff0000
jne 0x14000e5b4
movzx edi, dx
mov ecx, edi
call fcn.140021df4
test rax, rax
je 0x14000e5d4
mov r8d, edi
mov rdx, rax
lea rcx, [rsp + 0x60]
call fcn.140002ef0
mov r12, qword [rsp + 0x60]
jmp 0x14000e5d4
xor eax, eax
mov rcx, rbx
mov rdi, rdx
repne scasb al, byte [rdi]
not rcx
lea r8d, [rcx - 1]
lea rcx, [rsp + 0x60]
call fcn.140003070
mov r12, qword [rsp + 0x60]
call fcn.140021e08
mov rdx, rax
xor ecx, ecx
test rax, rax
setne cl
test ecx, ecx
jne 0x14000e5f3
mov ecx, 0x80004005
call fcn.140001000
int3
mov rax, qword [rax]
mov rcx, rdx
call qword [rax + 0x18]
lea rbp, [rax + 0x18]
mov qword [rsp + 0x58], rbp
lea rdx, str.FUNC_01VEN_1039
test rdx, 0xffffffffffff0000
jne 0x14000e63b
movzx edi, dx
mov ecx, edi
call fcn.140021df4
test rax, rax
je 0x14000e65b
mov r8d, edi
mov rdx, rax
lea rcx, [rsp + 0x58]
call fcn.140002ef0
mov rbp, qword [rsp + 0x58]
jmp 0x14000e65b
xor eax, eax
mov rcx, rbx
mov rdi, rdx
repne scasb al, byte [rdi]
not rcx
lea r8d, [rcx - 1]
lea rcx, [rsp + 0x58]
call fcn.140003070
mov rbp, qword [rsp + 0x58]
call fcn.140021e08
mov rdx, rax
xor ecx, ecx
test rax, rax
setne cl
test ecx, ecx
jne 0x14000e67a
mov ecx, 0x80004005
call fcn.140001000
int3
mov rax, qword [rax]
mov rcx, rdx
call qword [rax + 0x18]
lea rbx, [rax + 0x18]
mov qword [rsp + 0x88], rbx
lea rdx, str.FUNC_01VEN_10B9
test rdx, 0xffffffffffff0000
jne 0x14000e6cb
movzx edi, dx
mov ecx, edi
call fcn.140021df4
test rax, rax
je 0x14000e6f2
mov r8d, edi
mov rdx, rax
lea rcx, [rsp + 0x88]
call fcn.140002ef0
mov rbx, qword [rsp + 0x88]
jmp 0x14000e6f2
xor eax, eax
or rcx, 0xffffffffffffffff
mov rdi, rdx
repne scasb al, byte [rdi]
not rcx
lea r8d, [rcx - 1]
lea rcx, [rsp + 0x88]
call fcn.140003070
mov rbx, qword [rsp + 0x88]
mov byte [rsp + 0x580], 0
xor edx, edx
mov r8d, 0x103
lea rcx, [rsp + 0x581]
call fcn.14003d6c0
mov r9d, 6
xor r8d, r8d
lea rdx, str.HDAUDIO
xor ecx, ecx
call qword [sym.imp.SETUPAPI.dll_SetupDiGetClassDevsA]
mov qword [rsp + 0x48], rax
cmp rax, 0xffffffffffffffff
jne 0x14000e867
lea rdx, [rbx - 0x18]
or rdi, rax
mov eax, edi
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x14000e755
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.oledlg.dll_OleUIBusyA]
nop
mov rdx, qword [rsp + 0x58]
add rdx, 0xffffffffffffffe8
mov eax, edi
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x14000e776
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.oledlg.dll_OleUIBusyA]
nop
mov rdx, qword [rsp + 0x60]
add rdx, 0xffffffffffffffe8
mov eax, edi
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x14000e797
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.oledlg.dll_OleUIBusyA]
nop
mov rdx, qword [rsp + 0x68]
add rdx, 0xffffffffffffffe8
mov eax, edi
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x14000e7b8
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.oledlg.dll_OleUIBusyA]
nop
mov rdx, qword [rsp + 0x78]
add rdx, 0xffffffffffffffe8
mov eax, edi
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x14000e7d9
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.oledlg.dll_OleUIBusyA]
nop
mov rdx, qword [rsp + 0x70]
add rdx, 0xffffffffffffffe8
mov eax, edi
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x14000e7fa
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.oledlg.dll_OleUIBusyA]
nop
mov rdx, qword [rsp + 0x80]
add rdx, 0xffffffffffffffe8
mov eax, edi
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x14000e81e
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.oledlg.dll_OleUIBusyA]
nop
mov rdx, qword [rsp + 0x40]
add rdx, 0xffffffffffffffe8
mov eax, edi
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x14000e83f
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.oledlg.dll_OleUIBusyA]
nop
mov rdx, qword [rsp + 0x98]
add rdx, 0xffffffffffffffe8
lock xadd dword [rdx + 0x10], edi
add edi, 0xffffffff
test edi, edi
jg 0x14000e860
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.oledlg.dll_OleUIBusyA]
xor eax, eax
jmp 0x14000f735
mov dword [rsp + 0xe8], 0x20
mov dword [rsp + 0x90], 0
lea r8, [rsp + 0xe8]
xor edx, edx
mov rcx, rax
call qword [sym.imp.SETUPAPI.dll_SetupDiEnumDeviceInfo]
mov edi, 0x1e
test eax, eax
je 0x14000ed9b
mov rsi, qword [rsp + 0x80]
nop
nop
nop
mov qword [rsp + 0x20], 0
mov r9d, 0x100
lea r8, [rsp + 0x470]
lea rdx, [rsp + 0xe8]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.SETUPAPI.dll_SetupDiGetDeviceInstanceIdA]
mov rdx, rsi
lea rcx, [rsp + 0x470]
call fcn.14003cc10
test rax, rax
je 0x14000e903
mov rdi, qword [rsp + 0x50]
cmp dword [rdi + 0x2a8], 0
jne 0x14000e9cc
jmp 0x14000e908
mov rdi, qword [rsp + 0x50]
mov rdx, r15
lea rcx, [rsp + 0x470]
call fcn.14003cc10
test rax, rax
je 0x14000e92a
cmp dword [rdi + 0x2ac], 0
jne 0x14000e9cc
mov rdx, r14
lea rcx, [rsp + 0x470]
call fcn.14003cc10
test rax, rax
je 0x14000e94c
cmp dword [rdi + 0x2ac], 0
jne 0x14000e9cc
mov rdx, r13
lea rcx, [rsp + 0x470]
call fcn.14003cc10
test rax, rax
je 0x14000e96a
cmp dword [rdi + 0x2ac], 0
jne 0x14000e9cc
mov rdx, r12
lea rcx, [rsp + 0x470]
call fcn.14003cc10
test rax, rax
je 0x14000e988
cmp dword [rdi + 0x2ac], 0
jne 0x14000e9cc
mov rdx, rbp
lea rcx, [rsp + 0x470]
call fcn.14003cc10
test rax, rax
je 0x14000e9a6
cmp dword [rdi + 0x2ac], 0
jne 0x14000e9cc
mov rdx, rbx
lea rcx, [rsp + 0x470]
call fcn.14003cc10
test rax, rax
je 0x14000ed65
cmp dword [rdi + 0x2ac], 0
je 0x14000ed65
lea rax, [rsp + 0xa0]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0xb0]
mov r8d, 4
lea rdx, [rsp + 0xe8]
mov rcx, qword [rsp + 0x48]
call fcn.140001d80
test eax, eax
je 0x14000ed65
lea rdx, str.IntcAzAudAddService
mov rdi, qword [rsp + 0xb0]
mov rcx, rdi
call fcn.14003c800
test rax, rax
jne 0x14000ea35
lea rdx, str.RTHDMIAzAudService
mov rcx, rdi
call fcn.14003c800
test rax, rax
je 0x14000ed65
mov dword [rsp + 0x28], 0x20019
mov dword [rsp + 0x20], 2
xor r9d, r9d
lea r8d, [r9 + 1]
lea rdx, [rsp + 0xe8]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.SETUPAPI.dll_SetupDiOpenDevRegKey]
mov qword [rsp + 0xb8], rax
cmp rax, 0xffffffffffffffff
je 0x14000ed65
xor ecx, ecx
mov edx, dword [0x140078658]
cmp edx, 0x5a
mov eax, 0x1e
cmovl ecx, eax
add edx, ecx
mov dword [0x140078658], edx
movsxd r8, edx
xor r9d, r9d
mov edx, 0x402
mov rdi, qword [rsp + 0x50]
mov rcx, qword [rdi + 0xef18]
call qword [sym.imp.USER32.dll_SendMessageA]
xor edx, edx
mov rcx, rdi
call fcn.14001b240
mov dword [rsp + 0xa8], 1
mov dword [rsp + 0xa4], 0x104
lea rax, [rsp + 0xa4]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x7a0]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0xa8]
xor r8d, r8d
lea rdx, str.InfPath
mov rcx, qword [rsp + 0xb8]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x14000ed57
mov edx, 0x104
lea rcx, [rsp + 0x250]
call qword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
lea rdi, [rsp + 0x250]
xor eax, eax
or rdx, 0xffffffffffffffff
mov rcx, rdx
repne scasb al, byte [rdi]
mov eax, dword [str.inf_]
mov dword [rdi - 1], eax
movzx eax, word [0x1400591d4]
mov word [rdi + 3], ax
lea rdi, [rsp + 0x250]
xor eax, eax
mov rcx, rdx
repne scasb al, byte [rdi]
lea rdx, [rsp + 0x7a0]
xor ecx, ecx
nop
movzx eax, byte [rdx + rcx]
mov byte [rdi + rcx - 1], al
add rcx, 1
test al, al
jne 0x14000eb60
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x80
lea rax, [rsp + 0x580]
mov qword [rsp + 0x20], rax
xor r9d, r9d
lea r8d, [r9 + 9]
lea rdx, [rsp + 0xe8]
mov rdi, qword [rsp + 0x48]
mov rcx, rdi
call qword [sym.imp.SETUPAPI.dll_SetupDiGetDeviceRegistryPropertyA]
test eax, eax
je 0x14000ecca
lea r8, [rsp + 0xe8]
mov rdx, rdi
mov ecx, 5
call qword [sym.imp.SETUPAPI.dll_SetupDiCallClassInstaller]
mov edi, eax
lea rdx, [rsp + 0x250]
lea rcx, [rsp + 0xe0]
call fcn.140006ef0
mov rdx, rax
mov rcx, qword [rsp + 0x50]
call fcn.1400083a0
test eax, eax
je 0x14000ec0b
mov rax, qword [rsp + 0x50]
movsxd rcx, dword [rax + 0xeea8]
imul rcx, rcx, 0x4b8
mov dword [rcx + rax + 0x2b4], edi
xor eax, eax
mov ecx, dword [0x140078658]
cmp ecx, 0x5a
mov edx, 0xa
cmovl eax, edx
add ecx, eax
mov dword [0x140078658], ecx
movsxd r8, ecx
xor r9d, r9d
mov edx, 0x402
mov rdi, qword [rsp + 0x50]
mov rcx, qword [rdi + 0xef18]
call qword [sym.imp.USER32.dll_SendMessageA]
xor edx, edx
mov rcx, rdi
call fcn.14001b240
cmp dword [0x140078678], 0
jne 0x14000ece1
cmp dword [0x14007867c], 0
jne 0x14000ece1
mov edx, 0x80
lea rcx, [rsp + 0x250]
call qword [sym.imp.KERNEL32.dll_SetFileAttributesA]
lea rcx, [rsp + 0x250]
call qword [sym.imp.KERNEL32.dll_DeleteFileA]
lea rdx, [0x140058220]
lea rcx, [rsp + 0x250]
call fcn.14003cc10
mov byte [rax], 0x2e
mov byte [rax + 1], 0x50
mov byte [rax + 2], 0x4e
mov byte [rax + 3], 0x46
mov edx, 0x80
lea rcx, [rsp + 0x250]
call qword [sym.imp.KERNEL32.dll_SetFileAttributesA]
lea rcx, [rsp + 0x250]
call qword [sym.imp.KERNEL32.dll_DeleteFileA]
jmp 0x14000eccf
mov rdi, qword [rsp + 0x50]
cmp dword [0x140078678], 0
jne 0x14000ece1
cmp dword [0x14007867c], 0
je 0x14000ed57
lea r9, [rsp + 0x94]
xor r8d, r8d
lea edx, [r8 + 0x24]
lea rcx, [rsp + 0x250]
call fcn.140001e60
test eax, eax
je 0x14000ed13
mov r8d, eax
mov edx, 3
mov rcx, rdi
call fcn.140004f20
jmp 0x14000ed57
lea rdx, [0x140058220]
lea rcx, [rsp + 0x250]
call fcn.14003cc10
mov byte [rax], 0x2e
mov byte [rax + 1], 0x50
mov byte [rax + 2], 0x4e
mov byte [rax + 3], 0x46
mov edx, 0x80
lea rcx, [rsp + 0x250]
call qword [sym.imp.KERNEL32.dll_SetFileAttributesA]
lea rcx, [rsp + 0x250]
call qword [sym.imp.KERNEL32.dll_DeleteFileA]
mov rcx, qword [rsp + 0xb8]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edi, dword [rsp + 0x90]
add edi, 1
mov dword [rsp + 0x90], edi
lea r8, [rsp + 0xe8]
mov edx, edi
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.SETUPAPI.dll_SetupDiEnumDeviceInfo]
test eax, eax
jne 0x14000e8b0
mov rsi, qword [rsp + 0x40]
lea edi, [rax + 0x1e]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.SETUPAPI.dll_SetupDiDestroyDeviceInfoList]
cmp dword [0x140078678], 0
jne 0x14000ee06
cmp dword [0x14007867c], 0
jne 0x14000ee06
mov edx, 0x104
lea rcx, [rsp + 0x690]
call qword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
lea rdx, str.INF_
lea rcx, [rsp + 0x690]
call qword [sym.imp.KERNEL32.dll_lstrcatA]
mov r12, qword [rsp + 0x50]
lea r8, [r12 + 0xeed8]
lea rdx, [rsp + 0x690]
mov rcx, r12
call fcn.14000ccf0
or rbp, 0xffffffffffffffff
jmp 0x14000f600
xor r15d, r15d
mov eax, r15d
mov ecx, dword [0x140078658]
cmp ecx, 0x5a
cmovl eax, edi
add ecx, eax
mov dword [0x140078658], ecx
movsxd r8, ecx
xor r9d, r9d
mov edx, 0x402
mov r12, qword [rsp + 0x50]
mov rcx, qword [r12 + 0xef18]
call qword [sym.imp.USER32.dll_SendMessageA]
xor edx, edx
mov rcx, r12
call fcn.14001b240
xor edx, edx
mov r8d, 0x140
lea rcx, [rsp + 0x110]
call fcn.14003d6c0
mov edx, 0x104
lea rcx, [rsp + 0x250]
call qword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
lea rdi, [rsp + 0x250]
xor eax, eax
or rbp, 0xffffffffffffffff
mov rcx, rbp
repne scasb al, byte [rdi]
mov rax, qword [str.infoem.inf]
mov qword [rdi - 1], rax
mov eax, dword [0x1400591c0]
mov dword [rdi + 7], eax
movzx eax, word [0x1400591c4]
mov word [rdi + 0xb], ax
lea rdx, [rsp + 0x110]
lea rcx, [rsp + 0x250]
call qword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov r14, rax
cmp rax, rbp
je 0x14000f5f7
call fcn.140021e08
mov ecx, r15d
test rax, rax
setne cl
test ecx, ecx
je 0x14000f5ec
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 0x18]
lea rbx, [rax + 0x18]
mov qword [rsp + 0x48], rbx
lea rcx, [rsp + 0x13c]
lea rax, [rsp + 0x13c]
test rax, 0xffffffffffff0000
jne 0x14000ef31
movzx edi, cx
mov ecx, edi
call fcn.140021df4
test rax, rax
je 0x14000f030
mov r8d, edi
mov rdx, rax
lea rcx, [rsp + 0x48]
call fcn.140002ef0
mov rbx, qword [rsp + 0x48]
jmp 0x14000f030
xor eax, eax
mov rcx, rbp
lea rdi, [rsp + 0x13c]
repne scasb al, byte [rdi]
not rcx
sub rcx, 1
mov rdi, rcx
test ecx, ecx
jne 0x14000efaa
lea rdx, [rbx - 0x18]
mov rdi, qword [rdx]
cmp dword [rdx + 8], eax
je 0x14000f030
cmp dword [rdx + 0x10], eax
jge 0x14000ef77
cmp dword [rbx - 0xc], eax
jl 0x14000f5b6
mov dword [rbx - 0x10], r15d
mov byte [rbx], al
jmp 0x14000f030
mov eax, ebp
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x14000ef8e
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.oledlg.dll_OleUIBusyA]
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 0x18]
lea rbx, [rax + 0x18]
mov qword [rsp + 0x48], rbx
mov rsi, qword [rsp + 0x40]
jmp 0x14000f030
mov ebp, dword [rbx - 0x10]
lea r12, [rsp + 0x13c]
sub r12, rbx
mov ecx, 1
sub ecx, dword [rbx - 8]
mov eax, dword [rbx - 0xc]
sub eax, edi
or eax, ecx
jge 0x14000efda
mov edx, edi
lea rcx, [rsp + 0x48]
call fcn.140002600
mov rbx, qword [rsp + 0x48]
cmp r12, rbp
ja 0x14000eff6
movsxd rbp, edi
lea r8, [r12 + rbx]
mov r9, rbp
mov rdx, rbp
mov rcx, rbx
call fcn.14003d220
jmp 0x14000f00f
movsxd rbp, edi
mov r9, rbp
lea r8, [rsp + 0x13c]
mov rdx, rbp
mov rcx, rbx
call fcn.14003cf60
test edi, edi
js 0x14000f5e1
cmp edi, dword [rbx - 0xc]
jg 0x14000f5e1
mov dword [rbx - 0x10], edi
mov byte [rbx + rbp], 0
or rbp, 0xffffffffffffffff
mov r12, qword [rsp + 0x50]
xor r9d, r9d
xor edx, edx
lea r8d, [r9 + 2]
mov rcx, rbx
call qword [sym.imp.SETUPAPI.dll_SetupOpenInfFileA]
mov r13, rax
cmp rax, 0xffffffffffffffff
je 0x14000f57c
mov ecx, r15d
mov edx, dword [0x140078658]
cmp edx, 0x5a
mov eax, 5
cmovl ecx, eax
add edx, ecx
mov dword [0x140078658], edx
movsxd r8, edx
xor r9d, r9d
mov edx, 0x402
mov rcx, qword [r12 + 0xef18]
call qword [sym.imp.USER32.dll_SendMessageA]
xor edx, edx
mov rcx, r12
call fcn.14001b240
lea r9, [rsp + 0xc0]
xor r8d, r8d
lea rdx, str.Manufacturer
mov rcx, r13
call qword [sym.imp.SETUPAPI.dll_SetupFindFirstLineA]
test eax, eax
je 0x14000f572
mov qword [rsp + 0x20], r15
mov r9d, 0x100
lea r8, [rsp + 0x360]
mov edx, 1
lea rcx, [rsp + 0xc0]
call qword [sym.imp.SETUPAPI.dll_SetupGetStringFieldA]
test eax, eax
je 0x14000f572
lea r9, [rsp + 0xc0]
lea r8, [rsp + 0x360]
mov rdx, r13
mov rcx, r12
call fcn.140001760
test eax, eax
jne 0x14000f12c
mov rcx, r13
call qword [sym.imp.SETUPAPI.dll_SetupCloseInfFile]
nop
lea rdx, [rbx - 0x18]
mov eax, ebp
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x14000f597
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.oledlg.dll_OleUIBusyA]
jmp 0x14000f597
lea r9, [rsp + 0xc0]
xor r8d, r8d
lea rdx, [rsp + 0x360]
mov rcx, r13
call qword [sym.imp.SETUPAPI.dll_SetupFindFirstLineA]
test eax, eax
je 0x14000f572
mov qword [rsp + 0x20], r15
mov r9d, 0x100
lea r8, [rsp + 0x360]
mov edx, 2
lea rcx, [rsp + 0xc0]
call qword [sym.imp.SETUPAPI.dll_SetupGetStringFieldA]
test eax, eax
je 0x14000f572
lea rdx, str.HDAUDIOFUNC_01VEN_10EC
lea rcx, [rsp + 0x360]
call fcn.14003cc10
test rax, rax
je 0x14000f1a6
cmp dword [r12 + 0x2a8], 0
jne 0x14000f28e
lea rdx, str.HDAUDIOFUNC_01VEN_8086
lea rcx, [rsp + 0x360]
call fcn.14003cc10
test rax, rax
je 0x14000f1ce
cmp dword [r12 + 0x2ac], 0
jne 0x14000f28e
lea rdx, str.HDAUDIOFUNC_01VEN_1002
lea rcx, [rsp + 0x360]
call fcn.14003cc10
test rax, rax
je 0x14000f1f6
cmp dword [r12 + 0x2ac], 0
jne 0x14000f28e
lea rdx, str.HDAUDIOFUNC_01VEN_10DE
lea rcx, [rsp + 0x360]
call fcn.14003cc10
test rax, rax
je 0x14000f21a
cmp dword [r12 + 0x2ac], 0
jne 0x14000f28e
lea rdx, str.HDAUDIOFUNC_01VEN_1106
lea rcx, [rsp + 0x360]
call fcn.14003cc10
test rax, rax
je 0x14000f23e
cmp dword [r12 + 0x2ac], 0
jne 0x14000f28e
lea rdx, str.HDAUDIOFUNC_01VEN_1039
lea rcx, [rsp + 0x360]
call fcn.14003cc10
test rax, rax
je 0x14000f262
cmp dword [r12 + 0x2ac], 0
jne 0x14000f28e
lea rdx, str.HDAUDIOFUNC_01VEN_10B9
lea rcx, [rsp + 0x360]
call fcn.14003cc10
test rax, rax
je 0x14000f572
cmp dword [r12 + 0x2ac], 0
je 0x14000f572
lea r9, [rsp + 0xc0]
lea r8, str.MfgName
lea rdx, str.Strings
mov rcx, r13
call qword [sym.imp.SETUPAPI.dll_SetupFindFirstLineA]
test eax, eax
je 0x14000f54b
mov qword [rsp + 0x20], r15
mov r9d, 0x100
lea r8, [rsp + 0x360]
mov edx, 1
lea rcx, [rsp + 0xc0]
call qword [sym.imp.SETUPAPI.dll_SetupGetStringFieldA]
test eax, eax
je 0x14000f524
xor eax, eax
mov rcx, rbp
lea rdi, [rsp + 0x360]
repne scasb al, byte [rdi]
not rcx
sub rcx, 1
mov rdi, rcx
test ecx, ecx
jne 0x14000f35c
lea rdx, [rsi - 0x18]
mov rdi, qword [rdx]
cmp dword [rdx + 8], eax
je 0x14000f3e2
cmp dword [rdx + 0x10], eax
jge 0x14000f329
cmp dword [rsi - 0xc], eax
jl 0x14000f5c1
mov dword [rsi - 0x10], r15d
mov byte [rsi], al
jmp 0x14000f3e2
mov eax, ebp
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x14000f340
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.oledlg.dll_OleUIBusyA]
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x40], rax
mov rbx, qword [rsp + 0x48]
jmp 0x14000f3e2
mov ebp, dword [rsi - 0x10]
lea r12, [rsp + 0x360]
sub r12, rsi
mov ecx, 1
sub ecx, dword [rsi - 8]
mov eax, dword [rsi - 0xc]
sub eax, edi
or eax, ecx
jge 0x14000f38c
mov edx, edi
lea rcx, [rsp + 0x40]
call fcn.140002600
mov rsi, qword [rsp + 0x40]
cmp r12, rbp
ja 0x14000f3a8
movsxd rbp, edi
lea r8, [r12 + rsi]
mov r9, rbp
mov rdx, rbp
mov rcx, rsi
call fcn.14003d220
jmp 0x14000f3c1
movsxd rbp, edi
mov r9, rbp
lea r8, [rsp + 0x360]
mov rdx, rbp
mov rcx, rsi
call fcn.14003cf60
test edi, edi
js 0x14000f5cc
cmp edi, dword [rsi - 0xc]
jg 0x14000f5cc
mov dword [rsi - 0x10], edi
mov byte [rsi + rbp], 0
or rbp, 0xffffffffffffffff
mov r12, qword [rsp + 0x50]
lea rcx, [rsp + 0x40]
call fcn.1400031c0
lea rdx, str.REALTEK
mov rcx, qword [rsp + 0x40]
call fcn.14003d210
test eax, eax
setne al
test al, al
je 0x14000f434
mov rcx, r13
call qword [sym.imp.SETUPAPI.dll_SetupCloseInfFile]
nop
lea rdx, [rbx - 0x18]
mov eax, ebp
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x14000f597
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.oledlg.dll_OleUIBusyA]
jmp 0x14000f597
mov edx, 0x104
lea rcx, [rsp + 0x250]
call qword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
lea rdi, [rsp + 0x250]
xor eax, eax
mov rcx, rbp
repne scasb al, byte [rdi]
mov eax, dword [str.inf_]
mov dword [rdi - 1], eax
movzx eax, word [0x1400591d4]
mov word [rdi + 3], ax
lea rdi, [rsp + 0x250]
xor eax, eax
mov rcx, rbp
repne scasb al, byte [rdi]
lea rdx, [rsp + 0x13c]
xor ecx, ecx
nop
nop
nop
nop
movzx eax, byte [rdx + rcx]
mov byte [rdi + rcx - 1], al
add rcx, 1
test al, al
jne 0x14000f490
lea r9, [rsp + 0x94]
xor r8d, r8d
lea edx, [r8 + 0x24]
lea rcx, [rsp + 0x250]
call fcn.140001e60
test eax, eax
je 0x14000f4d5
mov r8d, eax
mov edx, 3
mov rcx, r12
call fcn.140004f20
jmp 0x14000f572
lea rdx, [0x140058220]
lea rcx, [rsp + 0x250]
call fcn.14003cc10
mov byte [rax], 0x2e
mov byte [rax + 1], 0x50
mov byte [rax + 2], 0x4e
mov byte [rax + 3], 0x46
mov rcx, r13
call qword [sym.imp.SETUPAPI.dll_SetupCloseInfFile]
mov edx, 0x80
lea rcx, [rsp + 0x250]
call qword [sym.imp.KERNEL32.dll_SetFileAttributesA]
lea rcx, [rsp + 0x250]
call qword [sym.imp.KERNEL32.dll_DeleteFileA]
jmp 0x14000f572
mov rcx, r13
call qword [sym.imp.SETUPAPI.dll_SetupCloseInfFile]
nop
lea rdx, [rbx - 0x18]
mov eax, ebp
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x14000f597
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.oledlg.dll_OleUIBusyA]
jmp 0x14000f597
mov rcx, r13
call qword [sym.imp.SETUPAPI.dll_SetupCloseInfFile]
nop
lea rdx, [rbx - 0x18]
mov eax, ebp
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x14000f597
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.oledlg.dll_OleUIBusyA]
jmp 0x14000f597
mov rcx, r13
call qword [sym.imp.SETUPAPI.dll_SetupCloseInfFile]
nop
lea rdx, [rbx - 0x18]
mov eax, ebp
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x14000f597
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.oledlg.dll_OleUIBusyA]
lea rdx, [rsp + 0x110]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
je 0x14000f5d7
mov rsi, qword [rsp + 0x40]
jmp 0x14000eec4
mov ecx, 0x80070057
call fcn.140001000
nop
mov ecx, 0x80070057
call fcn.140001000
int3
mov ecx, 0x80070057
call fcn.140001000
nop
mov rbx, qword [rsp + 0x88]
jmp 0x14000f5f7
mov ecx, 0x80070057
call fcn.140001000
nop
mov ecx, 0x80004005
call fcn.140001000
int3
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_FindClose]
mov rcx, r12
call fcn.14000dd50
nop
lea rdx, [rbx - 0x18]
mov eax, ebp
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x14000f625
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.oledlg.dll_OleUIBusyA]
nop
mov rdx, qword [rsp + 0x58]
add rdx, 0xffffffffffffffe8
mov eax, ebp
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x14000f646
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.oledlg.dll_OleUIBusyA]
nop
mov rdx, qword [rsp + 0x60]
add rdx, 0xffffffffffffffe8
mov eax, ebp
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x14000f667
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.oledlg.dll_OleUIBusyA]
nop
mov rdx, qword [rsp + 0x68]
add rdx, 0xffffffffffffffe8
mov eax, ebp
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x14000f688
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.oledlg.dll_OleUIBusyA]
nop
mov rdx, qword [rsp + 0x78]
add rdx, 0xffffffffffffffe8
mov eax, ebp
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x14000f6a9
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.oledlg.dll_OleUIBusyA]
nop
mov rdx, qword [rsp + 0x70]
add rdx, 0xffffffffffffffe8
mov eax, ebp
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x14000f6ca
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.oledlg.dll_OleUIBusyA]
nop
mov rdx, qword [rsp + 0x80]
add rdx, 0xffffffffffffffe8
mov eax, ebp
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x14000f6ee
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.oledlg.dll_OleUIBusyA]
nop
mov rdx, qword [rsp + 0x40]
add rdx, 0xffffffffffffffe8
mov eax, ebp
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x14000f70f
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.oledlg.dll_OleUIBusyA]
nop
mov rdx, qword [rsp + 0x98]
add rdx, 0xffffffffffffffe8
lock xadd dword [rdx + 0x10], ebp
add ebp, 0xffffffff
test ebp, ebp
jg 0x14000f730
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.oledlg.dll_OleUIBusyA]
mov eax, 1
mov rcx, qword [rsp + 0x8b0]
xor rcx, rsp
call fcn.14003bc70
lea r11, [rsp + 0x8c0]
mov rbx, qword [r11 + 0x38]
mov rbp, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret