Function at 0x15e7c80
Capabilities:
Get thread local storage value

Disassembly:
mov rax, rsp
push r12
push r13
push r14
sub rsp, 0xc0
mov qword [rsp + 0xb8], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov rsi, r8
mov r13, rdx
mov r12, rcx
xor r14d, r14d
mov qword [rax - 0x38], r14
mov rax, qword [0x039f1180]
mov ecx, dword [rax + 8]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x15e7cd3
lea rdi, [rax + 0x20]
jmp 0x15e7cd6
mov rdi, r14
mov qword [rsp + 0xa0], rdi
mov rcx, qword [rdi + 0x30]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VarBstrFromCy]
mov qword [rsp + 0xa8], rax
mov qword [rsp + 0x50], r14
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0x60]
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 0x15e7d8f
lea r8, [0x015e8230]
mov edx, 0x12ae
lea rcx, [0x0156e210]
call fcn.017eea00
mov ebx, eax
mov dword [rsp + 0x40], eax
lea rax, [0x0104ef20]
mov qword [rsp + 0x60], rax
lea rax, [0x0109b930]
mov qword [rsp + 0x78], rax
lea rcx, [rsp + 0x60]
call fcn.0116d120
nop
jmp 0x15e81d2
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 [rdi + 0x30]
cmp rbx, r9
jae 0x15e8169
mov rax, qword [rcx]
mov rdx, rbx
call qword [rax + SafeArrayCopy]
test rax, rax
je 0x15e8169
mov rcx, qword [rdi + 0x28]
mov qword [rsp + 0x80], rcx
mov qword [rsp + 0x88], rax
mov qword [rsp + 0x90], r14
mov qword [rsp + 0x98], rbx
mov dword [rsp + 0x40], r14d
lea rcx, [rsp + 0x48]
call fcn.0116a950
nop
mov r9, qword [rdi + 0x40]
xor r8d, r8d
lea rdx, [rsp + 0x78]
lea rcx, [rsp + 0x48]
call fcn.0118a2d0
mov ebx, eax
mov dword [rsp + 0x40], eax
test eax, eax
jns 0x15e7e51
lea rcx, [rsp + 0x48]
call fcn.0116a920
nop
lea rax, [0x0104ef20]
mov qword [rsp + 0x60], rax
lea rax, [0x0109b930]
mov qword [rsp + 0x78], rax
lea rcx, [rsp + 0x60]
call fcn.0116d120
nop
jmp 0x15e81d2
mov r9d, 7
xor r8d, r8d
lea rdx, [0x01357e58]
lea rcx, [rsp + 0x48]
call fcn.0118a4d0
mov ebx, eax
test eax, eax
jns 0x15e7e73
jmp 0x15e7e76
mov ebx, r14d
mov dword [rsp + 0x40], ebx
test ebx, ebx
jns 0x15e7eb1
lea rcx, [rsp + 0x48]
call fcn.0116a920
nop
lea rax, [0x0104ef20]
mov qword [rsp + 0x60], rax
lea rax, [0x0109b930]
mov qword [rsp + 0x78], rax
lea rcx, [rsp + 0x60]
call fcn.0116d120
nop
jmp 0x15e81d2
mov rax, qword [r12]
lea r8, [rsp + 0x50]
xor edx, edx
mov rcx, r12
call qword [rax + 0x1b8]
mov ebx, eax
mov dword [rsp + 0x40], eax
test eax, eax
jns 0x15e7f02
lea rcx, [rsp + 0x48]
call fcn.0116a920
nop
lea rax, [0x0104ef20]
mov qword [rsp + 0x60], rax
lea rax, [0x0109b930]
mov qword [rsp + 0x78], rax
lea rcx, [rsp + 0x60]
call fcn.0116d120
nop
jmp 0x15e81d2
mov rax, qword [rsp + 0x50]
mov qword [rax + 0x48], 1
mov dword [rsp + 0x40], r14d
mov rax, qword [rsp + 0x50]
mov qword [rax + 0x50], 1
mov dword [rsp + 0x40], r14d
mov rax, qword [rsp + 0x50]
mov qword [rax + 0x58], 4
mov dword [rsp + 0x40], r14d
mov rcx, qword [rsp + 0x50]
add rcx, 0x28
mov rax, qword [rcx]
lea rdx, [rsp + 0x48]
call qword [rax + 0x28]
mov ebx, eax
mov dword [rsp + 0x40], eax
test eax, eax
jns 0x15e7f89
lea rcx, [rsp + 0x48]
call fcn.0116a920
nop
lea rax, [0x0104ef20]
mov qword [rsp + 0x60], rax
lea rax, [0x0109b930]
mov qword [rsp + 0x78], rax
lea rcx, [rsp + 0x60]
call fcn.0116d120
nop
jmp 0x15e81d2
mov rcx, qword [rsp + 0x50]
add rcx, 0x20
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VarBstrFromCy]
mov ebx, eax
mov dword [rsp + 0x40], eax
test eax, eax
jns 0x15e7fd5
lea rcx, [rsp + 0x48]
call fcn.0116a920
nop
lea rax, [0x0104ef20]
mov qword [rsp + 0x60], rax
lea rax, [0x0109b930]
mov qword [rsp + 0x78], rax
lea rcx, [rsp + 0x60]
call fcn.0116d120
nop
jmp 0x15e81d2
mov qword [rsp + 0x58], r14
mov rax, qword [rsp + 0x50]
test rax, rax
je 0x15e7fea
lea rdx, [rax + 0x20]
jmp 0x15e7fed
mov rdx, r14
mov dword [rsp + 0x30], r14d
mov qword [rsp + 0x28], r14
mov byte [rsp + 0x20], 0
lea r9, [rsp + 0x58]
lea r8, [0x03a78520]
mov rcx, r13
call fcn.02cb4650
mov ebx, eax
mov dword [rsp + 0x40], eax
test eax, eax
jns 0x15e805e
mov rcx, qword [rsp + 0x58]
test rcx, rcx
je 0x15e802b
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
nop
lea rcx, [rsp + 0x48]
call fcn.0116a920
nop
lea rax, [0x0104ef20]
mov qword [rsp + 0x60], rax
lea rax, [0x0109b930]
mov qword [rsp + 0x78], rax
lea rcx, [rsp + 0x60]
call fcn.0116d120
nop
jmp 0x15e81d2
mov rdx, rsi
mov rcx, qword [rsp + 0x58]
call fcn.02ccbc20
mov ebx, eax
mov dword [rsp + 0x40], eax
test eax, eax
jns 0x15e80b9
mov rcx, qword [rsp + 0x58]
test rcx, rcx
je 0x15e8086
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
nop
lea rcx, [rsp + 0x48]
call fcn.0116a920
nop
lea rax, [0x0104ef20]
mov qword [rsp + 0x60], rax
lea rax, [0x0109b930]
mov qword [rsp + 0x78], rax
lea rcx, [rsp + 0x60]
call fcn.0116d120
nop
jmp 0x15e81d2
cmp qword [rsi], 0
jne 0x15e8121
lea r8, [0x015e8230]
mov edx, 0x12be
lea rcx, [0x0156e210]
call fcn.017eea00
mov ebx, eax
mov dword [rsp + 0x40], eax
mov rcx, qword [rsp + 0x58]
test rcx, rcx
je 0x15e80ee
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
nop
lea rcx, [rsp + 0x48]
call fcn.0116a920
nop
lea rax, [0x0104ef20]
mov qword [rsp + 0x60], rax
lea rax, [0x0109b930]
mov qword [rsp + 0x78], rax
lea rcx, [rsp + 0x60]
call fcn.0116d120
nop
jmp 0x15e81d2
mov ebx, r14d
mov dword [rsp + 0x40], ebx
mov rcx, qword [rsp + 0x58]
test rcx, rcx
je 0x15e8139
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
nop
lea rcx, [rsp + 0x48]
call fcn.0116a920
nop
lea rax, [0x0104ef20]
mov qword [rsp + 0x60], rax
lea rax, [0x0109b930]
mov qword [rsp + 0x78], rax
lea rcx, [rsp + 0x60]
call fcn.0116d120
nop
jmp 0x15e81d2
mov dword [rsp + 0xf8], r14d
mov qword [rsp + 0x20], 0x1000000f
xor r9d, r9d
xor r8d, r8d
mov edx, r14d
mov ecx, 0xc1030001
call fcn.0124e580
mov ebx, eax
mov dword [rsp + 0x40], eax
lea rax, [0x0104ef20]
mov qword [rsp + 0x60], rax
lea rax, [0x0109b930]
mov qword [rsp + 0x78], rax
lea rcx, [rsp + 0x60]
call fcn.0116d120
nop
jmp 0x15e81d2
mov rax, qword [rsp + 0x50]
test rax, rax
je 0x15e81e7
lea rcx, [rax + 0x20]
mov rax, qword [rcx]
call qword [rax + 0x78]
nop
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x15e81f8
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
nop
mov rcx, qword [rdi + 0x30]
mov rax, qword [rcx]
mov rdx, qword [rsp + 0xa8]
call qword [rax + 0x78]
mov eax, ebx
lea r11, [rsp + 0xc0]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop r13
pop r12
ret