Function at 0x1172a30
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rsp + 8], rcx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x60
mov qword [rsp + 0x48], 0xfffffffffffffffe
mov qword [rsp + 0xa8], rbx
mov rbx, rdx
mov r14, rcx
xor edi, edi
mov qword [rsp + 0x50], rdi
mov rax, qword [0x039f1180]
mov ecx, dword [rax + 8]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x14135e8
lea r12, [rax + 0x20]
jmp 0x1172a81
mov qword [rsp + 0x50], r12
test r12, r12
je 0x14135f0
mov rcx, qword [r12 + 0x30]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VarBstrFromCy]
mov r15, rax
mov qword [rsp + 0x58], rax
jmp 0x1172aa4
test r12, r12
je 0x14135fa
mov qword [rsp + 0x40], rdi
mov qword [rsp + 0xb0], rdi
mov rcx, qword [r12 + 0x48]
test rcx, rcx
jne 0x1413604
mov rcx, qword [r12 + 0x48]
test rcx, rcx
jne 0x1413a02
mov qword [r12 + 0x48], rdi
mov rcx, qword [r12 + 0x30]
mov rax, qword [rcx]
mov rdx, r15
call qword [rax + 0x78]
mov eax, edi
mov rbx, qword [rsp + 0xa8]
add rsp, 0x60
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov r12, rdi
jmp 0x1172a81
mov r15, qword [rsp + 0x58]
jmp 0x1172aa4
mov eax, 0xc1030001
jmp 0x1172aeb
mov qword [rsp + 0xb8], rdi
mov rax, qword [rcx]
lea r8, [rsp + 0xb8]
lea rdx, [0x03a1d530]
call qword [rax]
test eax, eax
js 0x1172ac8
mov rcx, qword [rsp + 0xb8]
mov rax, qword [rcx]
call qword [rax + 0xd8]
cmp eax, 0x138a
je 0x1413653
mov rcx, qword [rsp + 0xb8]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
jmp 0x1172ac8
mov rbp, qword [rsp + 0xb8]
mov qword [rsp + 0x40], rbp
mov rcx, qword [r12 + 0x48]
test rcx, rcx
je 0x1413670
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
mov qword [r12 + 0x48], rdi
mov rcx, qword [r14]
test rcx, rcx
jne 0x14136ac
mov rax, r12
test rbx, rbx
cmovne rax, rbx
cmp qword [rbp + 0x38], rax
jne 0x14136ac
mov qword [rsp + 0x40], rdi
lea rax, [rbp + 0x30]
mov qword [r14], rax
mov rcx, qword [r12 + 0x30]
mov rax, qword [rcx]
mov rdx, r15
call qword [rax + 0x78]
jmp 0x1172ae9
test rcx, rcx
je 0x141371f
mov qword [rsp + 0xb8], rdi
mov rax, qword [rcx]
lea r8, [rsp + 0xb8]
lea rdx, [0x03a1d530]
call qword [rax]
test eax, eax
js 0x141370e
mov rcx, qword [rsp + 0xb8]
mov rax, qword [rcx]
call qword [rax + 0xd8]
cmp eax, 0x138a
je 0x14136f9
mov rcx, qword [rsp + 0xb8]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
jmp 0x141370e
mov rsi, qword [rsp + 0xb8]
mov qword [rsp + 0xb0], rsi
jmp 0x14137bd
mov rcx, qword [r14]
test rcx, rcx
je 0x141371f
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
mov qword [r14], rdi
mov r9, r12
test rbx, rbx
cmovne r9, rbx
test r9, r9
je 0x141375a
cmp dword [r9 + 8], 1
jne 0x141375a
mov qword [rsp + 0x30], rdi
mov byte [rsp + 0x28], 0
mov qword [rsp + 0x20], rdi
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0xb0]
call fcn.0124f150
mov edi, eax
jmp 0x1413778
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], rdi
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0xb0]
call fcn.017eb630
mov edi, eax
test edi, edi
jns 0x14137b3
mov rcx, qword [rsp + 0xb0]
test rcx, rcx
je 0x1413790
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
nop
test rbp, rbp
je 0x14137a0
mov rax, qword [rbp]
mov rcx, rbp
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
nop
mov rcx, qword [r12 + 0x30]
mov rax, qword [rcx]
mov rdx, r15
call qword [rax + 0x78]
jmp 0x1172ae9
mov rsi, qword [rsp + 0xb0]
xor edi, edi
mov rcx, qword [r14]
test rcx, rcx
je 0x14137ce
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
mov qword [r14], rdi
mov rax, qword [rsi + 0x38]
cmp rax, qword [rbp + 0x38]
jne 0x141383b
mov rbx, rdi
mov r13, qword [rbp + 0x50]
test r13, r13
jle 0x14139cb
mov rax, qword [rbp + 0x48]
mov r8, qword [rsi]
mov rdx, qword [rax + rbx*8]
mov rcx, rsi
call qword [r8 + 0x1b0]
mov edi, eax
test eax, eax
js 0x1413813
add rbx, 1
cmp rbx, r13
jl 0x14137e8
xor edi, edi
jmp 0x14139cb
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
nop
mov rax, qword [rbp]
mov rcx, rbp
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
nop
mov rcx, qword [r12 + 0x30]
mov rax, qword [rcx]
mov rdx, r15
call qword [rax + 0x78]
jmp 0x1172ae9
mov r13, rdi
mov r14, qword [rbp + 0x50]
test r14, r14
jle 0x14139c3
nop
nop
mov rax, qword [rbp + 0x48]
mov rbx, qword [rax + r13*8]
mov qword [rsp + 0xb8], rdi
mov r9, qword [rsi + 0x38]
test r9, r9
je 0x1413895
cmp dword [r9 + 8], 1
jne 0x1413895
mov qword [rsp + 0x30], rdi
mov byte [rsp + 0x28], 0
mov qword [rsp + 0x20], rdi
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0xb8]
call fcn.0124e2c0
mov edi, eax
jmp 0x14138b3
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], rdi
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0xb8]
call fcn.01785ec0
mov edi, eax
test edi, edi
js 0x1413987
xor r8d, r8d
mov rdx, rbx
mov rbx, qword [rsp + 0xb8]
mov rcx, rbx
call fcn.017f09d0
mov edi, eax
test eax, eax
js 0x1413950
mov rax, qword [rsi]
mov rdx, rbx
mov rcx, rsi
call qword [rax + 0x1b0]
mov edi, eax
test eax, eax
js 0x1413919
test rbx, rbx
je 0x14138fa
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
add r13, 1
cmp r13, r14
mov edi, 0
jl 0x1413850
mov r14, qword [rsp + 0xa0]
jmp 0x14139cb
test rbx, rbx
je 0x1413928
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
nop
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
nop
mov rax, qword [rbp]
mov rcx, rbp
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
nop
mov rcx, qword [r12 + 0x30]
mov rax, qword [rcx]
mov rdx, r15
call qword [rax + 0x78]
jmp 0x1172ae9
test rbx, rbx
je 0x141395f
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
nop
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
nop
mov rax, qword [rbp]
mov rcx, rbp
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
nop
mov rcx, qword [r12 + 0x30]
mov rax, qword [rcx]
mov rdx, r15
call qword [rax + 0x78]
jmp 0x1172ae9
mov rcx, qword [rsp + 0xb8]
test rcx, rcx
je 0x141399b
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
nop
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
nop
mov rax, qword [rbp]
mov rcx, rbp
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
nop
mov rcx, qword [r12 + 0x30]
mov rax, qword [rcx]
mov rdx, r15
call qword [rax + 0x78]
jmp 0x1172ae9
mov r14, qword [rsp + 0xa0]
mov qword [rsp + 0xb0], rdi
test rsi, rsi
je 0x14139de
add rsi, 0x30
jmp 0x14139e1
mov rsi, rdi
mov qword [r14], rsi
mov rax, qword [rbp]
mov rcx, rbp
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
nop
mov rcx, qword [r12 + 0x30]
mov rax, qword [rcx]
mov rdx, r15
call qword [rax + 0x78]
jmp 0x1172ae9
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
nop
jmp 0x1172ad6