Function at 0x1801db7d0
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbx
push rbp
push rdi
sub rsp, 0x220
mov r8d, dword [rdx + 0x78]
xor ebp, ebp
lea rax, [rsp + 0x70]
mov r9d, r8d
mov qword [rsp + 0x218], rsi
mov rbx, rcx
and r9d, 0xfffff
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x58], 0x18
mov edi, r9d
mov rsi, rdx
mov qword [rsp + 0x60], rbp
mov byte [rsp + 0x68], bpl
mov byte [rsp + 0x69], 1
mov dword [rsp + 0x250], edi
jne 0x1801db83a
mov ebx, 0x80004005
jmp 0x1801dbea4
mov rax, qword [rdx + 0x28]
mov ecx, dword [rdx + 0x20]
mov qword [rsp + 0x210], r12
mov r12, qword [rax]
mov qword [rsp + 0x40], r12
cmp ecx, 1
je 0x1801db8c0
mov eax, r8d
and eax, 0xfff00000
cmp eax, 0xa0e00000
ja 0x1801db891
cmp eax, 0xa0e00000
je 0x1801db8bb
cmp eax, 0xa0900000
je 0x1801db8bb
cmp eax, 0xa0a00000
je 0x1801db8bb
cmp eax, 0xa0b00000
je 0x1801db8bb
cmp eax, 0xa0c00000
je 0x1801db8bb
cmp eax, 0xa0d00000
je 0x1801db8bb
jmp 0x1801db8ad
cmp eax, 0xa0f00000
je 0x1801db8bb
cmp eax, 0xa1000000
je 0x1801db8bb
cmp eax, 0xa1100000
je 0x1801db8bb
cmp eax, 0xa1200000
je 0x1801db8bb
cmp eax, 0xa1300000
je 0x1801db8bb
cmp eax, 0xa1400000
jne 0x1801db8d4
cmp ecx, 2
jne 0x1801db8d4
mov rax, qword [r12 + 0xa8]
mov ecx, dword [rax + 0x10]
shr rcx, 0x1a
test cl, 1
jne 0x1801db8de
mov ebx, 0x80004005
jmp 0x1801dbe9c
and r8d, 0xfff00000
cmp r8d, 0x51f00000
je 0x1801dba5d
cmp r8d, 0x52000000
je 0x1801dba5d
cmp r8d, 0x80000000
je 0x1801dba5d
cmp r8d, 0x80200000
jne 0x1801db91c
mov eax, ebp
jmp 0x1801dba62
cmp r8d, 0xa0400000
ja 0x1801db965
cmp r8d, 0xa0400000
je 0x1801db952
cmp r8d, 0xa0000000
je 0x1801db952
cmp r8d, 0xa0100000
je 0x1801db952
cmp r8d, 0xa0200000
je 0x1801db952
cmp r8d, 0xa0300000
jne 0x1801db989
mov edi, 1
mov eax, ebp
mov dword [rsp + 0x250], edi
jmp 0x1801dba62
cmp r8d, 0xa0500000
je 0x1801db952
cmp r8d, 0xa0600000
je 0x1801db952
cmp r8d, 0xa0700000
je 0x1801db952
cmp r8d, 0xa0800000
je 0x1801db952
cmp r8d, 0xa0e00000
ja 0x1801db9ca
cmp r8d, 0xa0e00000
je 0x1801db952
cmp r8d, 0xa0900000
je 0x1801db952
cmp r8d, 0xa0a00000
je 0x1801db952
cmp r8d, 0xa0b00000
je 0x1801db952
cmp r8d, 0xa0c00000
je 0x1801db952
cmp r8d, 0xa0d00000
je 0x1801db952
jmp 0x1801db9fe
cmp r8d, 0xa0f00000
je 0x1801db952
cmp r8d, 0xa1000000
je 0x1801db952
cmp r8d, 0xa1100000
je 0x1801db952
cmp r8d, 0xa1200000
je 0x1801db952
cmp r8d, 0xa1300000
je 0x1801db952
cmp r8d, 0xa1400000
je 0x1801db952
cmp r8d, 0x51a00000
je 0x1801dba56
cmp r8d, 0x51b00000
je 0x1801dba56
cmp r8d, 0x51c00000
je 0x1801dba56
cmp r8d, 0x70400000
jne 0x1801dba4c
mov edi, ebp
mov eax, 1
mov dword [rsp + 0x250], edi
jmp 0x1801dba62
mov ebx, 0x80004005
jmp 0x1801dbe9c
mov eax, 1
jmp 0x1801dba62
mov eax, 2
imul r9d, eax
mov rax, qword [rdx + 0x18]
mov rcx, qword [rax + r9*8]
call fcn.18019c590
mov rdx, rax
mov rax, qword [rax + 0xa8]
mov ecx, dword [rax + 0x10]
shr rcx, 0x1a
test cl, 1
jne 0x1801dba93
mov ebx, 0x80004005
jmp 0x1801dbe9c
lea rax, [rbx + 0xd4b0]
lea r9, [rsp + 0x48]
lea r8, [rsp + 0x258]
mov qword [rsp + 0x258], rax
lea rax, [rbx + 0xd4d0]
mov rcx, rbx
mov qword [rsp + 0x48], rax
call fcn.1801d7b90
mov ebx, eax
test eax, eax
js 0x1801dbe9c
cmp rdi, qword [rsp + 0x58]
jbe 0x1801dbb02
cmp byte [rsp + 0x69], bpl
jne 0x1801dbae5
mov ebx, 0x8007000e
jmp 0x1801dbe9c
lea rcx, [rsp + 0x50]
mov rdx, rdi
call fcn.1800f07e0
mov ebx, eax
test eax, eax
je 0x1801dbb02
test eax, eax
js 0x1801dbe9c
jmp 0x1801dbb07
mov qword [rsp + 0x60], rdi
mov qword [rsp + 0x208], r13
mov r13, qword [rsp + 0x48]
mov qword [rsp + 0x200], r14
mov qword [rsp + 0x1f8], r15
mov r14d, ebp
mov r15d, ebp
cmp dword [rsp + 0x250], ebp
jbe 0x1801dbd36
movabs rbx, 0x200008000000
mov eax, dword [rsi + 0x78]
and eax, 0xfff00000
cmp eax, 0x80200000
jne 0x1801dbbab
mov ecx, dword [rsi + 0x78]
mov rax, qword [rsi + 0x18]
and ecx, 0xfffff
add ecx, r14d
mov rcx, qword [rax + rcx*8]
mov rax, qword [rcx + 0x100]
cmp rax, 0xffffffffffffffff
je 0x1801dbd13
mov eax, dword [rax + 0x78]
and eax, 0xfff00000
cmp eax, 0x51d00000
je 0x1801dbbab
cmp eax, 0x51e00000
je 0x1801dbbab
cmp eax, 0x80100000
je 0x1801dbbab
cmp eax, 0x51700000
je 0x1801dbbab
cmp eax, 0x51800000
je 0x1801dbbab
cmp eax, 0x51900000
jne 0x1801dbd13
mov ecx, dword [rsi + 0x78]
mov eax, ecx
and eax, 0xfff00000
cmp eax, 0x51a00000
je 0x1801dbbca
cmp eax, 0x51b00000
je 0x1801dbbca
cmp eax, 0x51c00000
jne 0x1801dbbe9
mov rax, qword [rsi + 0x18]
and ecx, 0xfffff
lea ecx, [r14 + rcx*4]
mov rcx, qword [rax + rcx*8]
cmp qword [rcx + 0x148], rbp
je 0x1801dbd13
mov edi, r15d
cmp rdi, qword [rsp + 0x60]
jae 0x1801dbc01
mov rax, rdi
shl rax, 4
add rax, qword [rsp + 0x50]
jmp 0x1801dbc04
mov rax, rbp
mov qword [rax], r12
cmp rdi, qword [rsp + 0x60]
jae 0x1801dbc1c
mov rax, rdi
shl rax, 4
add rax, qword [rsp + 0x50]
jmp 0x1801dbc1f
mov rax, rbp
mov dword [rax + 8], r14d
cmp rdi, qword [rsp + 0x60]
jae 0x1801dbc38
mov rax, rdi
shl rax, 4
add rax, qword [rsp + 0x50]
jmp 0x1801dbc3b
mov rax, rbp
mov byte [rax + 0xc], bpl
cmp rdi, qword [rsp + 0x60]
jae 0x1801dbc54
mov rax, rdi
shl rax, 4
add rax, qword [rsp + 0x50]
jmp 0x1801dbc57
mov rax, rbp
mov byte [rax + 0xd], bpl
cmp rdi, qword [rsp + 0x60]
jae 0x1801dbc70
mov rcx, rdi
shl rcx, 4
add rcx, qword [rsp + 0x50]
jmp 0x1801dbc73
mov rcx, rbp
call fcn.18019d260
mov rcx, rax
call fcn.18019c590
mov r12, rax
mov rcx, qword [rax + 0xa8]
test qword [rcx + 0x10], rbx
jne 0x1801dbd0b
mov rcx, qword [r13 + 0x10]
mov esi, ebp
test rcx, rcx
je 0x1801dbd0b
mov rbx, rbp
nop
cmp rbx, rcx
jae 0x1801dbcb2
mov rdx, rbx
shl rdx, 4
add rdx, qword [r13]
jmp 0x1801dbcb5
mov rdx, rbp
cmp rdi, qword [rsp + 0x60]
jae 0x1801dbcca
mov rcx, rdi
shl rcx, 4
add rcx, qword [rsp + 0x50]
jmp 0x1801dbccd
mov rcx, rbp
call fcn.18019d5f0
test al, al
je 0x1801dbcfe
cmp rbx, qword [r13 + 0x10]
jae 0x1801dbce6
shl rbx, 4
add rbx, qword [r13]
jmp 0x1801dbce9
mov rbx, rbp
mov rcx, rbx
call fcn.18019d260
mov rcx, rax
call fcn.18019c590
cmp r12, rax
je 0x1801dbd61
mov rcx, qword [r13 + 0x10]
inc esi
mov ebx, esi
cmp rbx, rcx
jb 0x1801dbca0
mov r12, qword [rsp + 0x40]
inc r15d
mov rsi, qword [rsp + 0x248]
inc r14d
movabs rbx, 0x200008000000
cmp r14d, dword [rsp + 0x250]
jb 0x1801dbb41
mov r14, qword [rsp + 0x200]
mov edi, r15d
mov r15, qword [rsp + 0x1f8]
cmp rdi, qword [rsp + 0x58]
jbe 0x1801dbd85
cmp byte [rsp + 0x69], bpl
jne 0x1801dbd68
mov ebx, 0x8007000e
jmp 0x1801dbe94
mov r12, qword [rsp + 0x40]
jmp 0x1801dbd13
lea rcx, [rsp + 0x50]
mov rdx, rdi
call fcn.1800f07e0
mov ebx, eax
test eax, eax
je 0x1801dbd85
test eax, eax
js 0x1801dbe94
jmp 0x1801dbd8a
mov qword [rsp + 0x60], rdi
mov r8d, dword [rsp + 0x60]
mov rdx, qword [rsp + 0x50]
lea rcx, [fcn.18019dc60]
xor r9d, r9d
call fcn.1801e9010
mov r11d, dword [rsi + 0x78]
and r11d, 0xfff00000
cmp r11d, 0x51f00000
je 0x1801dbe07
cmp r11d, 0x52000000
je 0x1801dbe07
cmp r11d, 0x80000000
je 0x1801dbe07
cmp r11d, 0xa0400000
ja 0x1801dbef1
cmp r11d, 0xa0400000
je 0x1801dbe07
cmp r11d, 0xa0000000
je 0x1801dbe07
cmp r11d, 0xa0100000
je 0x1801dbe07
cmp r11d, 0xa0200000
je 0x1801dbe07
cmp r11d, 0xa0300000
jne 0x1801dbf25
mov rax, qword [rsp + 0x258]
mov rdi, qword [rsp + 0x240]
mov r9, qword [rsp + 0x50]
mov r8, qword [rax + 0x10]
mov rdx, qword [rax]
lea rax, [r12 + 0x88]
mov qword [rsp + 0x38], rax
mov eax, dword [rsp + 0x60]
mov qword [rsp + 0x30], 0xffffffffffffffff
mov rcx, rdi
mov dword [rsp + 0x28], 1
mov dword [rsp + 0x20], eax
call fcn.1801dafb0
mov ebx, eax
test eax, eax
js 0x1801dbe94
mov r9, qword [rsp + 0x50]
mov r8d, dword [r13 + 0x10]
mov rdx, qword [r13]
lea rax, [r12 + 0x90]
mov rcx, rdi
mov qword [rsp + 0x38], rax
mov eax, dword [rsp + 0x60]
mov qword [rsp + 0x30], 0xffffffffffffffff
mov dword [rsp + 0x28], 2
mov dword [rsp + 0x20], eax
call fcn.1801dafb0
mov ebx, eax
mov r13, qword [rsp + 0x208]
mov r12, qword [rsp + 0x210]
mov rsi, qword [rsp + 0x218]
mov qword [rsp + 0x60], rbp
cmp byte [rsp + 0x68], bpl
je 0x1801dbee4
mov rdi, qword [rsp + 0x50]
test rdi, rdi
je 0x1801dbee4
mov ecx, dword [0x18025e63c]
test ecx, ecx
js 0x1801dbed5
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rbp, rax
mov rcx, qword [rbp]
mov r8, rdi
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov eax, ebx
add rsp, 0x220
pop rdi
pop rbp
pop rbx
ret
cmp r11d, 0xa0500000
je 0x1801dbe07
cmp r11d, 0xa0600000
je 0x1801dbe07
cmp r11d, 0xa0700000
je 0x1801dbe07
cmp r11d, 0xa0800000
je 0x1801dbe07
cmp r11d, 0xa0e00000
ja 0x1801dbf7e
cmp r11d, 0xa0e00000
je 0x1801dbe07
cmp r11d, 0xa0900000
je 0x1801dbe07
cmp r11d, 0xa0a00000
je 0x1801dbe07
cmp r11d, 0xa0b00000
je 0x1801dbe07
cmp r11d, 0xa0c00000
je 0x1801dbe07
cmp r11d, 0xa0d00000
je 0x1801dbe07
jmp 0x1801dbfb2
cmp r11d, 0xa0f00000
je 0x1801dbe07
cmp r11d, 0xa1000000
je 0x1801dbe07
cmp r11d, 0xa1100000
je 0x1801dbe07
cmp r11d, 0xa1200000
je 0x1801dbe07
cmp r11d, 0xa1300000
je 0x1801dbe07
cmp r11d, 0xa1400000
je 0x1801dbe07
cmp r11d, 0x51a00000
je 0x1801dbe07
cmp r11d, 0x51b00000
je 0x1801dbe07
cmp r11d, 0x51c00000
je 0x1801dbe07
cmp r11d, 0x70400000
je 0x1801dbe07
cmp r11d, 0x80200000
jne 0x1801dc08d
lea rcx, [r12 + 0x88]
call fcn.1801d7ad0
mov ebx, eax
test eax, eax
js 0x1801dbe94
mov rax, qword [rsp + 0x258]
mov rcx, qword [r12 + 0x88]
mov r8, qword [rax + 0x10]
mov rdx, qword [rax]
call fcn.1801e8f50
mov ebx, eax
test eax, eax
js 0x1801dbe94
mov r9, qword [rsp + 0x50]
mov r8d, dword [r13 + 0x10]
mov rdx, qword [r13]
mov rcx, qword [rsp + 0x240]
lea rax, [r12 + 0x90]
mov qword [rsp + 0x38], rax
mov eax, dword [rsp + 0x60]
mov qword [rsp + 0x30], 0xffffffffffffffff
mov dword [rsp + 0x28], ebp
mov dword [rsp + 0x20], eax
call fcn.1801dafb0
mov ebx, eax
jmp 0x1801dbe94
mov ebx, 0x80004005
jmp 0x1801dbe94