Function at 0x140022280
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, 0x1800
call fcn.1400dc000
sub rsp, rax
mov qword [rsp + 0xa8], 0xfffffffffffffffe
mov qword [rsp + 0x1850], rbx
mov rax, qword [0x1401216d8]
xor rax, rsp
mov qword [rsp + 0x17f0], rax
mov rsi, rdx
mov qword [rsp + 0x60], rdx
mov r15, rcx
mov qword [rsp + 0xb8], rdx
mov qword [rsp + 0x78], 0
mov dword [rsp + 0x6c], 0
call fcn.14004b378
mov rcx, rax
xor eax, eax
test rcx, rcx
setne al
test eax, eax
jne 0x140022302
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, [0x1400def30]
test rdx, 0xffffffffffff0000
jne 0x140022347
movzx edi, dx
mov ecx, edi
call fcn.14004b1a0
test rax, rax
je 0x140022356
mov r8d, edi
mov rdx, rax
lea rcx, [rsp + 0x40]
call fcn.140005c00
mov rbx, qword [rsp + 0x40]
jmp 0x140022356
lea rcx, [rsp + 0x40]
call fcn.140006080
mov rbx, qword [rsp + 0x40]
mov dword [rsp + 0x58], 0
mov r9d, 6
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.SETUPAPI.dll_SetupDiGetClassDevsW]
mov rbp, rax
cmp rax, 0xffffffffffffffff
jne 0x1400223bf
lea rdx, [rbx - 0x18]
or r14, rax
mov eax, r14d
lock xadd dword [rdx + 0x10], eax
add eax, ebp
test eax, eax
jg 0x140022399
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rsi]
sub rdx, 0x18
lock xadd dword [rdx + 0x10], r14d
add r14d, 0xffffffff
test r14d, r14d
jg 0x1400223b8
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
xor eax, eax
jmp 0x140022f59
mov dword [rsp + 0xd8], SafeArrayDestroyData
xor r12d, r12d
lea r8, [rsp + 0xd8]
xor edx, edx
mov rcx, rax
call qword [sym.imp.SETUPAPI.dll_SetupDiEnumDeviceInfo]
or r14, 0xffffffffffffffff
test eax, eax
je 0x1400227d0
nop
lea rax, [rsp + 0x6c]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x78]
mov r8d, 4
lea rdx, [rsp + 0xd8]
mov rcx, rbp
call fcn.140002500
test eax, eax
je 0x1400227a4
mov rdx, qword [rsp + 0x78]
test rdx, rdx
jne 0x14002242b
xor ecx, ecx
jmp 0x14002243d
xor eax, eax
mov rcx, r14
mov rdi, rdx
repne scasw ax, word [rdi]
not rcx
sub rcx, 1
mov r8d, ecx
lea rcx, [rsp + 0x40]
call fcn.140005e50
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 0x140022475
mov edx, edi
lea rcx, [rsp + 0x40]
call fcn.140004650
mov rbx, qword [rsp + 0x40]
lea eax, [rdi + 1]
movsxd rdx, eax
mov rcx, rbx
call fcn.140091030
test edi, edi
js 0x1400227c5
cmp edi, dword [rbx - 0xc]
jg 0x1400227c5
mov dword [rbx - 0x10], edi
mov word [rbx + rdi*2], 0
mov rdx, qword [rsi]
test rdx, rdx
je 0x1400227a4
cmp dword [rbx - 0x10], 0
jl 0x1400227a4
mov rcx, rbx
call fcn.140090a10
test rax, rax
je 0x1400227a4
sub rax, rbx
sar rax, 1
cmp eax, 0xffffffff
je 0x1400227a4
mov dword [rsp + 0x28], 0x20019
mov dword [rsp + 0x20], 2
xor r9d, r9d
lea r8d, [r9 + 1]
lea rdx, [rsp + 0xd8]
mov rcx, rbp
call qword [sym.imp.SETUPAPI.dll_SetupDiOpenDevRegKey]
mov rsi, rax
cmp rax, 0xffffffffffffffff
je 0x14002279f
mov dword [rsp + 0x70], 1
mov dword [rsp + 0x68], 0x208
lea rax, [rsp + 0x68]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x11c0]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x70]
xor r8d, r8d
lea rdx, str.InfPath
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x14002278f
mov edx, 0x104
lea rcx, [rsp + 0x350]
call qword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
lea r8, str.inf_
mov edx, 0x104
lea rcx, [rsp + 0x350]
call fcn.140092500
lea r8, [rsp + 0x11c0]
mov edx, 0x104
lea rcx, [rsp + 0x350]
call fcn.140092500
xor edi, edi
mov qword [rsp + 0x30], rdi
mov dword [rsp + 0x28], 0x80
lea rax, [rsp + 0x15e0]
mov qword [rsp + 0x20], rax
xor r9d, r9d
lea r8d, [rdi + 9]
lea rdx, [rsp + 0xd8]
mov rcx, rbp
call qword [sym.imp.SETUPAPI.dll_SetupDiGetDeviceRegistryPropertyW]
test eax, eax
je 0x1400226da
mov qword [rsp + 0x20], rdi
mov r9d, 0x104
lea r8, [rsp + 0x770]
lea rdx, [rsp + 0xd8]
mov rcx, rbp
call qword [sym.imp.SETUPAPI.dll_SetupDiGetDeviceInstanceIdW]
mov dword [rsp + 0x48], edi
xor r8d, r8d
mov edx, dword [rsp + 0xec]
lea rcx, [rsp + 0x48]
call qword [sym.imp.SETUPAPI.dll_CM_Get_Child]
nop
mov ecx, dword [rsp + 0x48]
test ecx, ecx
je 0x14002265d
xor r9d, r9d
mov r8d, 0x104
lea rdx, [rsp + 0xb90]
call qword [sym.imp.SETUPAPI.dll_CM_Get_Device_IDW]
lea r8, [rsp + 0x770]
lea rdx, [rsp + 0xb90]
mov rcx, r15
call fcn.14001a050
xor r8d, r8d
mov edx, dword [rsp + 0x48]
lea rcx, [rsp + 0x48]
call qword [sym.imp.SETUPAPI.dll_CM_Get_Sibling]
test eax, eax
je 0x140022610
lea r8, [rsp + 0x13d0]
lea rdx, [rsp + 0x350]
mov rcx, r15
call fcn.140004fc0
test eax, eax
je 0x140022688
xor edx, edx
lea rcx, [rsp + 0x13d0]
call fcn.140002fd0
lea r8, [rsp + 0xd8]
mov rdx, rbp
mov ecx, 5
call qword [sym.imp.SETUPAPI.dll_SetupDiCallClassInstaller]
mov edi, eax
lea rdx, [rsp + 0x350]
lea rcx, [rsp + 0xb0]
call fcn.1400119e0
mov rdx, rax
mov rcx, r15
call fcn.140014bb0
test eax, eax
je 0x1400226da
movsxd rcx, dword [r15 + 0x3afd0]
imul rcx, rcx, 0x12c8
mov dword [rcx + r15 + 0x4bc], edi
cmp dword [0x1401232e8], 0
jne 0x140022707
cmp dword [0x1401232ec], 0
jne 0x140022707
cmp dword [0x1401232f0], 0
jne 0x140022707
cmp dword [0x1401232f4], 0
jne 0x140022707
cmp dword [0x1401232f8], 0
je 0x14002277f
lea r9, [rsp + 0x58]
xor r8d, r8d
lea edx, [r8 + 0x24]
lea rcx, [rsp + 0x350]
call fcn.1400027c0
test eax, eax
je 0x140022733
mov r8d, eax
xor edx, edx
mov rcx, r15
call fcn.14000b760
jmp 0x14002277f
lea rdx, [0x1400ded04]
lea rcx, [rsp + 0x350]
call fcn.140090a10
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 + 0x350]
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
lea rcx, [rsp + 0x350]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
lea rdx, [rsp + 0x770]
mov rcx, r15
call fcn.14001a830
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rsi, qword [rsp + 0x60]
jmp 0x1400227a4
mov rsi, qword [rsp + 0x60]
add r12d, 1
lea r8, [rsp + 0xd8]
mov edx, r12d
mov rcx, rbp
call qword [sym.imp.SETUPAPI.dll_SetupDiEnumDeviceInfo]
test eax, eax
je 0x1400227d0
jmp 0x1400223f0
mov ecx, 0x80070057
call fcn.140001610
int3
mov rcx, rbp
call qword [sym.imp.SETUPAPI.dll_SetupDiDestroyDeviceInfoList]
xor edx, edx
mov r8d, 0x250
lea rcx, [rsp + 0x100]
call fcn.140091cf0
mov edx, 0x104
lea rcx, [rsp + 0x350]
call qword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
lea r8, str.infoem.inf
mov edx, 0x104
lea rcx, [rsp + 0x350]
call fcn.140092500
lea rdx, [rsp + 0x100]
lea rcx, [rsp + 0x350]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov r13, rax
mov qword [rsp + 0x80], rax
cmp rax, 0xffffffffffffffff
je 0x140022f16
call fcn.14004b378
xor ecx, ecx
test rax, rax
setne cl
test ecx, ecx
je 0x140022f0b
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + reloc.OLEAUT32.dll_SafeArrayGetElement]
lea rsi, [rax + 0x18]
mov qword [rsp + 0x50], rsi
lea rcx, [rsp + 0x12c]
lea rax, [rsp + 0x12c]
test rax, 0xffffffffffff0000
jne 0x1400228b1
movzx edi, cx
mov ecx, edi
call fcn.14004b1a0
test rax, rax
je 0x1400229b6
mov r8d, edi
mov rdx, rax
lea rcx, [rsp + 0x50]
call fcn.140005c00
mov rsi, qword [rsp + 0x50]
jmp 0x1400229b6
xor eax, eax
mov rcx, r14
lea rdi, [rsp + 0x12c]
repne scasw ax, word [rdi]
not rcx
sub rcx, 1
mov rdi, rcx
test ecx, ecx
jne 0x14002292c
lea rdx, [rsi - 0x18]
mov rdi, qword [rdx]
cmp dword [rdx + 8], eax
je 0x1400229b6
cmp dword [rdx + 0x10], eax
jge 0x1400228f8
cmp dword [rsi - 0xc], eax
jl 0x140022ec4
mov dword [rsi - 0x10], eax
mov word [rsi], ax
jmp 0x1400229b6
mov eax, r14d
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x140022910
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 + 0x50], rsi
mov rbx, qword [rsp + 0x40]
jmp 0x1400229b6
mov ebp, dword [rsi - 0x10]
lea r12, [rsp + 0x12c]
sub r12, rsi
sar r12, 1
mov ecx, 1
sub ecx, dword [rsi - 8]
mov eax, dword [rsi - 0xc]
sub eax, edi
or eax, ecx
jge 0x14002295f
mov edx, edi
lea rcx, [rsp + 0x50]
call fcn.140004650
mov rsi, qword [rsp + 0x50]
cmp r12, rbp
ja 0x14002297f
movsxd rax, edi
lea rbp, [rax + rax]
lea r8, [rsi + r12*2]
mov r9, rbp
mov rdx, rbp
mov rcx, rsi
call fcn.140090b50
jmp 0x14002299c
movsxd rax, edi
lea rbp, [rax + rax]
mov r9, rbp
lea r8, [rsp + 0x12c]
mov rdx, rbp
mov rcx, rsi
call fcn.140090a80
test edi, edi
js 0x140022f00
cmp edi, dword [rsi - 0xc]
jg 0x140022f00
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 0x140022e89
lea r9, [rsp + 0x88]
xor r8d, r8d
lea rdx, str.Manufacturer
mov rcx, rax
call qword [sym.imp.SETUPAPI.dll_SetupFindFirstLineW]
test eax, eax
je 0x140022e7f
mov qword [rsp + 0x20], 0
mov r9d, 0x100
lea r8, [rsp + 0x560]
mov edx, 1
lea rcx, [rsp + 0x88]
call qword [sym.imp.SETUPAPI.dll_SetupGetStringFieldW]
test eax, eax
je 0x140022e7f
lea rax, [rsp + 0x88]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0xfb0]
lea r8, [rsp + 0x560]
mov rdx, rbp
mov rcx, r15
call fcn.140003650
test eax, eax
jne 0x140022a85
mov rcx, rbp
call qword [sym.imp.SETUPAPI.dll_SetupCloseInfFile]
nop
lea rdx, [rsi - 0x18]
mov eax, r14d
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x140022ea5
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
jmp 0x140022ea5
lea r9, [rsp + 0x88]
xor r8d, r8d
lea rdx, [rsp + 0x560]
mov rcx, rbp
call qword [sym.imp.SETUPAPI.dll_SetupFindFirstLineW]
test eax, eax
je 0x140022e7f
mov qword [rsp + 0x20], 0
mov r9d, 0x100
lea r8, [rsp + 0x980]
mov edx, 1
lea rcx, [rsp + 0x88]
call qword [sym.imp.SETUPAPI.dll_SetupGetStringFieldW]
test eax, eax
je 0x140022e7f
lea rax, [rsp + 0xfb0]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x980]
lea r8, [rsp + 0xda0]
mov rdx, rbp
mov rcx, r15
call fcn.140011250
lea r9, [rsp + 0xc0]
lea r8, str.AddService
lea rdx, [rsp + 0xda0]
mov rcx, rbp
call qword [sym.imp.SETUPAPI.dll_SetupFindFirstLineW]
test eax, eax
je 0x140022e57
mov qword [rsp + 0x20], 0
mov r9d, 0x100
lea r8, [rsp + 0x560]
mov edx, 1
lea rcx, [rsp + 0xc0]
call qword [sym.imp.SETUPAPI.dll_SetupGetStringFieldW]
test eax, eax
je 0x140022e2f
xor eax, eax
mov rcx, r14
lea rdi, [rsp + 0x560]
repne scasw ax, word [rdi]
not rcx
sub rcx, 1
mov rdi, rcx
test ecx, ecx
jne 0x140022bda
lea rdx, [rbx - 0x18]
mov rdi, qword [rdx]
cmp dword [rdx + 8], eax
je 0x140022c6e
cmp dword [rdx + 0x10], eax
jge 0x140022ba6
cmp dword [rbx - 0xc], eax
jl 0x140022ecf
xor edi, edi
mov dword [rbx - 0x10], edi
mov word [rbx], ax
jmp 0x140022c6e
mov eax, r14d
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x140022bbe
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 + 0x50]
jmp 0x140022c6e
mov r12d, dword [rbx - 0x10]
lea r13, [rsp + 0x560]
sub r13, rbx
sar r13, 1
mov ecx, 1
sub ecx, dword [rbx - 8]
mov eax, dword [rbx - 0xc]
sub eax, edi
or eax, ecx
jge 0x140022c0e
mov edx, edi
lea rcx, [rsp + 0x40]
call fcn.140004650
mov rbx, qword [rsp + 0x40]
cmp r13, r12
ja 0x140022c2e
movsxd rax, edi
lea r12, [rax + rax]
lea r8, [rbx + r13*2]
mov r9, r12
mov rdx, r12
mov rcx, rbx
call fcn.140090b50
jmp 0x140022c4b
movsxd rax, edi
lea r12, [rax + rax]
mov r9, r12
lea r8, [rsp + 0x560]
mov rdx, r12
mov rcx, rbx
call fcn.140090a80
test edi, edi
js 0x140022ee5
cmp edi, dword [rbx - 0xc]
jg 0x140022ee5
mov dword [rbx - 0x10], edi
mov word [r12 + rbx], 0
mov r13, qword [rsp + 0x80]
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 0x140022c94
mov edx, edi
lea rcx, [rsp + 0x40]
call fcn.140004650
mov rbx, qword [rsp + 0x40]
lea eax, [rdi + 1]
movsxd rdx, eax
mov rcx, rbx
call fcn.140091030
test edi, edi
js 0x140022eda
cmp edi, dword [rbx - 0xc]
jg 0x140022eda
mov dword [rbx - 0x10], edi
mov word [rbx + rdi*2], 0
mov rax, qword [rsp + 0x60]
mov rdx, qword [rax]
test rdx, rdx
je 0x140022e03
cmp dword [rbx - 0x10], 0
jl 0x140022e03
mov rcx, rbx
call fcn.140090a10
test rax, rax
je 0x140022e03
sub rax, rbx
sar rax, 1
cmp eax, 0xffffffff
je 0x140022e03
mov edx, 0x104
lea rcx, [rsp + 0x350]
call qword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
lea r8, str.inf_
mov edx, 0x104
lea rcx, [rsp + 0x350]
call fcn.140092500
lea r8, [rsp + 0x12c]
mov edx, 0x104
lea rcx, [rsp + 0x350]
call fcn.140092500
lea rdx, [rsp + 0x350]
lea rcx, [rsp + 0xa0]
call fcn.1400119e0
mov rdx, rax
mov rcx, r15
call fcn.140014bb0
mov edi, eax
lea r9, [rsp + 0x58]
xor r8d, r8d
lea edx, [r8 + 0x24]
lea rcx, [rsp + 0x350]
call fcn.1400027c0
test eax, eax
je 0x140022d8e
mov r8d, eax
xor edx, edx
mov rcx, r15
call fcn.14000b760
jmp 0x140022e7f
test edi, edi
je 0x140022dac
movsxd rax, dword [r15 + 0x3afd0]
imul rax, rax, 0x12c8
mov dword [rax + r15 + 0x4bc], 1
lea rdx, [0x1400ded04]
lea rcx, [rsp + 0x350]
call fcn.140090a10
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 + 0x350]
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
lea rcx, [rsp + 0x350]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
jmp 0x140022e7f
mov rcx, rbp
call qword [sym.imp.SETUPAPI.dll_SetupCloseInfFile]
nop
lea rdx, [rsi - 0x18]
mov eax, r14d
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x140022ea5
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
jmp 0x140022ea5
mov rcx, rbp
call qword [sym.imp.SETUPAPI.dll_SetupCloseInfFile]
nop
lea rdx, [rsi - 0x18]
mov eax, r14d
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x140022ea5
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
jmp 0x140022ea5
mov rcx, rbp
call qword [sym.imp.SETUPAPI.dll_SetupCloseInfFile]
nop
lea rdx, [rsi - 0x18]
mov eax, r14d
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x140022ea5
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
jmp 0x140022ea5
mov rcx, rbp
call qword [sym.imp.SETUPAPI.dll_SetupCloseInfFile]
nop
lea rdx, [rsi - 0x18]
mov eax, r14d
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x140022ea5
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
lea rdx, [rsp + 0x100]
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
je 0x140022ef0
mov rbx, qword [rsp + 0x40]
jmp 0x140022845
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, r13
call qword [sym.imp.KERNEL32.dll_FindClose]
mov rbx, qword [rsp + 0x40]
jmp 0x140022f16
mov ecx, 0x80070057
call fcn.140001610
nop
mov ecx, 0x80004005
call fcn.140001610
nop
lea rdx, [rbx - 0x18]
mov eax, r14d
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x140022f33
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rax, qword [rsp + 0x60]
mov rdx, qword [rax]
sub rdx, 0x18
lock xadd dword [rdx + 0x10], r14d
add r14d, 0xffffffff
test r14d, r14d
jg 0x140022f57
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
xor eax, eax
mov rcx, qword [rsp + 0x17f0]
xor rcx, rsp
call fcn.140090720
mov rbx, qword [rsp + 0x1850]
add rsp, 0x1800
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret