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

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov eax, 0x1810
call fcn.1400e67f0
sub rsp, rax
mov qword [rsp + 0xc0], 0xfffffffffffffffe
mov qword [rsp + 0x1860], rbx
mov rax, qword [0x14012e6d8]
xor rax, rsp
mov qword [rsp + 0x1800], rax
mov dword [rsp + 0x48], r8d
mov r13, rdx
mov qword [rsp + 0x80], rdx
mov r15, rcx
mov qword [rsp + 0xc8], rdx
mov dword [rsp + 0x54], 0
mov qword [rsp + 0xa0], 0
mov dword [rsp + 0x8c], 0
call fcn.140055b68
mov rcx, rax
xor eax, eax
test rcx, rcx
setne al
test eax, eax
jne 0x14002e518
mov ecx, 0x80004005
call fcn.140001610
int3
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
lea rbx, [rax + 0x18]
mov qword [rsp + 0x40], rbx
lea rdx, [0x1400e9f40]
test rdx, 0xffffffffffff0000
jne 0x14002e55d
movzx edi, dx
mov ecx, edi
call fcn.140055990
test rax, rax
je 0x14002e56c
mov r8d, edi
mov rdx, rax
lea rcx, [rsp + 0x40]
call fcn.140006090
mov rbx, qword [rsp + 0x40]
jmp 0x14002e56c
lea rcx, [rsp + 0x40]
call fcn.140006510
mov rbx, qword [rsp + 0x40]
mov dword [rsp + 0x68], 0
call fcn.140055b68
mov rcx, rax
xor eax, eax
test rcx, rcx
setne al
test eax, eax
jne 0x14002e593
mov ecx, 0x80004005
call fcn.140001610
int3
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
lea rbp, [rax + 0x18]
mov qword [rsp + 0x60], rbp
lea rdx, str.ACPVEN_1002
test rdx, 0xffffffffffff0000
jne 0x14002e5d8
movzx edi, dx
mov ecx, edi
call fcn.140055990
test rax, rax
je 0x14002e5e7
mov r8d, edi
mov rdx, rax
lea rcx, [rsp + 0x60]
call fcn.140006090
mov rbp, qword [rsp + 0x60]
jmp 0x14002e5e7
lea rcx, [rsp + 0x60]
call fcn.140006510
mov rbp, qword [rsp + 0x60]
call fcn.140055b68
mov rcx, rax
xor eax, eax
test rcx, rcx
setne al
test eax, eax
jne 0x14002e606
mov ecx, 0x80004005
call fcn.140001610
int3
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
lea rsi, [rax + 0x18]
mov qword [rsp + 0x70], rsi
lea rdx, str.ACPVEN_1022
test rdx, 0xffffffffffff0000
jne 0x14002e64b
movzx edi, dx
mov ecx, edi
call fcn.140055990
test rax, rax
je 0x14002e65a
mov r8d, edi
mov rdx, rax
lea rcx, [rsp + 0x70]
call fcn.140006090
mov rsi, qword [rsp + 0x70]
jmp 0x14002e65a
lea rcx, [rsp + 0x70]
call fcn.140006510
mov rsi, qword [rsp + 0x70]
mov r9d, 6
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.SETUPAPI.dll_SetupDiGetClassDevsW]
mov r14, rax
cmp rax, 0xffffffffffffffff
jne 0x14002e705
lea rdx, [rsi - 0x18]
or r12, rax
mov eax, r12d
lock xadd dword [rdx + 0x10], eax
add eax, r14d
test eax, eax
jg 0x14002e69a
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rsp + 0x60]
add rdx, 0xffffffffffffffe8
mov eax, r12d
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x14002e6bc
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rsp + 0x40]
add rdx, 0xffffffffffffffe8
mov eax, r12d
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x14002e6de
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [r13]
sub rdx, 0x18
lock xadd dword [rdx + 0x10], r12d
add r12d, 0xffffffff
test r12d, r12d
jg 0x14002e6fe
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
xor eax, eax
jmp 0x14002f4ca
mov dword [rsp + 0xf0], SafeArrayDestroyData
xor r13d, r13d
mov dword [rsp + 0x5c], r13d
lea r8, [rsp + 0xf0]
xor edx, edx
mov rcx, rax
call qword [sym.imp.SETUPAPI.dll_SetupDiEnumDeviceInfo]
or r12, 0xffffffffffffffff
test eax, eax
je 0x14002ec61
nop
nop
nop
lea rax, [rsp + 0x8c]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0xa0]
mov r8d, 4
lea rdx, [rsp + 0xf0]
mov rcx, r14
call fcn.140002510
test eax, eax
je 0x14002ec30
mov rdx, qword [rsp + 0xa0]
test rdx, rdx
jne 0x14002e784
xor ecx, ecx
jmp 0x14002e796
xor eax, eax
mov rcx, r12
mov rdi, rdx
repne scasw ax, word [rdi]
not rcx
sub rcx, 1
mov r8d, ecx
lea rcx, [rsp + 0x40]
call fcn.1400062e0
mov rbx, qword [rsp + 0x40]
movsxd rdi, dword [rbx - 0x10]
mov ecx, 1
sub ecx, dword [rbx - 8]
mov eax, dword [rbx - 0xc]
sub eax, edi
or eax, ecx
jge 0x14002e7ce
mov edx, edi
lea rcx, [rsp + 0x40]
call fcn.140004670
mov rbx, qword [rsp + 0x40]
lea eax, [rdi + 1]
movsxd rdx, eax
mov rcx, rbx
call fcn.14009b820
test edi, edi
js 0x14002ec56
cmp edi, dword [rbx - 0xc]
jg 0x14002ec56
mov dword [rbx - 0x10], edi
mov word [rbx + rdi*2], 0
mov rax, qword [rsp + 0x80]
mov rdx, qword [rax]
test rdx, rdx
je 0x14002ec30
cmp dword [rbx - 0x10], 0
jl 0x14002ec30
mov rcx, rbx
call fcn.14009b200
test rax, rax
je 0x14002ec30
sub rax, rbx
sar rax, 1
cmp eax, 0xffffffff
je 0x14002ec30
mov dword [rsp + 0x28], 0x20019
mov dword [rsp + 0x20], 2
xor r9d, r9d
mov edi, 1
mov r8d, edi
lea rdx, [rsp + 0xf0]
mov rcx, r14
call qword [sym.imp.SETUPAPI.dll_SetupDiOpenDevRegKey]
mov qword [rsp + 0x90], rax
cmp rax, 0xffffffffffffffff
je 0x14002ec30
mov dword [rsp + 0x98], edi
mov dword [rsp + 0x88], 0x208
lea rcx, [rsp + 0x88]
mov qword [rsp + 0x28], rcx
lea rcx, [rsp + 0x990]
mov qword [rsp + 0x20], rcx
lea r9, [rsp + 0x98]
xor r8d, r8d
lea rdx, str.InfPath
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x14002ec22
xor r13d, r13d
mov dword [rsp + 0x50], r13d
mov edx, 0x104
lea rcx, [rsp + 0x360]
call qword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
lea r8, str.inf_
mov edx, 0x104
lea rcx, [rsp + 0x360]
call fcn.14009ccf0
lea r8, [rsp + 0x990]
mov edx, 0x104
lea rcx, [rsp + 0x360]
call fcn.14009ccf0
lea rdx, [rsp + 0x990]
mov rcx, r15
call fcn.140017110
xor ecx, ecx
cmp eax, edi
cmovg ecx, edi
mov dword [rsp + 0x78], ecx
mov qword [rsp + 0x30], r13
mov dword [rsp + 0x28], 0x80
lea rax, [rsp + 0x15f0]
mov qword [rsp + 0x20], rax
xor r9d, r9d
lea r8d, [rdi + 8]
lea rdx, [rsp + 0xf0]
mov rcx, r14
call qword [sym.imp.SETUPAPI.dll_SetupDiGetDeviceRegistryPropertyW]
test eax, eax
je 0x14002ec1d
mov qword [rsp + 0x20], r13
mov r9d, 0x104
lea r8, [rsp + 0x780]
lea rdx, [rsp + 0xf0]
mov rcx, r14
call qword [sym.imp.SETUPAPI.dll_SetupDiGetDeviceInstanceIdW]
mov rdx, rbp
lea rcx, [rsp + 0x780]
call fcn.14009b200
test rax, rax
jne 0x14002e9b2
mov rdx, rsi
lea rcx, [rsp + 0x780]
call fcn.14009b200
test rax, rax
je 0x14002ea1c
lea rax, [rsp + 0x50]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], r13d
mov qword [rsp + 0x20], r13
xor r9d, r9d
mov r8d, edi
lea rdx, [rsp + 0xf0]
mov rcx, r14
call qword [sym.imp.SETUPAPI.dll_SetupDiGetDeviceRegistryPropertyW]
mov ecx, dword [rsp + 0x50]
call fcn.14009dba0
mov r13, rax
test rax, rax
je 0x14002ea1c
lea rax, [rsp + 0x50]
mov qword [rsp + 0x30], rax
mov eax, dword [rsp + 0x50]
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], r13
xor r9d, r9d
mov r8d, edi
lea rdx, [rsp + 0xf0]
mov rcx, r14
call qword [sym.imp.SETUPAPI.dll_SetupDiGetDeviceRegistryPropertyW]
mov dword [rsp + 0x58], 0
xor r8d, r8d
mov edx, dword [rsp + 0x104]
lea rcx, [rsp + 0x58]
call qword [sym.imp.SETUPAPI.dll_CM_Get_Child]
nop
nop
mov ecx, dword [rsp + 0x58]
test ecx, ecx
je 0x14002ea8d
xor r9d, r9d
mov r8d, 0x104
lea rdx, [rsp + 0x11d0]
call qword [sym.imp.SETUPAPI.dll_CM_Get_Device_IDW]
lea r8, [rsp + 0x780]
lea rdx, [rsp + 0x11d0]
mov rcx, r15
call fcn.140028c40
xor r8d, r8d
mov edx, dword [rsp + 0x58]
lea rcx, [rsp + 0x58]
call qword [sym.imp.SETUPAPI.dll_CM_Get_Sibling]
test eax, eax
je 0x14002ea40
lea r8, [rsp + 0x13e0]
lea rdx, [rsp + 0x360]
mov rcx, r15
call fcn.140005450
test eax, eax
je 0x14002eab8
xor edx, edx
lea rcx, [rsp + 0x13e0]
call fcn.140002fe0
lea r8, [rsp + 0xf0]
mov rdx, r14
mov ecx, 5
call qword [sym.imp.SETUPAPI.dll_SetupDiCallClassInstaller]
mov edi, eax
mov eax, dword [rsp + 0x78]
test eax, eax
jne 0x14002eb22
cmp dword [rsp + 0x48], eax
je 0x14002eb22
lea rdx, [rsp + 0x360]
lea rcx, [rsp + 0xd0]
call fcn.140013b00
mov rdx, rax
mov rcx, r15
call fcn.1400180b0
test eax, eax
je 0x14002eb1e
movsxd rax, dword [r15 + 0x3b1d8]
imul rax, rax, 0x12c8
mov dword [rax + r15 + 0x6c4], edi
mov eax, dword [rsp + 0x78]
jmp 0x14002eb22
mov eax, dword [rsp + 0x78]
mov ecx, dword [rsp + 0x54]
test edi, edi
mov edx, 1
cmovne ecx, edx
mov dword [rsp + 0x54], ecx
cmp dword [rsp + 0x48], 0
je 0x14002ebe7
test eax, eax
jne 0x14002ebe7
cmp dword [0x1401302e8], eax
jne 0x14002eb6f
cmp dword [0x1401302ec], eax
jne 0x14002eb6f
cmp dword [0x1401302f0], eax
jne 0x14002eb6f
cmp dword [0x1401302f4], eax
jne 0x14002eb6f
cmp dword [0x1401302f8], eax
je 0x14002ebe7
lea r9, [rsp + 0x68]
xor r8d, r8d
lea edx, [r8 + 0x24]
lea rcx, [rsp + 0x360]
call fcn.1400027d0
test eax, eax
je 0x14002eb9b
mov r8d, eax
xor edx, edx
mov rcx, r15
call fcn.14000cf00
jmp 0x14002ebe7
lea rdx, [0x1400e9d14]
lea rcx, [rsp + 0x360]
call fcn.14009b200
mov word [rax], 0x2e
mov word [rax + 2], 0x50
mov word [rax + 4], 0x4e
mov word [rax + 6], 0x46
mov edx, 0x80
lea rcx, [rsp + 0x360]
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
lea rcx, [rsp + 0x360]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
lea rdx, [rsp + 0x780]
mov rcx, r15
call fcn.14001d610
test r13, r13
je 0x14002ec16
mov rdx, r13
mov rcx, r15
call fcn.14001e110
mov rcx, r13
call fcn.14009db00
mov r13d, dword [rsp + 0x5c]
jmp 0x14002ec22
mov r13d, dword [rsp + 0x5c]
jmp 0x14002ec22
mov r13d, dword [rsp + 0x5c]
mov rcx, qword [rsp + 0x90]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
add r13d, 1
mov dword [rsp + 0x5c], r13d
lea r8, [rsp + 0xf0]
mov edx, r13d
mov rcx, r14
call qword [sym.imp.SETUPAPI.dll_SetupDiEnumDeviceInfo]
test eax, eax
je 0x14002ec61
jmp 0x14002e740
mov ecx, 0x80070057
call fcn.140001610
int3
mov rcx, r14
call qword [sym.imp.SETUPAPI.dll_SetupDiDestroyDeviceInfoList]
cmp dword [rsp + 0x48], 0
jne 0x14002ed06
lea rdx, [rsi - 0x18]
mov eax, r12d
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x14002ec92
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rsp + 0x60]
add rdx, 0xffffffffffffffe8
mov eax, r12d
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x14002ecb4
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rsp + 0x40]
add rdx, 0xffffffffffffffe8
mov eax, r12d
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x14002ecd6
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rax, qword [rsp + 0x80]
mov rdx, qword [rax]
sub rdx, 0x18
lock xadd dword [rdx + 0x10], r12d
add r12d, 0xffffffff
test r12d, r12d
jg 0x14002ecfd
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov eax, dword [rsp + 0x54]
jmp 0x14002f4ca
xor edx, edx
mov r8d, 0x250
lea rcx, [rsp + 0x110]
call fcn.14009c4e0
mov edx, 0x104
lea rcx, [rsp + 0x360]
call qword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
lea r8, str.infoem.inf
mov edx, 0x104
lea rcx, [rsp + 0x360]
call fcn.14009ccf0
lea rdx, [rsp + 0x110]
lea rcx, [rsp + 0x360]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov r14, rax
mov qword [rsp + 0x90], rax
cmp rax, 0xffffffffffffffff
je 0x14002f43e
call fcn.140055b68
xor ecx, ecx
test rax, rax
setne cl
test ecx, ecx
je 0x14002f433
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + reloc.OLEAUT32.dll_SafeArrayGetElement]
lea rsi, [rax + 0x18]
mov qword [rsp + 0x48], rsi
lea rcx, [rsp + 0x13c]
lea rax, [rsp + 0x13c]
test rax, 0xffffffffffff0000
jne 0x14002edde
movzx edi, cx
mov ecx, edi
call fcn.140055990
test rax, rax
je 0x14002eee3
mov r8d, edi
mov rdx, rax
lea rcx, [rsp + 0x48]
call fcn.140006090
mov rsi, qword [rsp + 0x48]
jmp 0x14002eee3
xor eax, eax
mov rcx, r12
lea rdi, [rsp + 0x13c]
repne scasw ax, word [rdi]
not rcx
sub rcx, 1
mov rdi, rcx
test ecx, ecx
jne 0x14002ee59
lea rdx, [rsi - 0x18]
mov rdi, qword [rdx]
cmp dword [rdx + 8], eax
je 0x14002eee3
cmp dword [rdx + 0x10], eax
jge 0x14002ee25
cmp dword [rsi - 0xc], eax
jl 0x14002f3ec
mov dword [rsi - 0x10], eax
mov word [rsi], ax
jmp 0x14002eee3
mov eax, r12d
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x14002ee3d
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
lea rsi, [rax + 0x18]
mov qword [rsp + 0x48], rsi
mov rbx, qword [rsp + 0x40]
jmp 0x14002eee3
mov ebp, dword [rsi - 0x10]
lea r13, [rsp + 0x13c]
sub r13, rsi
sar r13, 1
mov ecx, 1
sub ecx, dword [rsi - 8]
mov eax, dword [rsi - 0xc]
sub eax, edi
or eax, ecx
jge 0x14002ee8c
mov edx, edi
lea rcx, [rsp + 0x48]
call fcn.140004670
mov rsi, qword [rsp + 0x48]
cmp r13, rbp
ja 0x14002eeac
movsxd rax, edi
lea rbp, [rax + rax]
lea r8, [rsi + r13*2]
mov r9, rbp
mov rdx, rbp
mov rcx, rsi
call fcn.14009b340
jmp 0x14002eec9
movsxd rax, edi
lea rbp, [rax + rax]
mov r9, rbp
lea r8, [rsp + 0x13c]
mov rdx, rbp
mov rcx, rsi
call fcn.14009b270
test edi, edi
js 0x14002f428
cmp edi, dword [rsi - 0xc]
jg 0x14002f428
mov dword [rsi - 0x10], edi
mov word [rsi + rbp], 0
xor r9d, r9d
xor edx, edx
lea r8d, [r9 + 2]
mov rcx, rsi
call qword [sym.imp.SETUPAPI.dll_SetupOpenInfFileW]
mov rbp, rax
cmp rax, 0xffffffffffffffff
je 0x14002f3b1
lea r9, [rsp + 0xa8]
xor r8d, r8d
lea rdx, str.Manufacturer
mov rcx, rax
call qword [sym.imp.SETUPAPI.dll_SetupFindFirstLineW]
test eax, eax
je 0x14002f3a7
mov qword [rsp + 0x20], 0
mov r9d, 0x100
lea r8, [rsp + 0x570]
mov edi, 1
mov edx, edi
lea rcx, [rsp + 0xa8]
call qword [sym.imp.SETUPAPI.dll_SetupGetStringFieldW]
test eax, eax
je 0x14002f3a7
lea rax, [rsp + 0xa8]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0xfc0]
lea r8, [rsp + 0x570]
mov rdx, rbp
mov rcx, r15
call fcn.140003670
test eax, eax
jne 0x14002efb4
mov rcx, rbp
call qword [sym.imp.SETUPAPI.dll_SetupCloseInfFile]
nop
lea rdx, [rsi - 0x18]
mov eax, r12d
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x14002f3cd
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
jmp 0x14002f3cd
lea r9, [rsp + 0xa8]
xor r8d, r8d
lea rdx, [rsp + 0x570]
mov rcx, rbp
call qword [sym.imp.SETUPAPI.dll_SetupFindFirstLineW]
test eax, eax
je 0x14002f3a7
mov qword [rsp + 0x20], 0
mov r9d, 0x100
lea r8, [rsp + 0xba0]
mov edx, edi
lea rcx, [rsp + 0xa8]
call qword [sym.imp.SETUPAPI.dll_SetupGetStringFieldW]
test eax, eax
je 0x14002f3a7
lea rax, [rsp + 0xfc0]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0xba0]
lea r8, [rsp + 0xdb0]
mov rdx, rbp
mov rcx, r15
call fcn.140013370
lea r9, [rsp + 0xd8]
lea r8, str.AddService
lea rdx, [rsp + 0xdb0]
mov rcx, rbp
call qword [sym.imp.SETUPAPI.dll_SetupFindFirstLineW]
test eax, eax
je 0x14002f37f
mov qword [rsp + 0x20], 0
mov r9d, 0x100
lea r8, [rsp + 0x570]
mov edx, edi
lea rcx, [rsp + 0xd8]
call qword [sym.imp.SETUPAPI.dll_SetupGetStringFieldW]
test eax, eax
je 0x14002f357
xor eax, eax
mov rcx, r12
lea rdi, [rsp + 0x570]
repne scasw ax, word [rdi]
not rcx
sub rcx, 1
mov rdi, rcx
test ecx, ecx
jne 0x14002f101
lea rdx, [rbx - 0x18]
mov rdi, qword [rdx]
cmp dword [rdx + 8], eax
je 0x14002f196
cmp dword [rdx + 0x10], eax
jge 0x14002f0cd
cmp dword [rbx - 0xc], eax
jl 0x14002f3f7
mov dword [rbx - 0x10], eax
mov word [rbx], ax
jmp 0x14002f196
mov eax, r12d
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x14002f0e5
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
lea rbx, [rax + 0x18]
mov qword [rsp + 0x40], rbx
mov rsi, qword [rsp + 0x48]
jmp 0x14002f196
mov r13d, dword [rbx - 0x10]
lea r14, [rsp + 0x570]
sub r14, rbx
sar r14, 1
mov ecx, 1
sub ecx, dword [rbx - 8]
mov eax, dword [rbx - 0xc]
sub eax, edi
or eax, ecx
jge 0x14002f135
mov edx, edi
lea rcx, [rsp + 0x40]
call fcn.140004670
mov rbx, qword [rsp + 0x40]
cmp r14, r13
ja 0x14002f155
movsxd rax, edi
lea r13, [rax + rax]
lea r8, [rbx + r14*2]
mov r9, r13
mov rdx, r13
mov rcx, rbx
call fcn.14009b340
jmp 0x14002f172
movsxd rax, edi
lea r13, [rax + rax]
mov r9, r13
lea r8, [rsp + 0x570]
mov rdx, r13
mov rcx, rbx
call fcn.14009b270
test edi, edi
js 0x14002f40d
cmp edi, dword [rbx - 0xc]
jg 0x14002f40d
mov dword [rbx - 0x10], edi
mov word [r13 + rbx], 0
mov r14, qword [rsp + 0x90]
movsxd rdi, dword [rbx - 0x10]
mov r13d, 1
mov ecx, r13d
sub ecx, dword [rbx - 8]
mov eax, dword [rbx - 0xc]
sub eax, edi
or eax, ecx
jge 0x14002f1c0
mov edx, edi
lea rcx, [rsp + 0x40]
call fcn.140004670
mov rbx, qword [rsp + 0x40]
lea eax, [rdi + 1]
movsxd rdx, eax
mov rcx, rbx
call fcn.14009b820
test edi, edi
js 0x14002f402
cmp edi, dword [rbx - 0xc]
jg 0x14002f402
mov dword [rbx - 0x10], edi
mov word [rbx + rdi*2], 0
mov rax, qword [rsp + 0x80]
mov rdx, qword [rax]
test rdx, rdx
je 0x14002f32b
cmp dword [rbx - 0x10], 0
jl 0x14002f32b
mov rcx, rbx
call fcn.14009b200
test rax, rax
je 0x14002f32b
sub rax, rbx
sar rax, 1
cmp eax, 0xffffffff
je 0x14002f32b
mov edx, 0x104
lea rcx, [rsp + 0x360]
call qword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
lea r8, str.inf_
mov edx, 0x104
lea rcx, [rsp + 0x360]
call fcn.14009ccf0
lea r8, [rsp + 0x13c]
mov edx, 0x104
lea rcx, [rsp + 0x360]
call fcn.14009ccf0
lea rdx, [rsp + 0x360]
lea rcx, [rsp + 0x78]
call fcn.140013b00
mov rdx, rax
mov rcx, r15
call fcn.1400180b0
mov edi, eax
lea r9, [rsp + 0x68]
xor r8d, r8d
lea edx, [r8 + 0x24]
lea rcx, [rsp + 0x360]
call fcn.1400027d0
test eax, eax
je 0x14002f2ba
mov r8d, eax
xor edx, edx
mov rcx, r15
call fcn.14000cf00
jmp 0x14002f3a7
test edi, edi
je 0x14002f2d4
movsxd rax, dword [r15 + 0x3b1d8]
imul rax, rax, 0x12c8
mov dword [rax + r15 + 0x6c4], r13d
lea rdx, [0x1400e9d14]
lea rcx, [rsp + 0x360]
call fcn.14009b200
mov word [rax], 0x2e
mov word [rax + 2], 0x50
mov word [rax + 4], 0x4e
mov word [rax + 6], 0x46
mov rcx, rbp
call qword [sym.imp.SETUPAPI.dll_SetupCloseInfFile]
mov edx, 0x80
lea rcx, [rsp + 0x360]
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
lea rcx, [rsp + 0x360]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
jmp 0x14002f3a7
mov rcx, rbp
call qword [sym.imp.SETUPAPI.dll_SetupCloseInfFile]
nop
lea rdx, [rsi - 0x18]
mov eax, r12d
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x14002f3cd
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
jmp 0x14002f3cd
mov rcx, rbp
call qword [sym.imp.SETUPAPI.dll_SetupCloseInfFile]
nop
lea rdx, [rsi - 0x18]
mov eax, r12d
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x14002f3cd
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
jmp 0x14002f3cd
mov rcx, rbp
call qword [sym.imp.SETUPAPI.dll_SetupCloseInfFile]
nop
lea rdx, [rsi - 0x18]
mov eax, r12d
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x14002f3cd
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
jmp 0x14002f3cd
mov rcx, rbp
call qword [sym.imp.SETUPAPI.dll_SetupCloseInfFile]
nop
lea rdx, [rsi - 0x18]
mov eax, r12d
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x14002f3cd
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
lea rdx, [rsp + 0x110]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
je 0x14002f418
mov rbx, qword [rsp + 0x40]
jmp 0x14002ed72
mov ecx, 0x80070057
call fcn.140001610
nop
mov ecx, 0x80070057
call fcn.140001610
int3
mov ecx, 0x80070057
call fcn.140001610
int3
mov ecx, 0x80070057
call fcn.140001610
nop
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_FindClose]
mov rsi, qword [rsp + 0x70]
jmp 0x14002f43e
mov ecx, 0x80070057
call fcn.140001610
nop
mov ecx, 0x80004005
call fcn.140001610
nop
lea rdx, [rsi - 0x18]
mov eax, r12d
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x14002f45b
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rsp + 0x60]
add rdx, 0xffffffffffffffe8
mov eax, r12d
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x14002f47d
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rsp + 0x40]
add rdx, 0xffffffffffffffe8
mov eax, r12d
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x14002f49f
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rax, qword [rsp + 0x80]
mov rdx, qword [rax]
sub rdx, 0x18
lock xadd dword [rdx + 0x10], r12d
add r12d, 0xffffffff
test r12d, r12d
jg 0x14002f4c6
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov eax, dword [rsp + 0x54]
mov rcx, qword [rsp + 0x1800]
xor rcx, rsp
call fcn.14009af10
mov rbx, qword [rsp + 0x1860]
add rsp, 0x1810
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret