Function at 0x140013060
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
mov qword [rbp - 1], 0xfffffffffffffffe
xor r15d, r15d
mov rcx, qword [0x1400a56f0]
test rcx, rcx
jne 0x140013173
mov qword [rbp + 0x77], r15
lea r8, [rbp + 0x77]
lea rdx, [0x14008b698]
lea rcx, [0x14008b688]
call qword [sym.imp.mscoree.dll_CLRCreateInstance]
lea rdi, [0x1400a56f0]
test eax, eax
js 0x140013129
mov qword [rbp + 0x6f], r15
mov rcx, qword [rbp + 0x77]
mov rax, qword [rcx]
lea r9, [rbp + 0x6f]
lea r8, [0x14008b678]
lea rdx, str.v4.0.30319
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
mov ebx, eax
test eax, eax
js 0x14001311b
mov rcx, qword [rbp + 0x6f]
mov rax, qword [rcx]
mov r9, rdi
lea r8, [0x140087980]
lea rdx, [0x140087990]
call qword [rax + 0x48]
mov ebx, eax
test eax, eax
js 0x140013111
mov rcx, qword [0x1400a56f0]
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 0x14001316c
mov rcx, qword [0x1400a56f0]
test rcx, rcx
jne 0x140013173
mov qword [rsp + 0x20], rdi
lea r9, [0x140087980]
lea r8, [0x140087990]
xor edx, edx
lea rcx, str.v2.0.50727
call qword [sym.imp.mscoree.dll_CorBindToRuntime]
test eax, eax
js 0x1400133aa
mov rcx, qword [0x1400a56f0]
mov rax, qword [rcx]
call qword [rax + 0x50]
mov rcx, qword [0x1400a56f0]
xor r14b, r14b
mov qword [rbp + 0x7f], r15
mov rax, qword [rcx]
lea rdx, [rbp + 0x7f]
call qword [rax + 0x68]
test eax, eax
js 0x140013385
mov qword [rbp + 0x77], r15
mov rcx, qword [rbp + 0x7f]
test rcx, rcx
je 0x1400133cd
mov qword [rbp + 0x77], r15
mov rax, qword [rcx]
lea r8, [rbp + 0x77]
lea rdx, [0x14008b668]
call qword [rax]
test eax, eax
js 0x140013375
mov qword [rbp - 0x31], r15
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x29], xmm0
lea r8, [rbp - 0x31]
lea rdx, [0x14008afb8]
mov ecx, 0x65
call fcn.140012a70
mov rbx, qword [rbp - 0x29]
mov rdi, qword [rbp - 0x31]
sub rbx, rdi
je 0x14001333f
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 0x14001333f
mov r8, rbx
mov rdx, rdi
mov rcx, qword [rbp - 0x51]
call fcn.14004e230
mov rcx, rsi
call qword [sym.imp.OLEAUT32.dll_SafeArrayGetElement]
test eax, eax
js 0x140013335
mov rbx, qword [rbp + 0x77]
test rbx, rbx
je 0x1400133d8
mov rcx, qword [0x1400a5c58]
test rcx, rcx
je 0x140013265
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
mov qword [0x1400a5c58], r15
mov rax, qword [rbx]
lea r8, [0x1400a5c58]
mov rdx, rsi
mov rcx, rbx
call qword [rax + 0x168]
test eax, eax
js 0x140013335
mov qword [rbp + 0x6f], r15
mov rcx, qword [0x1400a5c58]
test rcx, rcx
je 0x1400133e3
mov qword [rbp + 0x6f], r15
mov rax, qword [rcx]
lea rdx, [rbp + 0x6f]
call qword [rax + 0x80]
test eax, eax
js 0x140013326
xor eax, eax
mov qword [rbp - 0x19], rax
mov qword [rbp - 0x11], rax
mov qword [rbp - 9], rax
mov qword [rbp - 0x49], rax
mov qword [rbp - 0x41], rax
mov qword [rbp - 0x39], rax
mov word [rbp - 0x49], r12w
lea ecx, [rax + 0xc]
xor r8d, r8d
xor edx, edx
call qword [sym.imp.OLEAUT32.dll_SafeArrayCopyData]
mov rbx, rax
movups xmm0, xmmword [rbp - 0x49]
movaps xmmword [rbp + 7], xmm0
movsd xmm1, qword [rbp - 0x39]
movsd qword [rbp + 0x17], xmm1
mov rcx, qword [rbp + 0x6f]
test rcx, rcx
je 0x1400133ee
mov rax, qword [rcx]
lea r9, [rbp - 0x19]
mov r8, rbx
lea rdx, [rbp + 7]
call qword [rax + 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 0x140013335
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
mov rcx, rsi
call qword [sym.imp.OLEAUT32.dll_SafeArrayGetDim]
nop
test rdi, rdi
je 0x140013375
mov rdx, qword [rbp - 0x21]
sub rdx, rdi
mov rax, rdi
cmp rdx, 0x1000
jb 0x14001336c
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400133c7
mov rcx, rdi
call fcn.14002fdf4
nop
mov rcx, qword [rbp + 0x77]
test rcx, rcx
je 0x140013385
mov rdx, qword [rcx]
call qword [rdx + reloc.OLEAUT32.dll_SafeArrayGetDim]
nop
mov rcx, qword [rbp + 0x7f]
test rcx, rcx
je 0x140013394
mov rdx, qword [rcx]
call qword [rdx + reloc.OLEAUT32.dll_SafeArrayGetDim]
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, [0x14008aff0]
lea rdx, [0x14008b010]
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxW]
xor al, al
jmp 0x140013398
call fcn.140051164
nop
mov ecx, 0x80004003
call fcn.14002d200
nop
mov ecx, 0x80004003
call fcn.14002d200
nop
mov ecx, 0x80004003
call fcn.14002d200
int3
mov ecx, 0x80004003
call fcn.14002d200
int3