Function at 0x1800ace00
Capabilities:
Get thread local storage value
Resolve function by parsing pe exports

Disassembly:
mov rax, rsp
push rsi
push r13
sub rsp, 0xf8
mov r8, qword [rcx + 0x19550]
mov r13, rcx
mov esi, dword [r8 + 0x78]
and esi, 0xfffff
mov dword [rsp + 0x110], esi
je 0x1800ad7d4
cmp dword [r8 + 0x10], 0
je 0x1800ad7d4
cmp dword [r8 + 0x20], 0
je 0x1800ad7d4
mov ecx, dword [r8 + 0x78]
mov qword [rax - 0x18], rbx
mov qword [rax - 0x28], rdi
mov qword [rax - 0x30], r12
mov qword [rax - 0x38], r14
mov qword [rax - 0x40], r15
mov eax, dword [r8 + 0x10]
and ecx, 0xfffff
xor edx, edx
div ecx
xor r15d, r15d
mov r14d, eax
mov edi, r15d
mov r12d, r15d
mov dword [rsp + 0x30], r14d
test eax, eax
je 0x1800ad7cd
mov rbx, qword [r8 + 0x18]
mov r9d, r15d
lea r10, [rsp + 0x60]
lea r8, [rsp + 0x60]
mov r11, r14
nop word [rax + rax]
mov eax, r9d
mov rcx, qword [rbx + rax*8]
mov rdx, qword [rcx + 0xc0]
cmp rdx, 0xffffffffffffffff
je 0x1800aceef
mov rax, qword [rdx + 0xa8]
test byte [rax + 0x10], 4
jne 0x1800aceef
mov qword [r8], rdx
mov eax, r15d
test edi, edi
je 0x1800acee2
mov rdx, qword [r10]
lea rcx, [rsp + 0x60]
cmp qword [rcx], rdx
je 0x1800acee2
inc eax
add rcx, 8
cmp eax, edi
jb 0x1800aced3
cmp eax, edi
jne 0x1800acee9
inc r12d
inc edi
add r8, 8
add r9d, esi
add r10, 8
sub r11, 1
jne 0x1800acea0
test edi, edi
je 0x1800ad7cd
mov qword [rsp + 0xe8], rbp
mov ebx, r15d
test edi, edi
je 0x1800acfdf
mov rbp, r15
lea r8d, [r11 + 3]
nop
mov ecx, r15d
mov rax, r15
test ebx, ebx
je 0x1800acf56
mov rdx, qword [rsp + rbp + 0x60]
nop
cmp qword [rsp + rax*8 + 0x60], rdx
je 0x1800acf42
inc ecx
inc rax
cmp ecx, ebx
jb 0x1800acf30
jmp 0x1800acf56
mov rax, qword [rsp + rax*8 + 0x80]
mov qword [rsp + rbp + 0x80], rax
cmp ecx, ebx
jb 0x1800acfca
mov ecx, ebx
mov eax, ebx
cmp r12d, 1
cmove ecx, r8d
mov r8, qword [r13 + 0xd080]
lea rdx, [rsp + rax*8 + 0x80]
mov dword [rsp + 0x28], 0x11
mov dword [rsp + 0x20], ecx
xor r9d, r9d
mov rcx, r13
call fcn.18019f030
mov esi, eax
test eax, eax
js 0x1800ad089
mov rax, qword [r13 + 0x19550]
mov r8, qword [rsp + rbp + 0x80]
mov rcx, qword [rax + 0x28]
mov rdx, qword [rcx]
mov rax, qword [rdx + 0xd0]
mov qword [r8 + 0xd0], rax
movzx eax, byte [rdx + 0xd8]
mov byte [r8 + 0xd8], al
mov r8d, 3
inc ebx
add rbp, 8
cmp ebx, edi
jb 0x1800acf20
mov esi, dword [rsp + 0x110]
mov rbp, qword [rsp + 0x110]
lea r8, [rsp + 0x80]
mov r11d, r15d
mov dword [rsp + 0x118], r15d
mov r10d, r15d
mov dword [rsp + 0x120], r15d
mov qword [rsp + 0x38], r8
mov r9d, r15d
mov dword [rsp + 0x128], r15d
nop word [rax + rax]
mov rax, qword [r13 + 0x19550]
mov edx, r9d
mov rcx, qword [rax + 0x18]
mov rax, qword [rcx + rdx*8]
mov rax, qword [rax + 0xc0]
cmp rax, 0xffffffffffffffff
je 0x1800ad30a
mov rax, qword [rax + 0xa8]
test byte [rax + 0x10], 4
jne 0x1800ad30a
test esi, esi
je 0x1800ad2f3
mov r14d, r9d
nop
cmp dword [0x18025e63c], 0
mov rax, qword [r13 + 0x19550]
mov rdi, qword [r13 + 0xd038]
mov rcx, qword [rax + 0x18]
mov edx, r14d
mov r12, qword [rcx + rdx*8]
jge 0x1800ad0ba
xor esi, esi
mov rcx, rsi
jmp 0x1800ad0cb
mov rdi, qword [rsp + 0x110]
test rdi, rdi
je 0x1800ad790
cmp word [rdi + 0x7c], 0
je 0x1800ad6f4
cmp dword [0x18025e63c], 0
jge 0x1800ad6af
mov rax, r15
jmp 0x1800ad6bb
mov ecx, dword [0x18025e63c]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
xor esi, esi
mov rcx, rax
cmp qword [rcx + 0x18], 0
je 0x1800ad0ff
mov rbx, qword [rcx + 0x18]
test rbx, rbx
jne 0x1800ad0e0
mov rbx, rsi
jmp 0x1800ad116
mov rax, qword [rbx]
mov qword [rcx + 0x18], rax
test rax, rax
jne 0x1800ad0f0
mov qword [rcx + 0x20], rsi
movabs rax, 0xfefefefefefefefe
mov qword [rbx], rax
jmp 0x1800ad116
mov rcx, qword [rcx + 0x10]
mov edx, 0x188
mov r8d, 0x10
call fcn.180243b70
mov rbx, rax
test rbx, rbx
je 0x1800ad20e
xor r9d, r9d
xor r8d, r8d
mov rdx, rdi
mov rcx, rbx
mov qword [rbx], rsi
mov qword [rbx + 8], rsi
mov qword [rbx + 0x78], rsi
mov qword [rbx + 0x80], rsi
mov qword [rbx + 0x88], rsi
mov qword [rbx + 0x90], rsi
mov dword [rbx + 0xa0], 0xffffffff
mov qword [rbx + 0xa8], 0xffffffffffffffff
mov qword [rbx + 0x40], rsi
call fcn.1801992b0
mov esi, eax
test eax, eax
js 0x1800ad1bc
call fcn.18019c4f0
test al, al
je 0x1800ad183
or qword [rbx + 0x98], 0x20000
mov rax, qword [rbx + 0xa8]
mov rcx, qword [rax + 0x10]
test cl, 0x10
je 0x1800ad1a2
bt rcx, 0x15
jae 0x1800ad1a2
or qword [rbx + 0x98], 0x10
mov eax, dword [r13 + 0x10]
mov rbp, rbx
mov dword [rbx + 0xa0], eax
inc dword [r13 + 0x10]
or dword [r13 + 0x28], 4
xor esi, esi
jmp 0x1800ad213
call fcn.1801991c0
mov ecx, dword [0x18025e63c]
test ecx, ecx
jns 0x1800ad1cf
xor edi, edi
jmp 0x1800ad1d8
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rdi, rax
mov edx, 0xfe
mov r8d, 0x188
mov rcx, rbx
call fcn.18024adb8
mov qword [rbx], 0
mov rax, qword [rdi + 0x20]
test rax, rax
je 0x1800ad204
mov qword [rax], rbx
mov qword [rdi + 0x20], rbx
jmp 0x1800ad213
mov qword [rdi + 0x18], rbx
mov qword [rdi + 0x20], rbx
jmp 0x1800ad213
mov esi, 0x8007000e
test esi, esi
js 0x1800ad3b4
mov rdx, r12
mov rcx, rbp
call fcn.1801994e0
mov esi, eax
test eax, eax
js 0x1800ad3a4
cmp qword [rbp + 0xf0], 0xffffffffffffffff
je 0x1800ad29f
mov r8, qword [r13 + 0xd038]
lea rdx, [rsp + 0x40]
xor r9d, r9d
mov rcx, r13
mov dword [rsp + 0x28], 0x11
mov dword [rsp + 0x20], 0
call fcn.18019f030
mov esi, eax
test eax, eax
js 0x1800ad3a4
mov rdx, qword [r12 + 0xf0]
mov rcx, qword [rsp + 0x40]
call fcn.1801994e0
mov esi, eax
test eax, eax
js 0x1800ad3a4
mov r8, qword [rsp + 0x38]
mov qword [rbp + 0xf0], rcx
mov rax, qword [r8]
mov qword [rcx + 0xc0], rax
jmp 0x1800ad2a4
mov r8, qword [rsp + 0x38]
mov rax, qword [r8]
mov esi, dword [rsp + 0x110]
inc r15d
mov qword [rbp + 0xc0], rax
mov rax, qword [r13 + 0x19550]
mov rcx, qword [rax + 0x18]
mov eax, r14d
inc r14d
mov qword [rcx + rax*8], rbp
cmp r15d, esi
jb 0x1800ad060
mov r9d, dword [rsp + 0x128]
mov r10d, dword [rsp + 0x120]
mov r11d, dword [rsp + 0x118]
mov r14d, dword [rsp + 0x30]
inc r11d
add r8, 8
xor r15d, r15d
mov dword [rsp + 0x118], r11d
mov qword [rsp + 0x38], r8
inc r10d
add r9d, esi
mov dword [rsp + 0x120], r10d
mov dword [rsp + 0x128], r9d
cmp r10d, r14d
jb 0x1800ad020
mov ebp, r15d
mov edx, r15d
test r11d, r11d
je 0x1800ad38f
mov r9, r15
mov r10, r15
nop word [rax + rax]
mov eax, r15d
test edx, edx
je 0x1800ad360
mov r8, qword [rsp + r9 + 0x60]
lea rcx, [rsp + 0x60]
cmp qword [rcx], r8
je 0x1800ad360
inc eax
add rcx, 8
cmp eax, edx
jb 0x1800ad351
cmp eax, edx
jne 0x1800ad384
mov rax, qword [rsp + r9 + 0x80]
inc ebp
add r10, 8
mov qword [rsp + r10 + 0x38], rax
mov rax, qword [rsp + r9 + 0x60]
mov qword [rsp + r10 + 0x98], rax
inc edx
add r9, 8
cmp edx, r11d
jb 0x1800ad340
cmp dword [0x18025e63c], 0
mov rbx, qword [r13 + 0x19550]
jge 0x1800ad3c4
mov rcx, r15
jmp 0x1800ad3d3
mov rdi, qword [rsp + 0x110]
xor r15d, r15d
jmp 0x1800ad091
mov rdi, qword [rsp + 0x110]
xor r15d, r15d
jmp 0x1800ad091
mov ecx, dword [0x18025e63c]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rcx, rax
cmp qword [rcx + 0x30], 0
je 0x1800ad407
mov rdi, qword [rcx + 0x30]
test rdi, rdi
jne 0x1800ad3e8
mov rdi, r15
jmp 0x1800ad41c
mov rax, qword [rdi]
mov qword [rcx + 0x30], rax
test rax, rax
jne 0x1800ad3f8
mov qword [rcx + 0x38], r15
movabs rax, 0xfefefefefefefefe
mov qword [rdi], rax
jmp 0x1800ad41c
mov rcx, qword [rcx + 0x28]
mov edx, 0x80
lea r8d, [rdx - 0x70]
call fcn.180243b70
mov rdi, rax
test rdi, rdi
je 0x1800ad5cf
mov edx, ebp
mov r9d, ebp
mov r8d, ebp
and edx, 0xfffff
mov rcx, rdi
mov qword [rdi], 0xffffffffffffffff
bts edx, 0x1c
mov qword [rdi + 8], 0xffffffffffffffff
mov dword [rdi + 0x10], r15d
mov dword [rdi + 0x20], r15d
mov dword [rdi + 0x30], 0xffffffff
mov dword [rdi + 0x78], r15d
mov qword [rdi + 0x18], r15
mov word [rdi + 0x7c], r15w
mov qword [rdi + 0x28], r15
mov word [rdi + 0x7e], r15w
mov dword [rdi + 0x38], r15d
mov dword [rdi + 0x3c], r15d
mov dword [rdi + 0x40], r15d
mov qword [rdi + 0x48], 0xffffffffffffffff
mov dword [rdi + 0x50], r15d
mov dword [rdi + 0x68], r15d
mov qword [rdi + 0x70], r15
mov byte [rsp + 0x20], 0
call fcn.180193d40
mov esi, eax
test eax, eax
js 0x1800ad4b9
test rbx, rbx
je 0x1800ad4b1
mov eax, dword [rbx + 0x68]
mov dword [rdi + 0x68], eax
mov rax, qword [rbx + 0x70]
mov qword [rdi + 0x70], rax
mov esi, r15d
jmp 0x1800ad5dc
cmp word [rdi + 0x7c], 0
je 0x1800ad50e
mov ecx, dword [0x18025e63c]
test ecx, ecx
jns 0x1800ad4cf
mov rax, r15
jmp 0x1800ad4d5
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
movzx ecx, word [rdi + 0x7c]
cmp ecx, dword [rax + 0x250]
ja 0x1800ad505
mov r8, qword [rdi + 0x18]
dec ecx
movsxd rdx, ecx
shl rdx, 5
add rdx, qword [rax + 0x248]
test r8, r8
je 0x1800ad505
mov rax, qword [rdx + 8]
mov qword [r8], rax
mov qword [rdx + 8], r8
mov word [rdi + 0x7c], r15w
mov qword [rdi + 0x18], r15
cmp word [rdi + 0x7e], 0
je 0x1800ad563
mov ecx, dword [0x18025e63c]
test ecx, ecx
jns 0x1800ad524
mov rax, r15
jmp 0x1800ad52a
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
movzx ecx, word [rdi + 0x7e]
cmp ecx, dword [rax + 0x250]
ja 0x1800ad55a
mov r8, qword [rdi + 0x28]
dec ecx
movsxd rdx, ecx
shl rdx, 5
add rdx, qword [rax + 0x248]
test r8, r8
je 0x1800ad55a
mov rax, qword [rdx + 8]
mov qword [r8], rax
mov qword [rdx + 8], r8
mov word [rdi + 0x7e], r15w
mov qword [rdi + 0x28], r15
mov ecx, dword [0x18025e63c]
test ecx, ecx
js 0x1800ad5c5
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rbx, rax
test rax, rax
je 0x1800ad5bb
mov edx, 0xfe
mov rcx, rdi
lea r8d, [rdx - 0x7e]
call fcn.18024adb8
mov qword [rdi], r15
mov rax, qword [rbx + 0x38]
test rax, rax
je 0x1800ad5a9
mov qword [rax], rdi
mov qword [rbx + 0x38], rdi
mov rdi, qword [rsp + 0x110]
jmp 0x1800ad5dc
mov qword [rbx + 0x30], rdi
mov qword [rbx + 0x38], rdi
mov rdi, qword [rsp + 0x110]
jmp 0x1800ad5dc
mov rdi, qword [rsp + 0x110]
jmp 0x1800ad5dc
mov rdi, qword [rsp + 0x110]
jmp 0x1800ad5dc
mov rdi, qword [rsp + 0x110]
mov esi, 0x8007000e
test esi, esi
js 0x1800ad091
mov rcx, qword [rdi + 0x28]
mov ebx, ebp
lea rdx, [rsp + 0x40]
shl rbx, 3
mov r8, rbx
call sub.msvcrt.dll_memcpy
mov rcx, qword [rdi + 0x18]
lea rdx, [rsp + 0xa0]
mov r8, rbx
call sub.msvcrt.dll_memcpy
mov r11, qword [r13 + 0x19550]
mov qword [rdi + 8], r15
mov qword [rdi], r15
mov qword [rsp + 0x40], rdi
mov qword [rsp + 0x48], rdi
mov ecx, r15d
mov rax, rdi
nop dword [rax]
mov rax, qword [rax]
inc ecx
test rax, rax
jne 0x1800ad630
add dword [r13 + 0x14], ecx
test r11, r11
je 0x1800ad670
mov rax, qword [r11 + 8]
mov qword [rdi + 8], rax
mov rax, qword [r11 + 8]
test rax, rax
je 0x1800ad659
mov qword [rax], rdi
jmp 0x1800ad65d
mov qword [r13 + 0x18], rdi
mov qword [rdi], r11
mov qword [rsp + 0x40], r15
mov qword [rsp + 0x48], r15
mov qword [r11 + 8], rdi
jmp 0x1800ad698
mov rax, qword [r13 + 0x20]
test rax, rax
je 0x1800ad67e
mov qword [rax], rdi
jmp 0x1800ad682
mov qword [r13 + 0x18], rdi
mov rax, qword [r13 + 0x20]
mov qword [rsp + 0x40], r15
mov qword [rsp + 0x48], r15
mov qword [rdi + 8], rax
mov qword [r13 + 0x20], rdi
or dword [r13 + 0x28], 7
lea rcx, [rsp + 0x40]
call fcn.1800c5e00
mov esi, r15d
jmp 0x1800ad790
mov ecx, dword [0x18025e63c]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
movzx ecx, word [rdi + 0x7c]
cmp ecx, dword [rax + 0x250]
ja 0x1800ad6eb
mov r8, qword [rdi + 0x18]
dec ecx
movsxd rdx, ecx
shl rdx, 5
add rdx, qword [rax + 0x248]
test r8, r8
je 0x1800ad6eb
mov rax, qword [rdx + 8]
mov qword [r8], rax
mov qword [rdx + 8], r8
mov word [rdi + 0x7c], r15w
mov qword [rdi + 0x18], r15
cmp word [rdi + 0x7e], 0
je 0x1800ad74e
cmp dword [0x18025e63c], 0
jge 0x1800ad709
mov rax, r15
jmp 0x1800ad715
mov ecx, dword [0x18025e63c]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
movzx ecx, word [rdi + 0x7e]
cmp ecx, dword [rax + 0x250]
ja 0x1800ad745
mov r8, qword [rdi + 0x28]
dec ecx
movsxd rdx, ecx
shl rdx, 5
add rdx, qword [rax + 0x248]
test r8, r8
je 0x1800ad745
mov rax, qword [rdx + 8]
mov qword [r8], rax
mov qword [rdx + 8], r8
mov word [rdi + 0x7e], r15w
mov qword [rdi + 0x28], r15
mov ecx, dword [0x18025e63c]
test ecx, ecx
js 0x1800ad790
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rbx, rax
test rax, rax
je 0x1800ad790
mov edx, 0xfe
mov rcx, rdi
lea r8d, [rdx - 0x7e]
call fcn.18024adb8
mov qword [rdi], r15
mov rax, qword [rbx + 0x38]
test rax, rax
je 0x1800ad788
mov qword [rax], rdi
jmp 0x1800ad78c
mov qword [rbx + 0x30], rdi
mov qword [rbx + 0x38], rdi
mov rbp, qword [rsp + 0xe8]
mov eax, esi
mov r14, qword [rsp + 0xd0]
mov r12, qword [rsp + 0xd8]
mov rdi, qword [rsp + 0xe0]
mov rbx, qword [rsp + 0xf0]
mov r15, qword [rsp + 0xc8]
add rsp, 0xf8
pop r13
pop rsi
ret
mov eax, 1
jmp 0x1800ad79a
mov eax, 1
add rsp, 0xf8
pop r13
pop rsi
ret