Function at 0x1800af600
Capabilities:
Allocate thread local storage

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x30]
sub rsp, 0x130
mov rax, qword [0x180183c70]
xor rax, rsp
mov qword [rbp + 0x28], rax
mov rbx, qword [rbp + 0x90]
lea r15d, [rcx + 0x818]
mov r10, r9
mov qword [rsp + 0x70], r9
mov r9, rdx
mov qword [rbp - 0x58], rdx
mov rdx, qword [rbp + 0x98]
xor r11d, r11d
mov qword [rbp - 0x60], rdx
mov esi, ecx
mov qword [rsp + 0x68], r8
mov r14d, ecx
mov dword [rsp + 0x60], ecx
mov qword [rbp - 0x68], rbx
cmp ecx, r15d
jae 0x1800afa4a
mov eax, dword [rsp + 0x50]
lea r9, [0x180000000]
mov r13, qword [rbp - 0x78]
lea edx, [r11 + 0x41]
mov r12, qword [rbp - 0x78]
mov rdi, qword [rbp - 0x78]
mov dword [rsp + 0x40], eax
nop
cmp r14d, 0x110
ja 0x1800af791
je 0x1800af76e
lea eax, [r14 - 0x2c]
cmp eax, 0xc2
ja case.0x1800af6c6.51
movzx eax, byte [r9 + rax + 0xafd48]
mov ecx, dword [r9 + rax*4 + 0xafd28]
add rcx, r9
jmp rcx
mov rax, qword [rbx]
mov ecx, dword [rax + 0x18]
shr ecx, 1
not ecx
and ecx, 1
mov dword [rbp - 0x80], ecx
jmp case.0x1800af6c6.51
mov edx, 0x40
cmp edx, 0x40
je 0x1800af6f5
cmp edx, 0x2980
je case.0x1800af6c6.48
jmp 0x1800af70a
movsxd rcx, dword [rbx]
mov eax, r11d
cmp byte [r9 + rcx*2 + 0x1845b0], 2
sete al
mov dword [rbp - 0x80], eax
add edx, 0x2940
cmp edx, 0x5280
jbe 0x1800af6e2
jmp 0x1800af7b4
mov r13, qword [r10 + 8]
mov r12, qword [r10 + 0x10]
jmp case.0x1800af6c6.51
cmp qword [r10], 0
jne 0x1800af7d4
call qword [sym.imp.KERNEL32.dll_TlsAlloc]
mov dword [rbx], eax
jmp 0x1800af9b7
mov word [rbp - 8], dx
lea rcx, [rbp - 7]
lea rdx, str.djustWindow
mov r8d, 0xc
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncpy]
jmp 0x1800af9b7
mov ecx, dword [r10 + 0xc]
mov dword [rsp + 0x40], ecx
jmp 0x1800af9d4
mov eax, dword [str.Rect]
mov dword [rbp + 4], eax
movzx eax, word [0x18016662c]
mov word [rbp + 8], ax
movzx eax, byte [0x18016662e]
mov byte [rbp + 0xa], al
jmp case.0x1800af6c6.51
cmp r14d, 0x216
ja 0x1800af811
je 0x1800af805
mov eax, r14d
sub eax, 0x14b
je 0x1800af7dd
sub eax, 0x37
je 0x1800af7cb
cmp eax, 0x5d
jne case.0x1800af6c6.51
mov r8d, 0xcc
lea rcx, [rbp - 0x30]
mov rdx, r12
call fcn.180154900
jmp 0x1800af9b7
cmp dword [rbx], 0xffffffff
jne case.0x1800af6c6.51
mov dword [rbp - 0x80], r11d
jmp case.0x1800af6c6.48
lea r9, [rbp - 0x50]
mov dword [rsp + 0x50], 0x200
lea r8, [rsp + 0x50]
mov qword [rsp + 0x20], r11
mov edx, 0x6c
mov rcx, r13
call fcn.1800ff6c0
jmp 0x1800af9b7
mov dword [rbp - 0x80], 1
jmp case.0x1800af6c6.51
cmp r14d, 0x273
je 0x1800af8b2
cmp r14d, 0x307
jne case.0x1800af6c6.51
cmp byte [rbp - 0x50], 1
jne 0x1800af859
mov byte [rdi + 0x2a], 1
xor r8d, r8d
mov r9, qword [0x1801d4e90]
mov ecx, 0x95
mov rdx, qword [rbp - 0x48]
call fcn.18012ddd0
mov dword [rdi + 0x10], eax
mov qword [rbp - 0x80], rdi
jmp 0x1800af9b7
mov ebx, 1
nop
cmp ebx, 1
jne 0x1800af89b
movzx eax, byte [rbp - 0x50]
mov byte [rdi + 0x2a], al
cmp byte [rbp - 0x50], bl
jne 0x1800af893
mov r9, qword [0x1801d4e90]
lea rdx, [rbp - 0x48]
xor r8d, r8d
mov dword [rsp + 0x20], 0x55
xor ecx, ecx
call fcn.180075f40
mov dword [rdi + 0x10], eax
jmp 0x1800af89b
mov rax, qword [rbp - 0x48]
mov qword [rdi + 0x10], rax
add ebx, 0xb2
cmp ebx, 0xb3
jb 0x1800af860
mov qword [rbp - 0x80], rdi
jmp 0x1800af9b7
cmp dword [r8], 0
je 0x1800af8e7
mov qword [rsp + 0x30], r11
lea rax, [rsp + 0x58]
mov qword [rsp + 0x28], rax
lea rcx, [rbp - 0x30]
mov r9d, 0xb7
mov qword [rsp + 0x20], r11
mov r8, rbx
mov byte [rsp + 0x58], 0xad
xor edx, edx
call fcn.180008a00
jmp 0x1800af907
lea r9, [rsp + 0x48]
mov byte [rsp + 0x48], 0xad
lea r8, [rbp - 0x30]
mov qword [rsp + 0x20], r11
mov edx, 0x91
mov rcx, rbx
call fcn.1800e9650
cmp byte [rax + 0x29], 1
mov rdi, rax
jne 0x1800af9b7
mov ebx, 0xf4
nop dword [rax]
cmp ebx, 0xf4
je 0x1800af957
cmp ebx, 0x19e
jne 0x1800af9a5
mov eax, dword [rdi + 8]
lea rdx, [rsp + 0x50]
xor r9d, r9d
mov dword [rsp + 0x50], eax
xor r8d, r8d
mov qword [rsp + 0x20], 0
mov ecx, 0x8e
call fcn.180027f00
jmp 0x1800af9a5
mov rax, qword [0x1801d4e90]
mov r9d, 0x2f
mov ecx, dword [rdi + 8]
xor r8d, r8d
shl rcx, 4
xor edx, edx
add rcx, qword [rax + 0x98]
call fcn.1800aa6a0
cmp al, 6
je 0x1800af9a5
mov rax, qword [0x1801d4e90]
xor edx, edx
mov r9d, dword [rdi + 8]
xor ecx, ecx
shl r9, 4
mov r8d, 0xff
add r9, qword [rax + 0x98]
call fcn.1800d8970
add ebx, 0xaa
cmp ebx, 0x248
jb 0x1800af920
mov r8, qword [rsp + 0x68]
lea r9, [0x180000000]
mov r10, qword [rsp + 0x70]
mov edx, 0x41
xor r11d, r11d
mov ecx, dword [rsp + 0x40]
mov rbx, qword [rbp - 0x68]
add r14d, 0x94
cmp r14d, r15d
jb 0x1800af690
mov rdx, qword [rbp - 0x60]
mov r9, qword [rbp - 0x58]
lea edi, [rsi + 0xb04]
mov dword [rsp + 0x78], edi
cmp esi, edi
jae case.0x1800af6c6.48
mov r13d, dword [rsp + 0x78]
mov r14, qword [rbp - 0x78]
mov r12d, dword [rsp + 0x78]
cmp esi, 0x260
ja 0x1800afb07
je 0x1800afaff
cmp esi, 0xee
ja 0x1800afa7f
je case.0x1800af6c6.48
mov eax, esi
sub eax, 0x2c
je 0x1800afa72
sub eax, 0x50
je 0x1800afa54
cmp eax, 0x3b
je case.0x1800af6c6.48
jmp 0x1800afcd1
mov ecx, dword [rsp + 0x50]
mov dword [rsp + 0x40], ecx
jmp 0x1800af9f0
mov eax, dword [0x180166730]
mov dword [rbp + 0x10], eax
movzx eax, word [0x180166734]
mov word [rbp + 0x14], ax
mov word [rbp + 0x16], r11w
jmp 0x1800afcd1
mov r13d, dword [r10 + 0x10]
mov r12d, dword [r10 + 8]
jmp 0x1800afcd1
mov eax, esi
sub eax, 0x138
je 0x1800afae2
sub eax, 0x6c
je 0x1800afaa0
cmp eax, 0x50
jne 0x1800afcd1
mov word [rbp + 0x20], r11w
jmp 0x1800afcd1
lea rax, [rbp - 0x38]
mov dword [rsp + 0x60], ecx
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x50]
mov r8, rbx
mov dword [rsp + 0x20], 0x82
lea rdx, [rsp + 0x60]
mov dword [rbp - 0x38], 1
lea rcx, [rsp + 0x48]
mov dword [rsp + 0x50], r13d
mov byte [rsp + 0x48], 9
call fcn.1800afe10
jmp 0x1800afccd
movsd xmm0, qword [0x180166654]
movzx eax, word [0x18016665c]
movsd qword [rbp + 0x16], xmm0
mov word [rbp + 0x1e], ax
jmp 0x1800afcd1
mov r14, qword [rbx]
jmp 0x1800afcd1
cmp esi, 0x428
ja 0x1800afc8f
je 0x1800afc79
mov eax, esi
sub eax, 0x2b0
je 0x1800afc60
sub eax, 0x6c
je 0x1800afb53
cmp eax, 0x50
jne 0x1800afcd1
mov r9d, 0x110
lea rdx, [rbp - 8]
xor r8d, r8d
lea rcx, [rbp + 0x10]
call fcn.18002fce0
mov qword [rbp - 0x78], rax
jmp 0x1800afccd
mov rdx, qword [r10]
lea r9, [rsp + 0x50]
mov dword [rsp + 0x50], ecx
lea r8, [rbp - 0x70]
mov rcx, r14
mov dword [rbp - 0x70], r13d
mov dword [rsp + 0x20], 0xac
call fcn.18006b350
xor eax, eax
mov ebx, eax
test r12d, r12d
jle 0x1800afbb6
cmp r12d, 4
jb 0x1800afbb6
mov ecx, r12d
and ecx, 0x80000003
jge 0x1800afb98
dec ecx
or ecx, 0xfffffffc
inc ecx
mov eax, r12d
sub eax, ecx
movsxd rcx, eax
movups xmm0, xmmword [r14 + rbx*4]
sqrtps xmm1, xmm0
movups xmmword [r14 + rbx*4], xmm1
add rbx, 4
cmp rbx, rcx
jl 0x1800afba0
movsxd r15, r12d
cmp rbx, r15
jge 0x1800afccd
mov rax, r15
sub rax, rbx
cmp rax, 4
jl 0x1800afc3c
lea rdi, [rbx + 2]
mov rsi, r15
sub rsi, rbx
lea rdi, [r14 + rdi*4]
sub rsi, 4
shr rsi, 2
inc rsi
lea rbx, [rbx + rsi*4]
nop dword [rax + rax]
movss xmm0, dword [rdi - 8]
call sub.api_ms_win_crt_math_l1_1_0.dll_sqrtf
movss dword [rdi - 8], xmm0
movss xmm0, dword [rdi - 4]
call sub.api_ms_win_crt_math_l1_1_0.dll_sqrtf
movss dword [rdi - 4], xmm0
movss xmm0, dword [rdi]
call sub.api_ms_win_crt_math_l1_1_0.dll_sqrtf
movss dword [rdi], xmm0
movss xmm0, dword [rdi + 4]
call sub.api_ms_win_crt_math_l1_1_0.dll_sqrtf
movss dword [rdi + 4], xmm0
lea rdi, [rdi + 0x10]
sub rsi, 1
jne 0x1800afbf0
mov edi, dword [rsp + 0x78]
mov esi, dword [rsp + 0x60]
cmp rbx, r15
jge 0x1800afccd
movss xmm0, dword [r14 + rbx*4]
call sub.api_ms_win_crt_math_l1_1_0.dll_sqrtf
movss dword [r14 + rbx*4], xmm0
inc rbx
cmp rbx, r15
jl 0x1800afc45
jmp 0x1800afccd
mov r8d, 2
lea rdx, str.llvm.hexagon.V6.vroundhb.128B
lea rcx, [rbp + 0x10]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsncat]
jmp 0x1800afccd
mov eax, dword [r10]
mov dword [rbp - 0x10], eax
mov eax, dword [r9]
mov dword [rbp - 0xc], eax
mov qword [rbp - 0x18], 0
jmp 0x1800afcd1
cmp esi, 0x4e4
je 0x1800afca9
cmp esi, 0x5a0
jne 0x1800afcd1
mov eax, dword [rbp - 0xc]
sub eax, dword [rbp - 0x14]
mov dword [rdx], eax
jmp 0x1800afcd1
mov r9d, dword [rbx + 0x254]
lea rcx, [rbp - 0x18]
mov edx, dword [rbx + 0x250]
xor r8d, r8d
call qword [rbp - 0x78]
mov rcx, qword [rsp + 0x68]
mov eax, dword [rbp - 0x10]
sub eax, dword [rbp - 0x18]
mov dword [rcx], eax
mov ecx, dword [rsp + 0x40]
mov rbx, qword [rbp - 0x68]
add esi, 0xbc
mov r10, qword [rsp + 0x70]
mov r11d, 0
mov rdx, qword [rbp - 0x60]
mov r9, qword [rbp - 0x58]
mov dword [rsp + 0x60], esi
cmp esi, edi
jb 0x1800afa10
mov rax, qword [rbp - 0x80]
mov rcx, qword [rbp + 0x28]
xor rcx, rsp
call fcn.18015c4c0
mov rbx, qword [rsp + 0x170]
add rsp, 0x130
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret