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

Disassembly:
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rbp
push rdi
push r13
lea rbp, [rsp - 0x1c0]
sub rsp, 0x2c0
xor r13d, r13d
mov rdi, rcx
mov ecx, dword [0x14015dac4]
mov dword [rsp + 0x70], r13d
mov qword [rbp + 0x178], r13
mov qword [rbp + 0x180], r13
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 0x1400c9629
mov ecx, 0xc0000001
call qword [sym.imp.ntdll.dll_RtlRaiseStatus]
int3
mov qword [rsp + 0x2b8], rbx
xor r9d, r9d
mov qword [rsp + 0x2b0], rsi
xor r8d, r8d
mov qword [rsp + 0x2a8], r12
mov edx, 0x411
mov qword [rsp + 0x2a0], r14
mov rcx, rdi
mov qword [rsp + 0x298], r15
call qword [sym.imp.USER32.dll_SendMessageW]
lea r9, [rbp + 0x1f0]
mov rcx, rdi
lea r8, [rsp + 0x30]
mov r12, rax
lea rdx, [rsp + 0x40]
lea esi, [rax + 1]
mov dword [rbp + 0x1f8], esi
call fcn.1400c91e0
mov ebx, dword [rbp + 0x1f0]
lea rcx, [rsp + 0x38]
mov r8d, ebx
mov edx, esi
call fcn.1400c8c20
mov rsi, qword [rsp + 0x30]
mov r14, qword [rsp + 0x38]
test ebx, ebx
je 0x1400c9702
mov rdi, r13
mov r15d, ebx
nop dword [rax]
nop word [rax + rax]
mov rcx, qword [rdi + rsi]
or rdx, 0xffffffffffffffff
nop dword [rax + rax]
inc rdx
cmp word [rcx + rdx*2], r13w
jne 0x1400c96d0
add rdx, rdx
call sym.SHOPMuntukmed.exe_PhCreateStringEx
mov rcx, rax
call sym.SHOPMuntukmed.exe_PhAutoDereferenceObject
mov rcx, qword [r14]
mov qword [rdi + rcx], rax
add rdi, 8
sub r15, 1
jne 0x1400c96c0
mov rdi, qword [rbp + 0x1e0]
test r12d, r12d
je 0x1400c98a3
lea r15, [r14 + 8]
mov qword [rsp + 0x20], r13
mov r14d, r12d
mov qword [rsp + 0x28], r14
nop dword [rax]
xor r9d, r9d
mov r8, r13
mov edx, 0x412
mov rcx, rdi
call qword [sym.imp.USER32.dll_SendMessageW]
mov r12, rax
test rax, rax
je 0x1400c97c7
test ebx, ebx
je 0x1400c987e
mov rsi, qword [rsp + 0x40]
xor r13d, r13d
mov r14d, ebx
mov edi, r13d
mov rbx, qword [rbp + 0x1e0]
nop dword [rax]
mov qword [rsp + 0x50], r12
lea r9, [rsp + 0x48]
mov eax, dword [rsi]
xor r8d, r8d
mov edx, 0x413
mov dword [rsp + 0x58], eax
mov rcx, rbx
mov qword [rsp + 0x60], r13
mov qword [rsp + 0x68], r13
call qword [sym.imp.USER32.dll_SendMessageW]
mov rdx, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x68]
call sym.SHOPMuntukmed.exe_PhCreateStringEx
mov rcx, rax
call sym.SHOPMuntukmed.exe_PhAutoDereferenceObject
mov rcx, qword [r15]
lea rdi, [rdi + 8]
lea rsi, [rsi + 4]
mov qword [rdi + rcx - 8], rax
sub r14, 1
jne 0x1400c9760
mov r13, qword [rsp + 0x20]
mov r14, qword [rsp + 0x28]
jmp 0x1400c9871
test ebx, ebx
je 0x1400c987e
xor r12d, r12d
mov esi, ebx
mov edi, r12d
nop word [rax + rax]
mov rbx, qword [0x14015b210]
test rbx, rbx
jne 0x1400c9850
mov rbx, qword [0x14015e0c8]
mov edx, 0x12
mov rcx, rbx
call fcn.1400ae820
lock inc dword [rbx + 4]
mov dword [rax + 8], 1
movzx ecx, byte [rbx + 2]
mov word [rax], cx
lea rcx, [rax + 0x10]
lea rax, [rcx + 0x10]
mov qword [rcx], r12
mov qword [rcx + 8], rax
mov word [rax], r12w
xor eax, eax
lock cmpxchg qword [0x14015b210], rcx
mov rbx, rax
jne 0x1400c983a
mov rbx, rcx
jmp 0x1400c9850
add rcx, 0xfffffffffffffff0
or eax, 0xffffffff
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x1400c9850
call fcn.1400ae900
lock inc dword [rbx - 8]
mov rcx, rbx
call sym.SHOPMuntukmed.exe_PhAutoDereferenceObject
mov rcx, qword [r15]
mov qword [rdi + rcx], rax
add rdi, 8
sub rsi, 1
jne 0x1400c97e0
mov rdi, qword [rbp + 0x1e0]
mov ebx, dword [rbp + 0x1f0]
inc r13
add r15, 8
sub r14, 1
mov qword [rsp + 0x20], r13
mov qword [rsp + 0x28], r14
jne 0x1400c9720
mov rsi, qword [rsp + 0x30]
mov r14, qword [rsp + 0x38]
mov rcx, qword [sym.SHOPMuntukmed.exe_PhHeapHandle]
mov r8, rsi
xor edx, edx
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
mov r8, qword [rsp + 0x40]
xor edx, edx
mov rcx, qword [sym.SHOPMuntukmed.exe_PhHeapHandle]
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
mov r9d, dword [rbp + 0x1e8]
mov r8d, ebx
mov edx, dword [rbp + 0x1f8]
mov rcx, r14
call fcn.1400c8d00
lea rcx, [rsp + 0x70]
mov rbx, rax
call sym.SHOPMuntukmed.exe_PhDrainAutoPool
mov ecx, dword [0x14015dac4]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov r15, qword [rsp + 0x298]
lea rcx, [rsp + 0x70]
mov r14, qword [rsp + 0x2a0]
mov r12, qword [rsp + 0x2a8]
mov rsi, qword [rsp + 0x2b0]
cmp rax, rcx
je 0x1400c9930
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 0x1400c9953
mov ecx, 0xc0000001
call qword [sym.imp.ntdll.dll_RtlRaiseStatus]
int3
mov r8, qword [rbp + 0x180]
test r8, r8
je 0x1400c996e
mov rcx, qword [sym.SHOPMuntukmed.exe_PhHeapHandle]
xor edx, edx
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
mov rax, rbx
mov rbx, qword [rsp + 0x2b8]
add rsp, 0x2c0
pop r13
pop rdi
pop rbp
ret