Function at 0x1800bfa70
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x70
lea r13d, [rdx + 0xe]
mov r14, r8
mov ebp, edx
mov rsi, rcx
cmp edx, r13d
jae case.0x1800bfad8.123
mov r15, qword [rsp + 0xb8]
mov r12, qword [rsp + 0xb8]
xor ebx, ebx
lea eax, [rbp - 0x74]
lea rdx, [0x180000000]
cmp eax, 0x2d
ja case.0x1800bfad8.128
movzx eax, byte [rdx + rax + 0xbff00]
mov ecx, dword [rdx + rax*4 + 0xbfecc]
add rcx, rdx
jmp rcx
mov rax, qword [rsi]
mov rcx, qword [rsi + 8]
mov qword [rsp + 0x60], rcx
test rax, rax
je 0x1800bfaf4
mov qword [rax + 8], rcx
jmp case.0x1800bfad8.128
mov rax, qword [r14]
mov qword [rax + 8], rcx
jmp case.0x1800bfad8.128
cmp dword [0x180194b88], 0
je 0x1800bfb73
xor r9d, r9d
xor r8d, r8d
mov edx, 0xdb
mov rcx, rsi
call fcn.18009f100
test eax, eax
je 0x1800bfb73
mov ebx, 0xd2
mov eax, ebx
sub eax, 0xd2
je 0x1800bfb39
cmp eax, 0x36
je case.0x1800bfad8.123
jmp 0x1800bfb68
mov rax, qword [0x180195308]
lea r9, str.NVPTXISD::Tex2DArrayFloatFloatGrad
mov edx, 0x49
mov qword [rsp + 0x20], rax
mov rcx, rsi
lea r8d, [rdx - 0x48]
call fcn.1800c8a10
mov dword [rsp + 0xb8], 0xffffffff
add ebx, 0x36
cmp ebx, 0x13e
jb 0x1800bfb25
lea rdx, [0x180124070]
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fopen]
mov qword [0x180194b80], rax
jmp case.0x1800bfad8.128
cmp qword [0x180194b80], 0
jne 0x1800bfc7f
mov edi, IUnknown_GetWindow
mov eax, edi
sub eax, 0xa8
je 0x1800bfbd7
sub eax, 1
je 0x1800bfc69
sub eax, 1
je 0x1800bfbc7
cmp eax, 1
je case.0x1800bfad8.123
jmp 0x1800bfc71
mov dword [rsp + 0xb8], 0xffffffff
jmp 0x1800bfc71
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
mov ecx, dword [rax]
cmp ecx, 2
je 0x1800bfc40
cmp ecx, 0xd
jne 0x1800bfc8e
mov ebx, 0x42
mov eax, ebx
sub eax, 0x42
je 0x1800bfc00
cmp eax, 0x6c
je 0x1800bfc69
jmp 0x1800bfc29
mov rax, qword [0x180195308]
lea r9, str.NetInfoSettingDlg_radioMonthly
mov edx, 0x49
mov qword [rsp + 0x28], r14
mov rcx, rsi
mov qword [rsp + 0x20], rax
lea r8d, [rdx - 0x43]
call fcn.1800c8a10
add ebx, 0x6c
cmp ebx, 0x11a
jb 0x1800bfbf2
nop dword [rax]
nop dword [rax + rax]
mov rax, qword [0x180195308]
lea r9, str.authentication_domain
mov edx, 0x49
mov qword [rsp + 0x28], r14
mov rcx, rsi
mov qword [rsp + 0x20], rax
lea r8d, [rdx - 0x42]
call fcn.1800c8a10
mov edi, IUnknown_GetWindow
lea ebp, [rdi - 0x33]
inc edi
cmp edi, 0xac
jb 0x1800bfba2
mov dword [0x180194b88], 1
jmp case.0x1800bfad8.128
mov ebx, 0x12b
mov eax, ebx
sub eax, 0x12a
je 0x1800bfc69
cmp eax, 1
jne 0x1800bfcca
mov rax, qword [0x180195308]
lea r9, str.BFD_RELOC_METAG_TLS_LDO_LO16
mov edx, 0x49
mov qword [rsp + 0x28], r14
mov rcx, rsi
mov qword [rsp + 0x20], rax
lea r8d, [rdx - 0x48]
call fcn.1800c8a10
dec ebx
cmp ebx, 0x129
ja 0x1800bfc93
jmp 0x1800bfc71
mov qword [rsp + 0x28], rbx
lea r9, [rsp + 0x40]
lea r8, [rsp + 0x48]
mov qword [rsp + 0x20], rbx
mov edx, 0xc6
mov qword [rsp + 0x48], r15
xor ecx, ecx
mov qword [rsp + 0x40], r12
call fcn.1800691c0
xor r8d, r8d
mov qword [rsp + 0x28], rbx
mov r9, r12
mov qword [rsp + 0x48], rax
xor ecx, ecx
mov qword [rsp + 0x20], rbx
lea edx, [r8 + 0x34]
call fcn.1800691c0
jmp case.0x1800bfad8.128
mov rcx, qword [rsi + 8]
mov rax, qword [rsi]
test rcx, rcx
je 0x1800bfd43
mov qword [rcx], rax
mov rcx, rsi
mov rax, qword [r14 + 8]
call qword [rax + 0x20]
jmp case.0x1800bfad8.128
mov rcx, qword [r14]
mov qword [rcx + 0x10], rax
mov rcx, rsi
mov rax, qword [r14 + 8]
call qword [rax + 0x20]
jmp case.0x1800bfad8.128
mov eax, 0xd5
nop
cmp eax, 0xd5
je 0x1800bfe99
add eax, 0x429
cmp eax, 0x429
jbe 0x1800bfd60
mov rax, qword [r14]
lea r8, [rsp + 0x50]
mov qword [rsp + 0x30], rbx
xor r9d, r9d
mov qword [rsp + 0x28], rbx
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x50], rax
mov dword [rsp + 0x20], 0x10b
call fcn.180017a30
mov rcx, qword [rsi]
lea r8, [rsp + 0x58]
mov qword [rsp + 0x58], rcx
xor r9d, r9d
mov qword [rsp + 0x30], rbx
xor ecx, ecx
mov qword [rsp + 0x28], rbx
xor edx, edx
mov r12, rax
mov dword [rsp + 0x20], 0x10b
call fcn.180017a30
mov r15, rax
jmp case.0x1800bfad8.128
mov ecx, dword [r14]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
jmp 0x1800bfe85
lea rax, str.Vrijeme_stanice_Mawson
mov qword [0x180195308], rax
test r14, r14
jne case.0x1800bfad8.128
mov ebx, 0x122
cmp ebx, 0x122
je 0x1800bfe18
cmp ebx, 0x1586
je case.0x1800bfad8.123
jmp 0x1800bfe47
mov edx, 0x61
mov qword [rsp + 0x20], rax
lea r9, str._Z6selectDv2_jS_Dv2_i
mov rcx, rsi
lea r8d, [rdx - 0x60]
call fcn.1800c8a10
mov rax, qword [0x180195308]
mov dword [rsp + 0xb8], 0xffffffff
add ebx, 0x1464
cmp ebx, 0x28c8
jbe 0x1800bfe02
jmp case.0x1800bfad8.128
xor r8d, r8d
mov qword [rsp + 0x28], rbx
mov r9, r15
mov qword [rsp + 0x20], rbx
xor ecx, ecx
lea edx, [r8 + 0x34]
call fcn.1800691c0
mov rax, qword [rsp + 0x48]
jmp 0x1800bfe85
mov rax, qword [r14]
dec qword [rax + 0x18]
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0xb8], rax
inc ebp
cmp ebp, r13d
jae case.0x1800bfad8.123
jmp 0x1800bfab1
mov dword [rsp + 0xb8], 1
mov rax, qword [rsp + 0xb8]
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret