Function at 0x180001000
Capabilities:
Load windows common language runtime

Disassembly:
push rsi
push rdi
sub rsp, 0x148
mov qword [rsp + 0x80], 0
lea r8, [rsp + 0x80]
lea rdx, [0x18000d348]
lea rcx, [0x18000d358]
call sub.mscoree.dll_CLRCreateInstance
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0
jge 0x180001046
mov eax, 0xffffffff
jmp 0x180001563
mov qword [rsp + 0x40], 0
mov rax, qword [rsp + 0x80]
mov rax, qword [rax]
lea r9, [rsp + 0x40]
lea r8, [0x18000d368]
lea rdx, [0x18000d310]
mov rcx, qword [rsp + 0x80]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0
jge 0x18000108d
mov eax, 0xffffffff
jmp 0x180001563
mov rax, qword [rsp + 0x40]
mov rax, qword [rax]
lea rdx, [rsp + 0x58]
mov rcx, qword [rsp + 0x40]
call qword [rax + 0x50]
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0
jl 0x1800010b4
cmp dword [rsp + 0x58], 0
jne 0x1800010be
mov eax, 0xffffffff
jmp 0x180001563
mov qword [rsp + 0x48], 0
mov rax, qword [rsp + 0x40]
mov rax, qword [rax]
lea r9, [rsp + 0x48]
lea r8, [0x18000d338]
lea rdx, [0x18000d328]
mov rcx, qword [rsp + 0x40]
call qword [rax + 0x48]
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0
jge 0x1800010ff
mov eax, 0xffffffff
jmp 0x180001563
mov rax, qword [rsp + 0x48]
mov rax, qword [rax]
mov rcx, qword [rsp + 0x48]
call qword [rax + 0x50]
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0
jge 0x180001124
mov eax, 0xffffffff
jmp 0x180001563
xor edx, edx
lea rcx, [rsp + 0x28]
call fcn.180001680
lea rcx, [rsp + 0x28]
call fcn.180001710
mov rcx, qword [rsp + 0x48]
mov rcx, qword [rcx]
mov qword [rsp + 0xc0], rcx
mov rdx, rax
mov rcx, qword [rsp + 0x48]
mov rax, qword [rsp + 0xc0]
call qword [rax + 0x68]
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0
jge 0x180001183
mov dword [rsp + 0x5c], 0xffffffff
lea rcx, [rsp + 0x28]
call fcn.1800016c0
mov eax, dword [rsp + 0x5c]
jmp 0x180001563
xor edx, edx
lea rcx, [rsp + 0x30]
call fcn.180001680
lea rcx, [rsp + 0x28]
call fcn.1800016e0
mov qword [rsp + 0x90], rax
lea rcx, [rsp + 0x30]
call fcn.180001710
mov rcx, qword [rsp + 0x90]
mov rcx, qword [rcx]
mov qword [rsp + 0xc8], rcx
mov r8, rax
lea rdx, [0x18000d378]
mov rcx, qword [rsp + 0x90]
mov rax, qword [rsp + 0xc8]
call qword [rax]
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0
jge 0x18000120a
mov dword [rsp + 0x60], 0xffffffff
lea rcx, [rsp + 0x30]
call fcn.1800016c0
lea rcx, [rsp + 0x28]
call fcn.1800016c0
mov eax, dword [rsp + 0x60]
jmp 0x180001563
xor edx, edx
lea rcx, [rsp + 0x38]
call fcn.180001680
mov eax, 8
imul rax, rax, 0
mov dword [rsp + rax + 0x98], 0xc9800
mov eax, 8
imul rax, rax, 0
mov dword [rsp + rax + 0x9c], 0
lea r8, [rsp + 0x98]
mov edx, 1
mov cx, 0x11
call qword [sym.imp.OLEAUT32.dll_SafeArrayDestroy]
mov qword [rsp + 0x88], rax
mov qword [rsp + 0xa0], 0
lea rdx, [rsp + 0xa0]
mov rcx, qword [rsp + 0x88]
call qword [sym.imp.OLEAUT32.dll_SafeArrayUnaccessData]
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0
jge 0x1800012b9
mov dword [rsp + 0x64], 0xffffffff
lea rcx, [rsp + 0x38]
call fcn.1800016c0
lea rcx, [rsp + 0x30]
call fcn.1800016c0
lea rcx, [rsp + 0x28]
call fcn.1800016c0
mov eax, dword [rsp + 0x64]
jmp 0x180001563
mov r8d, 0xc9800
lea rdx, section..data
mov rcx, qword [rsp + 0xa0]
call fcn.180002840
mov rcx, qword [rsp + 0x88]
call qword [sym.imp.OLEAUT32.dll_SafeArrayGetElement]
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0
jge 0x18000131b
mov dword [rsp + 0x68], 0xffffffff
lea rcx, [rsp + 0x38]
call fcn.1800016c0
lea rcx, [rsp + 0x30]
call fcn.1800016c0
lea rcx, [rsp + 0x28]
call fcn.1800016c0
mov eax, dword [rsp + 0x68]
jmp 0x180001563
lea rcx, [rsp + 0x30]
call fcn.1800016e0
mov qword [rsp + 0xa8], rax
lea rcx, [rsp + 0x38]
call fcn.180001710
mov rcx, qword [rsp + 0xa8]
mov rcx, qword [rcx]
mov qword [rsp + 0xd0], rcx
mov r8, rax
mov rdx, qword [rsp + 0x88]
mov rcx, qword [rsp + 0xa8]
mov rax, qword [rsp + 0xd0]
call qword [rax + 0x168]
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0
jge 0x1800013a5
mov dword [rsp + 0x6c], 0xffffffff
lea rcx, [rsp + 0x38]
call fcn.1800016c0
lea rcx, [rsp + 0x30]
call fcn.1800016c0
lea rcx, [rsp + 0x28]
call fcn.1800016c0
mov eax, dword [rsp + 0x6c]
jmp 0x180001563
xor edx, edx
lea rcx, [rsp + 0x50]
call fcn.180001680
lea rcx, [rsp + 0x38]
call fcn.1800016e0
mov qword [rsp + 0xb0], rax
lea rcx, [rsp + 0x50]
call fcn.180001710
mov rcx, qword [rsp + 0xb0]
mov rcx, qword [rcx]
mov qword [rsp + 0xd8], rcx
mov rdx, rax
mov rcx, qword [rsp + 0xb0]
mov rax, qword [rsp + 0xd8]
call qword [rax + 0x80]
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0
jge 0x18000143d
mov dword [rsp + 0x70], 0xffffffff
lea rcx, [rsp + 0x50]
call fcn.1800016c0
lea rcx, [rsp + 0x38]
call fcn.1800016c0
lea rcx, [rsp + 0x30]
call fcn.1800016c0
lea rcx, [rsp + 0x28]
call fcn.1800016c0
mov eax, dword [rsp + 0x70]
jmp 0x180001563
mov r8d, reloc.OLEAUT32.dll_SafeArrayGetElement
xor edx, edx
lea rcx, [rsp + 0x100]
call fcn.180002ef0
mov r8d, reloc.OLEAUT32.dll_SafeArrayGetElement
xor edx, edx
lea rcx, [rsp + 0xe8]
call fcn.180002ef0
mov eax, 1
mov word [rsp + 0xe8], ax
mov r8d, 1
xor edx, edx
mov cx, SafeArrayDestroy
call qword [sym.imp.OLEAUT32.dll_SafeArrayCopyData]
mov qword [rsp + 0xe0], rax
lea rcx, [rsp + 0x50]
call fcn.1800016e0
mov qword [rsp + 0xb8], rax
lea rax, [rsp + 0x120]
lea rcx, [rsp + 0xe8]
mov rdi, rax
mov rsi, rcx
mov ecx, reloc.OLEAUT32.dll_SafeArrayGetElement
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0xb8]
mov rax, qword [rax]
lea r9, [rsp + 0x100]
mov r8, qword [rsp + 0xe0]
lea rdx, [rsp + 0x120]
mov rcx, qword [rsp + 0xb8]
call qword [rax + 0x128]
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0
jge 0x18000152f
mov dword [rsp + 0x74], 0xffffffff
lea rcx, [rsp + 0x50]
call fcn.1800016c0
lea rcx, [rsp + 0x38]
call fcn.1800016c0
lea rcx, [rsp + 0x30]
call fcn.1800016c0
lea rcx, [rsp + 0x28]
call fcn.1800016c0
mov eax, dword [rsp + 0x74]
jmp 0x180001563
mov dword [rsp + 0x78], 0
lea rcx, [rsp + 0x50]
call fcn.1800016c0
lea rcx, [rsp + 0x38]
call fcn.1800016c0
lea rcx, [rsp + 0x30]
call fcn.1800016c0
lea rcx, [rsp + 0x28]
call fcn.1800016c0
mov eax, dword [rsp + 0x78]
add rsp, 0x148
pop rdi
pop rsi
ret