Function at 0x1800739d0
Capabilities:
Get thread local storage value

Disassembly:
push rbp
push r14
mov eax, 0x1058
call fcn.18008c1c0
sub rsp, rax
mov eax, dword [reloc.WS2_32.dll_accept]
mov r14, rdx
mov rbp, rcx
cmp eax, 0x10
je 0x180073a17
cmp eax, 6
je 0x180073a17
cmp eax, 7
je 0x180073a17
lea rdx, [0x180071d50]
lea rcx, [0x1803c0bc8]
xor r9d, r9d
xor r8d, r8d
call sym.VBoxRT.dll_RTOnceSlow
jmp 0x180073a1d
mov eax, dword [0x1803c0bd8]
test eax, eax
js 0x180073e5f
lea rdx, str.D:_tinderboxwin_4.2_srcVBoxRuntime_r3_test.cpp
mov ecx, 0x128
mov qword [rsp + 0x1070], rbx
call sym.VBoxRT.dll_RTMemAllocZTag
mov rbx, rax
test rax, rax
jne 0x180073a5c
lea eax, [rbx - 8]
mov rbx, qword [rsp + 0x1070]
add rsp, 0x1058
pop r14
pop rbp
ret
mov qword [rsp + 0x1078], rsi
mov qword [rsp + 0x1088], rdi
mov qword [rsp + 0x1050], r12
lea rdx, str.D:_tinderboxwin_4.2_srcVBoxRuntime_r3_test.cpp
mov rcx, rbp
mov qword [rsp + 0x1048], r13
mov qword [rsp + 0x1040], r15
mov dword [rax], 0x19750113
call sym.VBoxRT.dll_RTStrDupTag
mov qword [rbx + 8], rax
or rcx, 0xffffffffffffffff
xor eax, eax
mov rdi, rbp
repne scasb al, byte [rdi]
mov dword [rbx + 0x18], 0x7000
mov dword [rbx + 0x1c], 3
not rcx
dec rcx
mov qword [rbx + 0x10], rcx
mov rax, qword [sym.VBoxRT.dll_g_pStdOut]
lea rcx, [rbx + 0x60]
mov qword [rbx + 0x50], rax
xor eax, eax
mov byte [rbx + 0x58], 1
mov byte [rbx + 0xa8], 1
mov dword [rbx + 0xbc], 2
mov qword [rbx + 0xc0], 0xffffffffffffffff
mov qword [rbx + 0x90], rax
mov qword [rbx + 0x98], rax
mov qword [rbx + 0xa0], rax
mov qword [rbx + 0xac], rax
mov dword [rbx + 0xb4], eax
mov byte [rbx + 0xb8], al
mov qword [rbx + 0xd0], rax
mov qword [rbx + 0xc8], 0xffffffffffffffff
call sym.VBoxRT.dll_RTCritSectInit
mov edi, eax
test eax, eax
js 0x180073e16
lea rcx, [rbx + 0x20]
call sym.VBoxRT.dll_RTCritSectInit
mov edi, eax
test eax, eax
js 0x180073e0d
mov rcx, qword [0x1803c0c00]
call sym.VBoxRT.dll_RTTlsGet
test rax, rax
jne 0x180073b6f
mov rcx, qword [0x1803c0c00]
mov rdx, rbx
call sym.VBoxRT.dll_RTTlsSet
mov edi, eax
test edi, edi
js 0x180073e04
lea r8, [rsp + 0x30]
lea rdx, str.IPRT_TEST_MAX_LEVEL
xor r12d, r12d
mov r9d, 0x1004
or rcx, 0xffffffffffffffff
mov qword [rsp + 0x20], r12
call sym.VBoxRT.dll_RTEnvGetEx
test eax, eax
js 0x180073c47
lea rcx, [rsp + 0x30]
call sym.VBoxRT.dll_RTStrStrip
lea rdi, [0x18026135c]
mov ecx, 4
mov rsi, rax
repe cmpsb byte [rsi], byte [rdi]
jne 0x180073bc6
mov dword [rbx + 0x1c], 5
lea rdi, str.quiet
mov rsi, rax
mov ecx, 6
repe cmpsb byte [rsi], byte [rdi]
je 0x180073c40
lea rdi, str.debug
mov rsi, rax
mov ecx, 6
repe cmpsb byte [rsi], byte [rdi]
jne 0x180073bf5
mov dword [rbx + 0x1c], 5
jmp 0x180073c47
lea rdi, str.info
mov rsi, rax
mov ecx, 5
repe cmpsb byte [rsi], byte [rdi]
jne 0x180073c11
mov dword [rbx + 0x1c], 4
jmp 0x180073c47
lea rdi, str.sub_test
mov rsi, rax
mov ecx, 9
repe cmpsb byte [rsi], byte [rdi]
jne 0x180073c2d
mov dword [rbx + 0x1c], 3
jmp 0x180073c47
lea rdi, str.failure
mov rsi, rax
mov ecx, 8
repe cmpsb byte [rsi], byte [rdi]
jne 0x180073c47
mov dword [rbx + 0x1c], 2
lea r8, [rsp + 0x30]
lea rdx, str.IPRT_TEST_PIPE
mov r9d, 0x1004
or rcx, 0xffffffffffffffff
mov qword [rsp + 0x20], r12
call sym.VBoxRT.dll_RTEnvGetEx
test eax, eax
js 0x180073d07
lea r8, [rsp + 0x1080]
lea rcx, [rsp + 0x30]
xor edx, edx
mov qword [rsp + 0x1080], 0xffffffffffffffff
call sym.VBoxRT.dll_RTStrToInt64Full
test eax, eax
js 0x180073ce6
mov rdx, qword [rsp + 0x1080]
lea rcx, [rbx + 0xc0]
mov r8d, 2
call sym.VBoxRT.dll_RTPipeFromNative
test eax, eax
js 0x180073cba
mov byte [rbx + 0xb8], 1
jmp 0x180073d27
mov rcx, qword [sym.VBoxRT.dll_g_pStdErr]
lea r9, [rsp + 0x30]
lea rdx, str._s:_test_pipe_error:_RTPipeFromNative____s__WRITE______Rrc_n
mov r8, rbp
mov dword [rsp + 0x20], eax
call sym.VBoxRT.dll_RTStrmPrintf
mov qword [rbx + 0xc0], 0xffffffffffffffff
jmp 0x180073d27
mov rcx, qword [sym.VBoxRT.dll_g_pStdErr]
lea r9, [rsp + 0x30]
lea rdx, str._s:_test_pipe_error:_RTStrToInt32Full___s_______Rrc_n
mov r8, rbp
mov dword [rsp + 0x20], eax
call sym.VBoxRT.dll_RTStrmPrintf
jmp 0x180073d27
cmp eax, 0xfffffd12
je 0x180073d27
mov rcx, qword [sym.VBoxRT.dll_g_pStdErr]
lea rdx, str._s:_test_pipe_error:_RTEnvGetEx_IPRT_TEST_PIPE______Rrc_n
mov r9d, eax
mov r8, rbp
call sym.VBoxRT.dll_RTStrmPrintf
lea r8, [rsp + 0x30]
lea rdx, str.IPRT_TEST_FILE
mov r9d, 0x1004
or rcx, 0xffffffffffffffff
mov qword [rsp + 0x20], r12
call sym.VBoxRT.dll_RTEnvGetEx
test eax, eax
js 0x180073d9b
lea rdx, [rsp + 0x30]
lea rcx, [rbx + 0xc8]
mov r8d, 0x322
call sym.VBoxRT.dll_RTFileOpen
test eax, eax
js 0x180073d6f
mov byte [rbx + 0xb8], 1
jmp 0x180073dbb
mov rcx, qword [sym.VBoxRT.dll_g_pStdErr]
lea r9, [rsp + 0x30]
lea rdx, str._s:_test_file_error:_RTFileOpen____s________Rrc_n
mov r8, rbp
mov dword [rsp + 0x20], eax
call sym.VBoxRT.dll_RTStrmPrintf
mov qword [rbx + 0xc8], 0xffffffffffffffff
jmp 0x180073dbb
cmp eax, 0xfffffd12
je 0x180073dbb
mov rcx, qword [sym.VBoxRT.dll_g_pStdErr]
lea rdx, str._s:_test_file_error:_RTEnvGetEx_IPRT_TEST_FILE______Rrc_n
mov r9d, eax
mov r8, rbp
call sym.VBoxRT.dll_RTStrmPrintf
mov qword [rbx + 0xd0], r12
cmp byte [rbx + 0xb8], r12b
je 0x180073dfd
lea rdx, str.__xml_version_1.0__encoding_UTF_8_____n
mov rcx, rbx
call fcn.180072260
lea r8, str.name_RMas
lea rdx, str.Test
mov r9, rbp
mov rcx, rbx
mov dword [rbx + 0xbc], 2
call fcn.180072500
mov qword [r14], rbx
xor eax, eax
jmp 0x180073e2f
lea rcx, [rbx + 0x20]
call sym.VBoxRT.dll_RTCritSectDelete
lea rcx, [rbx + 0x60]
call sym.VBoxRT.dll_RTCritSectDelete
mov rcx, qword [rbx + 8]
xor r12d, r12d
mov dword [rbx], r12d
call sym.VBoxRT.dll_RTStrFree
mov rcx, rbx
call sym.VBoxRT.dll_RTMemFree
mov eax, edi
mov r13, qword [rsp + 0x1048]
mov r12, qword [rsp + 0x1050]
mov rdi, qword [rsp + 0x1088]
mov rsi, qword [rsp + 0x1078]
mov r15, qword [rsp + 0x1040]
mov rbx, qword [rsp + 0x1070]
add rsp, 0x1058
pop r14
pop rbp
ret