Function at 0x14007f440
Capabilities:
Create shortcut via ishelllink

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 8], rcx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1a0]
sub rsp, 0x2a0
movzx eax, byte [rcx + 1]
xor ecx, ecx
mov rsi, rdx
cmp al, 1
mov ebx, ecx
mov r12d, ecx
cmova rbx, qword [0x140119638]
cmp al, 2
mov r14d, ecx
cmova r12, qword [0x140119640]
cmp al, 3
mov r15d, ecx
cmova r14, qword [0x140119648]
cmp al, 4
mov edi, ecx
cmova r15, qword [0x140119650]
cmp al, 5
mov r13d, ecx
cmova rdi, qword [0x140119658]
cmp al, 6
cmova r13, qword [0x140119660]
cmp al, 7
mov qword [rsp + 0x50], rdi
cmova rcx, qword [0x140119668]
mov qword [rsp + 0x48], r13
mov qword [rsp + 0x38], rcx
test rbx, rbx
je 0x14007f4df
mov rcx, rbx
call fcn.14001c010
test r12, r12
je 0x14007f4ec
mov rcx, r12
call fcn.14001c010
test r14, r14
je 0x14007f4f9
mov rcx, r14
call fcn.14001c010
test r15, r15
je 0x14007f506
mov rcx, r15
call fcn.14001c010
test rdi, rdi
je 0x14007f513
mov rcx, rdi
call fcn.14001c010
test r13, r13
je 0x14007f520
mov rcx, r13
call fcn.14001c010
mov rax, qword [rsp + 0x38]
test rax, rax
je 0x14007f532
mov rcx, rax
call fcn.14001c010
mov rcx, rsi
xor dil, dil
call fcn.140081c70
test al, al
je 0x1400807e7
xor ecx, ecx
call qword [sym.imp.ole32.dll_CoInitialize]
xor edx, edx
lea r11, [rsp + 0x30]
lea r9, [0x1400e0f90]
lea rcx, [0x1400e0fa0]
lea r8d, [rdx + 1]
mov qword [rsp + 0x20], r11
call qword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x140080790
mov rcx, qword [rsp + 0x30]
lea r8, [rsp + 0x40]
lea rdx, [0x1400e0fb0]
mov rax, qword [rcx]
call qword [rax]
test eax, eax
js 0x140080785
mov rcx, qword [rsp + 0x40]
xor r8d, r8d
mov rdx, rsi
mov rax, qword [rcx]
call qword [rax + 0x28]
test eax, eax
js 0x14008077a
movaps xmmword [rsp + 0x290], xmm6
movsd xmm6, qword [0x140101ed8]
movaps xmmword [rsp + 0x280], xmm7
movsd xmm7, qword [0x140101ea8]
movabs rdi, 0x8000000000000000
mov r13d, 8
movaps xmmword [rsp + 0x270], xmm8
movsd xmm8, qword [0x140101ee0]
test rbx, rbx
je 0x14007f89e
mov rcx, qword [rsp + 0x30]
lea rdx, [rsp + 0x60]
xor r9d, r9d
mov rax, qword [rcx]
mov r8d, 0x104
mov dword [rsp + 0x20], 2
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
movzx r11d, byte [rbx + 0x23]
test r11b, r11b
jne 0x14007f645
mov rcx, qword [rbx + 0x10]
lea rdx, [rsp + 0x60]
xor r9d, r9d
or r8, 0xffffffffffffffff
mov byte [rsp + 0x20], 1
call fcn.1400b1500
jmp 0x14007f89e
lea rax, [rsp + 0x60]
cmp qword [rbx + 8], rax
jne 0x14007f659
mov r13, qword [rbx + 0x10]
shr r13, 1
jmp 0x14007f678
or rcx, 0xffffffffffffffff
lea rdi, [rsp + 0x60]
xor eax, eax
repne scasw ax, word [rdi]
movabs rdi, 0x8000000000000000
not rcx
lea r13, [rcx - 1]
lea rax, [r13 + 1]
lea rsi, [rax + rax]
cmp r11b, 2
jne 0x14007f698
lea rcx, [rsp + 0x60]
mov rdx, r13
call fcn.140006090
jmp 0x14007f898
cmp rsi, qword [0x140114480]
jbe 0x14007f6c6
cmp rsi, qword [rbx + 0x18]
jbe 0x14007f6c6
lea r8, [0x1400e346c]
lea rdx, [0x1400fff00]
lea rcx, [0x14011b1d0]
call fcn.140040760
jmp 0x14007f898
cmp rax, 2
jae 0x14007f6e0
xor r8d, r8d
mov rcx, rbx
lea edx, [r8 + 4]
call fcn.1400b1bb0
jmp 0x14007f898
movzx eax, byte [rbx + 0x21]
test al, 2
je 0x14007f6f6
mov rcx, qword [rbx]
and al, 0x3d
mov byte [rbx + 0x21], al
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
mov rcx, qword [rbx + 0x18]
and byte [rbx + 0x21], 0x82
cmp rsi, rcx
jbe 0x14007f868
movzx r8d, byte [rbx + 0x20]
movzx eax, r8b
cmp r8b, 1
jbe 0x14007f72d
cmp al, 2
je 0x14007f76e
mov rdi, qword [rbp + 0x1e0]
mov rax, qword [rbp + 0x1e0]
jmp 0x14007f85c
cmp rsi, 0x80
ja 0x14007f76e
cmp rsi, 8
ja 0x14007f743
mov edi, 8
jmp 0x14007f754
mov edi, 0x80
cmp rsi, 0x10
mov eax, reloc.OLEAUT32.dll_SafeArrayGetDim
cmovbe edi, eax
mov rcx, rdi
call fcn.1400aa420
test rax, rax
je 0x14007f898
mov byte [rbx + 0x20], 1
jmp 0x14007f85c
cmp rsi, 0x20
jae 0x14007f77e
mov edi, SafeArrayAllocDescriptor
jmp 0x14007f814
cmp rsi, 0x208
jae 0x14007f791
mov edi, 0x208
jmp 0x14007f814
cmp rsi, 0x50000
jae 0x14007f7d0
pxor xmm0, xmm0
cvtsi2sd xmm0, rsi
test rsi, rsi
jns 0x14007f7ac
addsd xmm0, xmm7
mulsd xmm0, xmm8
xor eax, eax
comisd xmm0, xmm6
jbe 0x14007f7c6
subsd xmm0, xmm6
comisd xmm0, xmm6
jae 0x14007f7c6
mov rax, rdi
cvttsd2si rdi, xmm0
add rdi, rax
jmp 0x14007f814
cmp rsi, 0x320000
jae 0x14007f7e2
lea rdi, [rsi + 0x8000]
jmp 0x14007f814
cmp rsi, 0xc80000
jae 0x14007f80d
movabs rax, 0x47ae147ae147ae15
mov rdi, rsi
mul rsi
sub rdi, rdx
shr rdi, 1
add rdi, rdx
shr rdi, 6
add rdi, rsi
jmp 0x14007f814
lea rdi, [rsi + 0x20000]
mov rax, qword [0x140114480]
cmp rdi, rax
cmova rdi, rax
cmp r8b, 2
jne 0x14007f83b
test rcx, rcx
je 0x14007f83b
mov rcx, qword [rbx + 8]
mov sil, 1
call fcn.1400cb13c
jmp 0x14007f83e
xor sil, sil
test rdi, rdi
js 0x14007f8e8
mov rcx, rdi
call fcn.1400ca9c4
test rax, rax
je 0x14007f8e8
mov byte [rbx + 0x20], 2
and byte [rbx + 0x21], 0x7f
mov qword [rbx + 8], rax
mov qword [rbx + 0x18], rdi
mov rcx, qword [rbx + 8]
lea rax, [rsp + 0x60]
cmp rcx, rax
je 0x14007f885
lea r8, [r13 + r13]
lea rdx, [rsp + 0x60]
call fcn.1400cb300
mov rax, qword [rbx + 8]
lea rcx, [r13 + r13]
xor edx, edx
mov word [rcx + rax], dx
mov qword [rbx + 0x10], rcx
mov r13d, 8
test r12, r12
je 0x14007fb93
mov rcx, qword [rsp + 0x30]
lea rdx, [rsp + 0x60]
mov r8d, 0x104
mov rax, qword [rcx]
call qword [rax + 0x40]
movzx r11d, byte [r12 + 0x23]
test r11b, r11b
jne 0x14007f92e
mov rcx, qword [r12 + 0x10]
lea rdx, [rsp + 0x60]
xor r9d, r9d
or r8, 0xffffffffffffffff
mov byte [rsp + 0x20], 1
call fcn.1400b1500
jmp 0x14007fb93
test sil, sil
je 0x14007f900
lea rcx, [0x14011b184]
xor eax, eax
mov qword [rbx + 8], rcx
mov qword [rbx + 0x18], rax
jmp 0x14007f90b
mov rax, qword [rbx + 8]
xor ecx, ecx
mov word [rax], cx
xor eax, eax
lea r8, [0x1400e346c]
lea rdx, [0x1400e6570]
lea rcx, [0x14011b1d0]
mov qword [rbx + 0x10], rax
call fcn.140040760
jmp 0x14007f898
lea rax, [rsp + 0x60]
cmp qword [r12 + 8], rax
jne 0x14007f944
mov rsi, qword [r12 + 0x10]
shr rsi, 1
jmp 0x14007f959
or rcx, 0xffffffffffffffff
lea rdi, [rsp + 0x60]
xor eax, eax
repne scasw ax, word [rdi]
not rcx
lea rsi, [rcx - 1]
lea rax, [rsi + 1]
lea rbx, [rax + rax]
cmp r11b, 2
jne 0x14007f979
lea rcx, [rsp + 0x60]
mov rdx, rsi
call fcn.140006090
jmp 0x14007fb93
cmp rbx, qword [0x140114480]
jbe 0x14007f9a8
cmp rbx, qword [r12 + 0x18]
jbe 0x14007f9a8
lea r8, [0x1400e346c]
lea rdx, [0x1400fff00]
lea rcx, [0x14011b1d0]
call fcn.140040760
jmp 0x14007fb93
cmp rax, 2
jae 0x14007f9c2
xor r8d, r8d
mov rcx, r12
lea edx, [r8 + 4]
call fcn.1400b1bb0
jmp 0x14007fb93
movzx eax, byte [r12 + 0x21]
test al, 2
je 0x14007f9dd
mov rcx, qword [r12]
and al, 0x3d
mov byte [r12 + 0x21], al
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
mov rcx, qword [r12 + 0x18]
and byte [r12 + 0x21], 0x82
cmp rbx, rcx
jbe 0x14007fb62
movzx r8d, byte [r12 + 0x20]
movzx eax, r8b
cmp r8b, 1
jbe 0x14007fa18
cmp al, 2
je 0x14007fa59
mov rdi, qword [rbp + 0x1e0]
mov rax, qword [rbp + 0x1e0]
jmp 0x14007fb52
cmp rbx, 0x80
ja 0x14007fa59
cmp rbx, 8
ja 0x14007fa2c
mov rdi, r13
jmp 0x14007fa3d
mov edi, 0x80
cmp rbx, 0x10
mov eax, reloc.OLEAUT32.dll_SafeArrayGetDim
cmovbe edi, eax
mov rcx, rdi
call fcn.1400aa420
test rax, rax
je 0x14007fb93
mov byte [r12 + 0x20], 1
jmp 0x14007fb52
cmp rbx, 0x20
jae 0x14007fa69
mov edi, SafeArrayAllocDescriptor
jmp 0x14007fb09
cmp rbx, 0x208
jae 0x14007fa7c
mov edi, 0x208
jmp 0x14007fb09
cmp rbx, 0x50000
jae 0x14007fac5
pxor xmm0, xmm0
cvtsi2sd xmm0, rbx
test rbx, rbx
jns 0x14007fa97
addsd xmm0, xmm7
mulsd xmm0, xmm8
xor eax, eax
comisd xmm0, xmm6
jbe 0x14007fabb
subsd xmm0, xmm6
comisd xmm0, xmm6
jae 0x14007fabb
movabs rdx, 0x8000000000000000
mov rax, rdx
cvttsd2si rdi, xmm0
add rdi, rax
jmp 0x14007fb09
cmp rbx, 0x320000
jae 0x14007fad7
lea rdi, [rbx + 0x8000]
jmp 0x14007fb09
cmp rbx, 0xc80000
jae 0x14007fb02
movabs rax, 0x47ae147ae147ae15
mov rdi, rbx
mul rbx
sub rdi, rdx
shr rdi, 1
add rdi, rdx
shr rdi, 6
add rdi, rbx
jmp 0x14007fb09
lea rdi, [rbx + 0x20000]
mov rax, qword [0x140114480]
cmp rdi, rax
cmova rdi, rax
cmp r8b, 2
jne 0x14007fb30
test rcx, rcx
je 0x14007fb30
mov rcx, qword [r12 + 8]
mov bl, 1
call fcn.1400cb13c
jmp 0x14007fb32
xor bl, bl
test rdi, rdi
js 0x14007fc25
mov rcx, rdi
call fcn.1400ca9c4
test rax, rax
je 0x14007fc25
mov byte [r12 + 0x20], 2
and byte [r12 + 0x21], 0x7f
mov qword [r12 + 8], rax
mov qword [r12 + 0x18], rdi
mov rcx, qword [r12 + 8]
lea rax, [rsp + 0x60]
cmp rcx, rax
je 0x14007fb7f
lea r8, [rsi + rsi]
lea rdx, [rsp + 0x60]
call fcn.1400cb300
mov rax, qword [r12 + 8]
lea rcx, [rsi + rsi]
xor edx, edx
mov word [rcx + rax], dx
mov qword [r12 + 0x10], rcx
test r14, r14
je 0x14007fbd6
mov rcx, qword [rsp + 0x30]
lea rdx, [rsp + 0x60]
mov r8d, 0x104
mov rax, qword [rcx]
call qword [rax + 0x50]
movzx r11d, byte [r14 + 0x23]
test r11b, r11b
jne 0x14007fc6e
mov rcx, qword [r14 + 0x10]
lea rdx, [rsp + 0x60]
xor r9d, r9d
or r8, 0xffffffffffffffff
mov byte [rsp + 0x20], 1
call fcn.1400b1500
xor r12d, r12d
test r15, r15
je 0x140080155
mov rcx, qword [rsp + 0x30]
lea rdx, [rsp + 0x60]
mov r8d, 0x104
mov rax, qword [rcx]
call qword [rax + 0x30]
movzx r11d, byte [r15 + 0x23]
test r11b, r11b
jne 0x14007ff03
mov rcx, qword [r15 + 0x10]
lea rdx, [rsp + 0x60]
xor r9d, r9d
or r8, 0xffffffffffffffff
mov byte [rsp + 0x20], 1
call fcn.1400b1500
jmp 0x140080155
test bl, bl
je 0x14007fc3e
lea rcx, [0x14011b184]
xor eax, eax
mov qword [r12 + 8], rcx
mov qword [r12 + 0x18], rax
jmp 0x14007fc4a
mov rax, qword [r12 + 8]
xor ecx, ecx
mov word [rax], cx
xor eax, eax
lea r8, [0x1400e346c]
lea rdx, [0x1400e6570]
lea rcx, [0x14011b1d0]
mov qword [r12 + 0x10], rax
call fcn.140040760
jmp 0x14007fb93
lea rax, [rsp + 0x60]
cmp qword [r14 + 8], rax
jne 0x14007fc82
mov rsi, qword [r14 + 0x10]
shr rsi, 1
jmp 0x14007fc97
or rcx, 0xffffffffffffffff
lea rdi, [rsp + 0x60]
xor eax, eax
repne scasw ax, word [rdi]
not rcx
lea rsi, [rcx - 1]
lea rax, [rsi + 1]
lea rbx, [rax + rax]
cmp r11b, 2
jne 0x14007fcb7
lea rcx, [rsp + 0x60]
mov rdx, rsi
call fcn.140006090
jmp 0x14007fbd6
cmp rbx, qword [0x140114480]
jbe 0x14007fce5
cmp rbx, qword [r14 + 0x18]
jbe 0x14007fce5
lea r8, [0x1400e346c]
lea rdx, [0x1400fff00]
lea rcx, [0x14011b1d0]
call fcn.140040760
jmp 0x14007fbd6
cmp rax, 2
jae 0x14007fcff
xor r8d, r8d
mov rcx, r14
lea edx, [r8 + 4]
call fcn.1400b1bb0
jmp 0x14007fbd6
movzx eax, byte [r14 + 0x21]
test al, 2
je 0x14007fd17
mov rcx, qword [r14]
and al, 0x3d
mov byte [r14 + 0x21], al
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
mov rcx, qword [r14 + 0x18]
and byte [r14 + 0x21], 0x82
cmp rbx, rcx
jbe 0x14007fe8b
movzx r8d, byte [r14 + 0x20]
movzx eax, r8b
cmp r8b, 1
jbe 0x14007fd4f
cmp al, 2
je 0x14007fd8f
mov rdi, qword [rbp + 0x1e0]
mov rax, qword [rbp + 0x1e0]
jmp 0x14007fe7e
cmp rbx, 0x80
ja 0x14007fd8f
cmp rbx, 8
ja 0x14007fd63
mov rdi, r13
jmp 0x14007fd74
mov edi, 0x80
cmp rbx, 0x10
mov eax, reloc.OLEAUT32.dll_SafeArrayGetDim
cmovbe edi, eax
mov rcx, rdi
call fcn.1400aa420
test rax, rax
je 0x14007fbd6
mov byte [r14 + 0x20], 1
jmp 0x14007fe7e
cmp rbx, 0x20
jae 0x14007fd9f
mov edi, SafeArrayAllocDescriptor
jmp 0x14007fe3f
cmp rbx, 0x208
jae 0x14007fdb2
mov edi, 0x208
jmp 0x14007fe3f
cmp rbx, 0x50000
jae 0x14007fdfb
pxor xmm0, xmm0
cvtsi2sd xmm0, rbx
test rbx, rbx
jns 0x14007fdcd
addsd xmm0, xmm7
mulsd xmm0, xmm8
xor eax, eax
comisd xmm0, xmm6
jbe 0x14007fdf1
subsd xmm0, xmm6
comisd xmm0, xmm6
jae 0x14007fdf1
movabs rdx, 0x8000000000000000
mov rax, rdx
cvttsd2si rdi, xmm0
add rdi, rax
jmp 0x14007fe3f
cmp rbx, 0x320000
jae 0x14007fe0d
lea rdi, [rbx + 0x8000]
jmp 0x14007fe3f
cmp rbx, 0xc80000
jae 0x14007fe38
movabs rax, 0x47ae147ae147ae15
mov rdi, rbx
mul rbx
sub rdi, rdx
shr rdi, 1
add rdi, rdx
shr rdi, 6
add rdi, rbx
jmp 0x14007fe3f
lea rdi, [rbx + 0x20000]
mov rax, qword [0x140114480]
cmp rdi, rax
cmova rdi, rax
cmp r8b, 2
jne 0x14007fe65
test rcx, rcx
je 0x14007fe65
mov rcx, qword [r14 + 8]
mov bl, 1
call fcn.1400cb13c
jmp 0x14007fe67
xor bl, bl
test rdi, rdi
js 0x14007fec0
mov rcx, rdi
call fcn.1400ca9c4
test rax, rax
je 0x14007fec0
mov byte [r14 + 0x20], 2
and byte [r14 + 0x21], 0x7f
mov qword [r14 + 8], rax
mov qword [r14 + 0x18], rdi
mov rcx, qword [r14 + 8]
lea rax, [rsp + 0x60]
cmp rcx, rax
je 0x14007fea7
lea r8, [rsi + rsi]
lea rdx, [rsp + 0x60]
call fcn.1400cb300
mov rax, qword [r14 + 8]
lea rcx, [rsi + rsi]
xor r12d, r12d
mov word [rcx + rax], r12w
mov qword [r14 + 0x10], rcx
jmp 0x14007fbd9
xor r12d, r12d
test bl, bl
je 0x14007fed8
lea rax, [0x14011b184]
mov qword [r14 + 0x18], r12
mov qword [r14 + 8], rax
jmp 0x14007fee0
mov rax, qword [r14 + 8]
mov word [rax], r12w
lea r8, [0x1400e346c]
lea rdx, [0x1400e6570]
lea rcx, [0x14011b1d0]
mov qword [r14 + 0x10], r12
call fcn.140040760
jmp 0x14007fbd9
lea rax, [rsp + 0x60]
cmp qword [r15 + 8], rax
jne 0x14007ff17
mov rsi, qword [r15 + 0x10]
shr rsi, 1
jmp 0x14007ff2c
or rcx, 0xffffffffffffffff
lea rdi, [rsp + 0x60]
xor eax, eax
repne scasw ax, word [rdi]
not rcx
lea rsi, [rcx - 1]
lea rax, [rsi + 1]
lea rbx, [rax + rax]
cmp r11b, 2
jne 0x14007ff4c
lea rcx, [rsp + 0x60]
mov rdx, rsi
call fcn.140006090
jmp 0x140080155
cmp rbx, qword [0x140114480]
jbe 0x14007ff7a
cmp rbx, qword [r15 + 0x18]
jbe 0x14007ff7a
lea r8, [0x1400e346c]
lea rdx, [0x1400fff00]
lea rcx, [0x14011b1d0]
call fcn.140040760
jmp 0x140080155
cmp rax, 2
jae 0x14007ff94
xor r8d, r8d
mov rcx, r15
lea edx, [r8 + 4]
call fcn.1400b1bb0
jmp 0x140080155
movzx eax, byte [r15 + 0x21]
test al, 2
je 0x14007ffac
mov rcx, qword [r15]
and al, 0x3d
mov byte [r15 + 0x21], al
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
mov rcx, qword [r15 + 0x18]
and byte [r15 + 0x21], 0x82
cmp rbx, rcx
jbe 0x140080128
movzx r8d, byte [r15 + 0x20]
movzx eax, r8b
cmp r8b, 1
jbe 0x14007ffe4
cmp al, 2
je 0x140080024
mov rdi, qword [rbp + 0x1e0]
mov rax, qword [rbp + 0x1e0]
jmp 0x14008011b
cmp rbx, 0x80
ja 0x140080024
cmp rbx, 8
ja 0x14007fff8
mov rdi, r13
jmp 0x140080009
mov edi, 0x80
cmp rbx, 0x10
mov eax, reloc.OLEAUT32.dll_SafeArrayGetDim
cmovbe edi, eax
mov rcx, rdi
call fcn.1400aa420
test rax, rax
je 0x140080155
mov byte [r15 + 0x20], 1
jmp 0x14008011b
cmp rbx, 0x20
jae 0x140080034
mov edi, SafeArrayAllocDescriptor
jmp 0x1400800d4
cmp rbx, 0x208
jae 0x140080047
mov edi, 0x208
jmp 0x1400800d4
cmp rbx, 0x50000
jae 0x140080090
pxor xmm0, xmm0
cvtsi2sd xmm0, rbx
test rbx, rbx
jns 0x140080062
addsd xmm0, xmm7
mulsd xmm0, xmm8
xor eax, eax
comisd xmm0, xmm6
jbe 0x140080086
subsd xmm0, xmm6
comisd xmm0, xmm6
jae 0x140080086
movabs rdx, 0x8000000000000000
mov rax, rdx
cvttsd2si rdi, xmm0
add rdi, rax
jmp 0x1400800d4
cmp rbx, 0x320000
jae 0x1400800a2
lea rdi, [rbx + 0x8000]
jmp 0x1400800d4
cmp rbx, 0xc80000
jae 0x1400800cd
movabs rax, 0x47ae147ae147ae15
mov rdi, rbx
mul rbx
sub rdi, rdx
shr rdi, 1
add rdi, rdx
shr rdi, 6
add rdi, rbx
jmp 0x1400800d4
lea rdi, [rbx + 0x20000]
mov rax, qword [0x140114480]
cmp rdi, rax
cmova rdi, rax
cmp r8b, 2
jne 0x1400800fa
test rcx, rcx
je 0x1400800fa
mov rcx, qword [r15 + 8]
mov bl, 1
call fcn.1400cb13c
jmp 0x1400800fc
xor bl, bl
test rdi, rdi
js 0x1400801c0
mov rcx, rdi
call fcn.1400ca9c4
test rax, rax
je 0x1400801c0
mov byte [r15 + 0x20], 2
and byte [r15 + 0x21], 0x7f
mov qword [r15 + 8], rax
mov qword [r15 + 0x18], rdi
mov rcx, qword [r15 + 8]
lea rax, [rsp + 0x60]
cmp rcx, rax
je 0x140080144
lea r8, [rsi + rsi]
lea rdx, [rsp + 0x60]
call fcn.1400cb300
mov rax, qword [r15 + 8]
lea rcx, [rsi + rsi]
mov word [rcx + rax], r12w
mov qword [r15 + 0x10], rcx
mov r12, qword [rsp + 0x50]
mov r14, qword [rsp + 0x48]
test r12, r12
jne 0x14008016d
test r14, r14
je 0x1400804cf
mov rcx, qword [rsp + 0x30]
lea r9, [rbp + 0x1f0]
lea rdx, [rsp + 0x60]
mov rax, qword [rcx]
mov r8d, 0x104
call qword [rax + 0x80]
test r12, r12
je 0x140080271
movzx edx, byte [r12 + 0x23]
test dl, dl
jne 0x140080200
mov rcx, qword [r12 + 0x10]
lea rdx, [rsp + 0x60]
xor r9d, r9d
or r8, 0xffffffffffffffff
mov byte [rsp + 0x20], 1
call fcn.1400b1500
jmp 0x140080271
test bl, bl
je 0x1400801d5
lea rax, [0x14011b184]
mov qword [r15 + 0x18], r12
mov qword [r15 + 8], rax
jmp 0x1400801dd
mov rax, qword [r15 + 8]
mov word [rax], r12w
lea r8, [0x1400e346c]
lea rdx, [0x1400e6570]
lea rcx, [0x14011b1d0]
mov qword [r15 + 0x10], r12
call fcn.140040760
jmp 0x140080155
lea rax, [rsp + 0x60]
cmp qword [r12 + 8], rax
jne 0x140080216
mov rsi, qword [r12 + 0x10]
shr rsi, 1
jmp 0x14008022b
or rcx, 0xffffffffffffffff
lea rdi, [rsp + 0x60]
xor eax, eax
repne scasw ax, word [rdi]
not rcx
lea rsi, [rcx - 1]
lea rax, [rsi + 1]
lea rbx, [rax + rax]
cmp dl, 2
jne 0x140080247
lea rcx, [rsp + 0x60]
mov rdx, rsi
call fcn.140006090
jmp 0x140080271
cmp rbx, qword [0x140114480]
jbe 0x1400802a8
cmp rbx, qword [r12 + 0x18]
jbe 0x1400802a8
lea r8, [0x1400e346c]
lea rdx, [0x1400fff00]
lea rcx, [0x14011b1d0]
call fcn.140040760
xor edx, edx
test r14, r14
je 0x1400804cf
cmp word [rsp + 0x60], 0
mov rcx, r14
je 0x1400804ca
mov eax, dword [rbp + 0x1f0]
mov r8b, reloc.OLEAUT32.dll_SafeArrayGetElement
test eax, eax
setns dl
add edx, eax
movsxd rdx, edx
call fcn.140001090
jmp 0x1400804cf
cmp rax, 2
jae 0x1400802bf
xor r8d, r8d
mov rcx, r12
lea edx, [r8 + 4]
call fcn.1400b1bb0
jmp 0x140080271
movzx eax, byte [r12 + 0x21]
test al, 2
je 0x1400802da
mov rcx, qword [r12]
and al, 0x3d
mov byte [r12 + 0x21], al
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
mov rcx, qword [r12 + 0x18]
and byte [r12 + 0x21], 0x82
cmp rbx, rcx
jbe 0x140080457
movzx r8d, byte [r12 + 0x20]
movzx eax, r8b
cmp r8b, 1
jbe 0x140080315
cmp al, 2
je 0x140080356
mov rdi, qword [rbp + 0x1e0]
mov rax, qword [rbp + 0x1e0]
jmp 0x140080447
cmp rbx, 0x80
ja 0x140080356
cmp rbx, 8
ja 0x140080329
mov rdi, r13
jmp 0x14008033a
mov edi, 0x80
cmp rbx, 0x10
mov eax, reloc.OLEAUT32.dll_SafeArrayGetDim
cmovbe edi, eax
mov rcx, rdi
call fcn.1400aa420
test rax, rax
je 0x140080271
mov byte [r12 + 0x20], 1
jmp 0x140080447
cmp rbx, 0x20
jae 0x140080366
mov edi, SafeArrayAllocDescriptor
jmp 0x140080406
cmp rbx, 0x208
jae 0x140080379
mov edi, 0x208
jmp 0x140080406
cmp rbx, 0x50000
jae 0x1400803c2
pxor xmm0, xmm0
cvtsi2sd xmm0, rbx
test rbx, rbx
jns 0x140080394
addsd xmm0, xmm7
mulsd xmm0, xmm8
xor eax, eax
comisd xmm0, xmm6
jbe 0x1400803b8
subsd xmm0, xmm6
comisd xmm0, xmm6
jae 0x1400803b8
movabs rdx, 0x8000000000000000
mov rax, rdx
cvttsd2si rdi, xmm0
add rdi, rax
jmp 0x140080406
cmp rbx, 0x320000
jae 0x1400803d4
lea rdi, [rbx + 0x8000]
jmp 0x140080406
cmp rbx, 0xc80000
jae 0x1400803ff
movabs rax, 0x47ae147ae147ae15
mov rdi, rbx
mul rbx
sub rdi, rdx
shr rdi, 1
add rdi, rdx
shr rdi, 6
add rdi, rbx
jmp 0x140080406
lea rdi, [rbx + 0x20000]
mov rax, qword [0x140114480]
cmp rdi, rax
cmova rdi, rax
cmp r8b, 2
jne 0x14008042d
test rcx, rcx
je 0x14008042d
mov rcx, qword [r12 + 8]
mov bl, 1
call fcn.1400cb13c
jmp 0x14008042f
xor bl, bl
test rdi, rdi
js 0x14008048d
mov rcx, rdi
call fcn.1400ca9c4
test rax, rax
je 0x14008048d
mov byte [r12 + 0x20], 2
and byte [r12 + 0x21], 0x7f
mov qword [r12 + 8], rax
mov qword [r12 + 0x18], rdi
mov rcx, qword [r12 + 8]
lea rax, [rsp + 0x60]
cmp rcx, rax
je 0x140080474
lea r8, [rsi + rsi]
lea rdx, [rsp + 0x60]
call fcn.1400cb300
mov rax, qword [r12 + 8]
lea rcx, [rsi + rsi]
xor edx, edx
mov word [rcx + rax], dx
mov qword [r12 + 0x10], rcx
jmp 0x140080273
test bl, bl
je 0x1400804a6
lea rcx, [0x14011b184]
xor eax, eax
mov qword [r12 + 8], rcx
mov qword [r12 + 0x18], rax
jmp 0x1400804b2
mov rax, qword [r12 + 8]
xor ecx, ecx
mov word [rax], cx
xor eax, eax
mov qword [r12 + 0x10], rax
lea r8, [0x1400e346c]
lea rdx, [0x1400e6570]
jmp 0x140080265
call fcn.14001c010
mov rdi, qword [rsp + 0x38]
test rdi, rdi
je 0x1400804fd
mov rcx, qword [rsp + 0x30]
lea rdx, [rbp + 0x1f8]
mov rax, qword [rcx]
call qword [rax + 0x70]
movsxd rdx, dword [rbp + 0x1f8]
mov r8b, reloc.OLEAUT32.dll_SafeArrayGetElement
mov rcx, rdi
call fcn.140001090
mov rdi, qword [0x14011a308]
movzx eax, byte [rdi + 0x23]
test al, al
jne 0x14008052d
mov rcx, qword [rdi + 0x10]
lea rdx, [0x1400e350c]
xor r9d, r9d
or r8, 0xffffffffffffffff
mov byte [rsp + 0x20], 1
call fcn.1400b1500
jmp 0x14008075e
lea rsi, [0x1400e350c]
cmp qword [rdi + 8], rsi
jne 0x140080543
mov r12, qword [rdi + 0x10]
shr r12, 1
jmp 0x140080549
mov r12d, 1
lea rcx, [r12 + 1]
lea rbx, [rcx + rcx]
cmp al, 2
jne 0x140080566
mov rdx, r12
mov rcx, rsi
call fcn.140006090
jmp 0x14008075e
cmp rbx, qword [0x140114480]
jbe 0x140080594
cmp rbx, qword [rdi + 0x18]
jbe 0x140080594
lea r8, [0x1400e346c]
lea rdx, [0x1400fff00]
lea rcx, [0x14011b1d0]
call fcn.140040760
jmp 0x14008075e
cmp rcx, 2
jae 0x1400805ae
xor r8d, r8d
mov rcx, rdi
lea edx, [r8 + 4]
call fcn.1400b1bb0
jmp 0x14008075e
movzx eax, byte [rdi + 0x21]
test al, 2
je 0x1400805c4
mov rcx, qword [rdi]
and al, 0x3d
mov byte [rdi + 0x21], al
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
mov rcx, qword [rdi + 0x18]
and byte [rdi + 0x21], 0x82
cmp rbx, rcx
jbe 0x140080737
movzx r8d, byte [rdi + 0x20]
movzx eax, r8b
cmp r8b, 1
jbe 0x1400805fb
cmp al, 2
je 0x140080637
mov r13, qword [rbp + 0x1e0]
mov rax, qword [rbp + 0x1e0]
jmp 0x14008072b
cmp rbx, 0x80
ja 0x140080637
cmp rbx, 8
jbe 0x14008061d
mov r13d, 0x80
cmp rbx, 0x10
mov eax, reloc.OLEAUT32.dll_SafeArrayGetDim
cmovbe r13d, eax
mov rcx, r13
call fcn.1400aa420
test rax, rax
je 0x14008075e
mov byte [rdi + 0x20], 1
jmp 0x14008072b
cmp rbx, 0x20
jae 0x140080648
mov r13d, SafeArrayAllocDescriptor
jmp 0x1400806e9
cmp rbx, 0x208
jae 0x14008065c
mov r13d, 0x208
jmp 0x1400806e9
cmp rbx, 0x50000
jae 0x1400806a5
pxor xmm0, xmm0
cvtsi2sd xmm0, rbx
test rbx, rbx
jns 0x140080677
addsd xmm0, xmm7
mulsd xmm0, xmm8
xor eax, eax
comisd xmm0, xmm6
jbe 0x14008069b
subsd xmm0, xmm6
comisd xmm0, xmm6
jae 0x14008069b
movabs rdx, 0x8000000000000000
mov rax, rdx
cvttsd2si r13, xmm0
add r13, rax
jmp 0x1400806e9
cmp rbx, 0x320000
jae 0x1400806b7
lea r13, [rbx + 0x8000]
jmp 0x1400806e9
cmp rbx, 0xc80000
jae 0x1400806e2
movabs rax, 0x47ae147ae147ae15
mov r13, rbx
mul rbx
sub r13, rdx
shr r13, 1
add r13, rdx
shr r13, 6
add r13, rbx
jmp 0x1400806e9
lea r13, [rbx + 0x20000]
mov rax, qword [0x140114480]
cmp r13, rax
cmova r13, rax
cmp r8b, 2
jne 0x14008070f
test rcx, rcx
je 0x14008070f
mov rcx, qword [rdi + 8]
mov bl, 1
call fcn.1400cb13c
jmp 0x140080711
xor bl, bl
test r13, r13
js 0x1400807a2
mov rcx, r13
call fcn.1400ca9c4
test rax, rax
je 0x1400807a2
mov byte [rdi + 0x20], 2
and byte [rdi + 0x21], 0x7f
mov qword [rdi + 8], rax
mov qword [rdi + 0x18], r13
mov rcx, qword [rdi + 8]
cmp rcx, rsi
je 0x14008074c
lea r8, [r12 + r12]
mov rdx, rsi
call fcn.1400cb300
mov rax, qword [rdi + 8]
lea rcx, [r12 + r12]
xor edx, edx
mov word [rcx + rax], dx
mov qword [rdi + 0x10], rcx
movaps xmm8, xmmword [rsp + 0x270]
movaps xmm7, xmmword [rsp + 0x280]
movaps xmm6, xmmword [rsp + 0x290]
mov dil, 1
mov rcx, qword [rsp + 0x40]
mov rdx, qword [rcx]
call qword [rdx + reloc.OLEAUT32.dll_SafeArrayGetDim]
mov rcx, qword [rsp + 0x30]
mov rdx, qword [rcx]
call qword [rdx + reloc.OLEAUT32.dll_SafeArrayGetDim]
call qword [sym.imp.ole32.dll_CoUninitialize]
test dil, dil
je 0x1400807e7
mov eax, 1
jmp 0x1400807f5
test bl, bl
je 0x1400807b9
lea rcx, [0x14011b184]
xor eax, eax
mov qword [rdi + 8], rcx
mov qword [rdi + 0x18], rax
jmp 0x1400807c4
mov rax, qword [rdi + 8]
xor ecx, ecx
mov word [rax], cx
xor eax, eax
lea r8, [0x1400e346c]
lea rdx, [0x1400e6570]
lea rcx, [0x14011b1d0]
mov qword [rdi + 0x10], rax
call fcn.140040760
jmp 0x14008075e
mov rcx, qword [rbp + 0x1e0]
mov dl, 1
call fcn.14003f1c0
mov rbx, qword [rsp + 0x2e8]
add rsp, 0x2a0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret