Function at 0x14004a9c0
Capabilities:
Query or enumerate registry key

Disassembly:
mov byte [rsp + 0x20], r9b
mov byte [rsp + 0x18], r8b
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1f]
sub rsp, 0xf8
movzx esi, r9b
movzx r14d, r8b
mov rdi, rcx
mov dword [rsp + 0x48], 0
cmp dword [0x1401eb6c0], 0xb23a8c33
je 0x14004aa36
mov ecx, 0x6c0
call fcn.1400f2ce0
mov qword [rbp - 0x19], rax
test rax, rax
je 0x14004aa2b
mov rcx, rax
call fcn.1400302c0
mov rcx, rax
jmp 0x14004aa2d
xor ecx, ecx
mov qword [0x1401f7b90], rcx
jmp 0x14004aa3d
mov rcx, qword [0x1401f7b90]
mov rax, qword [rcx]
call qword [rax + 0x30]
mov qword [rbp - 0x79], rax
lea rbx, [rax - 0x18]
mov rcx, qword [rbx]
mov eax, dword [rbx + 0x10]
cmp eax, 1
jle 0x14004aac1
mov rax, qword [rcx]
mov byte [rsp + 0x30], 1
mov byte [rsp + 0x28], 1
mov byte [rsp + 0x20], 1
mov r9d, 0x820
mov r8d, dword [rbx + 8]
mov rdx, qword [rbp - 0x79]
call qword [rax + 0x28]
mov qword [rbp - 0x79], rax
mov r15d, 0xffffffff
mov ecx, r15d
xchg dword [rax - 8], ecx
mov eax, dword [rbx + 0x10]
cmp eax, 0x7ffffc17
je 0x14004ab4b
mov eax, dword [rbx + 0x10]
cmp eax, r15d
je 0x14004aab0
mov eax, r15d
lock xadd dword [rbx + 0x10], eax
sub eax, 1
jg 0x14004ab4b
mov rcx, qword [rbx]
mov rax, qword [rcx]
mov rdx, rbx
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
jmp 0x14004ab4b
cmp dword [rbx + 0xc], 0x820
jg 0x14004ab3f
mov eax, 0x820
mov r9d, 1
add r9d, r9d
shr eax, 1
jne 0x14004aad5
mov eax, dword [rbx + 0x10]
mov r10, qword [rcx]
cmp eax, 0xffffffff
setne al
mov byte [rsp + 0x30], 1
mov byte [rsp + 0x28], al
mov byte [rsp + 0x20], 0
mov r8d, dword [rbx + 8]
mov rdx, qword [rbp - 0x79]
call qword [r10 + 0x28]
mov qword [rbp - 0x79], rax
mov r15d, 0xffffffff
mov ecx, r15d
xchg dword [rax - 8], ecx
mov eax, dword [rbx + 0x10]
cmp eax, 0x7ffffc17
je 0x14004ab4b
mov eax, dword [rbx + 0x10]
cmp eax, r15d
je 0x14004ab31
mov eax, r15d
lock xadd dword [rbx + 0x10], eax
sub eax, 1
jg 0x14004ab4b
mov rcx, qword [rbx]
mov rax, qword [rcx]
mov rdx, rbx
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
jmp 0x14004ab4b
mov r15d, 0xffffffff
mov eax, r15d
xchg dword [rbx + 0x10], eax
mov rax, qword [0x1401f7bb0]
test rax, rax
je 0x14004ab5d
mov rcx, qword [rax + 8]
jmp 0x14004ab5f
xor ecx, ecx
mov r8d, 0x820
mov rbx, qword [rbp - 0x79]
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea r13, [rbx - 0x18]
test rbx, rbx
jne 0x14004ab7f
xor ecx, ecx
jmp 0x14004ab96
mov rcx, rbx
movzx eax, word [rcx]
add rcx, 2
test ax, ax
jne 0x14004ab82
sub rcx, rbx
sar rcx, 1
dec ecx
mov dword [r13 + 8], ecx
mov eax, dword [r13 + 0x10]
cmp eax, 0xffffffff
jne 0x14004abac
mov eax, 1
xchg dword [r13 + 0x10], eax
cmp dword [0x1401eb6c0], 0xb23a8c33
je 0x14004abe4
mov ecx, 0x6c0
call fcn.1400f2ce0
mov qword [rsp + 0x58], rax
test rax, rax
je 0x14004abd9
mov rcx, rax
call fcn.1400302c0
mov rcx, rax
jmp 0x14004abdb
xor ecx, ecx
mov qword [0x1401f7b90], rcx
jmp 0x14004abeb
mov rcx, qword [0x1401f7b90]
mov rax, qword [rcx]
call qword [rax + 0x30]
mov qword [rsp + 0x58], rax
lea rdx, [rbp - 0x71]
mov rcx, rdi
call fcn.14004a880
nop
mov rdx, qword [rbp - 0x79]
lea rcx, [rbp - 0x39]
call fcn.1400435e0
nop
lea r8, str.Portable.dat
lea rdx, [rbp - 0x71]
lea rcx, [rbp - 0x11]
call fcn.140038200
nop
xor edx, edx
mov rcx, qword [rax]
call fcn.140040780
movzx ebx, al
mov rdx, qword [rbp - 0x11]
add rdx, 0xffffffffffffffe8
mov ecx, dword [rdx + 0x10]
cmp ecx, 0x7ffffc17
je 0x14004ac65
mov eax, dword [rdx + 0x10]
cmp eax, 0xffffffff
je 0x14004ac5b
mov eax, r15d
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14004ac65
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
test bl, bl
je 0x14004ac93
lea rdx, [rbp - 0x71]
lea rcx, [rsp + 0x58]
call fcn.140030d70
mov rax, qword [rdi]
mov rcx, qword [rax + 0x18]
test rcx, rcx
je 0x14004b3f2
mov byte [rcx + 0xa48], 1
jmp 0x14004b3f2
cmp dword [0x1401eb6c0], 0xb23a8c33
je 0x14004acca
mov ecx, 0x6c0
call fcn.1400f2ce0
mov qword [rbp - 0x29], rax
test rax, rax
je 0x14004acbf
mov rcx, rax
call fcn.1400302c0
mov rcx, rax
jmp 0x14004acc1
xor ecx, ecx
mov qword [0x1401f7b90], rcx
jmp 0x14004acd1
mov rcx, qword [0x1401f7b90]
mov rax, qword [rcx]
mov byte [rsp + 0x30], 1
mov byte [rsp + 0x28], 0
mov byte [rsp + 0x20], 0
mov r9d, r15d
mov r8d, r15d
lea rdx, str.SoftwareJ._RiverMedia_CoreInstallations
call qword [rax + 0x28]
mov rbx, rax
mov qword [rbp - 0x41], rax
lea rcx, [rbp - 0x39]
call fcn.140037800
test al, al
je 0x14004ad1e
xor r9d, r9d
lea rdx, str.SoftwareWOW6432NodeJ._RiverMedia_CoreInstallations
lea rcx, [rbp - 0x41]
call fcn.140035440
mov rbx, qword [rbp - 0x41]
xor esi, esi
mov qword [rbp - 0x59], rsi
mov dword [rbp - 0x51], esi
mov qword [rbp - 0x29], rsi
lea rax, [rbp - 0x29]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
mov rdx, rbx
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14004ad6b
mov rcx, qword [rbp - 0x59]
test rcx, rcx
je 0x14004ad60
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rax, qword [rbp - 0x29]
mov qword [rbp - 0x59], rax
mov dword [rbp - 0x51], esi
lea r8, [0x14018ac20]
lea rdx, [rbp - 0x31]
lea rcx, [rbp - 0x59]
call fcn.14003f140
nop
mov r12d, esi
cmp dword [0x1401eb6c0], 0xb23a8c33
je 0x14004adbc
mov ecx, 0x6c0
call fcn.1400f2ce0
mov qword [rsp + 0x50], rax
test rax, rax
je 0x14004adb0
mov rcx, rax
call fcn.1400302c0
mov rcx, rax
jmp 0x14004adb3
mov rcx, rsi
mov qword [0x1401f7b90], rcx
jmp 0x14004adc3
mov rcx, qword [0x1401f7b90]
mov rax, qword [rcx]
call qword [rax + 0x30]
mov qword [rsp + 0x50], rax
nop
xor bl, bl
lea rcx, [rsp + 0x50]
call fcn.1400310b0
cmp qword [rbp - 0x59], 0
je 0x14004ae4b
mov r9b, 1
xor r8d, r8d
mov edx, 0x100
lea rcx, [rsp + 0x50]
call fcn.140030f50
mov r9d, 0xff
mov r8, rax
mov edx, r12d
mov rcx, qword [rbp - 0x59]
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
test eax, eax
sete bl
mov rax, qword [rsp + 0x50]
test rax, rax
jne 0x14004ae21
mov edx, esi
jmp 0x14004ae38
mov rdx, rax
movzx ecx, word [rdx]
add rdx, 2
test cx, cx
jne 0x14004ae24
sub rdx, rax
sar rdx, 1
dec edx
mov dword [rax - 0x10], edx
mov ecx, dword [rax - 8]
cmp ecx, 0xffffffff
jne 0x14004ae4b
mov ecx, 1
xchg dword [rax - 8], ecx
inc r12d
test bl, bl
je 0x14004b33b
mov qword [rbp - 0x69], rsi
mov dword [rbp - 0x61], esi
lea r8, [0x14018b0d0]
lea rdx, [rbp - 0x41]
lea rcx, [rbp - 9]
call fcn.140038200
mov rsi, rax
lea rcx, [rbp - 0x49]
call fcn.140002570
or dword [rsp + 0x48], 1
mov rbx, qword [rsp + 0x50]
mov rcx, qword [rsi]
mov r14d, dword [rcx - 0x10]
add r14d, dword [rbx - 0x10]
mov r9b, 1
xor r8d, r8d
mov edx, r14d
lea rcx, [rbp - 0x49]
call fcn.140030f50
mov rdi, rax
mov rdx, qword [rsi]
movsxd r8, dword [rdx - 0x10]
add r8, r8
mov rcx, rax
call fcn.140136430
movsxd r8, dword [rbx - 0x10]
add r8, r8
mov rcx, qword [rsi]
movsxd rdx, dword [rcx - 0x10]
lea rcx, [rdi + rdx*2]
mov rdx, rbx
call fcn.140136430
mov rax, qword [rbp - 0x49]
cmp r14d, 0xffffffff
jne 0x14004af08
test rax, rax
jne 0x14004aee8
xor esi, esi
mov edx, esi
jmp 0x14004af14
mov rdx, rax
nop dword [rax + rax]
movzx ecx, word [rdx]
add rdx, 2
test cx, cx
jne 0x14004aef0
sub rdx, rax
sar rdx, 1
dec edx
xor esi, esi
jmp 0x14004af14
movsxd rcx, r14d
xor esi, esi
mov word [rax + rcx*2], si
mov edx, r14d
mov dword [rax - 0x10], edx
mov ecx, dword [rax - 8]
cmp ecx, 0xffffffff
jne 0x14004af27
mov ecx, 1
xchg dword [rax - 8], ecx
mov qword [rbp - 0x21], rsi
lea rax, [rbp - 0x21]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
mov rdx, qword [rbp - 0x49]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14004af6c
mov rcx, qword [rbp - 0x69]
test rcx, rcx
je 0x14004af61
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rax, qword [rbp - 0x21]
mov qword [rbp - 0x69], rax
mov dword [rbp - 0x61], esi
and dword [rsp + 0x48], 0xfffffffe
mov rdx, qword [rbp - 0x49]
add rdx, 0xffffffffffffffe8
mov eax, dword [rdx + 0x10]
cmp eax, 0x7ffffc17
je 0x14004afa2
mov eax, dword [rdx + 0x10]
cmp eax, 0xffffffff
je 0x14004af98
mov eax, r15d
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14004afa2
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rbp - 9]
add rdx, 0xffffffffffffffe8
mov eax, dword [rdx + 0x10]
cmp eax, 0x7ffffc17
je 0x14004afd3
mov eax, dword [rdx + 0x10]
cmp eax, 0xffffffff
je 0x14004afc9
mov eax, r15d
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14004afd3
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
lea r8, str.Path
lea rdx, [rsp + 0x40]
lea rcx, [rbp - 0x69]
call fcn.14003f140
nop
mov rdi, qword [rsp + 0x40]
cmp dword [rdi - 0x10], 0
jle 0x14004b25d
mov rax, qword [rbp + 0x6f]
mov r9, qword [rax]
cmp dword [r9 - 0x10], 0
jle 0x14004b0c1
mov rax, qword [rsp + 0x50]
test rax, rax
jne 0x14004b06a
test r9, r9
je 0x14004b023
cmp word [r9], ax
jne 0x14004b25d
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x58]
call fcn.140030d70
nop
mov rdx, qword [rsp + 0x40]
add rdx, 0xffffffffffffffe8
mov eax, dword [rdx + 0x10]
cmp eax, 0x7ffffc17
je 0x14004b065
mov eax, dword [rdx + 0x10]
cmp eax, 0xffffffff
je 0x14004b05b
mov eax, r15d
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14004b065
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
jmp 0x14004b32b
test r9, r9
jne 0x14004b075
cmp word [rax], r9w
jmp 0x14004b0b1
movzx ecx, word [rax]
cmp cx, word [r9]
jne 0x14004b25d
mov rdx, rsi
cmp cx, 0
je 0x14004b0a8
mov r8, rsi
nop
cmp cx, word [r8 + r9]
jne 0x14004b0a8
inc rdx
lea r8, [rdx + rdx]
movzx ecx, word [r8 + rax]
test cx, cx
jne 0x14004b090
movzx ecx, word [r9 + rdx*2]
cmp word [rax + rdx*2], cx
sete al
test al, al
jne 0x14004b023
jmp 0x14004b25d
mov rdx, qword [rbp - 0x71]
cmp dword [rdx - 0x10], 0
jle 0x14004b14e
cmp word [rdi], 0
je 0x14004b2a5
mov rbx, rdi
nop dword [rax]
movzx eax, word [rbx]
add rbx, 2
test ax, ax
jne 0x14004b0e0
sub rbx, rdi
sar rbx, 1
cmp dword [0x1401eb6c0], 0xb23a8c33
je 0x14004b12b
mov ecx, 0x6c0
call fcn.1400f2ce0
mov qword [rbp + 7], rax
test rax, rax
je 0x14004b11b
mov rcx, rax
call fcn.1400302c0
jmp 0x14004b11e
mov rax, rsi
mov qword [0x1401f7b90], rax
mov rdx, qword [rbp - 0x71]
jmp 0x14004b132
mov rax, qword [0x1401f7b90]
lea r9d, [rbx - 1]
mov r8, rdi
mov rcx, rax
call fcn.140039450
test eax, eax
je 0x14004b2a5
mov rdi, qword [rsp + 0x40]
mov rdx, qword [rbp - 0x39]
cmp dword [rdx - 0x10], 0
jle 0x14004b1e0
test rdi, rdi
je 0x14004b2e9
cmp word [rdi], 0
je 0x14004b2e9
mov rbx, rdi
movzx eax, word [rbx]
add rbx, 2
test ax, ax
jne 0x14004b172
sub rbx, rdi
sar rbx, 1
cmp dword [0x1401eb6c0], 0xb23a8c33
je 0x14004b1bd
mov ecx, 0x6c0
call fcn.1400f2ce0
mov qword [rbp - 1], rax
test rax, rax
je 0x14004b1ad
mov rcx, rax
call fcn.1400302c0
jmp 0x14004b1b0
mov rax, rsi
mov qword [0x1401f7b90], rax
mov rdx, qword [rbp - 0x39]
jmp 0x14004b1c4
mov rax, qword [0x1401f7b90]
lea r9d, [rbx - 1]
mov r8, rdi
mov rcx, rax
call fcn.140039450
test eax, eax
je 0x14004b2e9
mov rdi, qword [rsp + 0x40]
mov rax, qword [rsp + 0x50]
test rax, rax
jne 0x14004b1fb
mov rax, qword [rbp - 0x31]
test rax, rax
je 0x14004b249
cmp word [rax], 0
je 0x14004b249
jmp 0x14004b25d
mov rcx, qword [rbp - 0x31]
test rcx, rcx
jne 0x14004b209
cmp word [rax], cx
jmp 0x14004b242
movzx edx, word [rax]
cmp dx, word [rcx]
jne 0x14004b25d
mov r8, rsi
cmp dx, 0
je 0x14004b238
mov r9, rsi
nop dword [rax]
cmp dx, word [r9 + rcx]
jne 0x14004b238
inc r8
lea r9, [r8 + r8]
movzx edx, word [r9 + rax]
test dx, dx
jne 0x14004b220
movzx edx, word [rcx + r8*2]
cmp word [rax + r8*2], dx
sete al
test al, al
je 0x14004b25d
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x58]
call fcn.140030d70
mov rdi, qword [rsp + 0x40]
lea rdx, [rdi - 0x18]
mov eax, dword [rdx + 0x10]
cmp eax, 0x7ffffc17
je 0x14004b28a
mov eax, dword [rdx + 0x10]
cmp eax, 0xffffffff
je 0x14004b280
mov eax, r15d
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14004b28a
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rcx, qword [rbp - 0x69]
test rcx, rcx
je 0x14004b29d
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rbp - 0x69], rsi
mov dword [rbp - 0x61], esi
jmp 0x14004add0
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x58]
call fcn.140030d70
nop
mov rdx, qword [rsp + 0x40]
add rdx, 0xffffffffffffffe8
mov eax, dword [rdx + 0x10]
cmp eax, 0x7ffffc17
je 0x14004b2e7
mov eax, dword [rdx + 0x10]
cmp eax, 0xffffffff
je 0x14004b2dd
mov eax, r15d
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14004b2e7
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
jmp 0x14004b32b
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x58]
call fcn.140030d70
nop
mov rdx, qword [rsp + 0x40]
add rdx, 0xffffffffffffffe8
mov eax, dword [rdx + 0x10]
cmp eax, 0x7ffffc17
je 0x14004b32b
mov eax, dword [rdx + 0x10]
cmp eax, 0xffffffff
je 0x14004b321
mov eax, r15d
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14004b32b
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rcx, qword [rbp - 0x69]
test rcx, rcx
je 0x14004b33b
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
mov rdx, qword [rsp + 0x50]
add rdx, 0xffffffffffffffe8
mov eax, dword [rdx + 0x10]
cmp eax, 0x7ffffc17
je 0x14004b36d
mov eax, dword [rdx + 0x10]
cmp eax, 0xffffffff
je 0x14004b363
mov eax, r15d
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14004b36d
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rbp - 0x31]
add rdx, 0xffffffffffffffe8
mov eax, dword [rdx + 0x10]
cmp eax, 0x7ffffc17
je 0x14004b39e
mov eax, dword [rdx + 0x10]
cmp eax, 0xffffffff
je 0x14004b394
mov eax, r15d
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14004b39e
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rcx, qword [rbp - 0x59]
test rcx, rcx
je 0x14004b3b1
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rbp - 0x59], rsi
mov dword [rbp - 0x51], esi
mov rdx, qword [rbp - 0x41]
add rdx, 0xffffffffffffffe8
mov eax, dword [rdx + 0x10]
cmp eax, 0x7ffffc17
je 0x14004b3e5
mov eax, dword [rdx + 0x10]
cmp eax, 0xffffffff
je 0x14004b3db
mov eax, r15d
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14004b3e5
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdi, qword [rbp + 0x67]
movzx esi, byte [rbp + 0x7f]
movzx r14d, byte [rbp + 0x77]
mov rdx, qword [rbp - 0x39]
add rdx, 0xffffffffffffffe8
mov eax, dword [rdx + 0x10]
cmp eax, 0x7ffffc17
je 0x14004b423
mov eax, dword [rdx + 0x10]
cmp eax, 0xffffffff
je 0x14004b419
mov eax, r15d
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14004b423
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rbp - 0x71]
add rdx, 0xffffffffffffffe8
mov eax, dword [rdx + 0x10]
cmp eax, 0x7ffffc17
je 0x14004b454
mov eax, dword [rdx + 0x10]
cmp eax, 0xffffffff
je 0x14004b44a
mov eax, r15d
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14004b454
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
lea rdx, [rsp + 0x58]
lea rcx, [rbp - 0x19]
call fcn.140006c10
movzx r9d, sil
movzx r8d, r14b
mov rdx, rax
mov rcx, rdi
call fcn.14004b4f0
nop
mov rdx, qword [rsp + 0x58]
add rdx, 0xffffffffffffffe8
mov eax, dword [rdx + 0x10]
cmp eax, 0x7ffffc17
je 0x14004b4a8
mov eax, dword [rdx + 0x10]
cmp eax, 0xffffffff
je 0x14004b49e
mov eax, r15d
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14004b4a8
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov eax, dword [r13 + 0x10]
cmp eax, 0x7ffffc17
je 0x14004b4d6
mov eax, dword [r13 + 0x10]
cmp eax, 0xffffffff
je 0x14004b4c8
lock xadd dword [r13 + 0x10], r15d
sub r15d, 1
jg 0x14004b4d6
mov rcx, qword [r13]
mov rax, qword [rcx]
mov rdx, r13
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
add rsp, 0xf8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret