Function at 0x7ff34469908
Capabilities:
Allocate thread local storage

Disassembly:
mov rax, rsp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x40
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rbp
mov r14d, 0x18
xor r12d, r12d
lea r15d, [r14 - 0x10]
lea rsi, [fcn.7ff34469264]
or edi, 0xffffffff
cmp dword [0x7ff344841c4], edi
jne 0x7ff3446995b
call qword [sym.imp.KERNEL32.dll_TlsAlloc]
mov dword [0x7ff344841c4], eax
cmp eax, edi
je 0x7ff34469ba6
mov rcx, r14
call fcn.7ff3444f574
cmp rax, r12
je 0x7ff34469979
mov qword [rax], r12
mov dword [rax + 8], r12d
mov dword [rax + 0xc], r12d
mov dword [rax + 0x10], r12d
jmp 0x7ff3446997c
mov rax, r12
mov qword [0x7ff344854b0], rax
cmp rax, r12
je 0x7ff34469b85
mov rcx, r14
call fcn.7ff3444f574
cmp rax, r12
je 0x7ff344699aa
mov qword [rax], r12
mov dword [rax + 8], r12d
mov dword [rax + 0xc], r12d
mov dword [rax + 0x10], r12d
jmp 0x7ff344699ad
mov rax, r12
mov qword [0x7ff344854b8], rax
cmp rax, r12
je 0x7ff34469b85
mov ecx, 0x20
call fcn.7ff3444f574
cmp rax, r12
je 0x7ff344699f2
mov r8d, 2
mov dword [rax], r8d
lea rcx, [rax + 0x18]
lea rdx, [rax + 8]
mov qword [rdx], r12
mov dword [rcx], r12d
add rcx, 4
add rdx, r15
sub r8, 1
jne 0x7ff344699dd
jmp 0x7ff344699f5
mov rax, r12
mov qword [0x7ff344854c0], rax
cmp rax, r12
je 0x7ff34469b85
mov ecx, 0xe8
call fcn.7ff3444f574
mov rbx, rax
mov qword [rsp + 0x70], rax
cmp rax, r12
je 0x7ff34469a8e
lea rcx, [rax + 8]
mov qword [rsp + 0x20], rsi
lea r9, [0x7ff34467ff4]
mov r8d, r15d
mov rdx, r14
call fcn.7ff34477b14
nop
mov dword [rbx], r15d
lea rsi, [rbx + 0xc8]
lea rdi, [rbx + 0x10]
mov rbp, r15
mov qword [rdi - 8], r12
mov rax, qword [rdi]
cmp dword [rax - 8], r12d
je 0x7ff34469a75
cmp dword [rax - 0xc], r12d
jl 0x7ff34469a66
mov rcx, rdi
call fcn.7ff3444ced8
jmp 0x7ff34469a75
lea rdx, [0x7ff34485344]
mov rcx, rdi
call fcn.7ff3444d284
mov dword [rsi], r12d
add rsi, 4
add rdi, r14
sub rbp, 1
jne 0x7ff34469a49
lea rsi, [fcn.7ff34469264]
jmp 0x7ff34469a91
mov rbx, r12
mov qword [0x7ff344854c8], rbx
cmp rbx, r12
je 0x7ff34469b85
mov ecx, 0x148
call fcn.7ff3444f574
mov rbx, rax
mov qword [rsp + 0x70], rax
cmp rax, r12
je 0x7ff34469b55
lea rcx, [rax + 8]
mov qword [rsp + 0x20], rsi
lea r9, [0x7ff34467ff4]
mov r8d, r15d
mov rdx, r14
call fcn.7ff34477b14
nop
lea rax, [rbx + 0xc8]
mov ecx, 7
mov dword [rax], r12d
mov qword [rax + 8], r12
add rax, 0x10
sub ecx, 1
jns 0x7ff34469ae4
mov dword [rbx], r15d
lea rsi, [rbx + 0xd0]
lea rdi, [rbx + 0x10]
mov rbp, r15
mov qword [rdi - 8], r12
mov rax, qword [rdi]
cmp dword [rax - 8], r12d
je 0x7ff34469b31
cmp dword [rax - 0xc], r12d
jl 0x7ff34469b22
mov rcx, rdi
call fcn.7ff3444ced8
jmp 0x7ff34469b31
lea rdx, [0x7ff34485344]
mov rcx, rdi
call fcn.7ff3444d284
mov dword [rsi - 8], r12d
mov rcx, qword [rsi]
cmp rcx, r12
je 0x7ff34469b46
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rsi], r12
add rdi, r14
add rsi, 0x10
sub rbp, 1
jne 0x7ff34469b05
jmp 0x7ff34469b58
mov rbx, r12
mov qword [0x7ff344854d0], rbx
cmp rbx, r12
je 0x7ff34469b85
mov edx, 0x80000000
lea rcx, [0x7ff34485268]
call qword [sym.imp.KERNEL32.dll_InitializeCriticalSectionAndSpinCount]
cmp eax, r12d
je 0x7ff34469b85
mov eax, 1
jmp 0x7ff34469c54
mov ecx, dword [0x7ff344841c4]
cmp ecx, 0xffffffff
je 0x7ff34469b9f
call qword [sym.imp.KERNEL32.dll_TlsFree]
lea rsi, [fcn.7ff34469264]
jmp 0x7ff34469ba6
lea rsi, [fcn.7ff34469264]
mov rcx, qword [0x7ff344854b0]
cmp rcx, r12
je 0x7ff34469bbc
mov edx, 1
call fcn.7ff34469c74
mov qword [0x7ff344854b0], r12
mov rcx, qword [0x7ff344854b8]
cmp rcx, r12
je 0x7ff34469bd9
mov edx, 1
call fcn.7ff34469c74
mov qword [0x7ff344854b8], r12
mov rcx, qword [0x7ff344854c0]
cmp rcx, r12
je 0x7ff34469bf1
call fcn.7ff3444f5a0
mov qword [0x7ff344854c0], r12
mov rbx, qword [0x7ff344854c8]
cmp rbx, r12
je 0x7ff34469c1e
lea rcx, [rbx + 8]
mov r9, rsi
mov r8d, r15d
mov rdx, r14
call fcn.7ff34477ab0
mov rcx, rbx
call fcn.7ff3444f5a0
mov qword [0x7ff344854c8], r12
mov rbx, qword [0x7ff344854d0]
cmp rbx, r12
je 0x7ff34469c4b
lea rcx, [rbx + 8]
mov r9, rsi
mov r8d, r15d
mov rdx, r14
call fcn.7ff34477ab0
mov rcx, rbx
call fcn.7ff3444f5a0
mov qword [0x7ff344854d0], r12
xor eax, eax
lea r11, [rsp + 0x40]
mov rbx, qword [r11 + 0x38]
mov rbp, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret