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

Disassembly:
mov rax, rsp
mov qword [rax + 0x20], r9
mov qword [rax + 0x18], r8
mov qword [rax + 0x10], rdx
mov qword [rax + 8], rcx
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0xd0
mov r13, r9
mov r14, rdx
mov rsi, rcx
lea rcx, [rax - 0x88]
call sym.spoolsv.exe_PrvSplInitializeWinSpoolDrv
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x58], xmm0
lea rcx, [rsp + 0x48]
call fcn.140019064
mov rcx, r14
mov rax, qword [0x1400b73e0]
call qword [0x1400978a8]
mov rdi, rax
mov qword [rsp + 0x70], rax
lea rcx, [rsp + 0x48]
call fcn.140009ed4
mov qword [rsp + 0x78], rdi
mov qword [rsp + 0x48], rdi
xor ebx, ebx
mov edx, ebx
test rdi, rdi
cmovne rdx, rdi
mov r9, r14
mov r8, rsi
lea rcx, [rsp + 0x58]
call fcn.140075d50
mov edi, eax
lea r15, [0x1400b52f8]
mov rcx, qword [0x1400b52f8]
lea rsi, [0x14009b640]
cmp rcx, r15
je 0x140069e54
test byte [rcx + 0x44], 0x80
je 0x140069e54
lea edx, [rbx + 0x15]
mov r9d, dword [rsp + 0x138]
mov r8, rsi
mov rcx, qword [rcx + 0x38]
call fcn.14002d778
mov rcx, qword [0x1400b52f8]
test edi, edi
je 0x140069e84
cmp rcx, r15
je 0x14006a726
test byte [rcx + 0x44], 0x20
je 0x14006a726
mov edx, 0x16
mov r9d, edi
mov r8, rsi
mov rcx, qword [rcx + 0x38]
call fcn.14002d778
jmp 0x14006a726
lea r12, str._DrvConvert
mov rdx, r12
mov rcx, r14
call qword [sym.imp.msvcrt.dll_wcsstr]
nop dword [rax + rax]
test rax, rax
je 0x140069ee2
mov rcx, qword [0x1400b52f8]
cmp rcx, r15
je 0x140069f96
test byte [rcx + 0x44], 0x20
je 0x140069f96
mov edx, 0x17
mov dword [rsp + 0x28], 0x57
mov qword [rsp + 0x20], r12
mov r9, r14
mov r8, rsi
mov rcx, qword [rcx + 0x38]
call fcn.140062e0c
jmp 0x140069f96
mov rcx, r14
call fcn.140069290
mov rdi, rax
mov qword [rsp + 0x68], rax
test rax, rax
jne 0x140069f3f
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
mov ebx, eax
mov rcx, qword [0x1400b52f8]
cmp rcx, r15
je 0x14006a004
test byte [rcx + 0x44], 0x20
je 0x14006a004
lea edx, [rdi + 0x18]
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], r12
mov r9, r14
mov r8, rsi
mov rcx, qword [rcx + 0x38]
call fcn.140062e0c
jmp 0x14006a004
mov ecx, dword [0x1400b59e8]
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_TlsGetValue]
nop dword [rax + rax]
cmp rax, 2
jne 0x140069f9d
mov r8, rdi
xor edx, edx
mov rcx, qword [0x1400b7220]
call qword [sym.imp.api_ms_win_core_heap_l1_1_0.dll_HeapFree]
nop dword [rax + rax]
mov rcx, qword [0x1400b52f8]
cmp rcx, r15
je 0x140069f96
test byte [rcx + 0x44], 0x20
je 0x140069f96
mov edx, 0x19
lea r9d, [rdx + 0x3e]
mov r8, rsi
mov rcx, qword [rcx + 0x38]
call fcn.14002d778
mov ebx, 0x57
jmp 0x14006a004
mov edx, 2
mov ecx, dword [0x1400b59e8]
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_TlsSetValue]
nop dword [rax + rax]
test eax, eax
jne 0x14006a01f
mov r8, rdi
xor edx, edx
mov rcx, qword [0x1400b7220]
call qword [sym.imp.api_ms_win_core_heap_l1_1_0.dll_HeapFree]
nop dword [rax + rax]
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
mov ebx, eax
mov rcx, qword [0x1400b52f8]
cmp rcx, r15
je 0x14006a004
test byte [rcx + 0x44], 0x20
je 0x14006a004
mov edx, 0x1a
mov r9d, eax
mov r8, rsi
mov rcx, qword [rcx + 0x38]
call fcn.14002d778
lea rcx, [rsp + 0x48]
call fcn.140019074
lea rcx, [rsp + 0x58]
call fcn.140075bd0
mov eax, ebx
jmp 0x14006a73c
lea rcx, [rsp + 0x40]
call fcn.1400741d0
nop
mov r12, qword [rsp + 0x130]
cmp dword [rsp + 0x140], ebx
je 0x14006a0d7
mov dword [r12], ebx
mov qword [r13], rbx
mov r14d, dword [rsp + 0x138]
mov dword [rsp + 0x30], r14d
mov qword [rsp + 0x28], r12
mov dword [rsp + 0x20], ebx
xor r9d, r9d
mov r8, qword [rsp + 0x120]
mov rdx, rdi
lea rcx, [rsp + 0x58]
call fcn.140075bf8
mov edi, eax
mov dword [rsp + 0x44], eax
test eax, eax
je 0x14006a0a9
cmp eax, 0x7a
je 0x14006a0a9
mov r10, qword [0x1400b52f8]
cmp r10, r15
je 0x14006a1be
test byte [r10 + 0x44], 0x20
je 0x14006a1be
mov edx, 0x1b
jmp 0x14006a1a4
mov ecx, dword [r12]
call sym.spoolsv.exe_PrvDllAllocSplMem
mov qword [r13], rax
test rax, rax
jne 0x14006a0d2
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
mov edi, eax
mov dword [rsp + 0x44], eax
jmp 0x14006a1b7
mov rdi, qword [rsp + 0x68]
test r13, r13
je 0x14006a0e2
mov r9, qword [r13]
jmp 0x14006a0e5
mov r9, rbx
mov r14d, dword [rsp + 0x138]
mov dword [rsp + 0x30], r14d
mov qword [rsp + 0x28], r12
mov eax, dword [r12]
mov dword [rsp + 0x20], eax
mov r8, qword [rsp + 0x120]
mov rdx, rdi
lea rcx, [rsp + 0x58]
call fcn.140075bf8
mov edi, eax
mov dword [rsp + 0x44], eax
test eax, eax
je 0x14006a140
mov r10, qword [0x1400b52f8]
cmp r10, r15
je 0x14006a1be
test byte [r10 + 0x44], 0x20
je 0x14006a1be
mov edx, 0x1c
jmp 0x14006a1a4
mov r9d, dword [r12]
mov rcx, qword [r13]
mov r8d, 0x8007000d
mov dword [rsp + 0x50], r8d
test rcx, rcx
je 0x14006a17a
cmp r9, 0x4c
jb 0x14006a17a
movzx edx, word [rcx + 0x46]
movzx eax, word [rcx + 0x44]
add rdx, rax
cmp r9, rdx
jb 0x14006a17a
call fcn.1400052e0
mov r8d, eax
mov dword [rsp + 0x50], eax
mov ecx, r8d
call fcn.14004dfc4
mov edi, eax
mov dword [rsp + 0x44], eax
test eax, eax
je 0x14006a1b7
mov r10, qword [0x1400b52f8]
cmp r10, r15
je 0x14006a1be
test byte [r10 + 0x44], 0x20
je 0x14006a1be
mov edx, 0x1d
mov dword [rsp + 0x20], eax
mov r9d, r14d
mov r8, rsi
mov rcx, qword [r10 + 0x38]
call fcn.140034794
mov r10, qword [0x1400b52f8]
mov r14, qword [rsp + 0x70]
jmp 0x14006a236
test edi, edi
je 0x14006a5ab
cmp dword [rsp + 0x138], 4
jne 0x14006a538
cmp r10, r15
je 0x14006a269
test byte [r10 + 0x44], 0x80
je 0x14006a269
mov edx, 0x1f
mov r8, rsi
mov rcx, qword [r10 + 0x38]
call fcn.14002d74c
mov qword [rsp + 0x120], rbx
mov r8, qword [rsp + 0x118]
mov rdx, r14
lea rcx, [rsp + 0x120]
call fcn.140075b48
mov r14d, eax
cmp dword [rsp + 0x140], ebx
je 0x14006a2b8
cmp qword [r13], rbx
je 0x14006a2b8
mov r8, qword [r13]
xor edx, edx
mov rcx, qword [0x1400b7220]
call qword [sym.imp.api_ms_win_core_heap_l1_1_0.dll_HeapFree]
nop dword [rax + rax]
mov qword [r13], rbx
mov dword [r12], ebx
mov dword [rsp + 0x20], ebx
xor r9d, r9d
xor r8d, r8d
lea rcx, [rsp + 0x120]
call fcn.140075ad0
test r14d, r14d
jne 0x14006a3c2
cmp dword [rsp + 0x140], ebx
je 0x14006a3c2
mov dword [rsp + 0x20], ebx
xor r9d, r9d
xor r8d, r8d
lea rcx, [rsp + 0x120]
call fcn.140075ad0
mov dword [r12], eax
test eax, eax
jle 0x14006a36f
mov ecx, eax
call sym.spoolsv.exe_PrvDllAllocSplMem
mov qword [r13], rax
test rax, rax
jne 0x14006a3c2
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
mov r14d, eax
mov r10, qword [0x1400b52f8]
cmp r10, r15
je 0x14006a35e
test byte [r10 + 0x44], 0x20
je 0x14006a35e
mov edx, 0x20
mov dword [rsp + 0x20], eax
mov r9d, dword [r12]
mov r8, rsi
mov rcx, qword [r10 + 0x38]
call fcn.140034794
mov r10, qword [0x1400b52f8]
test r14d, r14d
jne 0x14006a4ea
mov r14d, 8
jmp 0x14006a3c9
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
mov r14d, eax
mov r10, qword [0x1400b52f8]
cmp r10, r15
je 0x14006a3b5
test byte [r10 + 0x44], 0x20
je 0x14006a3b5
mov edx, 0x21
mov dword [rsp + 0x20], eax
mov r9, qword [rsp + 0x118]
mov r8, rsi
mov rcx, qword [r10 + 0x38]
call fcn.14004cf34
mov r10, qword [0x1400b52f8]
mov eax, 8
test r14d, r14d
cmove edi, eax
jmp 0x14006a3c9
mov r10, qword [0x1400b52f8]
test r14d, r14d
jne 0x14006a4ea
mov eax, dword [r12]
test eax, eax
jle 0x14006a3e0
cmp qword [r13], rbx
jne 0x14006a40a
mov r14d, 0x57
cmp r10, r15
je 0x14006a40a
test byte [r10 + 0x44], 0x20
je 0x14006a40a
mov dword [rsp + 0x20], eax
mov r9, qword [r13]
mov rcx, qword [r10 + 0x38]
call fcn.14006aa18
mov r10, qword [0x1400b52f8]
test r14d, r14d
jne 0x14006a4ea
mov eax, dword [r12]
mov dword [rsp + 0x20], eax
mov r9, qword [r13]
lea r8d, [r14 + 2]
lea rcx, [rsp + 0x120]
call fcn.140075ad0
test eax, eax
jns 0x14006a473
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
mov r14d, eax
mov r10, qword [0x1400b52f8]
cmp r10, r15
je 0x14006a47a
test byte [r10 + 0x44], 0x20
je 0x14006a47a
mov edx, 0x23
mov dword [rsp + 0x20], eax
mov r9, qword [rsp + 0x118]
mov r8, rsi
mov rcx, qword [r10 + 0x38]
call fcn.14004cf34
mov r10, qword [0x1400b52f8]
test r14d, r14d
jne 0x14006a4ea
mov r8d, dword [r12]
mov rcx, qword [r13]
test rcx, rcx
je 0x14006a4b0
cmp r8, 0x4c
jb 0x14006a4b0
movzx edx, word [rcx + 0x46]
movzx eax, word [rcx + 0x44]
add rdx, rax
cmp r8, rdx
jb 0x14006a4b0
call fcn.1400052e0
mov r10, qword [0x1400b52f8]
jmp 0x14006a4b5
mov eax, 0x8007000d
mov ecx, eax
call fcn.14004dfc4
mov r14d, eax
test eax, eax
je 0x14006a4ea
cmp r10, r15
je 0x14006a511
test byte [r10 + 0x44], 0x20
je 0x14006a4ea
mov edx, 0x24
mov r9d, edi
mov r8, rsi
mov rcx, qword [r10 + 0x38]
call fcn.14002d778
mov r10, qword [0x1400b52f8]
cmp r10, r15
je 0x14006a511
test byte [r10 + 0x44], 0x80
je 0x14006a511
mov edx, 0x25
mov r9d, r14d
mov r8, rsi
mov rcx, qword [r10 + 0x38]
call fcn.14002d778
mov r10, qword [0x1400b52f8]
test r14d, r14d
cmove edi, ebx
mov rcx, qword [rsp + 0x120]
test rcx, rcx
je 0x14006a538
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [0x1400978a8]
mov r10, qword [0x1400b52f8]
test edi, edi
je 0x14006a5ab
cmp dword [rsp + 0x140], ebx
je 0x14006a568
cmp qword [r13], rbx
je 0x14006a568
mov r8, qword [r13]
xor edx, edx
mov rcx, qword [0x1400b7220]
call qword [sym.imp.api_ms_win_core_heap_l1_1_0.dll_HeapFree]
nop dword [rax + rax]
mov qword [r13], rbx
mov dword [r12], ebx
mov r10, qword [0x1400b52f8]
test edi, edi
je 0x14006a5ab
cmp edi, 0x7a
je 0x14006a5a3
cmp r10, r15
je 0x14006a5a3
test byte [r10 + 0x44], 0x20
je 0x14006a5a3
mov edx, 0x26
mov r9d, edi
mov r8, rsi
mov rcx, qword [r10 + 0x38]
call fcn.14002d778
mov r10, qword [0x1400b52f8]
test edi, edi
jne 0x14006a654
mov rax, qword [r13]
movzx r14d, word [rax + 0x46]
movzx eax, word [rax + 0x44]
add r14d, eax
mov r9d, dword [r12]
cmp r9d, r14d
je 0x14006a5f4
cmp r10, r15
je 0x14006a5e6
test byte [r10 + 0x44], 0x20
je 0x14006a5e6
mov edx, 0x27
mov dword [rsp + 0x20], r14d
mov r8, rsi
mov rcx, qword [r10 + 0x38]
call fcn.140034794
mov dword [r12], r14d
mov r9d, r14d
mov r10, qword [0x1400b52f8]
cmp r9d, 0x48
jae 0x14006a654
cmp r10, r15
je 0x14006a61f
test byte [r10 + 0x44], 0x20
je 0x14006a61f
mov edx, 0x28
mov dword [rsp + 0x20], 0x48
mov r8, rsi
mov rcx, qword [r10 + 0x38]
call fcn.140034794
mov edi, 0x57
cmp dword [rsp + 0x140], ebx
je 0x14006a650
cmp qword [r13], rbx
je 0x14006a650
mov r8, qword [r13]
xor edx, edx
mov rcx, qword [0x1400b7220]
call qword [sym.imp.api_ms_win_core_heap_l1_1_0.dll_HeapFree]
nop dword [rax + rax]
mov qword [r13], rbx
mov dword [r12], ebx
mov r8, qword [rsp + 0x68]
xor edx, edx
mov rcx, qword [0x1400b7220]
call qword [sym.imp.api_ms_win_core_heap_l1_1_0.dll_HeapFree]
nop dword [rax + rax]
mov edx, 1
mov ecx, dword [0x1400b59e8]
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_TlsSetValue]
nop dword [rax + rax]
test eax, eax
jne 0x14006a6bd
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
mov edi, eax
mov rcx, qword [0x1400b52f8]
cmp rcx, r15
je 0x14006a6bd
test byte [rcx + 0x44], 0x20
je 0x14006a6bd
mov edx, 0x2a
mov r9d, eax
mov r8, rsi
mov rcx, qword [rcx + 0x38]
call fcn.14002d778
lea rcx, [rsp + 0x40]
call fcn.140074280
test eax, eax
je 0x14006a6f6
mov rcx, qword [0x1400b52f8]
cmp rcx, r15
je 0x14006a71c
test byte [rcx + 0x44], 0x80
je 0x14006a6fd
mov edx, 0x2b
mov r9, qword [rsp + 0x110]
mov r8, rsi
mov rcx, qword [rcx + 0x38]
call fcn.140040290
mov rcx, qword [0x1400b52f8]
cmp rcx, r15
je 0x14006a71c
test byte [rcx + 0x44], 0x80
je 0x14006a71c
mov edx, 0x2c
mov r9d, edi
mov r8, rsi
mov rcx, qword [rcx + 0x38]
call fcn.14002d778
lea rcx, [rsp + 0x40]
call fcn.140074280
lea rcx, [rsp + 0x48]
call fcn.140019074
lea rcx, [rsp + 0x58]
call fcn.140075bd0
mov eax, edi
add rsp, 0xd0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
ret