Function at 0x140038830
Capabilities:
Get thread local storage value

Disassembly:
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0xc8]
sub rsp, 0x1d8
mov ebx, r9d
mov r14, r8
mov r12, rdx
mov r15, rcx
xor edi, edi
mov esi, edi
mov dword [rbp - 0x18], edi
lea ecx, [rdi + 2]
call fcn.140059d40
mov qword [rbp - 0x78], rax
mov word [rax], di
lea ecx, [rdi + 2]
call fcn.140059d40
mov qword [rbp - 0x68], rax
mov word [rax], di
lea ecx, [rdi + 2]
call fcn.140059d40
mov qword [rbp], rax
mov word [rax], di
lea ecx, [rdi + 2]
call fcn.140059d40
mov qword [rbp + 0x30], rax
mov word [rax], di
lea ecx, [rdi + 2]
call fcn.140059d40
mov qword [rbp + 0x28], rax
mov word [rax], di
movzx r13d, byte [rbp + 0x130]
cmp ebx, 0xffffffff
jne 0x140038b12
mov qword [rbp - 0x20], rdi
lea rcx, [0x14007a7c4]
call fcn.140059d48
mov qword [rbp - 0x20], rax
xor ecx, ecx
call fcn.140059d2c
nop
mov qword [rbp - 0x28], rdi
lea rcx, [0x14007a7c4]
call fcn.140059d48
mov qword [rbp - 0x28], rax
xor ecx, ecx
call fcn.140059d2c
nop
mov qword [rbp - 0x80], rdi
lea rcx, [0x14007a7c4]
call fcn.140059d48
mov qword [rbp - 0x80], rax
xor ecx, ecx
call fcn.140059d2c
nop
mov qword [rbp - 0x30], rdi
lea rcx, [0x14007a7c4]
call fcn.140059d48
mov qword [rbp - 0x30], rax
xor ecx, ecx
call fcn.140059d2c
nop
mov qword [rbp - 0x38], rdi
lea rcx, [0x14007a7c4]
call fcn.140059d48
mov qword [rbp - 0x38], rax
xor ecx, ecx
call fcn.140059d2c
nop
mov qword [rbp - 0x40], rdi
lea rcx, [0x14007a7c4]
call fcn.140059d48
mov qword [rbp - 0x40], rax
xor ecx, ecx
call fcn.140059d2c
nop
mov qword [rbp - 0x48], rdi
lea rcx, [0x14007a7c4]
call fcn.140059d48
mov qword [rbp - 0x48], rax
xor ecx, ecx
call fcn.140059d2c
nop
mov qword [rbp - 0x50], rdi
lea rbx, [0x14007a7c4]
test r14, r14
cmovne rbx, r14
mov rcx, rbx
call fcn.140059d48
mov qword [rbp - 0x50], rax
xor ecx, ecx
call fcn.140059d2c
nop
lea r9, [rbp - 0x48]
lea r8, [rbp - 0x50]
mov rdx, r12
lea rcx, [rbp - 0x10]
call fcn.14001f610
mov rdi, rax
mov qword [rbp - 0x58], 0
lea rcx, [0x14007a7c4]
call fcn.140059d48
mov qword [rbp - 0x58], rax
xor ecx, ecx
call fcn.140059d2c
nop
mov qword [rbp - 0x60], 0
mov rcx, rbx
call fcn.140059d48
mov qword [rbp - 0x60], rax
xor ecx, ecx
call fcn.140059d2c
nop
lea r9, [rbp - 0x58]
lea r8, [rbp - 0x60]
mov rdx, r12
lea rcx, [rbp + 8]
call fcn.14001f610
nop
mov dword [rsp + 0x80], 0xffffffff
xor r8d, r8d
mov qword [rsp + 0x78], r8
mov qword [rsp + 0x70], r8
lea rdx, [rbp - 0x20]
mov qword [rsp + 0x68], rdx
mov dword [rsp + 0x60], r13d
mov qword [rsp + 0x58], r8
lea rcx, [rbp - 0x28]
mov qword [rsp + 0x50], rcx
lea rcx, [rbp - 0x80]
mov qword [rsp + 0x48], rcx
lea rcx, [rbp - 0x30]
mov qword [rsp + 0x40], rcx
lea rcx, [rbp - 0x38]
mov qword [rsp + 0x38], rcx
lea rcx, [rbp - 0x40]
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor edx, edx
lea r8d, [r9 - 1]
mov rcx, r15
call fcn.140014980
mov dword [rbp + 0x128], eax
mov rcx, qword [rbp + 8]
call fcn.140059d2c
nop
mov rcx, qword [rbp - 0x60]
call fcn.140059d2c
nop
mov rcx, qword [rbp - 0x58]
call fcn.140059d2c
nop
mov rcx, qword [rbp - 0x10]
call fcn.140059d2c
nop
mov rcx, qword [rbp - 0x50]
call fcn.140059d2c
nop
mov rcx, qword [rbp - 0x48]
call fcn.140059d2c
nop
mov rcx, qword [rbp - 0x40]
call fcn.140059d2c
nop
mov rcx, qword [rbp - 0x38]
call fcn.140059d2c
nop
mov rcx, qword [rbp - 0x30]
call fcn.140059d2c
nop
mov rcx, qword [rbp - 0x80]
call fcn.140059d2c
nop
mov rcx, qword [rbp - 0x28]
call fcn.140059d2c
nop
mov rcx, qword [rbp - 0x20]
call fcn.140059d2c
xor edi, edi
mov ecx, dword [0x1400a555c]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
or eax, 0x20019
lea rcx, [rbp - 8]
mov qword [rsp + 0x20], rcx
mov r9d, eax
xor r8d, r8d
mov rdx, r14
mov rcx, qword [0x1400a36f8]
call fcn.14001d250
test eax, eax
jne 0x1400393f2
lea ecx, [rax + 2]
call fcn.140059d40
mov qword [rbp - 0x70], rax
mov word [rax], di
lea r8, [rbp - 0x70]
xor edx, edx
mov rcx, qword [rbp - 8]
call fcn.14002d2c0
test eax, eax
jne 0x1400393dd
lea r14, [0x1400a6640]
nop word [rax + rax]
mov ecx, dword [0x1400a555c]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
or eax, 0x20019
lea rcx, [rbp + 0x20]
mov qword [rsp + 0x20], rcx
mov r9d, eax
xor r8d, r8d
mov rdx, qword [rbp - 0x70]
mov rcx, qword [rbp - 8]
call fcn.14001d250
test eax, eax
jne 0x1400393c1
lea rax, [rbp - 0x78]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea rdx, str.Driver
mov rcx, qword [rbp + 0x20]
call fcn.14002d4d0
test eax, eax
je 0x140038bff
lea rax, [rbp - 0x78]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea rdx, str.Name
mov rcx, qword [rbp + 0x20]
call fcn.14002d4d0
test eax, eax
jne 0x1400393b7
mov ecx, 2
call fcn.140059d40
mov qword [rbp + 0x40], rax
xor esi, esi
mov word [rax], si
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x48], xmm0
mov qword [rbp + 0x58], rsi
lea rdx, [rbp + 0x40]
mov rcx, qword [rbp - 0x78]
call fcn.14001e420
mov qword [rbp - 0x10], rsi
mov rax, qword [rbp - 0x78]
lea rcx, [0x14007a7c4]
test rax, rax
cmovne rcx, rax
call fcn.140059d48
mov qword [rbp - 0x10], rax
xor ecx, ecx
call fcn.140059d2c
nop
xor r9d, r9d
lea r8, [rbp + 0x40]
mov rdx, r15
lea rcx, [rbp + 0x60]
call fcn.140018960
mov rdx, qword [rax]
mov rbx, qword [rbp - 0x68]
lea rcx, [0x14007a7c4]
test rdx, rdx
cmovne rcx, rdx
call fcn.140059d48
mov qword [rbp - 0x68], rax
mov rcx, rbx
call fcn.140059d2c
mov rcx, qword [rbp + 0x60]
call fcn.140059d2c
lea edx, [rsi + 0x5c]
mov rcx, qword [rbp - 0x78]
call fcn.14004eb30
test rax, rax
jne 0x140038ec1
lea rcx, [0x140081d50]
call fcn.140059d48
mov rdi, rax
mov qword [rbp + 0x70], rax
xor ecx, ecx
call fcn.140059d2c
lea rsi, [0x1400a6638]
cmp dword [rbp + 0x138], 0
cmovne rsi, r14
lea rcx, str.SystemRootSystem32SpoolPrtprocs_
call fcn.140059d48
mov rbx, rax
mov qword [rbp + 0x68], rax
xor ecx, ecx
call fcn.140059d2c
lea rcx, [0x14007a7c4]
test rbx, rbx
cmovne rcx, rbx
call fcn.140059d48
mov rbx, rax
mov qword [rbp + 8], rax
xor ecx, ecx
call fcn.140059d2c
mov r13, qword [rsi]
mov rsi, 0xffffffffffffffff
nop word [rax + rax]
inc rsi
cmp word [rbx + rsi*2], 0
jne 0x140038d20
mov r9d, 0x7fffffff
cmp rsi, r9
cmovb r9, rsi
mov qword [rbp - 0x80], r9
mov r14, 0xffffffffffffffff
inc r14
cmp word [r13 + r14*2], 0
jne 0x140038d42
mov r15d, r14d
xor eax, eax
sub r15d, eax
mov r12, rbx
test r15d, r15d
jle 0x140038d8b
movsxd rdx, r15d
add rdx, rsi
lea rdx, [rdx*2 + 4]
mov rcx, rbx
call fcn.140059dcc
mov rbx, rax
mov qword [rbp + 8], rax
mov r12, rax
test rax, rax
cmovne r12, rax
mov r9, qword [rbp - 0x80]
xor eax, eax
movsxd rcx, eax
sub rsi, r9
sub rsi, rcx
lea r8, [rsi*2 + 2]
lea rax, [r9 + rcx]
lea rdx, [r12 + rax*2]
movsxd rax, r15d
add rax, r9
add rax, rcx
lea rcx, [r12 + rax*2]
call fcn.14004fcc0
lea r8, [r14 + r14]
mov rax, qword [rbp - 0x80]
lea rcx, [r12 + rax*2]
mov rdx, r13
call fcn.14004fcc0
mov rcx, qword [rbp + 0x68]
call fcn.140059d2c
lea r8, [rbp + 0x70]
lea rdx, [rbp + 8]
lea rcx, [rbp + 0x78]
call fcn.14002d620
lea r8, [rbp - 0x78]
mov rdx, rax
lea rcx, [rbp + 0x80]
call fcn.14002d620
nop
mov rcx, qword [rbp + 0x78]
call fcn.140059d2c
mov rcx, rbx
call fcn.140059d2c
mov rcx, rdi
call fcn.140059d2c
xor r9d, r9d
mov rbx, qword [rbp + 0x80]
mov r8, rbx
mov r15, qword [rbp + 0x110]
mov rdx, r15
lea rcx, [rbp + 0x88]
call fcn.140018990
mov rdx, qword [rax]
mov rdi, qword [rbp - 0x78]
lea rcx, [0x14007a7c4]
test rdx, rdx
cmovne rcx, rdx
call fcn.140059d48
mov qword [rbp - 0x78], rax
mov rcx, rdi
call fcn.140059d2c
mov rcx, qword [rbp + 0x88]
call fcn.140059d2c
mov r8d, 0x10
lea rdx, str.File_not_found:
mov rcx, qword [rbp - 0x78]
call fcn.14005bd3c
test eax, eax
je 0x140038ea8
mov rax, qword [rbp - 0x78]
mov rdi, qword [rbp - 0x68]
lea rcx, [0x14007a7c4]
test rax, rax
cmovne rcx, rax
call fcn.140059d48
mov qword [rbp - 0x68], rax
mov rcx, rdi
call fcn.140059d2c
nop
mov rcx, rbx
call fcn.140059d2c
mov r12, qword [rbp + 0x118]
movzx r13d, byte [rbp + 0x130]
xor esi, esi
lea r9, [rbp + 0x30]
lea r8, [rbp]
mov rdx, qword [rbp - 0x68]
mov rcx, r15
call fcn.1400185f0
mov r14d, eax
mov qword [rbp - 0x80], rsi
lea rdi, [0x14007a7c4]
mov rax, qword [rbp + 0x120]
test rax, rax
cmovne rdi, rax
mov rcx, rdi
call fcn.140059d48
mov qword [rbp - 0x80], rax
xor ecx, ecx
call fcn.140059d2c
nop
lea r9, [rbp - 0x70]
lea r8, [rbp - 0x80]
mov rdx, r12
lea rcx, [rbp + 0x98]
call fcn.14001f610
mov rbx, rax
mov qword [rbp - 0x28], rsi
lea rcx, [0x14007a7c4]
call fcn.140059d48
mov qword [rbp - 0x28], rax
xor ecx, ecx
call fcn.140059d2c
nop
mov qword [rbp - 0x20], rsi
mov rcx, rdi
call fcn.140059d48
mov qword [rbp - 0x20], rax
xor ecx, ecx
call fcn.140059d2c
nop
lea r9, [rbp - 0x28]
lea r8, [rbp - 0x20]
mov rdx, r12
lea rcx, [rbp + 0x90]
call fcn.14001f610
nop
lea rcx, [rbp + 0xb0]
mov qword [rsp + 0x38], rcx
lea rcx, [rbp + 0x28]
mov qword [rsp + 0x30], rcx
lea rcx, [rbp]
mov qword [rsp + 0x28], rcx
lea rcx, [rbp - 0x68]
mov qword [rsp + 0x20], rcx
mov r9, rbx
mov r8, rax
lea rdx, [rbp - 0x70]
mov rcx, r15
call fcn.140014330
movzx ebx, al
mov rcx, qword [rbp + 0x90]
call fcn.140059d2c
nop
mov rcx, qword [rbp - 0x20]
call fcn.140059d2c
nop
mov rcx, qword [rbp - 0x28]
call fcn.140059d2c
nop
mov rcx, qword [rbp + 0x98]
call fcn.140059d2c
nop
mov rcx, qword [rbp - 0x80]
call fcn.140059d2c
test bl, bl
je 0x140039327
cmp dword [rbp + 0x128], 0xffffffff
jne 0x14003922d
mov qword [rbp - 0x80], rsi
lea rcx, [0x14007a7c4]
call fcn.140059d48
mov qword [rbp - 0x80], rax
xor ecx, ecx
call fcn.140059d2c
nop
mov qword [rbp + 0x38], rsi
lea rcx, [0x14007a7c4]
call fcn.140059d48
mov qword [rbp + 0x38], rax
xor ecx, ecx
call fcn.140059d2c
nop
mov qword [rbp + 0x18], rsi
lea rcx, [0x14007a7c4]
call fcn.140059d48
mov qword [rbp + 0x18], rax
xor ecx, ecx
call fcn.140059d2c
nop
mov qword [rbp - 0x60], rsi
lea rcx, [0x14007a7c4]
call fcn.140059d48
mov qword [rbp - 0x60], rax
xor ecx, ecx
call fcn.140059d2c
nop
mov qword [rbp - 0x58], rsi
lea rcx, [0x14007a7c4]
call fcn.140059d48
mov qword [rbp - 0x58], rax
xor ecx, ecx
call fcn.140059d2c
nop
mov qword [rbp - 0x50], rsi
lea rcx, [0x14007a7c4]
call fcn.140059d48
mov qword [rbp - 0x50], rax
xor ecx, ecx
call fcn.140059d2c
nop
mov qword [rbp - 0x48], rsi
lea rcx, [0x14007a7c4]
call fcn.140059d48
mov qword [rbp - 0x48], rax
xor ecx, ecx
call fcn.140059d2c
nop
mov qword [rbp - 0x40], rsi
mov rcx, rdi
call fcn.140059d48
mov qword [rbp - 0x40], rax
xor ecx, ecx
call fcn.140059d2c
nop
lea r9, [rbp - 0x48]
lea r8, [rbp - 0x40]
mov rdx, r12
lea rcx, [rbp + 0xa8]
call fcn.14001f610
mov rbx, rax
mov qword [rbp - 0x38], rsi
lea rcx, [0x14007a7c4]
call fcn.140059d48
mov qword [rbp - 0x38], rax
xor ecx, ecx
call fcn.140059d2c
nop
mov qword [rbp - 0x30], rsi
mov rcx, rdi
call fcn.140059d48
mov qword [rbp - 0x30], rax
xor ecx, ecx
call fcn.140059d2c
nop
lea r9, [rbp - 0x38]
lea r8, [rbp - 0x30]
mov rdx, r12
lea rcx, [rbp + 0xa0]
call fcn.14001f610
nop
movzx esi, r13b
mov dword [rsp + 0x80], 0xffffffff
xor edx, edx
mov qword [rsp + 0x78], rdx
mov qword [rsp + 0x70], rdx
lea rcx, [rbp - 0x80]
mov qword [rsp + 0x68], rcx
mov dword [rsp + 0x60], esi
mov qword [rsp + 0x58], rdx
lea rcx, [rbp + 0x38]
mov qword [rsp + 0x50], rcx
lea rcx, [rbp + 0x18]
mov qword [rsp + 0x48], rcx
lea rcx, [rbp - 0x60]
mov qword [rsp + 0x40], rcx
lea rcx, [rbp - 0x58]
mov qword [rsp + 0x38], rcx
lea rcx, [rbp - 0x50]
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], rax
xor r9d, r9d
lea r8d, [rdx - 1]
mov rcx, r15
call fcn.140014980
mov dword [rbp + 0x128], eax
mov rcx, qword [rbp + 0xa0]
call fcn.140059d2c
nop
mov rcx, qword [rbp - 0x30]
call fcn.140059d2c
nop
mov rcx, qword [rbp - 0x38]
call fcn.140059d2c
nop
mov rcx, qword [rbp + 0xa8]
call fcn.140059d2c
nop
mov rcx, qword [rbp - 0x40]
call fcn.140059d2c
nop
mov rcx, qword [rbp - 0x48]
call fcn.140059d2c
nop
mov rcx, qword [rbp - 0x50]
call fcn.140059d2c
nop
mov rcx, qword [rbp - 0x58]
call fcn.140059d2c
nop
mov rcx, qword [rbp - 0x60]
call fcn.140059d2c
nop
mov rcx, qword [rbp + 0x18]
call fcn.140059d2c
nop
mov rcx, qword [rbp + 0x38]
call fcn.140059d2c
nop
mov rcx, qword [rbp - 0x80]
call fcn.140059d2c
jmp 0x140039231
movzx esi, r13b
xor eax, eax
mov qword [rbp - 0x80], rax
lea rcx, [0x14007a7c4]
call fcn.140059d48
mov qword [rbp - 0x80], rax
xor ecx, ecx
call fcn.140059d2c
nop
mov rbx, qword [rbp + 0xb0]
xor eax, eax
mov qword [rbp + 0x10], rax
mov rcx, rdi
call fcn.140059d48
mov qword [rbp + 0x10], rax
xor ecx, ecx
call fcn.140059d2c
nop
lea r9, [rbp - 0x70]
lea r8, [rbp + 0x10]
mov rdx, r12
lea rcx, [rbp + 0xb8]
call fcn.14001f610
nop
mov dword [rsp + 0x80], 0xffffffff
xor ecx, ecx
mov qword [rsp + 0x78], rcx
mov qword [rsp + 0x70], rcx
lea rcx, [rbp - 0x80]
mov qword [rsp + 0x68], rcx
mov dword [rsp + 0x60], esi
mov qword [rsp + 0x58], rbx
lea rcx, [rbp - 0x10]
mov qword [rsp + 0x50], rcx
lea rcx, [rbp + 0x28]
mov qword [rsp + 0x48], rcx
lea rcx, [rbp + 0x30]
mov qword [rsp + 0x40], rcx
lea rcx, [rbp]
mov qword [rsp + 0x38], rcx
lea rcx, [rbp - 0x68]
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x70]
mov qword [rsp + 0x20], rax
mov r9d, 3
mov r8d, dword [rbp + 0x128]
mov edx, r14d
mov rcx, r15
call fcn.140014980
nop
mov rcx, qword [rbp + 0xb8]
call fcn.140059d2c
nop
mov rcx, qword [rbp + 0x10]
call fcn.140059d2c
nop
mov rcx, qword [rbp - 0x80]
call fcn.140059d2c
xor esi, esi
mov rcx, qword [rbp - 0x10]
call fcn.140059d2c
nop
mov rbx, qword [rbp + 0x48]
test rbx, rbx
je 0x1400393a4
mov rdi, qword [rbp + 0x50]
cmp rbx, rdi
je 0x140039358
mov rcx, qword [rbx]
call fcn.140059d2c
add rbx, 8
cmp rbx, rdi
jne 0x140039343
mov rbx, qword [rbp + 0x48]
mov rax, qword [rbp + 0x58]
sub rax, rbx
sar rax, 3
lea rdx, [rax*8]
mov rax, rbx
cmp rdx, 0x1000
jb 0x140039390
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14003943d
mov rcx, rbx
call fcn.14004bd8c
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x48], xmm0
mov qword [rbp + 0x58], rsi
mov rcx, qword [rbp + 0x40]
call fcn.140059d2c
mov esi, dword [rbp - 0x18]
lea r14, [0x1400a6640]
mov rcx, qword [rbp + 0x20]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
inc esi
mov dword [rbp - 0x18], esi
lea r8, [rbp - 0x70]
mov edx, esi
mov rcx, qword [rbp - 8]
call fcn.14002d2c0
test eax, eax
je 0x140038b80
mov rcx, qword [rbp - 8]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
mov rcx, qword [rbp - 0x70]
call fcn.140059d2c
nop
mov rcx, qword [rbp + 0x28]
call fcn.140059d2c
nop
mov rcx, qword [rbp + 0x30]
call fcn.140059d2c
nop
mov rcx, qword [rbp]
call fcn.140059d2c
nop
mov rcx, qword [rbp - 0x68]
call fcn.140059d2c
nop
mov rcx, qword [rbp - 0x78]
call fcn.140059d2c
mov eax, dword [rbp + 0x128]
add rsp, 0x1d8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
call fcn.14005a178
nop
int3