Function at 0x140012590
Capabilities:
Load windows common language runtime

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdx
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x37]
sub rsp, 0xb0
xor r15d, r15d
mov rcx, qword [0x140072320]
test rcx, rcx
jne 0x14001269d
mov qword [rbp + 0x77], r15
lea r8, [rbp + 0x77]
lea rdx, [0x1400639b8]
lea rcx, [0x1400639a8]
call qword [sym.imp.mscoree.dll_CLRCreateInstance]
lea rdi, [0x140072320]
test eax, eax
js 0x140012653
mov qword [rbp + 0x6f], r15
mov rcx, qword [rbp + 0x77]
mov rax, qword [rcx]
lea r9, [rbp + 0x6f]
lea r8, [0x140063998]
lea rdx, str.v4.0.30319
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
mov ebx, eax
test eax, eax
js 0x140012645
mov rcx, qword [rbp + 0x6f]
mov rax, qword [rcx]
mov r9, rdi
lea r8, [0x14005fd50]
lea rdx, [0x14005fd60]
call qword [rax + 0x48]
mov ebx, eax
test eax, eax
js 0x14001263b
mov rcx, qword [0x140072320]
mov rax, qword [rcx]
call qword [rax + 0x50]
mov rcx, qword [rbp + 0x6f]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rbp + 0x77]
mov rax, qword [rcx]
call qword [rax + 0x10]
test ebx, ebx
jns 0x140012696
mov rcx, qword [0x140072320]
test rcx, rcx
jne 0x14001269d
mov qword [rsp + 0x20], rdi
lea r9, [0x14005fd50]
lea r8, [0x14005fd60]
xor edx, edx
lea rcx, str.v2.0.50727
call qword [sym.imp.mscoree.dll_CorBindToRuntime]
test eax, eax
js 0x14001285c
mov rcx, qword [0x140072320]
mov rax, qword [rcx]
call qword [rax + 0x50]
mov rcx, qword [0x140072320]
xor bl, bl
mov qword [rbp + 0x7f], r15
mov rax, qword [rcx]
lea rdx, [rbp + 0x7f]
call qword [rax + 0x68]
test eax, eax
js 0x140012832
mov qword [rbp + 0x77], r15
mov rcx, qword [rbp + 0x7f]
test rcx, rcx
je 0x140012934
mov qword [rbp + 0x77], r15
mov rax, qword [rcx]
lea r8, [rbp + 0x77]
lea rdx, [0x140063988]
call qword [rax]
test eax, eax
js 0x14001290e
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x41], xmm0
mov qword [rbp - 0x31], r15
lea r8, [rbp - 0x41]
lea rdx, [0x1400632e8]
mov ecx, 0x65
call fcn.140012050
mov rsi, qword [rbp - 0x39]
mov rdi, qword [rbp - 0x41]
sub rsi, rdi
test esi, esi
je 0x1400128d8
mov dword [rbp - 0x45], r15d
mov dword [rbp - 0x49], esi
mov ecx, 0x11
lea r8, [rbp - 0x49]
lea edx, [rcx - 0x10]
call qword [sym.imp.OLEAUT32.dll_SafeArrayDestroy]
mov r14, rax
test rax, rax
je 0x1400127e6
lea rdx, [rbp - 0x29]
mov rcx, rax
call qword [sym.imp.OLEAUT32.dll_SafeArrayUnaccessData]
test eax, eax
js 0x1400127e6
movsxd r8, esi
mov rdx, rdi
mov rcx, qword [rbp - 0x29]
call fcn.14002ebd0
mov rcx, r14
call qword [sym.imp.OLEAUT32.dll_SafeArrayGetElement]
mov rbx, qword [rbp + 0x77]
test rbx, rbx
je 0x140012923
mov rcx, qword [0x140072438]
test rcx, rcx
je 0x140012788
mov rax, qword [rcx]
call qword [rax + 0x10]
nop
mov qword [0x140072438], r15
mov rax, qword [rbx]
lea r8, [0x140072438]
mov rdx, r14
mov rcx, rbx
call qword [rax + 0x168]
test eax, eax
js 0x1400127e6
mov qword [rbp + 0x6f], r15
mov rcx, qword [0x140072438]
test rcx, rcx
je 0x140012945
mov qword [rbp + 0x6f], r15
mov rax, qword [rcx]
lea rdx, [rbp + 0x6f]
call qword [rax + 0x80]
test eax, eax
jns 0x140012879
mov rcx, qword [rbp + 0x6f]
test rcx, rcx
je 0x1400127e6
mov rax, qword [rcx]
call qword [rax + 0x10]
nop
test rdi, rdi
je 0x140012820
mov rdx, qword [rbp - 0x31]
sub rdx, rdi
mov rax, rdi
cmp rdx, 0x1000
jb 0x140012817
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001293f
mov rcx, rdi
call fcn.14002c770
nop
mov rcx, qword [rbp + 0x77]
test rcx, rcx
je 0x140012830
mov rax, qword [rcx]
call qword [rax + 0x10]
nop
xor bl, bl
mov rcx, qword [rbp + 0x7f]
test rcx, rcx
je 0x140012842
mov rax, qword [rcx]
call qword [rax + 0x10]
nop
movzx eax, bl
mov rbx, qword [rsp + 0xe0]
add rsp, 0xb0
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
xor r9d, r9d
lea r8, [0x140063320]
lea rdx, [0x140063340]
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxW]
xor al, al
jmp 0x140012845
lea rcx, [rbp + 0x17]
call qword [sym.imp.OLEAUT32.dll_VariantClear]
lea rcx, [rbp - 0x21]
call qword [sym.imp.OLEAUT32.dll_VariantClear]
mov rcx, qword [rbp + 0x6f]
test rcx, rcx
je 0x140012945
movups xmm0, xmmword [rbp - 0x21]
movaps xmmword [rbp - 9], xmm0
movsd xmm1, qword [rbp - 0x11]
movsd qword [rbp + 7], xmm1
mov rax, qword [rcx]
lea r9, [rbp + 0x17]
xor r8d, r8d
lea rdx, [rbp - 9]
call qword [rax + 0x128]
mov ebx, eax
shr ebx, 0x1f
xor bl, 1
mov rcx, qword [rbp + 0x6f]
test rcx, rcx
je 0x1400128d8
mov rdx, qword [rcx]
call qword [rdx + 0x10]
nop
test rdi, rdi
je 0x14001290e
mov rdx, qword [rbp - 0x31]
sub rdx, rdi
mov rax, rdi
cmp rdx, 0x1000
jb 0x140012905
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001292e
mov rcx, rdi
call fcn.14002c770
nop
mov rcx, qword [rbp + 0x77]
test rcx, rcx
je 0x14001291e
mov rax, qword [rcx]
call qword [rax + 0x10]
nop
jmp 0x140012832
mov ecx, 0x80004003
call fcn.14002aa60
nop
call fcn.1400332cc
int3
mov ecx, 0x80004003
call fcn.14002aa60
int3
call fcn.1400332cc
nop
mov ecx, 0x80004003
call fcn.14002aa60
int3