Function at 0x345854080
Capabilities:
Get thread local storage value

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rdi
push rsi
push rbx
sub rsp, 0x48
lea rbp, [rsp + 0x40]
mov edi, dword [0x34b3db090]
test edi, edi
je 0x3458540b0
lea rsp, [rbp + 8]
pop rbx
pop rsi
pop rdi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
mov dword [0x34b3db090], 1
call fcn.3458547f0
cdqe
lea rax, [rax + rax*4]
lea rax, [rax*8 + 0xf]
and rax, 0xfffffffffffffff0
call fcn.345854a60
mov r13, qword [0x34b3d8c00]
mov dword [0x34b3db094], 0
mov rbx, qword [0x34b3d8c10]
sub rsp, rax
lea rax, [rsp + 0x30]
mov qword [0x34b3db098], rax
mov rax, r13
sub rax, rbx
cmp rax, 7
jle 0x34585409f
cmp rax, 0xb
mov edx, dword [rbx]
jg 0x345854298
mov eax, dword [rbx]
test eax, eax
jne 0x345854390
mov eax, dword [rbx + 4]
test eax, eax
jne 0x345854390
mov edx, dword [rbx + 8]
cmp edx, 1
jne 0x3458543d2
add rbx, 0xc
cmp rbx, r13
jae 0x34585409f
mov r12, qword [0x34b3d8c30]
movabs r15, 0xffffffff7fffffff
jmp 0x3458541b3
movzx esi, byte [r14]
and ecx, 0xc0
test sil, sil
jns 0x345854378
or rsi, 0xffffffffffffff00
sub rsi, rax
add rsi, r9
test ecx, ecx
jne 0x34585419b
cmp rsi, 0xff
jg 0x3458542df
cmp rsi, 0xffffffffffffff80
jl 0x3458542df
mov rcx, r14
call fcn.345853f10
mov byte [r14], sil
add rbx, 0xc
cmp rbx, r13
jae 0x345854240
mov ecx, dword [rbx + 8]
mov eax, dword [rbx]
mov r8d, dword [rbx + 4]
movzx edx, cl
add rax, r12
cmp edx, 0x20
mov r9, qword [rax]
lea r14, [r8 + r12]
je 0x3458542f8
ja 0x3458542c0
cmp edx, 8
je 0x345854160
cmp edx, 0x10
jne 0x3458543c6
movzx esi, word [r14]
and ecx, 0xc0
test si, si
jns 0x345854360
or rsi, 0xffffffffffff0000
sub rsi, rax
add rsi, r9
test ecx, ecx
jne 0x345854224
cmp rsi, 0xffffffffffff8000
jl 0x3458542df
cmp rsi, 0xffff
jg 0x3458542df
mov rcx, r14
add rbx, 0xc
call fcn.345853f10
cmp rbx, r13
mov word [r14], si
jb 0x3458541b3
nop dword [rax]
mov edx, dword [0x34b3db094]
test edx, edx
jle 0x34585409f
mov rsi, qword [sym.imp.KERNEL32.dll_VirtualProtect]
lea r12, [rbp - 4]
xor ebx, ebx
nop dword [rax + rax]
mov rax, qword [0x34b3db098]
add rax, rbx
mov r8d, dword [rax]
test r8d, r8d
je 0x34585427f
mov rdx, qword [rax + 0x10]
mov r9, r12
mov rcx, qword [rax + 8]
call rsi
add edi, 1
add rbx, 0x28
cmp edi, dword [0x34b3db094]
jl 0x345854260
jmp 0x34585409f
test edx, edx
jne 0x345854390
mov eax, dword [rbx + 4]
mov edx, eax
or edx, dword [rbx + 8]
jne 0x345854122
add rbx, 0xc
jmp 0x345854115
cmp edx, 0x40
jne 0x3458543c6
mov rsi, qword [r14]
sub rsi, rax
add rsi, r9
and ecx, 0xc0
jne 0x345854340
test rsi, rsi
js 0x345854340
mov qword [rsp + 0x20], rsi
lea rcx, [0x34b3d8b08]
mov r8, r14
call fcn.345853ea0
nop dword [rax + rax]
mov esi, dword [r14]
and ecx, 0xc0
test esi, esi
jns 0x345854350
movabs r11, 0xffffffff00000000
or rsi, r11
sub rsi, rax
add rsi, r9
test ecx, ecx
jne 0x34585432b
cmp rsi, r15
jle 0x3458542df
mov eax, 0xffffffff
cmp rsi, rax
jg 0x3458542df
mov rcx, r14
call fcn.345853f10
mov dword [r14], esi
jmp 0x3458541a6
mov rcx, r14
call fcn.345853f10
mov qword [r14], rsi
jmp 0x3458541a6
sub rsi, rax
add rsi, r9
test ecx, ecx
je 0x34585431c
jmp 0x34585432b
sub rsi, rax
add rsi, r9
test ecx, ecx
je 0x34585420a
jmp 0x345854224
sub rsi, rax
add rsi, r9
test ecx, ecx
je 0x345854184
jmp 0x34585419b
cmp rbx, r13
jae 0x34585409f
mov r14, qword [0x34b3d8c30]
mov esi, dword [rbx + 4]
add rbx, 8
mov r12d, dword [rbx - 8]
add rsi, r14
add r12d, dword [rsi]
mov rcx, rsi
call fcn.345853f10
cmp rbx, r13
mov dword [rsi], r12d
jb 0x3458543a0
jmp 0x345854240
lea rcx, [0x34b3d8ad8]
call fcn.345853ea0
lea rcx, [0x34b3d8aa0]
call fcn.345853ea0
nop
nop