Function at 0x180abe0
Capabilities:
Get thread local storage value

Disassembly:
mov r11, rsp
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x360
mov qword [rsp + 0x130], 0xfffffffffffffffe
mov qword [r11 + 0x10], rbx
mov qword [r11 + 0x18], rbp
mov qword [r11 + 0x20], rsi
mov rax, qword [0x039f1190]
xor rax, rsp
mov qword [rsp + 0x350], rax
mov rbp, rcx
xor r15d, r15d
mov qword [r11 - 0x268], r15
mov rax, qword [0x039f1180]
mov ecx, dword [rax + 8]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x180ac45
lea rdi, [rax + 0x20]
jmp 0x180ac48
mov rdi, r15
mov qword [rsp + 0x120], rdi
mov rcx, qword [rdi + 0x30]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VarBstrFromCy]
mov r12, rax
mov qword [rsp + 0x128], rax
mov ebx, r15d
mov qword [rsp + 0xd0], r15
lea r8, [rsp + 0xd0]
lea rdx, [fcn.0180abe0]
mov ecx, 6
call qword [sym.imp.KERNEL32.dll_GetModuleHandleExW]
mov r8d, 0x104
lea rdx, [rsp + 0x140]
mov rcx, qword [rsp + 0xd0]
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
je 0x180b608
lea rcx, [rsp + 0x50]
call fcn.0116d180
nop
lea rax, [0x01165c20]
mov qword [rsp + 0x68], rax
lea rsi, [0x01000000]
lea rax, [rsi + 0x4f0d0]
mov qword [rsp + 0x50], rax
lea rax, [0x0109b930]
mov qword [rsp + 0x68], rax
mov qword [rsp + 0x70], r15
mov qword [rsp + 0x78], r15
mov qword [rsp + 0x80], r15
mov qword [rsp + 0x88], r15
lea r13, [0x0104ef20]
mov qword [rsp + 0x50], r13
lea r14, [0x0109b930]
mov qword [rsp + 0x68], r14
xor edx, edx
lea rcx, [rsp + 0x50]
call fcn.0116cfa0
xor edx, edx
lea rcx, [rsp + 0x50]
mov rax, qword [rsp + 0x50]
call qword [rax + 0x180]
nop
mov edx, dword [reloc.OLEAUT32.dll_VariantInit]
and edx, 7
lea rax, [rdx + rdx*2]
movzx ecx, byte [rsi + rax*2 + 0x173e9d]
movzx eax, byte [rsi + rax*2 + 0x173e9c]
add eax, ecx
cdqe
movabs r8, 0x7fffffffffffffff
mov rcx, r8
sub rcx, rax
shr rcx, 1
sub rcx, 1
cmp rcx, 3
jge 0x180ada6
lea r8, [0x0180b650]
mov edx, reloc.OLEAUT32.dll_OaBuildVersion
lea rcx, [0x01581480]
call fcn.017eea00
mov ebx, eax
mov qword [rsp + 0x50], r13
mov qword [rsp + 0x68], r14
lea rcx, [rsp + 0x50]
call fcn.0116d120
jmp 0x180b608
lea rax, [rdx + rdx*2]
movzx ecx, byte [rsi + rax*2 + 0x173e9d]
movzx eax, byte [rsi + rax*2 + 0x173e9c]
add ecx, eax
movsxd rbx, ecx
add rbx, 8
mov rcx, qword [rdi + 0x30]
cmp rbx, r8
jae 0x180b5d5
mov rax, qword [rcx]
mov rdx, rbx
call qword [rax + SafeArrayCopy]
test rax, rax
je 0x180b5d5
mov rcx, qword [rdi + 0x28]
mov qword [rsp + 0x70], rcx
mov qword [rsp + 0x78], rax
mov qword [rsp + 0x80], r15
mov qword [rsp + 0x88], rbx
lea rcx, [rsp + 0x30]
call fcn.0116a950
nop
mov r9, qword [rdi + 0x40]
xor r8d, r8d
lea rdx, [rsp + 0x68]
lea rcx, [rsp + 0x30]
call fcn.0118a2d0
mov ebx, eax
test eax, eax
jns 0x180ae4b
lea rcx, [rsp + 0x30]
call fcn.0116a920
nop
mov qword [rsp + 0x50], r13
mov qword [rsp + 0x68], r14
lea rcx, [rsp + 0x50]
call fcn.0116d120
jmp 0x180b608
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0x90]
call fcn.0118c100
nop
mov edx, dword [reloc.OLEAUT32.dll_VariantInit]
and edx, 7
lea rax, [rdx + rdx*2]
movzx ecx, byte [rsi + rax*2 + 0x173e9d]
movzx eax, byte [rsi + rax*2 + 0x173e9c]
add eax, ecx
cdqe
movabs r8, 0x7fffffffffffffff
mov rcx, r8
sub rcx, rax
shr rcx, 1
sub rcx, 1
cmp rcx, 0x100
jge 0x180aefb
lea r8, [0x0180b650]
mov edx, VarNeg
lea rcx, [0x01581480]
call fcn.017eea00
mov ebx, eax
mov qword [rsp + 0x90], r13
mov qword [rsp + 0xa8], r14
lea rcx, [rsp + 0x90]
call fcn.0116d120
nop
lea rcx, [rsp + 0x30]
call fcn.0116a920
nop
mov qword [rsp + 0x50], r13
mov qword [rsp + 0x68], r14
lea rcx, [rsp + 0x50]
call fcn.0116d120
jmp 0x180b608
lea rax, [rdx + rdx*2]
movzx ecx, byte [rsi + rax*2 + 0x173e9d]
movzx eax, byte [rsi + rax*2 + 0x173e9c]
add ecx, eax
movsxd rbx, ecx
add rbx, 0x202
mov rcx, qword [rdi + 0x30]
cmp rbx, r8
jae 0x180b578
mov rax, qword [rcx]
mov rdx, rbx
call qword [rax + SafeArrayCopy]
test rax, rax
je 0x180b578
mov rcx, qword [rdi + 0x28]
mov qword [rsp + 0xb0], rcx
mov qword [rsp + 0xb8], rax
mov qword [rsp + 0xc0], r15
mov qword [rsp + 0xc8], rbx
lea rcx, [rsp + 0x40]
call fcn.0116a950
nop
mov r9, qword [rdi + 0x40]
xor r8d, r8d
lea rdx, [rsp + 0xa8]
lea rcx, [rsp + 0x40]
call fcn.0118a2d0
mov ebx, eax
test eax, eax
jns 0x180afd5
lea rcx, [rsp + 0x40]
call fcn.0116a920
nop
mov qword [rsp + 0x90], r13
mov qword [rsp + 0xa8], r14
lea rcx, [rsp + 0x90]
call fcn.0116d120
nop
lea rcx, [rsp + 0x30]
call fcn.0116a920
nop
mov qword [rsp + 0x50], r13
mov qword [rsp + 0x68], r14
lea rcx, [rsp + 0x50]
call fcn.0116d120
jmp 0x180b608
mov qword [rsp + 0x20], r15
xor r9d, r9d
lea r8, [rsp + 0x40]
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x140]
call fcn.0122c660
mov ebx, eax
test eax, eax
jns 0x180b047
lea rcx, [rsp + 0x40]
call fcn.0116a920
nop
mov qword [rsp + 0x90], r13
mov qword [rsp + 0xa8], r14
lea rcx, [rsp + 0x90]
call fcn.0116d120
nop
lea rcx, [rsp + 0x30]
call fcn.0116a920
nop
mov qword [rsp + 0x50], r13
mov qword [rsp + 0x68], r14
lea rcx, [rsp + 0x50]
call fcn.0116d120
jmp 0x180b608
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0xe0]
call fcn.0118c100
nop
mov edx, dword [reloc.OLEAUT32.dll_VariantInit]
and edx, 7
lea rax, [rdx + rdx*2]
movzx ecx, byte [rsi + rax*2 + 0x173e9d]
movzx eax, byte [rsi + rax*2 + 0x173e9c]
add eax, ecx
cdqe
movabs r8, 0x7fffffffffffffff
mov rcx, r8
sub rcx, rax
shr rcx, 1
sub rcx, 1
cmp rcx, 0x104
jge 0x180b124
lea r8, [0x0180b650]
mov edx, reloc.OLEAUT32.dll_VarNot
lea rcx, [0x01581480]
call fcn.017eea00
mov ebx, eax
mov qword [rsp + 0xe0], r13
mov qword [rsp + 0xf8], r14
lea rcx, [rsp + 0xe0]
call fcn.0116d120
nop
lea rcx, [rsp + 0x40]
call fcn.0116a920
nop
mov qword [rsp + 0x90], r13
mov qword [rsp + 0xa8], r14
lea rcx, [rsp + 0x90]
call fcn.0116d120
nop
lea rcx, [rsp + 0x30]
call fcn.0116a920
nop
mov qword [rsp + 0x50], r13
mov qword [rsp + 0x68], r14
lea rcx, [rsp + 0x50]
call fcn.0116d120
jmp 0x180b608
lea rax, [rdx + rdx*2]
movzx ecx, byte [rsi + rax*2 + 0x173e9d]
movzx eax, byte [rsi + rax*2 + 0x173e9c]
add ecx, eax
movsxd rbx, ecx
add rbx, 0x20a
mov rcx, qword [rdi + 0x30]
cmp rbx, r8
jae 0x180b4ef
mov rax, qword [rcx]
mov rdx, rbx
call qword [rax + SafeArrayCopy]
test rax, rax
je 0x180b4ef
mov rcx, qword [rdi + 0x28]
mov qword [rsp + 0x100], rcx
mov qword [rsp + 0x108], rax
mov qword [rsp + 0x110], r15
mov qword [rsp + 0x118], rbx
lea rcx, [rsp + 0x38]
call fcn.0116a950
nop
mov r9, qword [rdi + 0x40]
xor r8d, r8d
lea rdx, [rsp + 0xf8]
lea rcx, [rsp + 0x38]
call fcn.0118a2d0
mov ebx, eax
test eax, eax
jns 0x180b227
lea rcx, [rsp + 0x38]
call fcn.0116a920
nop
mov qword [rsp + 0xe0], r13
mov qword [rsp + 0xf8], r14
lea rcx, [rsp + 0xe0]
call fcn.0116d120
nop
lea rcx, [rsp + 0x40]
call fcn.0116a920
nop
mov qword [rsp + 0x90], r13
mov qword [rsp + 0xa8], r14
lea rcx, [rsp + 0x90]
call fcn.0116d120
nop
lea rcx, [rsp + 0x30]
call fcn.0116a920
nop
mov qword [rsp + 0x50], r13
mov qword [rsp + 0x68], r14
lea rcx, [rsp + 0x50]
call fcn.0116d120
jmp 0x180b608
mov r8, qword [rsp + 0x40]
test r8, r8
je 0x180b243
movzx eax, byte [r8 - 5]
test al, 0x40
jne 0x180b23e
test al, 0x20
je 0x180b246
mov r8, qword [r8]
jmp 0x180b246
mov r8, r15
mov rdx, qword [rsp + 0x30]
test rdx, rdx
je 0x180b261
movzx eax, byte [rdx - 5]
test al, 0x40
jne 0x180b25c
test al, 0x20
je 0x180b264
mov rdx, qword [rdx]
jmp 0x180b264
mov rdx, r15
mov qword [rsp + 0x20], r15
xor r9d, r9d
lea rcx, [rsp + 0x38]
call fcn.0122c810
mov ebx, eax
test eax, eax
jns 0x180b2f2
lea rcx, [rsp + 0x38]
call fcn.0116a920
nop
mov qword [rsp + 0xe0], r13
mov qword [rsp + 0xf8], r14
lea rcx, [rsp + 0xe0]
call fcn.0116d120
nop
lea rcx, [rsp + 0x40]
call fcn.0116a920
nop
mov qword [rsp + 0x90], r13
mov qword [rsp + 0xa8], r14
lea rcx, [rsp + 0x90]
call fcn.0116d120
nop
lea rcx, [rsp + 0x30]
call fcn.0116a920
nop
mov qword [rsp + 0x50], r13
mov qword [rsp + 0x68], r14
lea rcx, [rsp + 0x50]
call fcn.0116d120
jmp 0x180b608
mov rdx, qword [rsp + 0x38]
test rdx, rdx
je 0x180b46b
test byte [rdx - 5], 0x40
jne 0x180b30c
movsxd rax, dword [rdx - 4]
jmp 0x180b31c
mov rcx, qword [rdx]
call qword [sym.imp.OLEAUT32.dll_SysAllocStringByteLen]
mov eax, eax
mov rdx, qword [rsp + 0x38]
shr rax, 1
je 0x180b455
test rdx, rdx
je 0x180b364
movzx ecx, byte [rdx - 5]
movzx eax, cl
shr al, 6
and al, 1
jne 0x180b342
test cl, 0x20
jne 0x180b342
mov rsi, rdx
jmp 0x180b345
mov rsi, qword [rdx]
test al, al
jne 0x180b34f
movsxd rax, dword [rdx - 4]
jmp 0x180b35f
mov rcx, qword [rdx]
call qword [sym.imp.OLEAUT32.dll_SysAllocStringByteLen]
mov eax, eax
mov rdx, qword [rsp + 0x38]
shr rax, 1
jmp 0x180b36a
mov rsi, r15
mov rax, r15
cmp word [rsi + rax*2 - 2], 0x5c
je 0x180b3c3
test rdx, rdx
je 0x180b3b1
movzx ecx, byte [rdx - 5]
movzx eax, cl
shr al, 6
and al, 1
jne 0x180b38f
test cl, 0x20
jne 0x180b38f
mov rsi, rdx
jmp 0x180b392
mov rsi, qword [rdx]
test al, al
jne 0x180b39c
movsxd rax, dword [rdx - 4]
jmp 0x180b3ac
mov rcx, qword [rdx]
call qword [sym.imp.OLEAUT32.dll_SysAllocStringByteLen]
mov eax, eax
mov rdx, qword [rsp + 0x38]
shr rax, 1
jmp 0x180b3b7
mov rsi, r15
mov rax, r15
cmp word [rsi + rax*2 - 2], 0x2f
jne 0x180b455
xor r8d, r8d
lea edx, [r8 + 1]
lea rcx, [rsp + 0x38]
call fcn.012d2f30
mov ebx, eax
test eax, eax
jns 0x180b450
lea rcx, [rsp + 0x38]
call fcn.0116a920
nop
mov qword [rsp + 0xe0], r13
mov qword [rsp + 0xf8], r14
lea rcx, [rsp + 0xe0]
call fcn.0116d120
nop
lea rcx, [rsp + 0x40]
call fcn.0116a920
nop
mov qword [rsp + 0x90], r13
mov qword [rsp + 0xa8], r14
lea rcx, [rsp + 0x90]
call fcn.0116d120
nop
lea rcx, [rsp + 0x30]
call fcn.0116a920
nop
mov qword [rsp + 0x50], r13
mov qword [rsp + 0x68], r14
lea rcx, [rsp + 0x50]
call fcn.0116d120
jmp 0x180b608
mov rdx, qword [rsp + 0x38]
test rdx, rdx
je 0x180b46b
movzx eax, byte [rdx - 5]
test al, 0x40
jne 0x180b466
test al, 0x20
je 0x180b46e
mov rdx, qword [rdx]
jmp 0x180b46e
mov rdx, r15
mov rax, qword [rbp]
mov rcx, rbp
call qword [rax + 0x58]
nop
lea rcx, [rsp + 0x38]
call fcn.0116a920
nop
mov qword [rsp + 0xe0], r13
mov qword [rsp + 0xf8], r14
lea rcx, [rsp + 0xe0]
call fcn.0116d120
nop
lea rcx, [rsp + 0x40]
call fcn.0116a920
nop
mov qword [rsp + 0x90], r13
mov qword [rsp + 0xa8], r14
lea rcx, [rsp + 0x90]
call fcn.0116d120
nop
lea rcx, [rsp + 0x30]
call fcn.0116a920
nop
mov qword [rsp + 0x50], r13
mov qword [rsp + 0x68], r14
lea rcx, [rsp + 0x50]
call fcn.0116d120
jmp 0x180b608
mov qword [rsp + 0x20], 0x1000000f
xor r9d, r9d
xor r8d, r8d
mov edx, r15d
mov ecx, 0xc1030001
call fcn.0124e580
mov ebx, eax
mov qword [rsp + 0xe0], r13
mov qword [rsp + 0xf8], r14
lea rcx, [rsp + 0xe0]
call fcn.0116d120
nop
lea rcx, [rsp + 0x40]
call fcn.0116a920
nop
mov qword [rsp + 0x90], r13
mov qword [rsp + 0xa8], r14
lea rcx, [rsp + 0x90]
call fcn.0116d120
nop
lea rcx, [rsp + 0x30]
call fcn.0116a920
nop
mov qword [rsp + 0x50], r13
mov qword [rsp + 0x68], r14
lea rcx, [rsp + 0x50]
call fcn.0116d120
jmp 0x180b608
mov qword [rsp + 0x20], 0x1000000f
xor r9d, r9d
xor r8d, r8d
mov edx, r15d
mov ecx, 0xc1030001
call fcn.0124e580
mov ebx, eax
mov qword [rsp + 0x90], r13
mov qword [rsp + 0xa8], r14
lea rcx, [rsp + 0x90]
call fcn.0116d120
nop
lea rcx, [rsp + 0x30]
call fcn.0116a920
nop
mov qword [rsp + 0x50], r13
mov qword [rsp + 0x68], r14
lea rcx, [rsp + 0x50]
call fcn.0116d120
jmp 0x180b608
mov qword [rsp + 0x20], 0x1000000f
xor r9d, r9d
xor r8d, r8d
mov edx, r15d
mov ecx, 0xc1030001
call fcn.0124e580
mov ebx, eax
mov qword [rsp + 0x50], r13
mov qword [rsp + 0x68], r14
lea rcx, [rsp + 0x50]
call fcn.0116d120
nop
mov rcx, qword [rdi + 0x30]
mov rax, qword [rcx]
mov rdx, r12
call qword [rax + 0x78]
mov eax, ebx
mov rcx, qword [rsp + 0x350]
xor rcx, rsp
call fcn.01003340
lea r11, [rsp + 0x360]
mov rbx, qword [r11 + 0x38]
mov rbp, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret