Function at 0x1000c7b00
Capabilities:
Get thread local storage value

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x120
mov qword [rsp + 0x58], 0xfffffffffffffffe
mov qword [rsp + 0x170], rbx
mov rax, qword [0x10022f440]
xor rax, rsp
mov qword [rsp + 0x110], rax
mov r15, r9
mov r13, r8
movzx r12d, dx
mov qword [rsp + 0x50], rcx
mov qword [rsp + 0x38], r9
mov rdi, qword [rsp + 0x188]
mov qword [rsp + 0x48], rdi
lea rcx, [rsp + 0x70]
call fcn.1000f2980
lea rcx, [rsp + 0x60]
call fcn.1000f2980
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
mov rsi, rax
mov qword [rsp + 0x30], rax
call fcn.100068a00
mov rbx, rax
mov rcx, qword gs:[0x30]
lea rbp, [rcx + rax]
mov rcx, rax
call fcn.10006c530
test eax, eax
jne 0x1000c7ba5
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rbp, rax
test rbp, rbp
je 0x1000c7bb6
mov rbp, qword [rbp + 0xd8]
test rbp, rbp
jne 0x1000c7bee
call fcn.100063d30
call fcn.100068a00
mov rbx, rax
mov rcx, qword gs:[0x30]
lea rbp, [rcx + rax]
mov rcx, rax
call fcn.10006c530
test eax, eax
jne 0x1000c7be7
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rbp, rax
mov rbp, qword [rbp + 0xd8]
xor r14d, r14d
cmp r12w, 0x40
sete r14b
mov qword [rdi], 0
test r14d, r14d
je 0x1000c7c7f
xor ecx, ecx
call fcn.10006be10
lea rcx, [rax + 8]
xor edx, edx
call fcn.1000f2a60
mov ecx, eax
call fcn.10006be50
mov rcx, qword [rax + 0x10]
mov qword [rsp + 0x60], rcx
mov rax, qword [rax + 0x18]
mov qword [rsp + 0x68], rax
call fcn.100109770
mov rdi, rax
mov rsi, qword [rax]
lea rcx, [rsp + 0x60]
call fcn.1000f2a40
movzx ebx, ax
lea rcx, [rsp + 0x90]
call fcn.10006ae10
mov rcx, rax
movzx r8d, bx
lea rdx, [rsp + 0x80]
call fcn.1000f3260
mov r8, rax
lea r9, [rsp + 0x70]
mov rdx, qword [rsp + 0x30]
mov rcx, rdi
call qword [rsi + 0x30]
jmp 0x1000c7cb6
movzx ecx, r12w
call fcn.10006be10
mov rcx, qword [rax + 8]
mov qword [rsp + 0x60], rcx
mov rax, qword [rax + 0x10]
mov qword [rsp + 0x68], rax
call fcn.100109770
mov r10, qword [rax]
lea r9, [rsp + 0x70]
lea r8, [rsp + 0x60]
mov rdx, rsi
mov rcx, rax
call qword [r10 + gethostbyaddr]
mov rax, qword [r15]
mov byte [rsp + 0x20], 6
mov r9d, 0x20a
lea r8, [0x100021fe8]
mov edx, 0x700
mov rcx, r15
call qword [rax + 0x48]
mov rdi, rax
mov qword [rsp + 0x40], rax
test rax, rax
je 0x1000c7d87
lea rbx, [rax + 0x40]
mov qword [rsp + 0x80], rbx
mov r8d, 0x1a
lea rdx, [0x100022018]
mov rcx, rbx
call fcn.100068710
nop
lea rax, [0x100021e20]
mov qword [rbx], rax
lea rax, fcn.1000e2c80
mov qword [rbx + 0x40], rax
xor r15d, r15d
mov qword [rbx + 0x660], r15
lea rax, [rbx + 0x670]
mov qword [rax + 8], rax
mov qword [rax], rax
mov dword [rbx + 0x688], r15d
mov dword [rbx + 0x668], 1
mov dword [rbx + 0x66c], 1
mov qword [rbx + 0x680], 1
mov qword [rbx + 0x690], r15
lea rax, [0x100021ec0]
mov qword [rdi], rax
lea rax, [0x100021f30]
mov qword [rbx], rax
lea rax, fcn.1000e2c80
mov qword [rdi + 0x80], rax
jmp 0x1000c7d8c
xor edi, edi
xor r15d, r15d
test rdi, rdi
je 0x1000c7f1b
lea rsi, [rdi + 0x40]
call fcn.10006bad0
test eax, eax
je 0x1000c7dac
mov dword [rsi + 0x588], 1
mov qword [rsi + 0x580], r13
lea r8, [rsi + 0x40]
mov eax, 0x80
lea r9d, [rax - 0x78]
mov word [rsp + 0x20], ax
lea edx, [rax - 0x5a]
lea ecx, [rax - 0x7e]
call fcn.100095bf0
mov rdi, rax
mov qword [rsp + 0x80], rax
test rax, rax
je 0x1000c7f1b
mov r10, qword [rax]
mov byte [rsp + 0x20], 6
mov r9d, 0x22b
lea r8, [0x100021fe8]
mov edx, 0x16d8
mov rcx, rax
call qword [r10 + 0x48]
mov rbx, rax
mov qword [rsp + 0x40], rax
test rax, rax
je 0x1000c7e2d
lea rcx, [rax + 8]
mov qword [rsp + 0x38], rcx
call fcn.100102280
nop
lea rax, [0x100021fc8]
mov qword [rbx], rax
jmp 0x1000c7e30
mov rbx, r15
test rbx, rbx
je 0x1000c7f1b
add rbx, 8
je 0x1000c7f1b
mov qword [rbx + 0xd0], r13
mov qword [rbx + 0x98], rsi
mov rax, qword [rsp + 0x180]
mov qword [rbx + 0xc8], rax
call fcn.10006b940
test eax, eax
je 0x1000c7e72
mov r15, qword [rbp + 0x390]
jmp 0x1000c7e75
mov r15, rdi
mov qword [rbp + 0x388], rbx
mov rax, qword [rbp + 0x218]
mov qword [rbp + 0x390], rdi
test rax, rax
je 0x1000c7e98
mov eax, dword [rax + 0xa98]
mov dword [rbp + 0x7c], eax
test r14d, r14d
je 0x1000c7ea4
or dword [rbx + 0x590], 4
call fcn.10006b940
test eax, eax
je 0x1000c7eb4
or dword [rbx + 0x590], 0x20
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x60]
mov r8, rdi
movzx edx, r12w
mov rcx, rbx
call fcn.1001024b0
mov edi, eax
mov rax, qword [rbp + 0x218]
mov rcx, qword [rax + 0x1068]
mov qword [rbp + 0x388], rcx
mov qword [rbp + 0x390], r15
test rax, rax
je 0x1000c7efe
mov ecx, dword [rax + 0xa98]
mov dword [rbp + 0x7c], ecx
test edi, edi
jne 0x1000c7f20
lea rcx, [rbx + 0x398]
mov rdx, rsi
call fcn.1000df030
mov r11, qword [rsp + 0x48]
mov qword [r11], rbx
jmp 0x1000c7f20
mov edi, 0xc0000000
call fcn.100109770
mov r10, qword [rax]
xor r9d, r9d
lea r8, [rsp + 0x70]
mov rdx, qword [rsp + 0x30]
mov rcx, rax
call qword [r10 + gethostbyaddr]
mov eax, edi
mov rcx, qword [rsp + 0x110]
xor rcx, rsp
call fcn.10005f420
mov rbx, qword [rsp + 0x170]
add rsp, 0x120
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret