Function at 0x140017160
Capabilities:
Load windows common language runtime

Disassembly:
mov qword [rsp + 0x10], rdx
push rbp
push rbx
push rsi
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x27]
sub rsp, 0xb0
xor r15d, r15d
mov rcx, qword [0x14009cbb0]
test rcx, rcx
jne 0x14001726b
mov qword [rbp + 0x77], r15
lea r8, [rbp + 0x77]
lea rdx, [0x1400882d8]
lea rcx, [0x1400882c8]
call qword [sym.imp.mscoree.dll_CLRCreateInstance]
lea rdi, [0x14009cbb0]
test eax, eax
js 0x140017221
mov qword [rbp + 0x6f], r15
mov rcx, qword [rbp + 0x77]
mov rax, qword [rcx]
lea r9, [rbp + 0x6f]
lea r8, [0x1400882b8]
lea rdx, str.v4.0.30319
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
mov ebx, eax
test eax, eax
js 0x140017213
mov rcx, qword [rbp + 0x6f]
mov rax, qword [rcx]
mov r9, rdi
lea r8, [0x140084838]
lea rdx, [0x140084848]
call qword [rax + 0x48]
mov ebx, eax
test eax, eax
js 0x140017209
mov rcx, qword [0x14009cbb0]
mov rax, qword [rcx]
call qword [rax + 0x50]
mov rcx, qword [rbp + 0x6f]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
mov rcx, qword [rbp + 0x77]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
test ebx, ebx
jns 0x140017264
mov rcx, qword [0x14009cbb0]
test rcx, rcx
jne 0x14001726b
mov qword [rsp + 0x20], rdi
lea r9, [0x140084838]
lea r8, [0x140084848]
xor edx, edx
lea rcx, str.v2.0.50727
call qword [sym.imp.mscoree.dll_CorBindToRuntime]
test eax, eax
js 0x1400174a4
mov rcx, qword [0x14009cbb0]
mov rax, qword [rcx]
call qword [rax + 0x50]
mov rcx, qword [0x14009cbb0]
xor r14b, r14b
mov qword [rbp + 0x7f], r15
mov rax, qword [rcx]
lea rdx, [rbp + 0x7f]
call qword [rax + 0x68]
test eax, eax
js 0x14001747e
mov qword [rbp + 0x77], r15
mov rcx, qword [rbp + 0x7f]
test rcx, rcx
je 0x1400174cc
mov qword [rbp + 0x77], r15
mov rax, qword [rcx]
lea r8, [rbp + 0x77]
lea rdx, [0x1400882a8]
call qword [rax]
test eax, eax
js 0x14001746e
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x49], xmm0
mov qword [rbp - 0x39], r15
lea r8, [rbp - 0x49]
lea rdx, [0x140087c08]
mov ecx, 0x65
call fcn.140016c80
mov rbx, qword [rbp - 0x41]
mov rdi, qword [rbp - 0x49]
sub rbx, rdi
je 0x140017438
mov dword [rbp - 0x59], ebx
mov dword [rbp - 0x55], r15d
mov ecx, 0x11
lea r8, [rbp - 0x59]
mov r12d, 1
mov edx, r12d
call qword [sym.imp.OLEAUT32.dll_SafeArrayDestroy]
mov rsi, rax
mov qword [rbp - 0x51], r15
lea rdx, [rbp - 0x51]
mov rcx, rax
call qword [sym.imp.OLEAUT32.dll_SafeArrayUnaccessData]
test eax, eax
js 0x140017438
mov r8, rbx
mov rdx, rdi
mov rcx, qword [rbp - 0x51]
call fcn.14004b3f0
mov rcx, rsi
call qword [sym.imp.OLEAUT32.dll_SafeArrayGetElement]
test eax, eax
js 0x14001742e
mov rbx, qword [rbp + 0x77]
test rbx, rbx
je 0x1400174c1
mov rcx, qword [0x14009d0c8]
test rcx, rcx
je 0x14001735e
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
nop
mov qword [0x14009d0c8], r15
mov rax, qword [rbx]
lea r8, [0x14009d0c8]
mov rdx, rsi
mov rcx, rbx
call qword [rax + 0x168]
test eax, eax
js 0x14001742e
mov qword [rbp + 0x6f], r15
mov rcx, qword [0x14009d0c8]
test rcx, rcx
je 0x1400174e8
mov qword [rbp + 0x6f], r15
mov rax, qword [rcx]
lea rdx, [rbp + 0x6f]
call qword [rax + 0x80]
test eax, eax
js 0x14001741e
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp - 0x19], xmm0
mov qword [rbp - 9], rax
xorps xmm1, xmm1
movups xmmword [rbp - 0x31], xmm1
mov qword [rbp - 0x21], rax
mov word [rbp - 0x31], r12w
lea ecx, [rax + 0xc]
xor r8d, r8d
xor edx, edx
call qword [sym.imp.OLEAUT32.dll_SafeArrayCopyData]
mov rbx, rax
mov rcx, qword [rbp + 0x6f]
test rcx, rcx
je 0x1400174dd
movups xmm0, xmmword [rbp - 0x31]
movaps xmmword [rbp + 7], xmm0
movsd xmm1, qword [rbp - 0x21]
movsd qword [rbp + 0x17], xmm1
mov r10, qword [rcx]
lea r9, [rbp - 0x19]
mov r8, rax
lea rdx, [rbp + 7]
call qword [r10 + 0x128]
test eax, eax
setns r14b
mov rcx, rbx
call qword [sym.imp.OLEAUT32.dll_SafeArrayGetDim]
nop
mov rcx, qword [rbp + 0x6f]
test rcx, rcx
je 0x14001742e
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
nop
mov rcx, rsi
call qword [sym.imp.OLEAUT32.dll_SafeArrayGetDim]
nop
test rdi, rdi
je 0x14001746e
mov rdx, qword [rbp - 0x39]
sub rdx, rdi
mov rax, rdi
cmp rdx, 0x1000
jb 0x140017465
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400174d7
mov rcx, rdi
call fcn.14002ceb4
nop
mov rcx, qword [rbp + 0x77]
test rcx, rcx
je 0x14001747e
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
nop
mov rcx, qword [rbp + 0x7f]
test rcx, rcx
je 0x14001748e
mov rdx, qword [rcx]
call qword [rdx + reloc.OLEAUT32.dll_SafeArrayGetDim]
nop
movzx eax, r14b
add rsp, 0xb0
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
xor r9d, r9d
lea r8, [0x140087c40]
lea rdx, [0x140087c60]
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxW]
xor al, al
jmp 0x140017492
mov ecx, 0x80004003
call fcn.14002a810
nop
mov ecx, 0x80004003
call fcn.14002a810
int3
call fcn.14004fbfc
nop
mov ecx, 0x80004003
call fcn.14002a810
int3
mov ecx, 0x80004003
call fcn.14002a810
int3