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

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
cmp dword [0x141443c80], 0
mov ebx, r8d
mov rdi, rcx
jne 0x14037e00f
xor edx, edx
mov ecx, 0x10001
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp fcn.14037c450
lea eax, [r8 - 0x34001]
cmp eax, 1
jbe 0x14037e036
lea rdx, [0x14140bf68]
mov ecx, 0x10003
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp fcn.14037c450
cmp dword [rcx + 0x8c], ebx
je 0x14037e063
lea r8, [rcx + 0x200]
mov dword [rcx + 0x8c], ebx
lea rdx, [rcx + 0x1f8]
call qword [0x141443cc0]
mov edx, ebx
mov rcx, rdi
call qword [0x141443cd0]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

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

Disassembly:
push rdi
sub rsp, 0x20
cmp dword [0x141443c80], 0
mov rdi, rcx
jne 0x14037e093
xor edx, edx
mov ecx, 0x10001
add rsp, 0x20
pop rdi
jmp fcn.14037c450
test rdi, rdi
je 0x14037e13a
mov qword [rsp + 0x30], rbx
mov rbx, qword [0x1414443f8]
test rbx, rbx
je 0x14037e0ea
mov qword [rsp + 0x38], rsi
xor esi, esi
cmp qword [rbx + 0x58], rdi
jne 0x14037e0dd
xor edx, edx
cmp dword [0x141443c80], esi
jne 0x14037e0d0
mov ecx, 0x10001
call fcn.14037c450
jmp 0x14037e0dd
mov rcx, rbx
mov qword [rbx + 0x58], rsi
call qword [0x141443d00]
mov rbx, qword [rbx]
test rbx, rbx
jne 0x14037e0b4
mov rsi, qword [rsp + 0x38]
mov rcx, rdi
call qword [0x141443cf8]
mov rcx, qword [0x1414443f0]
lea rdx, [0x1414443f0]
mov rbx, qword [rsp + 0x30]
cmp rcx, rdi
je 0x14037e11e
nop dword [rax + rax]
mov rax, qword [rcx]
mov rdx, rcx
mov rcx, rax
cmp rax, rdi
jne 0x14037e110
mov rax, qword [rdi]
mov rcx, rdi
mov qword [rdx], rax
mov rdx, qword [0x141443ca0]
add rsp, 0x20
pop rdi
jmp qword [0x141443c98]
add rsp, 0x20
pop rdi
ret

Function at 0x14037f4a0
Capabilities:
Register raw input devices

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x30
mov rdi, rcx
mov qword [0x1414465c8], rcx
lea rcx, [rsp + 0x40]
call qword [sym.imp.USER32.dll_GetCursorPos]
test eax, eax
je 0x14037f4f9
mov rcx, qword [rdi + 0x360]
lea rdx, [rsp + 0x40]
call qword [sym.imp.USER32.dll_ScreenToClient]
vxorps xmm0, xmm0, xmm0
vcvtsi2sd xmm0, xmm0, dword [rsp + 0x40]
vxorps xmm1, xmm1, xmm1
vcvtsi2sd xmm1, xmm1, dword [rsp + 0x44]
vmovsd qword [0x1414465b8], xmm0
vmovsd qword [0x1414465c0], xmm1
mov rcx, rdi
call fcn.14037f3c0
lea r8, [rsp + 0x40]
mov rcx, rdi
lea rdx, [rsp + 0x48]
call qword [0x141443dc0]
vxorps xmm0, xmm0, xmm0
vcvtsi2sd xmm0, xmm0, dword [rsp + 0x40]
vmulsd xmm2, xmm0, qword [0x14140e8e0]
vxorps xmm0, xmm0, xmm0
vcvtsi2sd xmm0, xmm0, dword [rsp + 0x48]
vmulsd xmm1, xmm0, qword [0x14140e8e0]
mov rcx, rdi
call qword [0x141443cc8]
mov rcx, rdi
call fcn.14037f420
cmp dword [rdi + 0x208], 0
je 0x14037f592
mov rax, qword [rdi + 0x360]
lea rcx, [rsp + 0x20]
mov edx, 1
mov qword [rsp + 0x28], rax
mov r8d, reloc.WS2_32.dll_recv
mov qword [rsp + 0x20], 0x20001
call qword [sym.imp.USER32.dll_RegisterRawInputDevices]
test eax, eax
jne 0x14037f592
lea rdx, [0x14140c880]
mov ecx, 0x10008
call fcn.140386200
mov rbx, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret