Function at 0x1400481a0
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 [0x14021c658], 0xb23a8c33
je 0x140048216
mov ecx, 0x6c0
call fcn.140111d34
mov qword [rbp - 0x19], rax
test rax, rax
je 0x14004820b
mov rcx, rax
call fcn.140036570
mov rcx, rax
jmp 0x14004820d
xor ecx, ecx
mov qword [0x140229e08], rcx
jmp 0x14004821d
mov rcx, qword [0x140229e08]
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 0x1400482a1
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 0x14004832b
mov eax, dword [rbx + 0x10]
cmp eax, r15d
je 0x140048290
mov eax, r15d
lock xadd dword [rbx + 0x10], eax
sub eax, 1
jg 0x14004832b
mov rcx, qword [rbx]
mov rax, qword [rcx]
mov rdx, rbx
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
jmp 0x14004832b
cmp dword [rbx + 0xc], 0x820
jg 0x14004831f
mov eax, 0x820
mov r9d, 1
add r9d, r9d
shr eax, 1
jne 0x1400482b5
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 0x14004832b
mov eax, dword [rbx + 0x10]
cmp eax, r15d
je 0x140048311
mov eax, r15d
lock xadd dword [rbx + 0x10], eax
sub eax, 1
jg 0x14004832b
mov rcx, qword [rbx]
mov rax, qword [rcx]
mov rdx, rbx
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
jmp 0x14004832b
mov r15d, 0xffffffff
mov eax, r15d
xchg dword [rbx + 0x10], eax
mov rax, qword [0x140229e60]
test rax, rax
je 0x14004833d
mov rcx, qword [rax + 8]
jmp 0x14004833f
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 0x14004835f
xor ecx, ecx
jmp 0x140048376
mov rcx, rbx
movzx eax, word [rcx]
add rcx, 2
test ax, ax
jne 0x140048362
sub rcx, rbx
sar rcx, 1
dec ecx
mov dword [r13 + 8], ecx
mov eax, dword [r13 + 0x10]
cmp eax, 0xffffffff
jne 0x14004838c
mov eax, 1
xchg dword [r13 + 0x10], eax
cmp dword [0x14021c658], 0xb23a8c33
je 0x1400483c4
mov ecx, 0x6c0
call fcn.140111d34
mov qword [rsp + 0x58], rax
test rax, rax
je 0x1400483b9
mov rcx, rax
call fcn.140036570
mov rcx, rax
jmp 0x1400483bb
xor ecx, ecx
mov qword [0x140229e08], rcx
jmp 0x1400483cb
mov rcx, qword [0x140229e08]
mov rax, qword [rcx]
call qword [rax + 0x30]
mov qword [rsp + 0x58], rax
lea rdx, [rbp - 0x71]
mov rcx, rdi
call fcn.140048060
nop
mov rdx, qword [rbp - 0x79]
lea rcx, [rbp - 0x39]
call fcn.1400507a0
nop
lea r8, str.Portable.dat
lea rdx, [rbp - 0x71]
lea rcx, [rbp - 0x11]
call fcn.14003f3a0
nop
xor edx, edx
mov rcx, qword [rax]
call fcn.140042070
movzx ebx, al
mov rdx, qword [rbp - 0x11]
add rdx, 0xffffffffffffffe8
mov ecx, dword [rdx + 0x10]
cmp ecx, 0x7ffffc17
je 0x140048445
mov eax, dword [rdx + 0x10]
cmp eax, 0xffffffff
je 0x14004843b
mov eax, r15d
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140048445
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
test bl, bl
je 0x140048473
lea rdx, [rbp - 0x71]
lea rcx, [rsp + 0x58]
call fcn.140037020
mov rax, qword [rdi]
mov rcx, qword [rax + 0x18]
test rcx, rcx
je 0x140048c42
mov byte [rcx + 0xa48], 1
jmp 0x140048c42
cmp dword [0x14021c658], 0xb23a8c33
je 0x1400484aa
mov ecx, 0x6c0
call fcn.140111d34
mov qword [rbp - 0x31], rax
test rax, rax
je 0x14004849f
mov rcx, rax
call fcn.140036570
mov rcx, rax
jmp 0x1400484a1
xor ecx, ecx
mov qword [0x140229e08], rcx
jmp 0x1400484b1
mov rcx, qword [0x140229e08]
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 rsi, str.x64_
mov rcx, rsi
movzx eax, word [rcx]
add rcx, 2
test ax, ax
jne 0x1400484e4
sub rcx, rsi
sar rcx, 1
dec ecx
mov rax, qword [rbp - 0x39]
mov edx, dword [rax - 0x10]
sub edx, ecx
js 0x14004856f
movsxd rcx, edx
lea rdi, [rax + rcx*2]
cmp dword [0x14021c658], 0xb23a8c33
je 0x14004853b
mov ecx, 0x6c0
call fcn.140111d34
mov qword [rbp - 0x31], rax
test rax, rax
je 0x140048532
mov rcx, rax
call fcn.140036570
nop
mov qword [0x140229e08], rax
jmp 0x140048542
mov rax, qword [0x140229e08]
mov r8, rsi
mov rdx, rdi
mov rcx, rax
call fcn.140014c90
test eax, eax
jne 0x14004856f
mov byte [rsp + 0x20], al
xor r9d, r9d
lea rdx, str.SoftwareWOW6432NodeJ._RiverMedia_CoreInstallations
lea rcx, [rbp - 0x41]
call fcn.14003bb00
mov rbx, qword [rbp - 0x41]
xor esi, esi
mov qword [rbp - 0x59], rsi
mov dword [rbp - 0x51], esi
mov qword [rbp - 0x31], rsi
lea rax, [rbp - 0x31]
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 0x1400485bc
mov rcx, qword [rbp - 0x59]
test rcx, rcx
je 0x1400485b1
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rax, qword [rbp - 0x31]
mov qword [rbp - 0x59], rax
mov dword [rbp - 0x51], esi
lea r8, [0x1401acff0]
lea rdx, [rbp - 0x29]
lea rcx, [rbp - 0x59]
call fcn.140040470
nop
mov r12d, esi
cmp dword [0x14021c658], 0xb23a8c33
je 0x14004860d
mov ecx, 0x6c0
call fcn.140111d34
mov qword [rsp + 0x50], rax
test rax, rax
je 0x140048601
mov rcx, rax
call fcn.140036570
mov rcx, rax
jmp 0x140048604
mov rcx, rsi
mov qword [0x140229e08], rcx
jmp 0x140048614
mov rcx, qword [0x140229e08]
mov rax, qword [rcx]
call qword [rax + 0x30]
mov qword [rsp + 0x50], rax
nop
xor bl, bl
lea rcx, [rsp + 0x50]
call fcn.14015a8f1
cmp qword [rbp - 0x59], 0
je 0x14004869b
mov r9b, 1
xor r8d, r8d
mov edx, 0x100
lea rcx, [rsp + 0x50]
call fcn.140037200
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 0x140048671
mov edx, esi
jmp 0x140048688
mov rdx, rax
movzx ecx, word [rdx]
add rdx, 2
test cx, cx
jne 0x140048674
sub rdx, rax
sar rdx, 1
dec edx
mov dword [rax - 0x10], edx
mov ecx, dword [rax - 8]
cmp ecx, 0xffffffff
jne 0x14004869b
mov ecx, 1
xchg dword [rax - 8], ecx
inc r12d
test bl, bl
je 0x140048b8b
mov qword [rbp - 0x69], rsi
mov dword [rbp - 0x61], esi
lea r8, [0x1401aeec8]
lea rdx, [rbp - 0x41]
lea rcx, [rbp - 9]
call fcn.14003f3a0
mov rsi, rax
lea rcx, [rbp - 0x49]
call fcn.14000a680
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.140037200
mov rdi, rax
mov rdx, qword [rsi]
movsxd r8, dword [rdx - 0x10]
add r8, r8
mov rcx, rax
call fcn.1401535f0
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.1401535f0
mov rax, qword [rbp - 0x49]
cmp r14d, 0xffffffff
jne 0x140048758
test rax, rax
jne 0x140048738
xor esi, esi
mov edx, esi
jmp 0x140048764
mov rdx, rax
nop dword [rax + rax]
movzx ecx, word [rdx]
add rdx, 2
test cx, cx
jne 0x140048740
sub rdx, rax
sar rdx, 1
dec edx
xor esi, esi
jmp 0x140048764
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 0x140048777
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 0x1400487bc
mov rcx, qword [rbp - 0x69]
test rcx, rcx
je 0x1400487b1
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 0x1400487f2
mov eax, dword [rdx + 0x10]
cmp eax, 0xffffffff
je 0x1400487e8
mov eax, r15d
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x1400487f2
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 0x140048823
mov eax, dword [rdx + 0x10]
cmp eax, 0xffffffff
je 0x140048819
mov eax, r15d
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140048823
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.140040470
nop
mov rdi, qword [rsp + 0x40]
cmp dword [rdi - 0x10], 0
jle 0x140048aad
mov rax, qword [rbp + 0x6f]
mov r9, qword [rax]
cmp dword [r9 - 0x10], 0
jle 0x140048911
mov rax, qword [rsp + 0x50]
test rax, rax
jne 0x1400488ba
test r9, r9
je 0x140048873
cmp word [r9], ax
jne 0x140048aad
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x58]
call fcn.140037020
nop
mov rdx, qword [rsp + 0x40]
add rdx, 0xffffffffffffffe8
mov eax, dword [rdx + 0x10]
cmp eax, 0x7ffffc17
je 0x1400488b5
mov eax, dword [rdx + 0x10]
cmp eax, 0xffffffff
je 0x1400488ab
mov eax, r15d
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x1400488b5
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
jmp 0x140048b7b
test r9, r9
jne 0x1400488c5
cmp word [rax], r9w
jmp 0x140048901
movzx ecx, word [rax]
cmp cx, word [r9]
jne 0x140048aad
mov rdx, rsi
cmp cx, 0
je 0x1400488f8
mov r8, rsi
nop
cmp cx, word [r8 + r9]
jne 0x1400488f8
inc rdx
lea r8, [rdx + rdx]
movzx ecx, word [r8 + rax]
test cx, cx
jne 0x1400488e0
movzx ecx, word [r9 + rdx*2]
cmp word [rax + rdx*2], cx
sete al
test al, al
jne 0x140048873
jmp 0x140048aad
mov rdx, qword [rbp - 0x71]
cmp dword [rdx - 0x10], 0
jle 0x14004899e
cmp word [rdi], 0
je 0x140048af5
mov rbx, rdi
nop dword [rax]
movzx eax, word [rbx]
add rbx, 2
test ax, ax
jne 0x140048930
sub rbx, rdi
sar rbx, 1
cmp dword [0x14021c658], 0xb23a8c33
je 0x14004897b
mov ecx, 0x6c0
call fcn.140111d34
mov qword [rbp + 7], rax
test rax, rax
je 0x14004896b
mov rcx, rax
call fcn.140036570
jmp 0x14004896e
mov rax, rsi
mov qword [0x140229e08], rax
mov rdx, qword [rbp - 0x71]
jmp 0x140048982
mov rax, qword [0x140229e08]
lea r9d, [rbx - 1]
mov r8, rdi
mov rcx, rax
call fcn.140040280
test eax, eax
je 0x140048af5
mov rdi, qword [rsp + 0x40]
mov rdx, qword [rbp - 0x39]
cmp dword [rdx - 0x10], 0
jle 0x140048a30
test rdi, rdi
je 0x140048b39
cmp word [rdi], 0
je 0x140048b39
mov rbx, rdi
movzx eax, word [rbx]
add rbx, 2
test ax, ax
jne 0x1400489c2
sub rbx, rdi
sar rbx, 1
cmp dword [0x14021c658], 0xb23a8c33
je 0x140048a0d
mov ecx, 0x6c0
call fcn.140111d34
mov qword [rbp - 1], rax
test rax, rax
je 0x1400489fd
mov rcx, rax
call fcn.140036570
jmp 0x140048a00
mov rax, rsi
mov qword [0x140229e08], rax
mov rdx, qword [rbp - 0x39]
jmp 0x140048a14
mov rax, qword [0x140229e08]
lea r9d, [rbx - 1]
mov r8, rdi
mov rcx, rax
call fcn.140040280
test eax, eax
je 0x140048b39
mov rdi, qword [rsp + 0x40]
mov rax, qword [rsp + 0x50]
test rax, rax
jne 0x140048a4b
mov rax, qword [rbp - 0x29]
test rax, rax
je 0x140048a99
cmp word [rax], 0
je 0x140048a99
jmp 0x140048aad
mov rcx, qword [rbp - 0x29]
test rcx, rcx
jne 0x140048a59
cmp word [rax], cx
jmp 0x140048a92
movzx edx, word [rax]
cmp dx, word [rcx]
jne 0x140048aad
mov r8, rsi
cmp dx, 0
je 0x140048a88
mov r9, rsi
nop dword [rax]
cmp dx, word [r9 + rcx]
jne 0x140048a88
inc r8
lea r9, [r8 + r8]
movzx edx, word [r9 + rax]
test dx, dx
jne 0x140048a70
movzx edx, word [rcx + r8*2]
cmp word [rax + r8*2], dx
sete al
test al, al
je 0x140048aad
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x58]
call fcn.140037020
mov rdi, qword [rsp + 0x40]
lea rdx, [rdi - 0x18]
mov eax, dword [rdx + 0x10]
cmp eax, 0x7ffffc17
je 0x140048ada
mov eax, dword [rdx + 0x10]
cmp eax, 0xffffffff
je 0x140048ad0
mov eax, r15d
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140048ada
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 0x140048aed
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rbp - 0x69], rsi
mov dword [rbp - 0x61], esi
jmp 0x140048620
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x58]
call fcn.140037020
nop
mov rdx, qword [rsp + 0x40]
add rdx, 0xffffffffffffffe8
mov eax, dword [rdx + 0x10]
cmp eax, 0x7ffffc17
je 0x140048b37
mov eax, dword [rdx + 0x10]
cmp eax, 0xffffffff
je 0x140048b2d
mov eax, r15d
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140048b37
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
jmp 0x140048b7b
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x58]
call fcn.140037020
nop
mov rdx, qword [rsp + 0x40]
add rdx, 0xffffffffffffffe8
mov eax, dword [rdx + 0x10]
cmp eax, 0x7ffffc17
je 0x140048b7b
mov eax, dword [rdx + 0x10]
cmp eax, 0xffffffff
je 0x140048b71
mov eax, r15d
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140048b7b
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 0x140048b8b
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 0x140048bbd
mov eax, dword [rdx + 0x10]
cmp eax, 0xffffffff
je 0x140048bb3
mov eax, r15d
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140048bbd
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rbp - 0x29]
add rdx, 0xffffffffffffffe8
mov eax, dword [rdx + 0x10]
cmp eax, 0x7ffffc17
je 0x140048bee
mov eax, dword [rdx + 0x10]
cmp eax, 0xffffffff
je 0x140048be4
mov eax, r15d
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140048bee
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 0x140048c01
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 0x140048c35
mov eax, dword [rdx + 0x10]
cmp eax, 0xffffffff
je 0x140048c2b
mov eax, r15d
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140048c35
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 0x140048c73
mov eax, dword [rdx + 0x10]
cmp eax, 0xffffffff
je 0x140048c69
mov eax, r15d
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140048c73
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 0x140048ca4
mov eax, dword [rdx + 0x10]
cmp eax, 0xffffffff
je 0x140048c9a
mov eax, r15d
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140048ca4
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.14000a560
movzx r9d, sil
movzx r8d, r14b
mov rdx, rax
mov rcx, rdi
call fcn.140048d40
nop
mov rdx, qword [rsp + 0x58]
add rdx, 0xffffffffffffffe8
mov eax, dword [rdx + 0x10]
cmp eax, 0x7ffffc17
je 0x140048cf8
mov eax, dword [rdx + 0x10]
cmp eax, 0xffffffff
je 0x140048cee
mov eax, r15d
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140048cf8
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 0x140048d26
mov eax, dword [r13 + 0x10]
cmp eax, 0xffffffff
je 0x140048d18
lock xadd dword [r13 + 0x10], r15d
sub r15d, 1
jg 0x140048d26
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