Function at 0x1001024b0
Capabilities:
Get thread local storage value

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x338]
sub rsp, 0x438
mov qword [rsp + 0x58], 0xfffffffffffffffe
mov rax, qword [0x10022f440]
xor rax, rsp
mov qword [rbp + 0x320], rax
mov r12, r9
mov r13, r8
movzx edi, dx
mov word [rsp + 0x34], dx
mov rsi, rcx
mov rax, qword [rbp + 0x3a0]
mov qword [rsp + 0x40], rax
xor r14d, r14d
mov r15d, r14d
call fcn.10006ae90
mov qword [rsp + 0x38], rax
mov rcx, r12
call fcn.1000f2b00
mov dword [rsp + 0x30], eax
mov word [rsi + 0x88], di
mov qword [rsi + 0x108], r13
lea rcx, [rsi + 0xf40]
call qword [sym.imp.KERNEL32.dll_GetSystemTimeAsFileTime]
call fcn.100068bb0
test byte [rax + 0xbd], 0x40
jne 0x1001025be
call fcn.100068bb0
movzx edi, byte [rax + 0xbd]
shr edi, 7
not edi
and edi, 1
mov rbx, qword [rsi + 0x108]
call fcn.1000f7690
mov qword [rsp + 0x28], rbx
lea rcx, [0x1000f76d0]
mov qword [rsp + 0x20], rcx
mov r9d, edi
mov r8d, eax
lea edx, [r14 + 0x30]
lea ecx, [rdx - 0x2a]
call fcn.1000f5dd0
mov rbx, rax
test rax, rax
je 0x1001025a6
mov qword [rax], r14
mov qword [rax + 8], r14
lea rcx, [rsi + 0x58]
mov rdx, rax
call fcn.1000c6ba0
mov qword [rsi + 0xe8], rbx
test rbx, rbx
mov eax, 0x80000000
cmove r15d, eax
movzx edi, word [rsp + 0x34]
mov rax, qword [rsi + 0x108]
mov qword [rsp + 0x28], rax
lea rax, [0x1000f8240]
mov qword [rsp + 0x20], rax
mov r9d, 1
mov r8d, dword [0x10023f528]
lea edx, [r9 + 0x2f]
lea ecx, [rdx - 0x25]
call fcn.1000f5dd0
mov rbx, rax
test rax, rax
je 0x10010260a
mov qword [rax], r14
mov qword [rax + 8], r14
lea rcx, [rsi + 0x58]
mov rdx, rax
call fcn.1000c6ba0
mov qword [rsi + 0xf0], rbx
test rbx, rbx
jne 0x10010261e
mov eax, 0x80000000
or r15d, eax
mov rcx, rsi
call fcn.100102ba0
or r15d, eax
lea rcx, [rsi + 0x30]
mov r8, r13
mov rdx, qword [rsp + 0x38]
call fcn.1000f2890
or r15d, eax
movzx edx, di
lea rcx, [rsi + 0xb8]
call fcn.1000f2c10
test byte [rsi + 0x590], 4
mov rdx, r14
jne 0x10010265c
mov rdx, qword [r12]
lea rcx, [rsi + 0xb8]
call fcn.1000f2dd0
mov rcx, rsi
call fcn.100102c70
or r15d, eax
cmp word [rsi + 0x88], r14w
jne 0x100102689
mov rcx, qword [rsi + 0xf38]
call fcn.10006b8e0
lea rdi, [rsi + 0x110]
mov r9, qword [r12]
mov r8, r13
mov rdx, rsi
mov rcx, rdi
call fcn.1000ffcd0
or r15d, eax
lea rcx, [rsi + 0x250]
xor r9d, r9d
mov r8, r13
mov rdx, rsi
call fcn.1000ffcd0
or r15d, eax
lea rcx, [rsi + 0x128]
call fcn.1000c68d0
mov rbx, rax
lea rcx, [rax + 8]
or eax, 0xffffffff
lock xadd dword [rcx + 0x10], eax
dec eax
jne 0x1001026f2
cmp qword [rcx + 8], r14
je 0x1001026e9
call fcn.1000c8220
jmp 0x1001026f2
add rcx, 0xfffffffffffffff8
call fcn.1000d8230
mov qword [rsi + 0xa0], rbx
mov rdx, rsi
mov rcx, qword [rsp + 0x40]
call fcn.1000fdda0
mov ebx, r14d
call fcn.10006bd40
test eax, eax
je 0x10010271c
mov rcx, rsi
call fcn.1001021b0
mov ebx, eax
mov rcx, rsi
call fcn.10006b030
or eax, ebx
or r15d, eax
mov r9d, dword [rsp + 0x30]
xor r8d, r8d
xor edx, edx
or rcx, 0xffffffffffffffff
call qword [sym.imp.KERNEL32.dll_CreateIoCompletionPort]
mov qword [rsi + 0x390], rax
test rax, rax
je 0x100102948
call fcn.100058d10
mov r12, rax
call fcn.10006b640
mov dword [rsp + 0x70], 0x12
lea rcx, [0x100102d80]
mov qword [rsp + 0x78], rcx
mov qword [rbp - 0x80], rsi
add rax, 0x230
mov qword [rbp - 0x78], rax
mov qword [rbp - 0x68], 0xffffffffffffffff
mov qword [rbp - 0x70], r14
call fcn.100068a00
mov rdi, rax
mov rax, qword gs:[0x30]
lea rbx, [rax + rdi]
mov rcx, rdi
call fcn.10006c530
test eax, eax
jne 0x1001027b4
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rbx, rax
test rbx, rbx
je 0x1001027e1
cmp qword [rbx + 0xe8], rbx
jne 0x1001027e1
call fcn.1001672c0
test eax, eax
je 0x1001027e1
call qword [0x1002aaa48]
test eax, eax
je 0x1001027e1
lea rcx, [rbp - 0x60]
call qword [0x1002aab88]
jmp 0x1001027f5
movups xmm0, xmmword [0x10002a640]
movaps xmmword [rbp - 0x60], xmm0
mov eax, dword [0x10002a650]
mov dword [rbp - 0x50], eax
mov qword [rsp + 0x20], r14
lea r9, [rsp + 0x38]
xor r8d, r8d
lea rdx, [rsp + 0x70]
mov rcx, r12
call fcn.1000d0c40
test eax, eax
je 0x100102821
mov r12d, 0x80000000
or r15d, r12d
jmp 0x100102959
mov rbx, qword [rsp + 0x38]
add rbx, 0x10
or eax, 0xffffffff
lock xadd dword [rbx + 0x10], eax
dec eax
jne 0x100102953
cmp qword [rbx + 8], r14
je 0x10010284d
mov rcx, rbx
call fcn.1000585a0
jmp 0x100102953
add rbx, 0xfffffffffffffff0
mov eax, dword [rbx + 0xb0]
cmp eax, 2
jne 0x1001028a6
mov rdi, qword [rbx + 0xa0]
call fcn.100064800
mov edx, eax
xor eax, eax
lock cmpxchg dword [rdi + 0xf80], edx
mov eax, r14d
sete al
test eax, eax
jne 0x10010288a
lea rcx, [rdi + 0xf80]
call fcn.100057ac0
mov rcx, qword [rbx + 8]
mov rax, qword [rbx]
mov qword [rax + 8], rcx
mov qword [rcx], rax
mov qword [rbx + 8], r14
mov qword [rbx], r14
mov dword [rdi + 0xf80], r14d
call fcn.100058010
test rax, rax
je 0x1001028d1
cmp qword [rax + 0x1e8], rbx
jne 0x1001028d1
test rbx, rbx
lea rcx, [rbx - 8]
jne 0x1001028c5
mov rcx, r14
xor edx, edx
call fcn.100058e50
jmp 0x100102953
test rbx, rbx
je 0x1001028dc
add rbx, 0xfffffffffffffff8
jmp 0x1001028df
mov rbx, r14
mov qword [rsp + 0x40], rbx
test rbx, rbx
je 0x100102953
lea rax, [0x100002a88]
mov qword [rbx], rax
lea rcx, [rbx + 8]
call fcn.100058db0
mov rax, rbx
mov edx, 0x200
and rax, 0xffffffffffffe000
je 0x100102916
cmp word [rax + 4], dx
jne 0x100102916
mov rax, qword [rax + 0x28]
mov rax, qword [rax + 8]
mov rcx, qword [rax + 0x10]
dec rcx
not rcx
and rcx, rbx
je 0x100102933
cmp word [rcx + 4], dx
jne 0x100102933
mov rcx, qword [rcx + 0x28]
mov rcx, qword [rcx + 8]
test byte [rcx + 0x28], 8
jne 0x100102953
mov rax, qword [rcx]
mov rdx, rbx
call qword [rax + 0x28]
jmp 0x100102953
mov r12d, 0x80000000
or r15d, r12d
jmp 0x100102960
mov r12d, 0x80000000
lea rdi, [rsi + 0x110]
test r15d, r15d
jne 0x100102b68
lea r9d, [r15 + 1]
xor r8d, r8d
or rdx, 0xffffffffffffffff
mov rcx, rdi
call fcn.1000fec00
mov r8, rax
or edx, 0xffffffff
mov rcx, qword [rsi + 0x108]
call fcn.1000938e0
mov edi, eax
test eax, eax
jne 0x100102b6b
test byte [rsi + 0x590], 4
jne 0x100102a2d
lea rcx, [rsi + 0x398]
mov rdx, rsi
call fcn.1000df0a0
mov edi, eax
lea rdx, [rsi + 0x110]
mov qword [rsi + 0xef0], rdx
mov dword [rsi + 0xef8], r14d
lea rbx, [rsi + 0xf00]
mov r9d, 1
mov r8d, r9d
mov rdx, qword [rdx + 0x128]
mov rcx, rbx
call fcn.1000fd790
mov rcx, qword [rbx + 0x18]
test rcx, rcx
je 0x100102a03
mov edx, dword [rbx + 0x20]
call fcn.1001047d0
mov qword [rbx + 0x18], r14
mov dword [rbx + 0x20], r14d
lea rdx, [rsi + 0xee8]
mov rcx, qword [rsi + 0x98]
call fcn.1000e3d40
lea rcx, [rsi + 0xf48]
mov rdx, rsi
call fcn.1000f9760
or edi, eax
jne 0x100102b64
call fcn.10006bd60
test eax, eax
je 0x100102aa2
mov rcx, qword [rsi + 0x108]
mov rax, qword [rcx]
mov byte [rsp + 0x20], 6
mov r9d, 0xa21
lea r8, [0x10002ac70]
mov edx, 0x61a80
call qword [rax + 0x48]
lea rbx, [rsi + 0x16c8]
mov rdx, rax
mov rcx, rbx
call fcn.100103250
cmp qword [rbx], 0
je 0x100102a9a
mov rcx, r14
mov edx, 0x61a8
nop word [rax + rax]
mov rax, qword [rbx]
mov qword [rcx + rax], r14
mov rax, qword [rbx]
mov qword [rcx + rax + 8], r14
add rcx, 0x10
dec rdx
jne 0x100102a80
jmp 0x100102aa2
mov eax, r12d
jmp 0x100102b6b
call fcn.100071f10
test eax, eax
je 0x100102b64
lea rcx, [rbp - 0x40]
call fcn.100071ec0
movzx edx, word [rsi + 0x88]
lea rcx, [rbp - 0x40]
call fcn.100071f30
mov rdx, qword [rsi + 0xc0]
lea rcx, [rbp - 0x40]
call fcn.100071f40
test byte [rsi + 0x590], 4
movzx ebx, r14w
jne 0x100102aec
movzx ebx, word [rsi + 0x88]
lea rcx, [rbp + 0x2a0]
call fcn.10006ae10
mov rcx, rax
movzx r8d, bx
lea rdx, [rsp + 0x48]
call fcn.1000f31d0
mov rdx, qword [rsp + 0x50]
lea rcx, [rbp - 0x40]
call fcn.100071f50
test byte [rsi + 0x590], 4
jne 0x100102b28
movzx r14d, word [rsi + 0x88]
lea rcx, [rbp + 0x220]
call fcn.10006ae10
mov rcx, rax
movzx r8d, r14w
lea rdx, [rsp + 0x60]
call fcn.1000f31d0
lea rcx, [rsp + 0x60]
call fcn.1000f2c30
movzx edx, ax
lea rcx, [rbp - 0x40]
call fcn.100071f60
lea rcx, [rbp - 0x40]
call fcn.100071f70
mov eax, edi
jmp 0x100102b6b
mov eax, r15d
mov rcx, qword [rbp + 0x320]
xor rcx, rsp
call fcn.10005f420
add rsp, 0x438
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret