Function at 0x1800c46f0
Capabilities:
Set thread local storage value

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0xa0
mov rax, qword [0x180183c70]
xor rax, rsp
mov qword [rsp + 0x98], rax
lea esi, [rcx + 0x197]
mov qword [rsp + 0x78], r8
mov qword [rsp + 0x80], rdx
mov r12, r9
mov dword [rsp + 0x58], ecx
mov r14, r8
mov dword [rsp + 0x40], esi
mov r15, rdx
mov edi, ecx
cmp ecx, esi
jae case.0x1800c478e.9
mov rsi, qword [rsp + 0x80]
lea ebp, [rcx - 0x2d]
mov eax, dword [rsp + 0x40]
lea rdx, [0x180000000]
mov dword [rsp + 0x48], ebp
lea r8, [0x180181ed0]
xor ebx, ebx
nop word [rax + rax]
cmp ebp, 0xe3
ja case.default.0x1800c478e
movzx eax, byte [rdx + rbp + 0xc4ba8]
mov ecx, dword [rdx + rax*4 + 0xc4b78]
add rcx, rdx
jmp rcx
mov r8d, dword [r15]
mov rdx, qword [r14]
mov rcx, qword [r12]
shl r8, 2
call sub.VCRUNTIME140.dll_memcpy
lea rdx, [0x180000000]
lea r8, [0x180181ed0]
jmp case.0x1800c478e.11
mov qword [rsp + 0x30], rbx
xor r9d, r9d
mov qword [rsp + 0x28], rbx
xor r8d, r8d
mov rdx, r12
mov dword [rsp + 0x20], 0x36
xor ecx, ecx
call fcn.18011dee0
add rax, 0x38
lea rdx, [rsp + 0x48]
mov ecx, 0x123
mov qword [rsp + 0x48], rax
call fcn.18001bc40
mov r8, r12
mov qword [rsp + 0x70], rax
mov rdx, rax
mov ecx, 0x1c
call fcn.18003dfe0
lea rdx, [0x180000000]
lea r8, [0x180181ed0]
jmp case.0x1800c478e.11
mov ecx, dword [r12]
mov rdx, r14
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
test eax, eax
je 0x1800c4b44
lea rdx, [0x180000000]
lea r8, [0x180181ed0]
jmp case.0x1800c478e.11
mov eax, 0x71
cmp eax, 0x71
je 0x1800c4b20
add eax, 0x3334
cmp eax, 0x3334
jbe 0x1800c4845
mov rax, qword [r14]
lea r9, [rsp + 0x60]
xor edx, edx
mov qword [rsp + 0x28], rbx
xor r8d, r8d
mov qword [rsp + 0x20], r12
mov ecx, dword [rax + 0x1c]
mov dword [rsp + 0x60], ecx
lea ecx, [rdx + 0x76]
call fcn.18012b8e0
lea rdx, [0x180000000]
lea r8, [0x180181ed0]
jmp case.0x1800c478e.11
mov rax, qword [rsp + 0x70]
mov qword [rax + 0x18], r8
jmp case.0x1800c478e.11
mov eax, 2
cmp eax, 2
je 0x1800c4b3a
add eax, 0x82
cmp eax, 0x84
jb 0x1800c48a6
lea r9, [rsp + 0x48]
mov dword [rsp + 0x48], 1
xor r8d, r8d
lea rdx, [rsp + 0x88]
mov ecx, 0xf4
call fcn.18003eb50
test eax, eax
jne 0x1800c4b44
mov ebx, 0x7d
nop word [rax + rax]
mov eax, ebx
sub eax, 0x7d
je 0x1800c4902
cmp eax, 1
je case.0x1800c478e.9
jmp 0x1800c4953
mov ecx, dword [r15 + 8]
mov eax, 0x431bde83
sub ecx, dword [rsp + 0x90]
mov r9, r12
add ecx, 0x7a120
mov r8, r14
imul ecx
sar edx, 0x12
mov eax, edx
shr eax, 0x1f
add edx, eax
mov eax, dword [r15]
sub eax, dword [rsp + 0x88]
imul ecx, eax, 0x3e8
add edx, ecx
mov ecx, 0xdd
mov dword [rsp + 0x48], edx
lea rdx, [rsp + 0x48]
call fcn.180066400
mov dword [rsp + 0x50], eax
inc ebx
cmp ebx, 0x7f
jb 0x1800c48f0
xor ebx, ebx
lea rdx, [0x180000000]
lea r8, [0x180181ed0]
jmp case.0x1800c478e.11
mov rax, qword [r14]
mov r14, qword [rax + 0x10]
mov r13d, dword [rax + 0x18]
shl r13, 5
add r13, r14
cmp r14, r13
je 0x1800c4aff
nop word [rax + rax]
mov r9d, 0x2f
xor r8d, r8d
xor edx, edx
mov rcx, r14
mov rbx, r14
call fcn.1800aa6a0
cmp al, 0xf
jne 0x1800c49ad
mov rbx, qword [r14]
mov r9d, 0x2f
xor r8d, r8d
xor edx, edx
mov rcx, rbx
call fcn.1800aa6a0
test al, al
je 0x1800c4acc
mov r15d, dword [r14 + 0x10]
mov edi, 0xa8
mov rbp, qword [r14 + 0x18]
cmp edi, 0xa8
je 0x1800c4a5b
cmp edi, 0x133
jne 0x1800c4aba
mov r9d, 0x2f
xor r8d, r8d
xor edx, edx
mov rcx, rbx
call fcn.1800aa6a0
movzx ecx, byte [rbx + 9]
cmp al, 7
jne 0x1800c4a22
test cl, 2
jne 0x1800c4aba
xor edx, edx
mov r9, rsi
mov r8, rbx
lea ecx, [rdx + 0x51]
call fcn.1800c46f0
jmp 0x1800c4aba
test cl, 4
je 0x1800c4aba
xor eax, eax
mov r9, rbx
mov qword [rsp + 0x28], rax
xor r8d, r8d
mov edx, 0xb5
mov qword [rsp + 0x20], rax
xor ecx, ecx
call fcn.180050770
cmp dword [rbx + 8], 0x409
jne 0x1800c4aba
and dword [rsi + 8], 0xfffffbff
jmp 0x1800c4aba
mov r9d, 0x2f
xor r8d, r8d
xor edx, edx
mov rcx, rbx
call fcn.1800aa6a0
cmp al, 0xa
jne 0x1800c4a79
mov rbx, qword [rbx]
add rbx, 8
mov rax, qword [r12]
test rbp, rbp
je 0x1800c4a98
mov r9, rax
mov r8d, 0x4b
mov rdx, rbp
mov rcx, rbx
call fcn.1801591f0
jmp 0x1800c4ab7
mov r9, rbx
mov dword [rsp + 0x68], r15d
mov r8d, 0x27
mov qword [rsp + 0x20], rax
lea rdx, [rsp + 0x68]
xor ecx, ecx
call fcn.1800334a0
mov rsi, rax
add edi, 0x8b
cmp edi, 0x1be
jb 0x1800c49d5
add r14, 0x20
cmp r14, r13
jne 0x1800c4990
mov edi, dword [rsp + 0x58]
mov ebp, dword [rsp + 0x48]
mov r14, qword [rsp + 0x78]
mov r15, qword [rsp + 0x80]
jmp 0x1800c495a
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x50], rax
jmp case.0x1800c478e.11
mov r14, qword [rsp + 0x78]
mov eax, dword [rsp + 0x40]
add edi, 0x25
add ebp, 0x25
mov dword [rsp + 0x58], edi
mov dword [rsp + 0x48], ebp
cmp edi, eax
jb 0x1800c4770
jmp case.0x1800c478e.9
mov rcx, qword [0x1801d4d30]
mov r8, r12
mov edx, 9
call fcn.1800f60e0
mov dword [rsp + 0x50], eax
jmp case.0x1800c478e.9
mov dword [rsp + 0x50], 1
jmp case.0x1800c478e.9
mov dword [rsp + 0x50], ebx
mov rax, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x98]
xor rcx, rsp
call fcn.18015c4c0
mov rbx, qword [rsp + 0xe0]
add rsp, 0xa0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret