Function at 0x16c5f80
Capabilities:
Get thread local storage value

Disassembly:
mov rax, rsp
mov qword [rax + 0x18], r8
mov qword [rax + 0x10], rdx
mov qword [rax + 8], rcx
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x280
mov qword [rsp + 0x270], 0xfffffffffffffffe
mov r15, rdx
mov rbx, rcx
xor r14d, r14d
mov qword [rax - 0x80], r14
mov rax, qword [0x039f1180]
mov ecx, dword [rax + 8]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x16c5fda
lea rsi, [rax + 0x20]
mov qword [rsp + 0x38], rsi
jmp 0x16c5fe2
mov rsi, r14
mov qword [rsp + 0x38], r14
mov qword [rsp + 0x238], rsi
mov rcx, qword [rsi + 0x30]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VarBstrFromCy]
mov qword [rsp + 0x240], rax
mov rdi, r14
mov qword [rsp + 0x140], r14
cmp byte [r15 + 0x73], 0
je 0x16c6082
mov rax, qword [rbx + 0x10]
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], r14
xor r9d, r9d
xor r8d, r8d
mov rdx, qword [rax + 0x20]
lea rcx, [rsp + 0x140]
call fcn.015d59d0
mov r13d, eax
mov dword [rsp + 0x30], eax
test eax, eax
jns 0x16c6050
mov rdi, qword [rsp + 0x140]
mov rbx, qword [rsp + 0x38]
jmp 0x16c8558
mov rax, qword [rbx + 0x10]
mov rdi, qword [rsp + 0x140]
mov qword [rdi + 0x30], rax
mov dword [rsp + 0x30], r14d
mov rcx, rdi
call fcn.017bf230
mov r13d, eax
mov dword [rsp + 0x30], eax
test eax, eax
jns 0x16c6082
mov rbx, qword [rsp + 0x38]
jmp 0x16c8558
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0x70]
call fcn.0118c100
nop
mov edx, dword [reloc.OLEAUT32.dll_VariantInit]
and edx, 7
lea rax, [rdx + rdx*2]
lea r8, [0x01173e98]
movzx ecx, byte [r8 + rax*2 + 5]
movzx eax, byte [r8 + rax*2 + 4]
add eax, ecx
cdqe
movabs r9, 0x7fffffffffffffff
mov rcx, r9
sub rcx, rax
shr rcx, 1
sub rcx, 1
cmp rcx, 0x104
jge 0x16c6125
lea r8, [0x016c8670]
mov edx, 0x1e7
lea rcx, [0x0156f410]
call fcn.017eea00
mov r13d, eax
mov dword [rsp + 0x30], eax
lea rsi, [0x0104ef20]
mov qword [rsp + 0x70], rsi
lea r12, [0x0109b930]
mov qword [rsp + 0x88], r12
lea rcx, [rsp + 0x70]
call fcn.0116d120
nop
mov rbx, qword [rsp + 0x38]
jmp 0x16c8558
lea rax, [rdx + rdx*2]
movzx ecx, byte [r8 + rax*2 + 5]
movzx eax, byte [r8 + rax*2 + 4]
add ecx, eax
movsxd rbx, ecx
add rbx, 0x20a
mov rcx, qword [rsi + 0x30]
cmp rbx, r9
jae 0x16c84ce
mov rax, qword [rcx]
mov rdx, rbx
call qword [rax + SafeArrayCopy]
test rax, rax
je 0x16c84ce
mov rcx, qword [rsi + 0x28]
mov qword [rsp + 0x90], rcx
mov qword [rsp + 0x98], rax
mov qword [rsp + 0xa0], r14
mov qword [rsp + 0xa8], rbx
mov dword [rsp + 0x30], r14d
lea rcx, [rsp + 0x40]
call fcn.0116a950
nop
mov r9, qword [rsi + 0x40]
xor r8d, r8d
lea rdx, [rsp + 0x88]
lea rcx, [rsp + 0x40]
call fcn.0118a2d0
mov r13d, eax
mov dword [rsp + 0x30], eax
test eax, eax
jns 0x16c61f3
lea rcx, [rsp + 0x40]
call fcn.0116a920
nop
lea rsi, [0x0104ef20]
mov qword [rsp + 0x70], rsi
lea r12, [0x0109b930]
mov qword [rsp + 0x88], r12
lea rcx, [rsp + 0x70]
call fcn.0116d120
nop
mov rbx, qword [rsp + 0x38]
jmp 0x16c8558
mov r8, r14
mov qword [rsp + 0x250], r14
lea rdx, [r15 + 0x68]
cmp qword [rsp + 0x40], r14
jne 0x16c6232
mov rcx, qword [rdx]
mov al, byte [rcx - 5]
and eax, 7
lea rax, [rax + rax*2]
lea rbx, [0x01173e98]
movzx eax, byte [rbx + rax*2 + 2]
sub rcx, rax
mov r8, qword [rcx]
mov qword [rsp + 0x250], r8
jmp 0x16c6239
lea rbx, [0x01173e98]
mov r9d, 7
lea rcx, [rsp + 0x40]
call fcn.01174350
mov r13d, eax
test eax, eax
jns 0x16c6252
jmp 0x16c6255
mov r13d, r14d
mov dword [rsp + 0x30], r13d
test r13d, r13d
jns 0x16c629a
lea rcx, [rsp + 0x40]
call fcn.0116a920
nop
lea rsi, [0x0104ef20]
mov qword [rsp + 0x70], rsi
lea r12, [0x0109b930]
mov qword [rsp + 0x88], r12
lea rcx, [rsp + 0x70]
call fcn.0116d120
nop
mov rbx, qword [rsp + 0x38]
jmp 0x16c8558
mov rax, qword [rsp + 0x40]
test rax, rax
je 0x16c62e0
test byte [rax - 5], 0x40
jne 0x16c62b0
movsxd rcx, dword [rax - 4]
jmp 0x16c62c0
mov rcx, qword [rax]
call qword [sym.imp.OLEAUT32.dll_SysAllocStringByteLen]
mov ecx, eax
mov rax, qword [rsp + 0x40]
shr rcx, 1
test rax, rax
je 0x16c62e3
movzx edx, byte [rax - 5]
test dl, 0x40
jne 0x16c62db
test dl, 0x20
jne 0x16c62db
mov rdx, rax
jmp 0x16c62e6
mov rdx, qword [rax]
jmp 0x16c62e6
mov rcx, r14
mov rdx, r14
cmp word [rdx + rcx*2 - 2], 0x5c
je 0x16c6390
test rax, rax
je 0x16c630f
movzx edx, byte [rax - 5]
test dl, 0x40
jne 0x16c630a
test dl, 0x20
jne 0x16c630a
mov rdx, rax
jmp 0x16c6312
mov rdx, qword [rax]
jmp 0x16c6312
mov rdx, r14
cmp word [rdx + rcx*2 - 2], 0x2f
je 0x16c6390
mov word [rsp + 0x2d8], VarDateFromDisp
lea rcx, [rsp + 0x40]
mov qword [rsp + 0x20], rcx
xor r9d, r9d
lea r8d, [r9 + 1]
lea rdx, [rsp + 0x2d8]
mov rcx, rax
call fcn.0119ad40
mov r13d, eax
mov dword [rsp + 0x30], eax
test eax, eax
jns 0x16c638b
lea rcx, [rsp + 0x40]
call fcn.0116a920
nop
lea rsi, [0x0104ef20]
mov qword [rsp + 0x70], rsi
lea r12, [0x0109b930]
mov qword [rsp + 0x88], r12
lea rcx, [rsp + 0x70]
call fcn.0116d120
nop
mov rbx, qword [rsp + 0x38]
jmp 0x16c8558
mov rax, qword [rsp + 0x40]
test rax, rax
je 0x16c63b9
test byte [rax - 5], 0x40
jne 0x16c63a1
movsxd rax, dword [rax - 4]
jmp 0x16c63ac
mov rcx, qword [rax]
call qword [sym.imp.OLEAUT32.dll_SysAllocStringByteLen]
mov eax, eax
shr rax, 1
mov qword [rsp + 0x2d8], rax
jmp 0x16c63c1
mov qword [rsp + 0x2d8], r14
mov rdx, r14
mov qword [rsp + 0x220], rdx
mov rax, qword [r15 + 0x98]
mov qword [rsp + 0x248], rax
lea rsi, [0x0104ef20]
lea r12, [0x0109b930]
nop
nop
cmp rdx, rax
jge 0x16c84a6
cmp rdx, 5
jge 0x16c6409
lea rax, [r15 + rdx*8 + 0xa8]
jmp 0x16c6415
mov rax, qword [r15 + 0x90]
lea rax, [rax + rdx*8 - 0x28]
mov rax, qword [rax]
mov qword [rsp + 0x228], rax
mov rcx, r14
mov qword [rsp + 0x230], rcx
mov rdx, qword [rax + 0xa8]
mov qword [rsp + 0x260], rdx
nop
nop
cmp rcx, rdx
jge 0x16c847d
cmp rcx, 5
jge 0x16c6459
lea rax, [rax + rcx*8 + 0xb8]
jmp 0x16c6465
mov rax, qword [rax + 0xa0]
lea rax, [rax + rcx*8 - 0x28]
mov r15, qword [rax]
mov qword [rsp + 0x210], r15
cmp qword [r15 + 0x60], 0
je 0x16c648c
mov rcx, qword [r15 + 0x60]
movzx eax, byte [rcx - 5]
test al, 0x40
jne 0x16c6487
test al, 0x20
je 0x16c648f
mov rcx, qword [rcx]
jmp 0x16c648f
mov rcx, r14
call fcn.018a4720
mov r13d, eax
mov dword [rsp + 0x30], eax
test eax, eax
jns 0x16c64cc
lea rcx, [rsp + 0x40]
call fcn.0116a920
nop
mov qword [rsp + 0x70], rsi
mov qword [rsp + 0x88], r12
lea rcx, [rsp + 0x70]
call fcn.0116d120
nop
mov rbx, qword [rsp + 0x38]
jmp 0x16c8558
test eax, eax
sete al
test al, al
je 0x16c6506
cmp qword [r15 + 0x60], 0
je 0x16c64f1
mov rdx, qword [r15 + 0x60]
movzx eax, byte [rdx - 5]
test al, 0x40
jne 0x16c64ec
test al, 0x20
je 0x16c64f4
mov rdx, qword [rdx]
jmp 0x16c64f4
mov rdx, r14
lea rcx, [0x016c8620]
call qword [sym.imp.MSVCR80.dll_wprintf]
jmp 0x16c83d7
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0xc0]
call fcn.0118c100
nop
mov edx, dword [reloc.OLEAUT32.dll_VariantInit]
and edx, 7
lea rax, [rdx + rdx*2]
movzx ecx, byte [rbx + rax*2 + 5]
movzx eax, byte [rbx + rax*2 + 4]
add eax, ecx
cdqe
movabs r8, 0x7fffffffffffffff
mov rcx, r8
sub rcx, rax
shr rcx, 1
sub rcx, 1
cmp rcx, 0x104
jge 0x16c65be
lea r8, [0x016c8670]
mov edx, 0x20d
lea rcx, [0x0156f410]
call fcn.017eea00
mov r13d, eax
mov dword [rsp + 0x30], eax
mov qword [rsp + 0xc0], rsi
mov qword [rsp + 0xd8], r12
lea rcx, [rsp + 0xc0]
call fcn.0116d120
nop
lea rcx, [rsp + 0x40]
call fcn.0116a920
nop
mov qword [rsp + 0x70], rsi
mov qword [rsp + 0x88], r12
lea rcx, [rsp + 0x70]
call fcn.0116d120
nop
mov rbx, qword [rsp + 0x38]
jmp 0x16c8558
lea rax, [rdx + rdx*2]
movzx ecx, byte [rbx + rax*2 + 5]
movzx eax, byte [rbx + rax*2 + 4]
add ecx, eax
movsxd rbx, ecx
add rbx, 0x20a
mov r13, qword [rsp + 0x38]
mov rcx, qword [r13 + 0x30]
cmp rbx, r8
jae 0x16c8407
mov rax, qword [rcx]
mov rdx, rbx
call qword [rax + SafeArrayCopy]
test rax, rax
je 0x16c8407
mov rcx, qword [r13 + 0x28]
mov qword [rsp + 0xe0], rcx
mov qword [rsp + 0xe8], rax
mov qword [rsp + 0xf0], r14
mov qword [rsp + 0xf8], rbx
mov dword [rsp + 0x30], r14d
lea rcx, [rsp + 0x48]
call fcn.0116a950
nop
mov r9, qword [r13 + 0x40]
xor r8d, r8d
lea rdx, [rsp + 0xd8]
lea rcx, [rsp + 0x48]
call fcn.0118a2d0
mov r13d, eax
mov dword [rsp + 0x30], eax
test eax, eax
jns 0x16c66aa
lea rcx, [rsp + 0x48]
call fcn.0116a920
nop
mov qword [rsp + 0xc0], rsi
mov qword [rsp + 0xd8], r12
lea rcx, [rsp + 0xc0]
call fcn.0116d120
nop
lea rcx, [rsp + 0x40]
call fcn.0116a920
nop
mov qword [rsp + 0x70], rsi
mov qword [rsp + 0x88], r12
lea rcx, [rsp + 0x70]
call fcn.0116d120
nop
mov rbx, qword [rsp + 0x38]
jmp 0x16c8558
mov rcx, qword [rsp + 0x228]
cmp qword [rcx + 0x88], 0
je 0x16c7e96
mov rcx, qword [rcx + 0x88]
test byte [rcx - 5], 0x40
jne 0x16c66d3
movsxd rax, dword [rcx - 4]
jmp 0x16c66de
mov rcx, qword [rcx]
call qword [sym.imp.OLEAUT32.dll_SysAllocStringByteLen]
mov eax, eax
shr rax, 1
je 0x16c7e96
mov rax, qword [rsp + 0x2c0]
mov rax, qword [rax + 0x10]
mov r14, qword [rax + 0x40]
mov rdx, qword [rsp + 0x2c8]
cmp qword [rdx + 0x68], 0
je 0x16c672f
mov rcx, qword [rdx + 0x68]
test byte [rcx - 5], 0x40
jne 0x16c6716
movsxd r13, dword [rcx - 4]
jmp 0x16c672a
mov rcx, qword [rcx]
call qword [sym.imp.OLEAUT32.dll_SysAllocStringByteLen]
mov r13d, eax
mov rdx, qword [rsp + 0x2c8]
shr r13, 1
jmp 0x16c6732
xor r13d, r13d
cmp qword [rdx + 0x68], 0
je 0x16c674e
mov rbx, qword [rdx + 0x68]
movzx eax, byte [rbx - 5]
test al, 0x40
jne 0x16c6749
test al, 0x20
je 0x16c6750
mov rbx, qword [rbx]
jmp 0x16c6750
xor ebx, ebx
cmp qword [rdx + 0x68], 0
je 0x16c6778
mov rcx, qword [rdx + 0x68]
test byte [rcx - 5], 0x40
jne 0x16c6767
movsxd r8, dword [rcx - 4]
jmp 0x16c6773
mov rcx, qword [rcx]
call qword [sym.imp.OLEAUT32.dll_SysAllocStringByteLen]
mov r8d, eax
shr r8, 1
jmp 0x16c677b
xor r8d, r8d
cmp qword [r15 + 0x60], 0
je 0x16c6797
mov rdx, qword [r15 + 0x60]
movzx eax, byte [rdx - 5]
test al, 0x40
jne 0x16c6792
test al, 0x20
je 0x16c6799
mov rdx, qword [rdx]
jmp 0x16c6799
xor edx, edx
mov rax, qword [r14]
mov qword [rsp + 0x20], r13
mov r9, rbx
mov rcx, r14
call qword [rax + 0x60]
test eax, eax
jne 0x16c6915
xor r14d, r14d
mov r8, r14
mov qword [rsp + 0x258], r14
mov rax, qword [rsp + 0x2c0]
lea rdx, [rax + 0x30]
cmp qword [rsp + 0x48], r14
jne 0x16c67fb
mov rcx, qword [rdx]
mov al, byte [rcx - 5]
and eax, 7
lea rax, [rax + rax*2]
lea r8, [0x01173e98]
movzx eax, byte [r8 + rax*2 + 2]
sub rcx, rax
mov r8, qword [rcx]
mov qword [rsp + 0x258], r8
mov r9d, 7
lea rcx, [rsp + 0x48]
call fcn.01174350
mov r13d, eax
test eax, eax
jns 0x16c6814
jmp 0x16c6817
mov r13d, r14d
mov dword [rsp + 0x30], r13d
test r13d, r13d
jns 0x16c6877
lea rcx, [rsp + 0x48]
call fcn.0116a920
nop
mov qword [rsp + 0xc0], rsi
mov qword [rsp + 0xd8], r12
lea rcx, [rsp + 0xc0]
call fcn.0116d120
nop
lea rcx, [rsp + 0x40]
call fcn.0116a920
nop
mov qword [rsp + 0x70], rsi
mov qword [rsp + 0x88], r12
lea rcx, [rsp + 0x70]
call fcn.0116d120
nop
mov rbx, qword [rsp + 0x38]
jmp 0x16c8558
cmp qword [r15 + 0x60], r14
je 0x16c6894
mov rax, qword [r15 + 0x60]
movzx ecx, byte [rax - 5]
test cl, 0x40
jne 0x16c688f
test cl, 0x20
je 0x16c6897
mov rax, qword [rax]
jmp 0x16c6897
mov rax, r14
mov rcx, qword [rsp + 0x2d8]
lea rdx, [rax + rcx*2]
xor r8d, r8d
lea rcx, [rsp + 0x48]
call fcn.012d1c90
mov r13d, eax
mov dword [rsp + 0x30], eax
test eax, eax
jns 0x16c7ff4
lea rcx, [rsp + 0x48]
call fcn.0116a920
nop
mov qword [rsp + 0xc0], rsi
mov qword [rsp + 0xd8], r12
lea rcx, [rsp + 0xc0]
call fcn.0116d120
nop
lea rcx, [rsp + 0x40]
call fcn.0116a920
nop
mov qword [rsp + 0x70], rsi
mov qword [rsp + 0x88], r12
lea rcx, [rsp + 0x70]
call fcn.0116d120
nop
mov rbx, qword [rsp + 0x38]
jmp 0x16c8558
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0x100]
call fcn.0118c100
lodsb al, byte [rsi]
call qword [rax - 0x1a15ea75]
xor al, byte [rdx]
and edx, 7
lea rax, [rdx + rdx*2]
lea r8, [0x01173e98]
add eax, 0xffaad55c
movzx ecx, byte [r8 + rax*2 + 5]
movzx eax, byte [r8 + rax*2 + 4]
add eax, ecx
cdqe
movabs r9, 0x7fffffffffffffff
mov rcx, r9
sub rcx, rax
shr rcx, 1
sub rcx, 1
cmp rcx, 3
jge 0x16c6a03
lea r8, [0x016c8670]
mov edx, 0x228
lea rcx, [0x0156f410]
call fcn.017eea00
mov r13d, eax
mov dword [rsp + 0x30], eax
mov qword [rsp + 0x100], rsi
mov qword [rsp + 0x118], r12
lea rcx, [rsp + 0x100]
call fcn.0116d120
nop
lea rcx, [rsp + 0x48]
call fcn.0116a920
nop
mov qword [rsp + 0xc0], rsi
mov qword [rsp + 0xd8], r12
lea rcx, [rsp + 0xc0]
call fcn.0116d120
nop
lea rcx, [rsp + 0x40]
call fcn.0116a920
nop
mov qword [rsp + 0x70], rsi
mov qword [rsp + 0x88], r12
lea rcx, [rsp + 0x70]
call fcn.0116d120
nop
xor r14d, r14d
mov rbx, qword [rsp + 0x38]
jmp 0x16c8558
lea rax, [rdx + rdx*2]
movzx ecx, byte [r8 + rax*2 + 5]
movzx eax, byte [r8 + rax*2 + 4]
add ecx, eax
movsxd rbx, ecx
add rbx, 8
mov r13, qword [rsp + 0x38]
mov rcx, qword [r13 + 0x30]
cmp rbx, r9
jae 0x16c7df4
mov rax, qword [rcx]
mov rdx, rbx
call qword [rax + SafeArrayCopy]
test rax, rax
je 0x16c7df4
mov rcx, qword [r13 + 0x28]
mov qword [rsp + 0x120], rcx
mov qword [rsp + 0x128], rax
xor r14d, r14d
mov qword [rsp + 0x130], r14
mov qword [rsp + 0x138], rbx
mov dword [rsp + 0x30], r14d
lea rcx, [rsp + 0x50]
call fcn.0116a950
nop
mov r9, qword [r13 + 0x40]
xor r8d, r8d
lea rdx, [rsp + 0x118]
lea rcx, [rsp + 0x50]
call fcn.0118a2d0
mov r13d, eax
mov dword [rsp + 0x30], eax
test eax, eax
jns 0x16c6b1a
lea rcx, [rsp + 0x50]
call fcn.0116a920
nop
mov qword [rsp + 0x100], rsi
mov qword [rsp + 0x118], r12
lea rcx, [rsp + 0x100]
call fcn.0116d120
nop
lea rcx, [rsp + 0x48]
call fcn.0116a920
nop
mov qword [rsp + 0xc0], rsi
mov qword [rsp + 0xd8], r12
lea rcx, [rsp + 0xc0]
call fcn.0116d120
nop
lea rcx, [rsp + 0x40]
call fcn.0116a920
nop
mov qword [rsp + 0x70], rsi
mov qword [rsp + 0x88], r12
lea rcx, [rsp + 0x70]
call fcn.0116d120
nop
mov rbx, qword [rsp + 0x38]
jmp 0x16c8558
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0x150]
call fcn.0118c100
nop
mov edx, dword [reloc.OLEAUT32.dll_VariantInit]
and edx, 7
lea rax, [rdx + rdx*2]
lea r8, [0x01173e98]
movzx ecx, byte [r8 + rax*2 + 5]
movzx eax, byte [r8 + rax*2 + 4]
add eax, ecx
cdqe
movabs r9, 0x7fffffffffffffff
mov rcx, r9
sub rcx, rax
shr rcx, 1
sub rcx, 1
cmp rcx, 0x100
jge 0x16c6c31
lea r8, [0x016c8670]
mov edx, 0x229
lea rcx, [0x0156f410]
call fcn.017eea00
mov r13d, eax
mov dword [rsp + 0x30], eax
mov qword [rsp + 0x150], rsi
mov qword [rsp + 0x168], r12
lea rcx, [rsp + 0x150]
call fcn.0116d120
nop
lea rcx, [rsp + 0x50]
call fcn.0116a920
nop
mov qword [rsp + 0x100], rsi
mov qword [rsp + 0x118], r12
lea rcx, [rsp + 0x100]
call fcn.0116d120
nop
lea rcx, [rsp + 0x48]
call fcn.0116a920
nop
mov qword [rsp + 0xc0], rsi
mov qword [rsp + 0xd8], r12
lea rcx, [rsp + 0xc0]
call fcn.0116d120
nop
lea rcx, [rsp + 0x40]
call fcn.0116a920
nop
mov qword [rsp + 0x70], rsi
mov qword [rsp + 0x88], r12
lea rcx, [rsp + 0x70]
call fcn.0116d120
nop
mov rbx, qword [rsp + 0x38]
jmp 0x16c8558
lea rax, [rdx + rdx*2]
movzx ecx, byte [r8 + rax*2 + 5]
movzx eax, byte [r8 + rax*2 + 4]
add ecx, eax
movsxd rbx, ecx
add rbx, 0x202
mov r13, qword [rsp + 0x38]
mov rcx, qword [r13 + 0x30]
cmp rbx, r9
jae 0x16c7d2c
mov rax, qword [rcx]
mov rdx, rbx
call qword [rax + SafeArrayCopy]
test rax, rax
je 0x16c7d2c
mov rcx, qword [r13 + 0x28]
mov qword [rsp + 0x170], rcx
mov qword [rsp + 0x178], rax
mov qword [rsp + 0x180], r14
mov qword [rsp + 0x188], rbx
mov dword [rsp + 0x30], r14d
lea rcx, [rsp + 0x58]
call fcn.0116a950
nop
mov r9, qword [r13 + 0x40]
xor r8d, r8d
lea rdx, [rsp + 0x168]
lea rcx, [rsp + 0x58]
call fcn.0118a2d0
mov r13d, eax
mov dword [rsp + 0x30], eax
test eax, eax
jns 0x16c6d75
lea rcx, [rsp + 0x58]
call fcn.0116a920
nop
mov qword [rsp + 0x150], rsi
mov qword [rsp + 0x168], r12
lea rcx, [rsp + 0x150]
call fcn.0116d120
nop
lea rcx, [rsp + 0x50]
call fcn.0116a920
nop
mov qword [rsp + 0x100], rsi
mov qword [rsp + 0x118], r12
lea rcx, [rsp + 0x100]
call fcn.0116d120
nop
lea rcx, [rsp + 0x48]
call fcn.0116a920
nop
mov qword [rsp + 0xc0], rsi
mov qword [rsp + 0xd8], r12
lea rcx, [rsp + 0xc0]
call fcn.0116d120
nop
lea rcx, [rsp + 0x40]
call fcn.0116a920
nop
mov qword [rsp + 0x70], rsi
mov qword [rsp + 0x88], r12
lea rcx, [rsp + 0x70]
call fcn.0116d120
nop
mov rbx, qword [rsp + 0x38]
jmp 0x16c8558
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0x190]
call fcn.0118c100
nop
mov edx, dword [reloc.OLEAUT32.dll_VariantInit]
and edx, 7
lea rax, [rdx + rdx*2]
lea r8, [0x01173e98]
movzx ecx, byte [r8 + rax*2 + 5]
movzx eax, byte [r8 + rax*2 + 4]
add eax, ecx
cdqe
movabs r9, 0x7fffffffffffffff
mov rcx, r9
sub rcx, rax
shr rcx, 1
sub rcx, 1
cmp rcx, 0x100
jge 0x16c6eb5
lea r8, [0x016c8670]
mov edx, 0x22a
lea rcx, [0x0156f410]
call fcn.017eea00
mov r13d, eax
mov dword [rsp + 0x30], eax
mov qword [rsp + 0x190], rsi
mov qword [rsp + 0x1a8], r12
lea rcx, [rsp + 0x190]
call fcn.0116d120
nop
lea rcx, [rsp + 0x58]
call fcn.0116a920
nop
mov qword [rsp + 0x150], rsi
mov qword [rsp + 0x168], r12
lea rcx, [rsp + 0x150]
call fcn.0116d120
nop
lea rcx, [rsp + 0x50]
call fcn.0116a920
nop
mov qword [rsp + 0x100], rsi
mov qword [rsp + 0x118], r12
lea rcx, [rsp + 0x100]
call fcn.0116d120
nop
lea rcx, [rsp + 0x48]
call fcn.0116a920
nop
mov qword [rsp + 0xc0], rsi
mov qword [rsp + 0xd8], r12
lea rcx, [rsp + 0xc0]
call fcn.0116d120
nop
lea rcx, [rsp + 0x40]
call fcn.0116a920
nop
mov qword [rsp + 0x70], rsi
mov qword [rsp + 0x88], r12
lea rcx, [rsp + 0x70]
call fcn.0116d120
nop
mov rbx, qword [rsp + 0x38]
jmp 0x16c8558
lea rax, [rdx + rdx*2]
movzx ecx, byte [r8 + rax*2 + 5]
movzx eax, byte [r8 + rax*2 + 4]
add ecx, eax
movsxd rbx, ecx
add rbx, 0x202
mov r13, qword [rsp + 0x38]
mov rcx, qword [r13 + 0x30]
cmp rbx, r9
jae 0x16c7c3b
mov rax, qword [rcx]
mov rdx, rbx
call qword [rax + SafeArrayCopy]
test rax, rax
je 0x16c7c3b
mov rcx, qword [r13 + 0x28]
mov qword [rsp + 0x1b0], rcx
mov qword [rsp + 0x1b8], rax
mov qword [rsp + 0x1c0], r14
mov qword [rsp + 0x1c8], rbx
mov dword [rsp + 0x30], r14d
lea rcx, [rsp + 0x68]
call fcn.0116a950
nop
mov r9, qword [r13 + 0x40]
xor r8d, r8d
lea rdx, [rsp + 0x1a8]
lea rcx, [rsp + 0x68]
call fcn.0118a2d0
mov r13d, eax
mov dword [rsp + 0x30], eax
test eax, eax
jns 0x16c7022
lea rcx, [rsp + 0x68]
call fcn.0116a920
nop
mov qword [rsp + 0x190], rsi
mov qword [rsp + 0x1a8], r12
lea rcx, [rsp + 0x190]
call fcn.0116d120
nop
lea rcx, [rsp + 0x58]
call fcn.0116a920
nop
mov qword [rsp + 0x150], rsi
mov qword [rsp + 0x168], r12
lea rcx, [rsp + 0x150]
call fcn.0116d120
nop
lea rcx, [rsp + 0x50]
call fcn.0116a920
nop
mov qword [rsp + 0x100], rsi
mov qword [rsp + 0x118], r12
lea rcx, [rsp + 0x100]
call fcn.0116d120
nop
lea rcx, [rsp + 0x48]
call fcn.0116a920
nop
mov qword [rsp + 0xc0], rsi
mov qword [rsp + 0xd8], r12
lea rcx, [rsp + 0xc0]
call fcn.0116d120
nop
lea rcx, [rsp + 0x40]
call fcn.0116a920
nop
mov qword [rsp + 0x70], rsi
mov qword [rsp + 0x88], r12
lea rcx, [rsp + 0x70]
call fcn.0116d120
nop
mov rbx, qword [rsp + 0x38]
jmp 0x16c8558
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0x1d0]
call fcn.0118c100
nop
mov edx, dword [reloc.OLEAUT32.dll_VariantInit]
and edx, 7
lea rax, [rdx + rdx*2]
lea r8, [0x01173e98]
movzx ecx, byte [r8 + rax*2 + 5]
movzx eax, byte [r8 + rax*2 + 4]
add eax, ecx
cdqe
movabs r9, 0x7fffffffffffffff
mov rcx, r9
sub rcx, rax
shr rcx, 1
sub rcx, 1
cmp rcx, 0x100
jge 0x16c718b
lea r8, [0x016c8670]
mov edx, 0x22b
lea rcx, [0x0156f410]
call fcn.017eea00
mov r13d, eax
mov dword [rsp + 0x30], eax
mov qword [rsp + 0x1d0], rsi
mov qword [rsp + 0x1e8], r12
lea rcx, [rsp + 0x1d0]
call fcn.0116d120
nop
lea rcx, [rsp + 0x68]
call fcn.0116a920
nop
mov qword [rsp + 0x190], rsi
mov qword [rsp + 0x1a8], r12
lea rcx, [rsp + 0x190]
call fcn.0116d120
nop
lea rcx, [rsp + 0x58]
call fcn.0116a920
nop
mov qword [rsp + 0x150], rsi
mov qword [rsp + 0x168], r12
lea rcx, [rsp + 0x150]
call fcn.0116d120
nop
lea rcx, [rsp + 0x50]
call fcn.0116a920
nop
mov qword [rsp + 0x100], rsi
mov qword [rsp + 0x118], r12
lea rcx, [rsp + 0x100]
call fcn.0116d120
nop
lea rcx, [rsp + 0x48]
call fcn.0116a920
nop
mov qword [rsp + 0xc0], rsi
mov qword [rsp + 0xd8], r12
lea rcx, [rsp + 0xc0]
call fcn.0116d120
nop
lea rcx, [rsp + 0x40]
call fcn.0116a920
nop
mov qword [rsp + 0x70], rsi
mov qword [rsp + 0x88], r12
lea rcx, [rsp + 0x70]
call fcn.0116d120
nop
mov rbx, qword [rsp + 0x38]
jmp 0x16c8558
lea rax, [rdx + rdx*2]
movzx ecx, byte [r8 + rax*2 + 5]
movzx eax, byte [r8 + rax*2 + 4]
add ecx, eax
movsxd rbx, ecx
add rbx, 0x202
mov r13, qword [rsp + 0x38]
mov rcx, qword [r13 + 0x30]
cmp rbx, r9
jae 0x16c7b21
mov rax, qword [rcx]
mov rdx, rbx
call qword [rax + SafeArrayCopy]
test rax, rax
je 0x16c7b21
mov rcx, qword [r13 + 0x28]
mov qword [rsp + 0x1f0], rcx
mov qword [rsp + 0x1f8], rax
mov qword [rsp + 0x200], r14
mov qword [rsp + 0x208], rbx
mov dword [rsp + 0x30], r14d
lea rcx, [rsp + 0xb0]
call fcn.0116a950
nop
mov r9, qword [r13 + 0x40]
xor r8d, r8d
lea rdx, [rsp + 0x1e8]
lea rcx, [rsp + 0xb0]
call fcn.0118a2d0
mov r13d, eax
mov dword [rsp + 0x30], eax
test eax, eax
jns 0x16c732a
lea rcx, [rsp + 0xb0]
call fcn.0116a920
nop
mov qword [rsp + 0x1d0], rsi
mov qword [rsp + 0x1e8], r12
lea rcx, [rsp + 0x1d0]
call fcn.0116d120
nop
lea rcx, [rsp + 0x68]
call fcn.0116a920
nop
mov qword [rsp + 0x190], rsi
mov qword [rsp + 0x1a8], r12
lea rcx, [rsp + 0x190]
call fcn.0116d120
nop
lea rcx, [rsp + 0x58]
call fcn.0116a920
nop
mov qword [rsp + 0x150], rsi
mov qword [rsp + 0x168], r12
lea rcx, [rsp + 0x150]
call fcn.0116d120
nop
lea rcx, [rsp + 0x50]
call fcn.0116a920
nop
mov qword [rsp + 0x100], rsi
mov qword [rsp + 0x118], r12
lea rcx, [rsp + 0x100]
call fcn.0116d120
nop
lea rcx, [rsp + 0x48]
call fcn.0116a920
nop
mov qword [rsp + 0xc0], rsi
mov qword [rsp + 0xd8], r12
lea rcx, [rsp + 0xc0]
call fcn.0116d120
nop
lea rcx, [rsp + 0x40]
call fcn.0116a920
nop
mov qword [rsp + 0x70], rsi
mov qword [rsp + 0x88], r12
lea rcx, [rsp + 0x70]
call fcn.0116d120
nop
mov rbx, qword [rsp + 0x38]
jmp 0x16c8558
cmp qword [r15 + 0x60], 0
je 0x16c7346
mov rcx, qword [r15 + 0x60]
movzx eax, byte [rcx - 5]
test al, 0x40
jne 0x16c7341
test al, 0x20
je 0x16c7349
mov rcx, qword [rcx]
jmp 0x16c7349
mov rcx, r14
lea rax, [rsp + 0xb0]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x68]
lea r8, [rsp + 0x58]
lea rdx, [rsp + 0x50]
call fcn.0122c660
mov r13d, eax
mov dword [rsp + 0x30], eax
test eax, eax
jns 0x16c7476
lea rcx, [rsp + 0xb0]
call fcn.0116a920
nop
mov qword [rsp + 0x1d0], rsi
mov qword [rsp + 0x1e8], r12
lea rcx, [rsp + 0x1d0]
call fcn.0116d120
nop
lea rcx, [rsp + 0x68]
call fcn.0116a920
nop
mov qword [rsp + 0x190], rsi
mov qword [rsp + 0x1a8], r12
lea rcx, [rsp + 0x190]
call fcn.0116d120
nop
lea rcx, [rsp + 0x58]
call fcn.0116a920
nop
mov qword [rsp + 0x150], rsi
mov qword [rsp + 0x168], r12
lea rcx, [rsp + 0x150]
call fcn.0116d120
nop
lea rcx, [rsp + 0x50]
call fcn.0116a920
nop
mov qword [rsp + 0x100], rsi
mov qword [rsp + 0x118], r12
lea rcx, [rsp + 0x100]
call fcn.0116d120
nop
lea rcx, [rsp + 0x48]
call fcn.0116a920
nop
mov qword [rsp + 0xc0], rsi
mov qword [rsp + 0xd8], r12
lea rcx, [rsp + 0xc0]
call fcn.0116d120
nop
lea rcx, [rsp + 0x40]
call fcn.0116a920
nop
mov qword [rsp + 0x70], rsi
mov qword [rsp + 0x88], r12
lea rcx, [rsp + 0x70]
call fcn.0116d120
nop
mov rbx, qword [rsp + 0x38]
jmp 0x16c8558
xor edx, edx
lea rcx, [rsp + 0x50]
call fcn.012cebe0
mov r13d, eax
mov dword [rsp + 0x30], eax
test eax, eax
jns 0x16c758e
lea rcx, [rsp + 0xb0]
call fcn.0116a920
nop
mov qword [rsp + 0x1d0], rsi
mov qword [rsp + 0x1e8], r12
lea rcx, [rsp + 0x1d0]
call fcn.0116d120
nop
lea rcx, [rsp + 0x68]
call fcn.0116a920
nop
mov qword [rsp + 0x190], rsi
mov qword [rsp + 0x1a8], r12
lea rcx, [rsp + 0x190]
call fcn.0116d120
nop
lea rcx, [rsp + 0x58]
call fcn.0116a920
nop
mov qword [rsp + 0x150], rsi
mov qword [rsp + 0x168], r12
lea rcx, [rsp + 0x150]
call fcn.0116d120
nop
lea rcx, [rsp + 0x50]
call fcn.0116a920
nop
mov qword [rsp + 0x100], rsi
mov qword [rsp + 0x118], r12
lea rcx, [rsp + 0x100]
call fcn.0116d120
nop
lea rcx, [rsp + 0x48]
call fcn.0116a920
nop
mov qword [rsp + 0xc0], rsi
mov qword [rsp + 0xd8], r12
lea rcx, [rsp + 0xc0]
call fcn.0116d120
nop
lea rcx, [rsp + 0x40]
call fcn.0116a920
nop
mov qword [rsp + 0x70], rsi
mov qword [rsp + 0x88], r12
lea rcx, [rsp + 0x70]
call fcn.0116d120
nop
mov rbx, qword [rsp + 0x38]
jmp 0x16c8558
mov rax, qword [rsp + 0xb0]
test rax, rax
je 0x16c75ae
movzx ecx, byte [rax - 5]
test cl, 0x40
jne 0x16c75a9
test cl, 0x20
je 0x16c75b1
mov rax, qword [rax]
jmp 0x16c75b1
mov rax, r14
mov r9, qword [rsp + 0x68]
test r9, r9
je 0x16c75cf
movzx ecx, byte [r9 - 5]
test cl, 0x40
jne 0x16c75ca
test cl, 0x20
je 0x16c75d2
mov r9, qword [r9]
jmp 0x16c75d2
mov r9, r14
mov r8, qword [rsp + 0x58]
test r8, r8
je 0x16c75f0
movzx ecx, byte [r8 - 5]
test cl, 0x40
jne 0x16c75eb
test cl, 0x20
je 0x16c75f3
mov r8, qword [r8]
jmp 0x16c75f3
mov r8, r14
mov qword [rsp + 0x20], rax
xor edx, edx
lea rcx, [rsp + 0x50]
call fcn.0122c810
mov r13d, eax
mov dword [rsp + 0x30], eax
test eax, eax
jns 0x16c7710
lea rcx, [rsp + 0xb0]
call fcn.0116a920
nop
mov qword [rsp + 0x1d0], rsi
mov qword [rsp + 0x1e8], r12
lea rcx, [rsp + 0x1d0]
call fcn.0116d120
nop
lea rcx, [rsp + 0x68]
call fcn.0116a920
nop
mov qword [rsp + 0x190], rsi
mov qword [rsp + 0x1a8], r12
lea rcx, [rsp + 0x190]
call fcn.0116d120
nop
lea rcx, [rsp + 0x58]
call fcn.0116a920
nop
mov qword [rsp + 0x150], rsi
mov qword [rsp + 0x168], r12
lea rcx, [rsp + 0x150]
call fcn.0116d120
nop
lea rcx, [rsp + 0x50]
call fcn.0116a920
nop
mov qword [rsp + 0x100], rsi
mov qword [rsp + 0x118], r12
lea rcx, [rsp + 0x100]
call fcn.0116d120
nop
lea rcx, [rsp + 0x48]
call fcn.0116a920
nop
mov qword [rsp + 0xc0], rsi
mov qword [rsp + 0xd8], r12
lea rcx, [rsp + 0xc0]
call fcn.0116d120
nop
lea rcx, [rsp + 0x40]
call fcn.0116a920
nop
mov qword [rsp + 0x70], rsi
mov qword [rsp + 0x88], r12
lea rcx, [rsp + 0x70]
call fcn.0116d120
nop
mov rbx, qword [rsp + 0x38]
jmp 0x16c8558
mov rdx, qword [rsp + 0x2c0]
add rdx, 0x30
xor r9d, r9d
xor r8d, r8d
lea rcx, [rsp + 0x48]
call fcn.0122c980
mov r13d, eax
mov dword [rsp + 0x30], eax
test eax, eax
jns 0x16c7838
lea rcx, [rsp + 0xb0]
call fcn.0116a920
nop
mov qword [rsp + 0x1d0], rsi
mov qword [rsp + 0x1e8], r12
lea rcx, [rsp + 0x1d0]
call fcn.0116d120
nop
lea rcx, [rsp + 0x68]
call fcn.0116a920
nop
mov qword [rsp + 0x190], rsi
mov qword [rsp + 0x1a8], r12
lea rcx, [rsp + 0x190]
call fcn.0116d120
nop
lea rcx, [rsp + 0x58]
call fcn.0116a920
nop
mov qword [rsp + 0x150], rsi
mov qword [rsp + 0x168], r12
lea rcx, [rsp + 0x150]
call fcn.0116d120
nop
lea rcx, [rsp + 0x50]
call fcn.0116a920
nop
mov qword [rsp + 0x100], rsi
mov qword [rsp + 0x118], r12
lea rcx, [rsp + 0x100]
call fcn.0116d120
nop
lea rcx, [rsp + 0x48]
call fcn.0116a920
nop
mov qword [rsp + 0xc0], rsi
mov qword [rsp + 0xd8], r12
lea rcx, [rsp + 0xc0]
call fcn.0116d120
nop
lea rcx, [rsp + 0x40]
call fcn.0116a920
nop
mov qword [rsp + 0x70], rsi
mov qword [rsp + 0x88], r12
lea rcx, [rsp + 0x70]
call fcn.0116d120
nop
mov rbx, qword [rsp + 0x38]
jmp 0x16c8558
xor r8d, r8d
lea rdx, [0x016c8600]
lea rcx, [rsp + 0x48]
call fcn.012d1c90
mov r13d, eax
mov dword [rsp + 0x30], eax
test eax, eax
jns 0x16c7958
lea rcx, [rsp + 0xb0]
call fcn.0116a920
nop
mov qword [rsp + 0x1d0], rsi
mov qword [rsp + 0x1e8], r12
lea rcx, [rsp + 0x1d0]
call fcn.0116d120
nop
lea rcx, [rsp + 0x68]
call fcn.0116a920
nop
mov qword [rsp + 0x190], rsi
mov qword [rsp + 0x1a8], r12
lea rcx, [rsp + 0x190]
call fcn.0116d120
nop
lea rcx, [rsp + 0x58]
call fcn.0116a920
nop
mov qword [rsp + 0x150], rsi
mov qword [rsp + 0x168], r12
lea rcx, [rsp + 0x150]
call fcn.0116d120
nop
lea rcx, [rsp + 0x50]
call fcn.0116a920
nop
mov qword [rsp + 0x100], rsi
mov qword [rsp + 0x118], r12
lea rcx, [rsp + 0x100]
call fcn.0116d120
nop
lea rcx, [rsp + 0x48]
call fcn.0116a920
nop
mov qword [rsp + 0xc0], rsi
mov qword [rsp + 0xd8], r12
lea rcx, [rsp + 0xc0]
call fcn.0116d120
nop
lea rcx, [rsp + 0x40]
call fcn.0116a920
nop
mov qword [rsp + 0x70], rsi
mov qword [rsp + 0x88], r12
lea rcx, [rsp + 0x70]
call fcn.0116d120
nop
mov rbx, qword [rsp + 0x38]
jmp 0x16c8558
xor r8d, r8d
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x48]
call fcn.012859b0
mov r13d, eax
mov dword [rsp + 0x30], eax
test eax, eax
jns 0x16c7a76
lea rcx, [rsp + 0xb0]
call fcn.0116a920
nop
mov qword [rsp + 0x1d0], rsi
mov qword [rsp + 0x1e8], r12
lea rcx, [rsp + 0x1d0]
call fcn.0116d120
nop
lea rcx, [rsp + 0x68]
call fcn.0116a920
nop
mov qword [rsp + 0x190], rsi
mov qword [rsp + 0x1a8], r12
lea rcx, [rsp + 0x190]
call fcn.0116d120
nop
lea rcx, [rsp + 0x58]
call fcn.0116a920
nop
mov qword [rsp + 0x150], rsi
mov qword [rsp + 0x168], r12
lea rcx, [rsp + 0x150]
call fcn.0116d120
nop
lea rcx, [rsp + 0x50]
call fcn.0116a920
nop
mov qword [rsp + 0x100], rsi
mov qword [rsp + 0x118], r12
lea rcx, [rsp + 0x100]
call fcn.0116d120
nop
lea rcx, [rsp + 0x48]
call fcn.0116a920
nop
mov qword [rsp + 0xc0], rsi
mov qword [rsp + 0xd8], r12
lea rcx, [rsp + 0xc0]
call fcn.0116d120
nop
lea rcx, [rsp + 0x40]
call fcn.0116a920
nop
mov qword [rsp + 0x70], rsi
mov qword [rsp + 0x88], r12
lea rcx, [rsp + 0x70]
call fcn.0116d120
nop
mov rbx, qword [rsp + 0x38]
jmp 0x16c8558
lea rcx, [rsp + 0xb0]
call fcn.0116a920
nop
mov qword [rsp + 0x1d0], rsi
mov qword [rsp + 0x1e8], r12
lea rcx, [rsp + 0x1d0]
call fcn.0116d120
nop
lea rcx, [rsp + 0x68]
call fcn.0116a920
nop
mov qword [rsp + 0x190], rsi
mov qword [rsp + 0x1a8], r12
lea rcx, [rsp + 0x190]
call fcn.0116d120
nop
lea rcx, [rsp + 0x58]
call fcn.0116a920
nop
mov qword [rsp + 0x150], rsi
mov qword [rsp + 0x168], r12
lea rcx, [rsp + 0x150]
call fcn.0116d120
nop
lea rcx, [rsp + 0x50]
call fcn.0116a920
nop
mov qword [rsp + 0x100], rsi
mov qword [rsp + 0x118], r12
lea rcx, [rsp + 0x100]
call fcn.0116d120
jmp 0x16c7ff4
mov dword [rsp + 0x2d8], r14d
mov qword [rsp + 0x20], 0x1000000f
xor r9d, r9d
xor r8d, r8d
mov edx, r14d
mov ecx, 0xc1030001
call fcn.0124e580
mov r13d, eax
mov dword [rsp + 0x30], eax
mov qword [rsp + 0x1d0], rsi
mov qword [rsp + 0x1e8], r12
lea rcx, [rsp + 0x1d0]
call fcn.0116d120
nop
lea rcx, [rsp + 0x68]
call fcn.0116a920
nop
mov qword [rsp + 0x190], rsi
mov qword [rsp + 0x1a8], r12
lea rcx, [rsp + 0x190]
call fcn.0116d120
nop
lea rcx, [rsp + 0x58]
call fcn.0116a920
nop
mov qword [rsp + 0x150], rsi
mov qword [rsp + 0x168], r12
lea rcx, [rsp + 0x150]
call fcn.0116d120
nop
lea rcx, [rsp + 0x50]
call fcn.0116a920
nop
mov qword [rsp + 0x100], rsi
mov qword [rsp + 0x118], r12
lea rcx, [rsp + 0x100]
call fcn.0116d120
nop
lea rcx, [rsp + 0x48]
call fcn.0116a920
nop
mov qword [rsp + 0xc0], rsi
mov qword [rsp + 0xd8], r12
lea rcx, [rsp + 0xc0]
call fcn.0116d120
nop
lea rcx, [rsp + 0x40]
call fcn.0116a920
nop
mov qword [rsp + 0x70], rsi
mov qword [rsp + 0x88], r12
lea rcx, [rsp + 0x70]
call fcn.0116d120
nop
mov rbx, qword [rsp + 0x38]
jmp 0x16c8558
mov dword [rsp + 0x2d8], r14d
mov qword [rsp + 0x20], 0x1000000f
xor r9d, r9d
xor r8d, r8d
mov edx, r14d
mov ecx, 0xc1030001
call fcn.0124e580
mov r13d, eax
mov dword [rsp + 0x30], eax
mov qword [rsp + 0x190], rsi
mov qword [rsp + 0x1a8], r12
lea rcx, [rsp + 0x190]
call fcn.0116d120
nop
lea rcx, [rsp + 0x58]
call fcn.0116a920
nop
mov qword [rsp + 0x150], rsi
mov qword [rsp + 0x168], r12
lea rcx, [rsp + 0x150]
call fcn.0116d120
nop
lea rcx, [rsp + 0x50]
call fcn.0116a920
nop
mov qword [rsp + 0x100], rsi
mov qword [rsp + 0x118], r12
lea rcx, [rsp + 0x100]
call fcn.0116d120
nop
lea rcx, [rsp + 0x48]
call fcn.0116a920
nop
mov qword [rsp + 0xc0], rsi
mov qword [rsp + 0xd8], r12
lea rcx, [rsp + 0xc0]
call fcn.0116d120
nop
lea rcx, [rsp + 0x40]
call fcn.0116a920
nop
mov qword [rsp + 0x70], rsi
mov qword [rsp + 0x88], r12
lea rcx, [rsp + 0x70]
call fcn.0116d120
nop
mov rbx, qword [rsp + 0x38]
jmp 0x16c8558
mov dword [rsp + 0x2d8], r14d
mov qword [rsp + 0x20], 0x1000000f
xor r9d, r9d
xor r8d, r8d
mov edx, r14d
mov ecx, 0xc1030001
call fcn.0124e580
mov r13d, eax
mov dword [rsp + 0x30], eax
mov qword [rsp + 0x150], rsi
mov qword [rsp + 0x168], r12
lea rcx, [rsp + 0x150]
call fcn.0116d120
nop
lea rcx, [rsp + 0x50]
call fcn.0116a920
nop
mov qword [rsp + 0x100], rsi
mov qword [rsp + 0x118], r12
lea rcx, [rsp + 0x100]
call fcn.0116d120
nop
lea rcx, [rsp + 0x48]
call fcn.0116a920
nop
mov qword [rsp + 0xc0], rsi
mov qword [rsp + 0xd8], r12
lea rcx, [rsp + 0xc0]
call fcn.0116d120
nop
lea rcx, [rsp + 0x40]
call fcn.0116a920
nop
mov qword [rsp + 0x70], rsi
mov qword [rsp + 0x88], r12
lea rcx, [rsp + 0x70]
call fcn.0116d120
nop
mov rbx, qword [rsp + 0x38]
jmp 0x16c8558
xor r14d, r14d
mov dword [rsp + 0x2d8], r14d
mov qword [rsp + 0x20], 0x1000000f
xor r9d, r9d
xor r8d, r8d
mov edx, r14d
mov ecx, 0xc1030001
call fcn.0124e580
mov r13d, eax
mov dword [rsp + 0x30], eax
mov qword [rsp + 0x100], rsi
mov qword [rsp + 0x118], r12
lea rcx, [rsp + 0x100]
call fcn.0116d120
nop
lea rcx, [rsp + 0x48]
call fcn.0116a920
nop
mov qword [rsp + 0xc0], rsi
mov qword [rsp + 0xd8], r12
lea rcx, [rsp + 0xc0]
call fcn.0116d120
nop
lea rcx, [rsp + 0x40]
call fcn.0116a920
nop
mov qword [rsp + 0x70], rsi
mov qword [rsp + 0x88], r12
lea rcx, [rsp + 0x70]
call fcn.0116d120
nop
mov rbx, qword [rsp + 0x38]
jmp 0x16c8558
mov r8, r14
mov qword [rsp + 0x268], r14
mov rax, qword [rsp + 0x2c0]
lea rdx, [rax + 0x30]
cmp qword [rsp + 0x48], 0
jne 0x16c7edd
mov rcx, qword [rdx]
mov al, byte [rcx - 5]
and eax, 7
lea rax, [rax + rax*2]
lea r8, [0x01173e98]
movzx eax, byte [r8 + rax*2 + 2]
sub rcx, rax
mov r8, qword [rcx]
mov qword [rsp + 0x268], r8
mov r9d, 7
lea rcx, [rsp + 0x48]
call fcn.01174350
mov r13d, eax
test eax, eax
jns 0x16c7ef6
jmp 0x16c7ef9
mov r13d, r14d
mov dword [rsp + 0x30], r13d
test r13d, r13d
jns 0x16c7f59
lea rcx, [rsp + 0x48]
call fcn.0116a920
nop
mov qword [rsp + 0xc0], rsi
mov qword [rsp + 0xd8], r12
lea rcx, [rsp + 0xc0]
call fcn.0116d120
nop
lea rcx, [rsp + 0x40]
call fcn.0116a920
nop
mov qword [rsp + 0x70], rsi
mov qword [rsp + 0x88], r12
lea rcx, [rsp + 0x70]
call fcn.0116d120
nop
mov rbx, qword [rsp + 0x38]
jmp 0x16c8558
cmp qword [r15 + 0x60], 0
je 0x16c7f77
mov rax, qword [r15 + 0x60]
movzx ecx, byte [rax - 5]
test cl, 0x40
jne 0x16c7f72
test cl, 0x20
je 0x16c7f7a
mov rax, qword [rax]
jmp 0x16c7f7a
mov rax, r14
mov rcx, qword [rsp + 0x2d8]
lea rdx, [rax + rcx*2]
xor r8d, r8d
lea rcx, [rsp + 0x48]
call fcn.012d1c90
mov r13d, eax
mov dword [rsp + 0x30], eax
test eax, eax
jns 0x16c7ff4
lea rcx, [rsp + 0x48]
call fcn.0116a920
nop
mov qword [rsp + 0xc0], rsi
mov qword [rsp + 0xd8], r12
lea rcx, [rsp + 0xc0]
call fcn.0116d120
nop
lea rcx, [rsp + 0x40]
call fcn.0116a920
nop
mov qword [rsp + 0x70], rsi
mov qword [rsp + 0x88], r12
lea rcx, [rsp + 0x70]
call fcn.0116d120
nop
mov rbx, qword [rsp + 0x38]
jmp 0x16c8558
lea rcx, [rsp + 0x48]
call fcn.017b3f20
mov r13d, eax
mov dword [rsp + 0x30], eax
test eax, eax
jns 0x16c805f
lea rcx, [rsp + 0x48]
call fcn.0116a920
nop
mov qword [rsp + 0xc0], rsi
mov qword [rsp + 0xd8], r12
lea rcx, [rsp + 0xc0]
call fcn.0116d120
nop
lea rcx, [rsp + 0x40]
call fcn.0116a920
nop
mov qword [rsp + 0x70], rsi
mov qword [rsp + 0x88], r12
lea rcx, [rsp + 0x70]
call fcn.0116d120
nop
mov rbx, qword [rsp + 0x38]
jmp 0x16c8558
mov qword [rsp + 0x218], r14
call fcn.013492d0
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r14
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0x218]
call fcn.0132bf00
mov r13d, eax
mov dword [rsp + 0x30], eax
test eax, eax
jns 0x16c8100
mov rcx, qword [rsp + 0x218]
test rcx, rcx
je 0x16c80aa
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
nop
lea rcx, [rsp + 0x48]
call fcn.0116a920
nop
mov qword [rsp + 0xc0], rsi
mov qword [rsp + 0xd8], r12
lea rcx, [rsp + 0xc0]
call fcn.0116d120
nop
lea rcx, [rsp + 0x40]
call fcn.0116a920
nop
mov qword [rsp + 0x70], rsi
mov qword [rsp + 0x88], r12
lea rcx, [rsp + 0x70]
call fcn.0116d120
nop
mov rbx, qword [rsp + 0x38]
jmp 0x16c8558
mov rbx, qword [rsp + 0x218]
mov rcx, rbx
call fcn.015d7e80
mov r13d, eax
mov dword [rsp + 0x30], eax
test eax, eax
jns 0x16c8180
test rbx, rbx
je 0x16c812a
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
nop
lea rcx, [rsp + 0x48]
call fcn.0116a920
nop
mov qword [rsp + 0xc0], rsi
mov qword [rsp + 0xd8], r12
lea rcx, [rsp + 0xc0]
call fcn.0116d120
nop
lea rcx, [rsp + 0x40]
call fcn.0116a920
nop
mov qword [rsp + 0x70], rsi
mov qword [rsp + 0x88], r12
lea rcx, [rsp + 0x70]
call fcn.0116d120
nop
mov rbx, qword [rsp + 0x38]
jmp 0x16c8558
lea rcx, [rbx + 0x28]
mov rax, qword [rcx]
lea rdx, [rsp + 0x48]
call qword [rax + 0x28]
mov r13d, eax
mov dword [rsp + 0x30], eax
test eax, eax
jns 0x16c81dd
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
nop
lea rcx, [rsp + 0x48]
call fcn.0116a920
nop
lea rcx, [rsp + 0xc0]
call fcn.015c60a0
nop
lea rcx, [rsp + 0x40]
call fcn.0116a920
nop
lea rcx, [rsp + 0x70]
call fcn.015c60a0
nop
mov rbx, qword [rsp + 0x38]
jmp 0x16c8558
mov qword [rbx + 0x48], 3
mov dword [rsp + 0x30], r14d
mov qword [rbx + 0x50], 1
mov dword [rsp + 0x30], r14d
mov qword [rbx + 0x58], 2
mov dword [rsp + 0x30], r14d
mov rax, qword [rbx + 0x60]
or rax, 1
mov qword [rbx + 0x60], rax
mov dword [rsp + 0x30], r14d
lea rcx, [rbx + 0x20]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VarBstrFromCy]
mov r13d, eax
mov dword [rsp + 0x30], eax
test eax, eax
jns 0x16c826d
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
nop
lea rcx, [rsp + 0x48]
call fcn.0116a920
nop
lea rcx, [rsp + 0xc0]
call fcn.015c60a0
nop
lea rcx, [rsp + 0x40]
call fcn.0116a920
nop
lea rcx, [rsp + 0x70]
call fcn.015c60a0
nop
mov rbx, qword [rsp + 0x38]
jmp 0x16c8558
mov rax, qword [rsp + 0x2c8]
cmp byte [rax + 0x73], 0
je 0x16c82cb
call fcn.0115c5b0
mov r15, rax
mov qword [rsp + 0x20], rdi
mov r9, qword [rsp + 0x210]
mov r8, qword [rsp + 0x2d0]
mov rdx, rbx
mov rcx, qword [rsp + 0x2c0]
call fcn.016c2800
mov r14d, eax
test eax, eax
je 0x16c8314
mov rcx, r15
call fcn.0109c0c0
test r14d, r14d
js 0x16c82c1
test r13d, r13d
jne 0x16c8314
mov r13d, r14d
mov dword [rsp + 0x30], r14d
jmp 0x16c8314
call fcn.0115c5b0
mov r15, rax
mov r9, qword [rsp + 0x210]
mov r8, qword [rsp + 0x2d0]
mov rdx, rbx
mov rcx, qword [rsp + 0x2c0]
call fcn.016c2f00
mov r14d, eax
test eax, eax
je 0x16c8314
mov rcx, r15
call fcn.0109c0c0
test r14d, r14d
js 0x16c830c
test r13d, r13d
jne 0x16c8314
mov r13d, r14d
mov dword [rsp + 0x30], r14d
test r13d, r13d
jns 0x16c835a
mov rax, qword [rsp + 0x210]
cmp qword [rax + 0x60], 0
je 0x16c8340
mov rdx, qword [rax + 0x60]
movzx eax, byte [rdx - 5]
test al, 0x40
jne 0x16c8338
test al, 0x20
je 0x16c833b
mov rdx, qword [rdx]
xor r14d, r14d
jmp 0x16c8346
xor r14d, r14d
mov rdx, r14
lea rcx, [0x016c85b0]
call qword [sym.imp.MSVCR80.dll_wprintf]
mov dword [rsp + 0x30], r14d
jmp 0x16c835d
xor r14d, r14d
lea rcx, [rbx + 0x20]
mov rax, qword [rcx]
call qword [rax + 0x78]
mov r13d, eax
mov dword [rsp + 0x30], eax
test eax, eax
jns 0x16c83b5
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
nop
lea rcx, [rsp + 0x48]
call fcn.0116a920
nop
lea rcx, [rsp + 0xc0]
call fcn.015c60a0
nop
lea rcx, [rsp + 0x40]
call fcn.0116a920
nop
lea rcx, [rsp + 0x70]
call fcn.015c60a0
nop
mov rbx, qword [rsp + 0x38]
jmp 0x16c8558
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
nop
lea rcx, [rsp + 0x48]
call fcn.0116a920
nop
lea rcx, [rsp + 0xc0]
call fcn.015c60a0
mov rcx, qword [rsp + 0x230]
add rcx, 1
mov qword [rsp + 0x230], rcx
mov rax, qword [rsp + 0x228]
mov rdx, qword [rsp + 0x260]
lea rbx, [0x01173e98]
jmp 0x16c6440
mov dword [rsp + 0x2d8], r14d
mov qword [rsp + 0x20], 0x1000000f
xor r9d, r9d
xor r8d, r8d
mov edx, r14d
mov ecx, 0xc1030001
call fcn.0124e580
mov r13d, eax
mov dword [rsp + 0x30], eax
mov qword [rsp + 0xc0], rsi
mov qword [rsp + 0xd8], r12
lea rcx, [rsp + 0xc0]
call fcn.0116d120
nop
lea rcx, [rsp + 0x40]
call fcn.0116a920
nop
mov qword [rsp + 0x70], rsi
mov qword [rsp + 0x88], r12
lea rcx, [rsp + 0x70]
call fcn.0116d120
nop
mov rbx, qword [rsp + 0x38]
jmp 0x16c8558
mov rdx, qword [rsp + 0x220]
add rdx, 1
mov qword [rsp + 0x220], rdx
mov r15, qword [rsp + 0x2c8]
mov rax, qword [rsp + 0x248]
jmp 0x16c63f0
mov r13d, r14d
mov dword [rsp + 0x30], r14d
lea rcx, [rsp + 0x40]
call fcn.0116a920
nop
lea rcx, [rsp + 0x70]
call fcn.015c60a0
nop
mov rbx, qword [rsp + 0x38]
jmp 0x16c8558
mov dword [rsp + 0x2d8], r14d
mov qword [rsp + 0x20], 0x1000000f
xor r9d, r9d
xor r8d, r8d
mov edx, r14d
mov ecx, 0xc1030001
call fcn.0124e580
mov r13d, eax
mov dword [rsp + 0x30], eax
lea rsi, [0x0104ef20]
mov qword [rsp + 0x70], rsi
lea r12, [0x0109b930]
mov qword [rsp + 0x88], r12
lea rcx, [rsp + 0x70]
call fcn.0116d120
nop
mov rbx, qword [rsp + 0x38]
jmp 0x16c8558
test rdi, rdi
je 0x16c8571
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
mov rdi, r14
mov qword [rsp + 0x140], r14
test rdi, rdi
je 0x16c8580
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
nop
mov rcx, qword [rbx + 0x30]
mov rax, qword [rcx]
mov rdx, qword [rsp + 0x240]
call qword [rax + 0x78]
mov eax, r13d
add rsp, 0x280
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
ret