Function at 0x14004f688
Capabilities:
Load windows common language runtime

Disassembly:
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rsi
push rdi
sub rsp, 0x198
mov rax, qword [0x14010c080]
xor rax, rsp
mov qword [rsp + 0x188], rax
mov byte [rsp + 0x24], 0
mov edx, 8
lea rcx, [rsp + 0x148]
call fcn.140001eb8
lea rcx, [rsp + 0x148]
call fcn.14000ed9c
nop
mov edx, 8
lea rcx, [rsp + 0x140]
call fcn.140001eb8
lea rcx, [rsp + 0x140]
call fcn.14000ed9c
nop
mov edx, 8
lea rcx, [rsp + 0x138]
call fcn.140001eb8
lea rcx, [rsp + 0x138]
call fcn.14000ed9c
nop
mov edx, 8
lea rcx, [rsp + 0x130]
call fcn.140001eb8
lea rcx, [rsp + 0x130]
call fcn.14000ed9c
nop
xor edx, edx
xor ecx, ecx
call qword [sym.imp.ole32.dll_CoInitializeEx]
mov dword [rsp + 0x20], eax
mov qword [rsp + 0x108], 0
lea r8, [rsp + 0x108]
lea rdx, [0x1400ea100]
lea rcx, [0x1400ea110]
call sub.mscoree.dll_CLRCreateInstance
mov qword [rsp + 0x110], 0
mov rax, qword [rsp + 0x108]
mov rax, qword [rax]
lea r9, [rsp + 0x110]
lea r8, [0x1400ea120]
lea rdx, str.v4.0.30319
mov rcx, qword [rsp + 0x108]
call qword [rax + SafeArrayCopy]
mov rax, qword [rsp + 0x110]
mov rax, qword [rax]
lea r9, [rsp + 0x100]
lea r8, [0x1400ea140]
lea rdx, [0x1400ea130]
mov rcx, qword [rsp + 0x110]
call qword [rax + 0x48]
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0
jge 0x14004f81a
mov byte [rsp + 0x25], 0
lea rcx, [rsp + 0x130]
call fcn.14004f5e4
nop
lea rcx, [rsp + 0x138]
call fcn.14004f5e4
nop
lea rcx, [rsp + 0x140]
call fcn.14004f5e4
nop
lea rcx, [rsp + 0x148]
call fcn.14004f5e4
mov al, byte [rsp + 0x25]
jmp 0x14004fca2
mov rax, qword [rsp + 0x100]
mov rax, qword [rax]
mov rcx, qword [rsp + 0x100]
call qword [rax + 0x50]
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0
jl 0x14004fc49
lea rcx, [rsp + 0x148]
call fcn.14004f62c
mov rcx, qword [rsp + 0x100]
mov rcx, qword [rcx]
mov qword [rsp + 0x80], rcx
mov rdx, rax
mov rcx, qword [rsp + 0x100]
mov rax, qword [rsp + 0x80]
call qword [rax + 0x68]
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0
jl 0x14004fc33
lea rcx, [rsp + 0x148]
call fcn.14004f5fc
mov qword [rsp + 0x78], rax
lea rcx, [rsp + 0x140]
call fcn.14004f62c
mov rcx, rax
call fcn.140001418
mov rcx, qword [rsp + 0x78]
mov rcx, qword [rcx]
mov qword [rsp + 0x88], rcx
mov r8, rax
lea rdx, [0x1400ea168]
mov rcx, qword [rsp + 0x78]
mov rax, qword [rsp + 0x88]
call qword [rax]
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0
jl 0x14004fc11
mov dword [rsp + 0x15c], 0
mov eax, dword [rsp + 0x1b8]
mov dword [rsp + 0x158], eax
lea r8, [rsp + 0x158]
mov edx, 1
mov cx, 0x11
call qword [sym.imp.OLEAUT32.dll_SafeArrayDestroy]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
je 0x14004fbef
mov eax, dword [rsp + 0x1b8]
mov rcx, qword [rsp + 0x28]
mov rdi, qword [rcx + 0x10]
mov rsi, qword [rsp + 0x1b0]
mov ecx, eax
rep movsb byte [rdi], byte [rsi]
lea rcx, [rsp + 0x140]
call fcn.14004f5fc
mov qword [rsp + 0x40], rax
lea rcx, [rsp + 0x138]
call fcn.14004f62c
mov rcx, qword [rsp + 0x40]
mov rcx, qword [rcx]
mov qword [rsp + 0x90], rcx
mov r8, rax
mov rdx, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x40]
mov rax, qword [rsp + 0x90]
call qword [rax + 0x168]
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0
jl 0x14004fbe4
lea rcx, [rsp + 0x138]
call fcn.14004f5fc
mov qword [rsp + 0x48], rax
lea rcx, [rsp + 0x130]
call fcn.14004f62c
mov rcx, qword [rsp + 0x48]
mov rcx, qword [rcx]
mov qword [rsp + 0x98], rcx
mov rdx, rax
mov rcx, qword [rsp + 0x48]
mov rax, qword [rsp + 0x98]
call qword [rax + 0x80]
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0
jl 0x14004fbc2
mov eax, 1
mov word [rsp + 0xa0], ax
mov qword [rsp + 0xa8], 0
mov eax, 0x2008
mov word [rsp + 0x118], ax
mov eax, 8
imul rax, rax, 0
mov dword [rsp + rax + 0x17c], 0
mov eax, 8
imul rax, rax, 0
mov dword [rsp + rax + 0x178], 0
lea r8, [rsp + 0x178]
mov edx, 1
mov cx, 8
call qword [sym.imp.OLEAUT32.dll_SafeArrayDestroy]
mov qword [rsp + 0x120], rax
mov qword [rsp + 0x30], 0
mov eax, 8
imul rax, rax, 0
mov dword [rsp + rax + 0x184], 0
mov eax, 8
imul rax, rax, 0
mov dword [rsp + rax + 0x180], 1
lea r8, [rsp + 0x180]
mov edx, 1
mov cx, SafeArrayDestroy
call qword [sym.imp.OLEAUT32.dll_SafeArrayDestroy]
mov qword [rsp + 0x30], rax
mov eax, 4
imul rax, rax, 0
mov dword [rsp + rax + 0x150], 0
lea r8, [rsp + 0x118]
lea rdx, [rsp + 0x150]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.OLEAUT32.dll_SafeArrayCopy]
lea rcx, [rsp + 0x130]
call fcn.14004f5fc
mov qword [rsp + 0x50], rax
lea rax, [rsp + 0xc0]
lea rcx, [rsp + 0xa0]
mov rdi, rax
mov rsi, rcx
mov ecx, SafeArrayCopy
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x50]
mov rax, qword [rax]
lea r9, [rsp + 0x160]
xor r8d, r8d
lea rdx, [rsp + 0xc0]
mov rcx, qword [rsp + 0x50]
call qword [rax + 0x128]
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0x8002000e
jne 0x14004fb94
lea rcx, [rsp + 0x130]
call fcn.14004f5fc
mov qword [rsp + 0x58], rax
lea rax, [rsp + 0xe0]
lea rcx, [rsp + 0xa0]
mov rdi, rax
mov rsi, rcx
mov ecx, SafeArrayCopy
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x58]
mov rax, qword [rax]
lea r9, [rsp + 0x160]
mov r8, qword [rsp + 0x30]
lea rdx, [rsp + 0xe0]
mov rcx, qword [rsp + 0x58]
call qword [rax + 0x128]
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0
jl 0x14004fba0
mov byte [rsp + 0x24], 1
lea rcx, [rsp + 0x130]
call fcn.14004f5fc
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x60]
mov rax, qword [rax]
mov rcx, qword [rsp + 0x60]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
lea rcx, [rsp + 0x138]
call fcn.14004f5fc
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x68]
mov rax, qword [rax]
mov rcx, qword [rsp + 0x68]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.OLEAUT32.dll_SafeArrayGetDim]
lea rcx, [rsp + 0x140]
call fcn.14004f5fc
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0x70]
mov rax, qword [rax]
mov rcx, qword [rsp + 0x70]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
lea rcx, [rsp + 0x148]
call fcn.14004f5fc
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
mov rax, qword [rax]
mov rcx, qword [rsp + 0x38]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
mov rax, qword [rsp + 0x100]
mov rax, qword [rax]
mov rcx, qword [rsp + 0x100]
call qword [rax + 0x58]
mov rax, qword [rsp + 0x100]
mov rax, qword [rax]
mov rcx, qword [rsp + 0x100]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
mov al, byte [rsp + 0x24]
mov byte [rsp + 0x26], al
lea rcx, [rsp + 0x130]
call fcn.14004f5e4
nop
lea rcx, [rsp + 0x138]
call fcn.14004f5e4
nop
lea rcx, [rsp + 0x140]
call fcn.14004f5e4
nop
lea rcx, [rsp + 0x148]
call fcn.14004f5e4
mov al, byte [rsp + 0x26]
mov rcx, qword [rsp + 0x188]
xor rcx, rsp
call fcn.1400b6680
add rsp, 0x198
pop rdi
pop rsi
ret