Function at 0x1401fe800
Capabilities:
Set thread local storage value

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x298
mov dword [rsp + 0x34], 0xd4b8574d
mov byte [rsp + 0x30], 0x17
movsx eax, byte [rsp + 0x30]
cmp eax, 0x20
jne 0x1401fe82f
movsx eax, byte [rsp + 0x30]
sub eax, 0x65
mov byte [rsp + 0x30], al
mov eax, dword [rsp + 0x34]
add eax, 0x192e13e2
mov dword [rsp + 0x34], eax
mov eax, dword [rsp + 0x34]
mov dword [rsp + 0x58], eax
cmp dword [rsp + 0x58], 0x56319363
je 0x1401fea4f
cmp dword [rsp + 0x58], 0xede66b2f
je 0x1401fe861
jmp 0x1401fea9c
movzx eax, byte [rsp + 0x30]
mov byte [rsp + 0x48], al
mov rax, qword [rsp + 0x2a0]
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x2a0]
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x50]
mov rax, qword [rax]
mov rcx, qword [rsp + 0x40]
xor rcx, rax
mov rax, rcx
cmp rax, qword [rsp + 0x2a0]
jbe 0x1401fe965
mov eax, dword [rsp + 0x34]
shl eax, 0x16
mov dword [rsp + 0x34], eax
mov dword [rsp + 0x28], 0xbc
lea rax, [rsp + 0xc0]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x88]
lea r8, str.Bunked_Immoral_luke_Pelmet
mov edx, 0x19
mov ecx, 0x1f
call qword [sym.imp.KERNEL32.dll_GetCurrencyFormatW]
mov dword [rsp + 0x4c], eax
mov rax, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x40]
mov rax, qword [rax]
or rax, rcx
mov rcx, qword [rsp + 0x50]
mov qword [rcx], rax
movzx eax, byte [rsp + 0x30]
mov byte [rsp + 0x5c], al
cmp byte [rsp + 0x5c], 0x7e
je 0x1401fe912
jmp 0x1401fe954
mov rcx, qword [rsp + 0x2a0]
call fcn.1401fe800
mov rax, qword [rsp + 0x2a0]
movzx ecx, al
mov rax, qword [rsp + 0x40]
shr rax, cl
mov rcx, qword [rsp + 0x50]
mov qword [rcx], rax
call qword [sym.imp.KERNEL32.dll_GetSystemDefaultLCID]
mov word [rsp + 0x38], ax
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x2a0], rax
jmp 0x1401fe965
mov r8d, dword [rsp + 0x34]
mov dl, 0x41
mov ecx, dword [rsp + 0x4c]
call fcn.1401fdff0
nop
lea rax, [rsp + 0x38]
mov qword [rsp + 0x70], rax
movabs rax, 0x68249f858cc0c4a2
mov qword [rsp + 0x80], rax
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0x68], rax
movabs rax, 0x13ab62234be52cc1
cmp qword [rsp + 0x68], rax
je 0x1401fe9b9
movabs rax, 0x5174cbad24becf1b
cmp qword [rsp + 0x68], rax
je 0x1401fea35
jmp 0x1401fea4d
movzx eax, word [rsp + 0x38]
add eax, 0x45e
mov rcx, qword [rsp + 0x70]
mov word [rcx], ax
mov rax, qword [rsp + 0x70]
movzx eax, word [rax]
mov word [rsp + 0x38], ax
lea rdx, [rsp + 0x40]
mov ecx, 0xb7
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
mov dword [rsp + 0x78], eax
mov rax, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x2a0]
sub rcx, rax
mov rax, rcx
mov rcx, qword [rsp + 0x50]
mov qword [rcx], rax
mov dword [rsp + 0x4c], 0x505de524
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x20], rax
mov r9d, dword [rsp + 0x4c]
mov r8b, 0x62
mov rdx, qword [rsp + 0x2a0]
mov cx, 0x74
call fcn.1401fe2d0
nop
jmp 0x1401fea4d
mov rax, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x40]
mov rax, qword [rax]
and rax, rcx
mov rcx, qword [rsp + 0x50]
mov qword [rcx], rax
jmp 0x1401fea9c
lea rdx, [rsp + 0x34]
mov cl, 0xc4
call qword [sym.imp.KERNEL32.dll_GetNumaProcessorNode]
mov dword [rsp + 0x60], eax
movsx eax, byte [rsp + 0x30]
and eax, 0x70
mov byte [rsp + 0x30], al
mov rcx, qword [rsp + 0x2a0]
call fcn.1401fe800
lea rdx, [rsp + 0x60]
mov cl, 0x57
call qword [sym.imp.KERNEL32.dll_GetNumaProcessorNode]
mov dword [rsp + 0x7c], eax
mov r8d, dword [rsp + 0x34]
mov dl, 0x6c
mov ecx, 0x4f
call fcn.1401fdff0
nop
mov r8d, dword [rsp + 0x34]
mov dl, 0xb7
mov ecx, 0x16
call fcn.1401fdff0
mov eax, 0xca
add rsp, 0x298
ret