Function at 0x18017fa80
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0xc0
mov rbx, qword [rsp + 0x120]
mov r13, rcx
xor r14d, r14d
lea rdi, [0x180047148]
mov ecx, 5
mov rsi, rbx
repe cmpsb byte [rsi], byte [rdi]
mov r12d, 1
mov rbp, r8
mov r15, rdx
mov dword [rsp + 0x30], r12d
mov qword [rsp + 0x38], r14
jne 0x18017faec
lea rax, [rsp + 0x38]
mov rcx, r13
mov qword [rsp + 0x20], rax
call fcn.18017f500
jmp 0x18017fb11
lea rdi, [0x180047150]
mov rsi, rbx
mov ecx, 7
repe cmpsb byte [rsi], byte [rdi]
jne 0x18017fb26
lea rax, [rsp + 0x38]
mov rcx, r13
mov qword [rsp + 0x20], rax
call fcn.18017f720
mov r14, qword [rsp + 0x38]
mov r12d, eax
test eax, eax
jne case.0x18017fc17.96
jmp 0x1801800b4
mov rax, qword [r9]
lea r8, [rsp + 0x50]
xor edx, edx
mov rcx, r9
call qword [rax + 0x60]
test al, al
je 0x1801800b4
mov ecx, 0x98
call fcn.180071960
mov r14, rax
test rax, rax
je 0x1801800ab
xor r9d, r9d
mov dword [rax + 8], 5
mov dword [rax + 0x20], r12d
mov qword [rax + 0x10], r9
mov qword [rax + 0x18], r9
mov dword [r14 + 0x38], 0x20
mov qword [r14 + 0x28], r9
mov dword [r14 + 0x30], r9d
mov dword [r14 + 0x34], r9d
mov qword [r14 + 0x40], rbp
mov qword [r14 + 0x48], r9
mov byte [r14 + 0x50], r12b
mov qword [r14 + 0x58], r9
mov dword [r14 + 0x60], r9d
or rcx, 0xffffffffffffffff
lea rax, [0x180041948]
lea r8, [r14 + 0x48]
mov rdi, rbx
mov qword [r14], rax
mov rax, qword [r15]
mov qword [r14 + 0x68], rax
mov rax, qword [r15 + 8]
mov qword [r14 + 0x70], rax
mov rax, qword [r15 + 0x10]
mov qword [r14 + 0x78], rax
mov rax, qword [r15 + 0x18]
mov qword [r14 + 0x80], rax
mov rax, qword [r15 + 0x20]
mov qword [r14 + 0x90], r9
mov qword [r14 + 0x88], rax
xor eax, eax
repne scasb al, byte [rdi]
movsx eax, byte [rbx]
not rcx
add eax, 0xffffffa1
dec rcx
add rcx, rbx
mov qword [rsp + 0x48], rcx
cmp eax, 0x1b
ja case.0x18017fc17.96
lea rdi, [0x180000000]
cdqe
movzx eax, byte [rdi + rax + 0x1800f0]
mov edx, dword [rdi + rax*4 + 0x1800e0]
add rdx, rdi
jmp rdx
mov eax, dword [rsp + 0x50]
cmp eax, 2
je 0x18017fc2b
cmp eax, 9
jne case.0x18017fc17.96
mov eax, r9d
jmp 0x18017fc6a
mov eax, dword [rsp + 0x50]
cmp eax, 2
je 0x18017fc42
cmp eax, 9
jne case.0x18017fc17.96
mov eax, r12d
jmp 0x18017fc6a
cmp dword [rsp + 0x50], 8
jne case.0x18017fc17.96
lea rax, [rbx + 1]
cmp rax, rcx
jae 0x18017fc65
cmp byte [rax], 0x6d
mov eax, 3
je 0x18017fc6a
mov eax, 2
mov dword [rsp + 0x34], eax
mov r12d, r9d
mov dword [rsp + 0x38], r9d
mov rsi, r8
mov qword [rsp + 0x40], r8
cmp rbx, rcx
jae 0x18017ff1e
mov edi, dword [rsp + 0x128]
mov ebp, dword [rsp + 0x128]
lea r13, [rbx + 2]
lea r15, [rbx + 3]
nop dword [rax]
cmp r12d, 4
jae 0x18017fef7
test eax, eax
je 0x18017fda4
sub eax, 1
je 0x18017fd84
sub eax, 1
je 0x18017fd2d
sub eax, 1
jne 0x18017fdde
cmp r15, rcx
jae 0x18018008b
cmp byte [rbx], 0x5f
jne 0x18018008b
cmp byte [rbx + 1], 0x6d
jne 0x18018008b
movzx ecx, byte [r13]
cmp cl, 0x30
jl 0x18018008b
cmp cl, 0x39
jg 0x18018008b
movzx eax, byte [r15]
cmp al, 0x30
jl 0x18018008b
cmp al, 0x39
jg 0x18018008b
movsx ebp, cl
movsx edi, al
add rbx, 4
sub ebp, 0x30
sub edi, 0x30
add r15, 4
add r13, 4
jmp 0x18017fdde
cmp r13, rcx
jae 0x18018008b
cmp byte [rbx], 0x5f
jne 0x18018008b
movzx ecx, byte [rbx + 1]
cmp cl, 0x31
jl 0x18018008b
cmp cl, 0x39
jg 0x18018008b
movzx eax, byte [r13]
cmp al, 0x31
jl 0x18018008b
cmp al, 0x39
jg 0x18018008b
movsx ebp, cl
movsx edi, al
add rbx, 3
sub ebp, 0x31
sub edi, 0x31
add r15, 3
add r13, 3
jmp 0x18017fdde
movsx ecx, byte [rbx]
sub ecx, 0x61
je 0x18017fdcd
sub ecx, 1
je 0x18017fdbf
sub ecx, 5
je 0x18017fdc6
cmp ecx, 0xb
jne 0x18018008b
mov edi, r9d
jmp 0x18017fdd2
movsx ecx, byte [rbx]
sub ecx, 0x77
je 0x18017fdcd
sub ecx, 1
je 0x18017fd9f
sub ecx, 1
je 0x18017fdc6
cmp ecx, 1
jne 0x18018008b
mov edi, 2
jmp 0x18017fdd2
mov edi, 1
jmp 0x18017fdd2
mov edi, 3
inc rbx
inc r15
mov ebp, r9d
inc r13
cmp ebp, dword [rsp + 0x88]
jae 0x18018008b
mov r12d, dword [rsp + 0x8c]
cmp edi, r12d
jae 0x18018008b
imul r12d, ebp
mov ecx, 0x30
add r12d, edi
call fcn.180071960
test rax, rax
je 0x18017fe41
lea rcx, [0x180041858]
mov dword [rax + 8], 1
mov dword [rax + 0x20], 1
mov qword [rax], rcx
xor ecx, ecx
mov qword [rax + 0x10], rcx
mov qword [rax + 0x18], rcx
lea rcx, [0x180047158]
mov qword [rax + 0x28], rcx
jmp 0x18017fe43
xor eax, eax
mov qword [rsi], rax
test rax, rax
je 0x18018007e
mov ecx, 0x70
call fcn.180071960
xor r9d, r9d
mov rsi, rax
test rax, rax
je 0x18017feae
mov rax, qword [rsp + 0x100]
mov edx, dword [rax + 0x49c]
lea ecx, [rdx + 1]
mov dword [rax + 0x49c], ecx
lea rax, [0x180041978]
mov dword [rsi + 8], 6
mov qword [rsi], rax
mov eax, r12d
mov qword [rsi + 0x10], r9
mov qword [rsi + 0x18], r9
mov dword [rsi + 0x20], 1
mov dword [rsi + 0x28], 2
mov qword [rsi + 0x30], rax
mov dword [rsi + 0x40], edx
jmp 0x18017feb1
mov rsi, r9
mov rcx, qword [rsp + 0x40]
mov rax, qword [rcx]
mov qword [rax + 0x10], rsi
test rsi, rsi
je 0x18018007e
mov rcx, qword [rcx]
mov r12d, dword [rsp + 0x38]
add rcx, 0x18
inc r12d
mov qword [rsp + 0x40], rcx
mov rcx, qword [rsp + 0x48]
mov dword [rsp + 0x38], r12d
cmp rbx, rcx
jae 0x18017ff00
mov rsi, qword [rsp + 0x40]
mov eax, dword [rsp + 0x34]
jmp 0x18017fca0
cmp rbx, rcx
jb 0x18018008b
cmp r12d, 4
ja 0x18018008b
mov r13, qword [rsp + 0x100]
mov r15, qword [rsp + 0x108]
lea r8, [r14 + 0x48]
mov rax, qword [r8]
mov rdi, qword [rsp + 0x80]
test rax, rax
je 0x18017ff7a
nop
bt rdi, 9
jb 0x18017ff7a
mov rcx, qword [rax + 0x18]
lea rsi, [rax + 0x18]
test rcx, rcx
je 0x18017ff72
mov rax, qword [rax + 0x10]
mov rdx, qword [rax + 0x30]
nop dword [rax]
mov rax, qword [rcx + 0x10]
cmp rdx, qword [rax + 0x30]
je 0x18017ff65
mov rcx, qword [rcx + 0x18]
test rcx, rcx
jne 0x18017ff50
jmp 0x18017ff72
mov edi, 0x200
mov qword [rsp + 0x80], rdi
mov rax, qword [rsi]
test rax, rax
jne 0x18017ff30
movsxd rax, dword [rsp + 0x54]
and edi, 0x20000200
mov r9, qword [r13 + rax*8 + 0xc0]
cmp r9, qword [r13 + 0xe0]
jne 0x18017ffb1
test rdi, rdi
jne 0x18017ffb1
mov rsi, qword [r13 + 0x398]
test rsi, rsi
je 0x18017ffb1
cmp r12d, 4
je 0x180180074
mov r8, rdi
mov rdx, r15
mov rcx, r13
and r8, 0xfffffffffffff3ff
call fcn.180117880
mov rsi, rax
test rax, rax
je 0x180180067
cmp r12d, 1
jbe 0x180180074
mov ecx, dword [0x18025e63c]
test ecx, ecx
jns 0x18017ffed
xor ebx, ebx
mov rax, rbx
jmp 0x18017fff5
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
xor ebx, ebx
mov rcx, qword [rax + 8]
mov edx, 0x40
lea r8d, [rdx - 0x30]
call fcn.180243b70
test rax, rax
je 0x180180069
and edi, 0xc00
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], rbx
mov dword [rax + 0x28], 0xffffffff
mov dword [rax + 8], 9
lea rcx, [0x180043550]
mov qword [rax], rcx
mov qword [rax + 0x30], rsi
mov dword [rax + 0x38], 1
mov dword [rax + 0x3c], r12d
je 0x180180062
mov r9, rax
mov r8, rdi
mov rdx, r15
mov rcx, r13
call fcn.180117880
mov rsi, rax
test rax, rax
je 0x180180069
jmp 0x180180074
mov rsi, rax
jmp 0x180180074
xor ebx, ebx
mov byte [r13 + 0x468], 1
mov rsi, rbx
mov qword [r14 + 0x28], rsi
cmp rsi, 0
jne 0x180180086
mov r12d, 0x8007000e
jmp case.0x18017fc17.96
xor r12d, r12d
jmp 0x1801800b4
mov r12d, dword [rsp + 0x30]
test r14, r14
je 0x1801800b4
add dword [r14 + 0x20], 0xffffffff
jne 0x1801800b1
mov rax, qword [r14]
mov edx, 1
mov rcx, r14
call qword [rax]
jmp 0x1801800b1
mov r12d, 0x8007000e
xor r14d, r14d
mov rax, qword [rsp + 0x128]
mov rbx, qword [rsp + 0x110]
mov qword [rax], r14
mov eax, r12d
add rsp, 0xc0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret