Function at 0x1800701d0
Capabilities:
Link many functions at runtime

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x90]
sub rsp, 0x190
mov qword [rbp - 0x50], 0xfffffffffffffffe
mov qword [rsp + 0x1d0], rbx
mov rax, qword [0x1800fb008]
xor rax, rsp
mov qword [rbp + 0x80], rax
mov rdi, r8
mov rsi, rdx
cmp qword [rdx + 0x10], 0
je 0x180070601
xor r12d, r12d
mov qword [rbp - 0x70], r12
mov qword [rbp - 0x68], r12
mov qword [rbp - 0x68], 7
mov qword [rbp - 0x70], r12
mov word [rbp - 0x80], r12w
mov r14d, 9
mov r8d, r14d
lea rdx, str.Ole32.dll
lea rcx, [rbp - 0x80]
call fcn.180003940
nop
call fcn.18000f330
mov rcx, rax
lea rdx, [rbp - 0x80]
call fcn.18000f3e0
mov r15, rax
cmp qword [rbp - 0x68], 8
jb 0x180070277
mov rcx, qword [rbp - 0x80]
call fcn.18008861c
mov qword [rbp - 0x68], 7
mov qword [rbp - 0x70], r12
mov word [rbp - 0x80], r12w
mov qword [rsp + 0x70], r12
mov qword [rsp + 0x78], r12
mov qword [rsp + 0x78], 7
mov qword [rsp + 0x70], r12
mov word [rsp + 0x60], r12w
mov r8d, 0xc
lea rdx, str.OleAut32.dll
lea rcx, [rsp + 0x60]
call fcn.180003940
nop
call fcn.18000f330
mov rcx, rax
lea rdx, [rsp + 0x60]
call fcn.18000f3e0
mov rbx, rax
cmp qword [rsp + 0x78], 8
jb 0x1800702e5
mov rcx, qword [rsp + 0x60]
call fcn.18008861c
mov qword [rsp + 0x78], 7
mov qword [rsp + 0x70], r12
mov word [rsp + 0x60], r12w
test r15, r15
je 0x180070601
test rbx, rbx
je 0x180070601
lea rdx, str.CoCreateInstance
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x50], rax
lea rdx, str.CoInitializeSecurity
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov r15, rax
lea rdx, str.VariantInit
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov r13, rax
lea rdx, str.VariantClear
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rbp - 0x60], rax
lea rdx, str.SysAllocString
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov r12, rax
lea rdx, str.SysFreeString
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rbp - 0x58], rax
mov rbx, qword [rsp + 0x50]
test rbx, rbx
je 0x180070601
test r15, r15
je 0x180070601
test r13, r13
je 0x180070601
cmp qword [rbp - 0x60], 0
je 0x180070601
test r12, r12
je 0x180070601
test rax, rax
je 0x180070601
lea rcx, [rsp + 0x50]
call fcn.180079200
nop
xor eax, eax
mov qword [rsp + 0x40], rax
mov dword [rsp + 0x38], eax
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], 3
mov dword [rsp + 0x20], 6
xor r9d, r9d
xor r8d, r8d
or edx, 0xffffffff
xor ecx, ecx
call r15
mov edx, 0x80000000
lea ecx, [rax + rdx]
test edx, ecx
jne 0x180070411
cmp eax, 0x80010119
je 0x180070411
xor bl, bl
jmp 0x1800705f2
mov qword [rbp + 8], 0
lea rax, [rbp + 8]
mov qword [rsp + 0x20], rax
lea r9, [0x1800c9d68]
xor edx, edx
lea r8d, [rdx + 1]
lea rcx, [0x1800c9da8]
call rbx
test eax, eax
js 0x1800705e0
cmp qword [rbp + 8], 0
je 0x1800705e0
lea rcx, [rbp + 0x50]
call r13
lea rcx, [rbp + 0x68]
call r13
lea rcx, [rbp + 0x20]
call r13
lea rcx, [rbp + 0x38]
call r13
movups xmm0, xmmword [rbp + 0x38]
movaps xmmword [rbp - 0x40], xmm0
movsd xmm1, qword [rbp + 0x48]
movsd qword [rbp - 0x30], xmm1
movups xmm0, xmmword [rbp + 0x20]
movaps xmmword [rbp - 0x20], xmm0
movsd xmm1, qword [rbp + 0x30]
movsd qword [rbp - 0x10], xmm1
movups xmm0, xmmword [rbp + 0x68]
movaps xmmword [rsp + 0x60], xmm0
movsd xmm1, qword [rbp + 0x78]
movsd qword [rsp + 0x70], xmm1
movups xmm0, xmmword [rbp + 0x50]
movaps xmmword [rbp - 0x80], xmm0
movsd xmm1, qword [rbp + 0x60]
movsd qword [rbp - 0x70], xmm1
mov rcx, qword [rbp + 8]
mov rax, qword [rcx]
lea rdx, [rbp - 0x40]
mov qword [rsp + 0x20], rdx
lea r9, [rbp - 0x20]
lea r8, [rsp + 0x60]
lea rdx, [rbp - 0x80]
call qword [rax + 0x50]
mov ebx, eax
lea rcx, [rbp + 0x50]
mov r15, qword [rbp - 0x60]
call r15
lea rcx, [rbp + 0x68]
call r15
lea rcx, [rbp + 0x20]
call r15
lea rcx, [rbp + 0x38]
call r15
test ebx, ebx
js 0x1800705e0
xor r15d, r15d
mov qword [rbp + 0x10], r15
mov rcx, qword [rbp + 8]
mov rax, qword [rcx]
lea r8, [rbp + 0x10]
lea rdx, [0x1800c44e8]
call qword [rax + 0x38]
test eax, eax
js 0x1800705cd
cmp qword [rbp + 0x10], r15
je 0x1800705cd
mov qword [rbp + 0x18], r15
cmp qword [rsi + 0x18], 8
jb 0x180070537
mov rsi, qword [rsi]
mov rcx, rsi
call r12
mov rsi, rax
test rax, rax
jne 0x180070549
xor bl, bl
jmp 0x1800705bc
mov rcx, qword [rbp + 0x10]
mov rax, qword [rcx]
lea r8, [rbp + 0x18]
mov rdx, rsi
call qword [rax + 0x68]
mov ebx, eax
mov rcx, rsi
call qword [rbp - 0x58]
test ebx, ebx
js 0x1800705b7
mov rcx, qword [rbp + 0x18]
test rcx, rcx
je 0x1800705b7
mov dword [rbp], r15d
mov rax, qword [rcx]
lea rdx, [rbp]
call qword [rax + 0x48]
test eax, eax
jns 0x180070585
xor bl, bl
jmp 0x1800705bc
mov eax, dword [rbp]
test eax, eax
je 0x1800705b7
cmp eax, 1
jne 0x180070595
mov dword [rdi], eax
jmp 0x1800705ba
cmp eax, 2
jne 0x18007059e
mov dword [rdi], eax
jmp 0x1800705ba
cmp eax, 3
jne 0x1800705a7
mov dword [rdi], eax
jmp 0x1800705ba
mov ecx, 4
cmp eax, ecx
cmove r14d, ecx
mov dword [rdi], r14d
jmp 0x1800705ba
mov dword [rdi], r15d
mov bl, 1
mov rcx, qword [rbp + 0x18]
test rcx, rcx
je 0x1800705cf
mov rax, qword [rcx]
call qword [rax + 0x10]
jmp 0x1800705cf
xor bl, bl
mov rcx, qword [rbp + 0x10]
test rcx, rcx
je 0x1800705e2
mov rax, qword [rcx]
call qword [rax + 0x10]
jmp 0x1800705e2
xor bl, bl
mov rcx, qword [rbp + 8]
test rcx, rcx
je 0x1800705f2
mov rdx, qword [rcx]
call qword [rdx + 0x10]
nop
lea rcx, [rsp + 0x50]
call fcn.1800792d0
movzx eax, bl
jmp 0x180070603
xor al, al
mov rcx, qword [rbp + 0x80]
xor rcx, rsp
call fcn.180087ea0
mov rbx, qword [rsp + 0x1d0]
add rsp, 0x190
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret