Function at 0x140039d1a
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0xd0
mov rdi, rcx
mov ecx, dword [0x14012a018]
test ecx, ecx
je 0x140039f29
dec ecx
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 2
jb 0x140039d55
mov rsi, rax
cmp qword [rax + 8], 0
je 0x140039d55
add rsi, 8
jmp 0x140039f1b
mov ecx, dword [0x14012a018]
test ecx, ecx
je 0x140039f3c
dec ecx
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 1
je 0x140039f19
mov rsi, rax
test rax, rax
jne 0x140039dc4
mov al, byte [0x140195158]
mov edx, 0x10
xor ecx, ecx
call fcn.1400dd0f0
test rax, rax
je 0x140039fcc
mov rsi, rax
lea rax, section..data
mov qword [rsi], rax
mov qword [rsi + 8], 0
mov ecx, dword [0x14012a018]
test ecx, ecx
je 0x140039f4f
dec ecx
mov rdx, rsi
call sub.KERNEL32.dll_TlsSetValue
test rdi, rdi
je 0x140039ddc
mov rbx, qword [rdi]
mov qword [rdi], 0
test rbx, rbx
jne 0x140039f03
xorps xmm0, xmm0
lea rdi, [rsp + 0x20]
movaps xmmword [rdi + 0x10], xmm0
movaps xmmword [rdi], xmm0
mov rcx, rdi
call fcn.14003c58b
test rax, rax
jne 0x140039f62
movaps xmm0, xmmword [rsp + 0x20]
movaps xmm1, xmmword [rsp + 0x30]
lea rdi, [rsp + 0x50]
movups xmmword [rdi + 0x10], xmm1
movups xmmword [rdi], xmm0
lea rbx, [rsp + 0xa0]
mov rcx, rbx
mov rdx, rdi
call fcn.14003c4c1
movaps xmm0, xmmword [rbx]
movaps xmm1, xmmword [rbx + 0x10]
movaps xmm2, xmmword [rbx + 0x20]
movaps xmmword [rsp + 0x40], xmm2
movaps xmmword [rsp + 0x30], xmm1
movaps xmmword [rsp + 0x20], xmm0
movups xmmword [rbx - 8], xmm0
movups xmmword [rbx + 8], xmm1
movups xmmword [rbx + 0x18], xmm2
movups xmm0, xmmword [rbx - 0x10]
movaps xmmword [rdi], xmm0
movups xmm0, xmmword [rbx]
movaps xmmword [rdi + 0x10], xmm0
movups xmm0, xmmword [rbx + 0x10]
movaps xmmword [rdi + 0x20], xmm0
mov rax, qword [rbx + 0x20]
mov qword [rdi + 0x30], rax
mov al, byte [0x140195158]
mov edx, 0x170
xor ecx, ecx
call fcn.1400dd0f0
test rax, rax
je 0x140039fbd
mov rbx, rax
mov eax, 1
mov qword [rbx], rax
mov qword [rbx + 8], rax
mov rcx, rbx
add rcx, 0x10
mov r8d, 0x100
xor edx, edx
call sub.api_ms_win_crt_string_l1_1_0.dll_memset
mov qword [rbx + 0x110], 0x40
movaps xmm0, xmmword [rsp + 0x50]
movaps xmm1, xmmword [rsp + 0x60]
movaps xmm2, xmmword [rsp + 0x70]
movups xmmword [rbx + 0x118], xmm0
movups xmmword [rbx + 0x128], xmm1
movups xmmword [rbx + 0x138], xmm2
mov rax, qword [rsp + 0x80]
mov qword [rbx + 0x148], rax
mov eax, 0x10000
mov qword [rbx + 0x150], rax
mov qword [rbx + 0x158], rax
mov qword [rbx + 0x160], 0
add rsi, 8
mov rcx, qword [rsi]
mov qword [rsi], rbx
test rcx, rcx
je 0x140039f1b
call fcn.14003a048
jmp 0x140039f1b
xor esi, esi
mov rax, rsi
add rsp, 0xd0
pop rbx
pop rdi
pop rsi
ret
lea rcx, section..data
call fcn.1400acdc0
mov ecx, eax
jmp 0x140039d37
lea rcx, section..data
call fcn.1400acdc0
mov ecx, eax
jmp 0x140039d65
lea rcx, section..data
call fcn.1400acdc0
mov ecx, eax
jmp 0x140039dbc
mov qword [rsp + 0x20], rax
lea rax, [0x14016c420]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x50]
mov qword [rax], rdi
lea rcx, [0x14003c528]
mov qword [rax + 8], rcx
lea rdx, [0x14016c3b8]
lea rcx, [rsp + 0x90]
mov qword [rcx], rdx
mov edx, 1
mov qword [rcx + 8], rdx
mov qword [rcx + 0x20], 0
mov qword [rcx + 0x10], rax
mov qword [rcx + 0x18], rdx
lea rdx, str.C:UsersAdministrator.cargo_registry_srcindex.crates.io_6f17d22bba15001f_rand_0.8.5_src_rngs_thread.rscould_not_initialize_thread_rng:
call fcn.140004c80
mov ecx, 0x10
mov edx, 0x170
call fcn.1400024c0
mov ecx, 8
mov edx, 0x10
call fcn.1400024c0
int3