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

Disassembly:
push rbp
push r12
push r15
lea rbp, [rsp - 0x430]
sub rsp, 0x530
xor r12d, r12d
mov r15, rcx
mov ecx, dword [0x14015dac4]
mov dword [rsp + 0x70], r12d
mov qword [rbp + 0x178], r12
mov qword [rbp + 0x180], r12
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ecx, dword [0x14015dac4]
lea rdx, [rsp + 0x70]
mov qword [rbp + 0x188], rax
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
test eax, eax
jne 0x1400c9b02
mov ecx, 0xc0000001
call qword [sym.imp.ntdll.dll_RtlRaiseStatus]
int3
mov qword [rsp + 0x550], rbx
lea rax, [rbp + 0x190]
mov qword [rsp + 0x558], rsi
mov ebx, r12d
mov qword [rsp + 0x560], rdi
mov esi, r12d
mov qword [rsp + 0x528], r13
mov qword [rsp + 0x520], r14
mov dword [rsp + 0x30], 0x24
mov qword [rsp + 0x40], rax
mov dword [rsp + 0x48], 0x80
nop dword [rax]
movsxd r8, ebx
lea r9, [rsp + 0x30]
mov edx, 0x105f
mov rcx, r15
call qword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
je 0x1400c9b7e
mov eax, dword [rsp + 0x54]
inc esi
mov dword [rbp + rax*4 + 0x290], ebx
inc ebx
cmp ebx, 0x64
jb 0x1400c9b50
xor r9d, r9d
xor r8d, r8d
mov edx, 0x1004
mov rcx, r15
call qword [sym.imp.USER32.dll_SendMessageW]
mov rbx, qword [0x14015e0c8]
mov edx, 0x112
mov rcx, rbx
mov qword [rsp + 0x20], 0x100
mov r13, rax
call fcn.1400ae820
lock inc dword [rbx + 4]
mov dword [rax + 8], 1
lea rdi, [rax + 0x10]
movzx ecx, byte [rbx + 2]
mov r14d, r12d
mov word [rax], cx
lea rax, [rdi + 0x10]
mov qword [rdi + 8], rax
mov qword [rdi], 0x100
mov word [rax + 0x100], r12w
mov qword [rdi], r12
mov rax, qword [rdi + 8]
mov qword [rsp + 0x28], rdi
mov word [rax], r12w
test r13d, r13d
je 0x1400c9cf2
nop dword [rax + rax]
mov r9d, 2
mov r8, r12
mov edx, 0x102c
mov rcx, r15
call qword [sym.imp.USER32.dll_SendMessageW]
test al, 2
je 0x1400c9ce3
xor eax, eax
mov ebx, eax
test esi, esi
je 0x1400c9c7b
nop word [rax + rax]
mov r8d, ebx
mov edx, r14d
mov rcx, r15
call fcn.1400c9990
lea rcx, [rsp + 0x20]
mov r8, qword [rax]
mov rdx, qword [rax + 8]
call sym.SHOPMuntukmed.exe_PhAppendStringBuilderEx
lea rcx, [0x140126f30]
call sym.SHOPMuntukmed.exe_PhCountStringZ
lea rdx, [0x140126f30]
lea rcx, [rsp + 0x20]
lea r8, [rax + rax]
call sym.SHOPMuntukmed.exe_PhAppendStringBuilderEx
inc ebx
cmp ebx, esi
jb 0x1400c9c30
mov rdi, qword [rsp + 0x28]
mov r8, qword [rdi]
test r8, r8
je 0x1400c9cbd
mov rax, qword [rdi + 8]
mov rdx, r8
shr rdx, 1
sub rdx, 2
lea rcx, [rdx + rdx]
add rdx, 2
sub r8, rcx
add rcx, rax
sub r8, 4
lea rdx, [rax + rdx*2]
call fcn.1400e3970
add qword [rdi], 0xfffffffffffffffc
mov rcx, qword [rdi]
xor edx, edx
mov rax, qword [rdi + 8]
mov word [rcx + rax], dx
lea rcx, [0x1401255d8]
call sym.SHOPMuntukmed.exe_PhCountStringZ
lea rdx, [0x1401255d8]
lea rcx, [rsp + 0x20]
lea r8, [rax + rax]
call sym.SHOPMuntukmed.exe_PhAppendStringBuilderEx
mov rdi, qword [rsp + 0x28]
inc r14d
inc r12
cmp r14d, r13d
jb 0x1400c9c00
lea rcx, [rsp + 0x70]
call sym.SHOPMuntukmed.exe_PhDrainAutoPool
mov ecx, dword [0x14015dac4]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov r14, qword [rsp + 0x520]
lea rcx, [rsp + 0x70]
mov r13, qword [rsp + 0x528]
mov rsi, qword [rsp + 0x558]
mov rbx, qword [rsp + 0x550]
cmp rax, rcx
je 0x1400c9d3e
mov ecx, 0xc0000001
call qword [sym.imp.ntdll.dll_RtlRaiseStatus]
int3
mov rdx, qword [rbp + 0x188]
mov ecx, dword [0x14015dac4]
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
test eax, eax
jne 0x1400c9d61
mov ecx, 0xc0000001
call qword [sym.imp.ntdll.dll_RtlRaiseStatus]
int3
mov r8, qword [rbp + 0x180]
test r8, r8
je 0x1400c9d7c
mov rcx, qword [sym.SHOPMuntukmed.exe_PhHeapHandle]
xor edx, edx
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
mov rax, rdi
mov rdi, qword [rsp + 0x560]
add rsp, 0x530
pop r15
pop r12
pop rbp
ret