Function at 0x140007ab0
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rsp + 0x10], rbx
mov byte [rsp + 0x20], r9b
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
mov r12, r8
movzx r14d, dx
mov r13, rcx
mov r15, qword [rcx]
movzx eax, word [r15]
test ax, ax
je 0x140007e36
movzx ecx, ax
call fcn.1400e84d0
test eax, eax
jne 0x140007af9
movzx eax, word [r15]
cmp ax, r14w
jne 0x140007b06
add r15, 2
movzx eax, word [r15]
test ax, ax
jne 0x140007ae3
movzx r9d, byte [rsp + 0x88]
test ax, ax
je 0x140007e36
cmp ax, r14w
je 0x140007e36
xor edi, edi
cmp ax, 0x22
jne 0x140007b9f
add r15, 2
mov rsi, r15
movzx eax, word [r15]
test ax, ax
je 0x140007b58
movzx ecx, ax
nop dword [rax]
movzx eax, cx
cmp cx, 0x22
je 0x140007b58
add rsi, 2
movzx eax, word [rsi]
movzx ecx, ax
test ax, ax
jne 0x140007b40
lea rcx, [rsi + 2]
test ax, ax
cmove rcx, rsi
mov qword [r13], rcx
test r14w, r14w
je 0x140007e00
movzx eax, word [rcx]
test ax, ax
je 0x140007e00
nop dword [rax]
cmp ax, r14w
je 0x140007e00
add rcx, 2
mov qword [r13], rcx
movzx eax, word [rcx]
test ax, ax
jne 0x140007b80
jmp 0x140007e00
mov rsi, r15
test ax, ax
je 0x140007bbf
cmp ax, r14w
je 0x140007bbf
cmp ax, 0x20
je 0x140007bbf
add rsi, 2
movzx eax, word [rsi]
test ax, ax
jne 0x140007ba7
test r9b, r9b
je 0x140007dfc
movzx eax, word [r15]
cmp ax, 0x25
je 0x140007be4
cmp ax, 0x5c
je 0x140007be4
cmp word [r15 + 2], 0x3a
jne 0x140007dfc
mov rbx, qword [r12]
mov rcx, r15
call fcn.1400e81d8
mov qword [r12], rax
mov rcx, rbx
call fcn.1400e825c
mov rcx, rsi
sub rcx, r15
sar rcx, 1
mov rax, qword [r12]
mov word [rax + rcx*2], di
mov rax, qword [r12]
lea rcx, [0x14011eaa0]
test rax, rax
cmovne rcx, rax
call fcn.1400e81d8
mov rdi, rax
mov qword [rsp + 0x28], rax
xor ecx, ecx
call fcn.1400e825c
nop
mov rcx, rdi
call fcn.1400e9204
mov ecx, dword [0x140178818]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
cmp eax, 0x200
jne 0x140007cbf
lea rdx, str._PROGRAMFILES_
mov rcx, rdi
call fcn.1400e3cd4
test rax, rax
je 0x140007cbf
lea rdx, str._PROGRAMFILES_
mov rcx, rdi
call fcn.1400e3cd4
sub rax, rdi
sar rax, 1
mov edx, eax
mov rax, qword [r12]
lea rcx, [rax + rdx*2]
movups xmm0, xmmword [str._ProgramW6432_]
movups xmmword [rcx], xmm0
movsd xmm1, qword [0x14011f0c0]
movsd qword [rcx + 0x10], xmm1
mov eax, dword [0x14011f0c8]
mov dword [rcx + 0x18], eax
mov rcx, qword [r12]
add rcx, 0x1c
lea rcx, [rcx + rdx*2]
nop
movzx eax, word [rcx]
mov word [rcx], ax
lea rcx, [rcx + 2]
test ax, ax
jne 0x140007cb0
mov rdx, qword [r12]
lea rcx, [rsp + 0x20]
call fcn.140018990
mov rdx, qword [rax]
mov rbx, qword [r12]
lea rcx, [0x14011eaa0]
test rdx, rdx
cmovne rcx, rdx
call fcn.1400e81d8
mov qword [r12], rax
mov rcx, rbx
call fcn.1400e825c
mov rcx, qword [rsp + 0x20]
call fcn.1400e825c
mov rcx, qword [r12]
call fcn.140018ad0
cmp eax, 0xffffffff
je 0x140007d13
test al, 0x10
je 0x140007df2
lea rcx, [0x14011f428]
call fcn.1400e81d8
mov rbx, rax
xor ecx, ecx
call fcn.1400e825c
mov rax, qword [r12]
lea rcx, [0x14011eaa0]
test rax, rax
cmovne rcx, rax
call fcn.1400e81d8
mov qword [rsp + 0x70], rax
xor ecx, ecx
call fcn.1400e825c
mov rdx, rbx
lea rcx, [rsp + 0x70]
call fcn.140005790
mov rcx, rbx
call fcn.1400e825c
mov rbp, qword [rsp + 0x70]
mov rbx, qword [r12]
lea rcx, [0x14011eaa0]
test rbp, rbp
cmovne rcx, rbp
call fcn.1400e81d8
mov qword [r12], rax
mov rcx, rbx
call fcn.1400e825c
mov rcx, rbp
call fcn.1400e825c
mov rcx, qword [r12]
call fcn.140018ad0
cmp eax, 0xffffffff
je 0x140007da3
test al, 0x10
je 0x140007df2
movzx eax, word [rsi]
cmp ax, r14w
je 0x140007dc9
nop dword [rax]
movzx ecx, ax
call fcn.1400e84d0
test eax, eax
je 0x140007dc9
add rsi, 2
movzx eax, word [rsi]
cmp ax, r14w
jne 0x140007db0
movzx eax, word [rsi]
test ax, ax
je 0x140007e2a
cmp ax, r14w
je 0x140007e2a
mov rcx, rdi
call fcn.1400e825c
movzx eax, word [rsi]
movzx r9d, byte [rsp + 0x88]
xor edi, edi
jmp 0x140007ba2
mov rcx, rdi
call fcn.1400e825c
xor edi, edi
mov qword [r13], rsi
mov rbx, qword [r12]
mov rcx, r15
call fcn.1400e81d8
mov qword [r12], rax
mov rcx, rbx
call fcn.1400e825c
sub rsi, r15
sar rsi, 1
mov rax, qword [r12]
mov word [rax + rsi*2], di
mov al, 1
jmp 0x140007e3c
mov rcx, rdi
call fcn.1400e825c
mov al, 1
jmp 0x140007e3c
mov qword [r13], r15
xor al, al
mov rbx, qword [rsp + 0x78]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret