Function at 0x180170870
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r14
push r15
sub rsp, 0x80
mov rax, qword [0x18053d0c0]
xor rax, rsp
mov qword [rsp + 0x70], rax
xor esi, esi
lea rdx, str..._res_autotcn_tcn.package
mov rdi, rcx
mov qword [rsp + 0x60], rsi
xorps xmm0, xmm0
mov qword [rsp + 0x68], rsi
lea rcx, [rsp + 0x50]
lea r8d, [rsi + 0x1a]
movups xmmword [rsp + 0x50], xmm0
call fcn.1801411d0
cmp qword [rsp + 0x68], 0x10
lea r14, [rsp + 0x50]
mov rbp, qword [rsp + 0x60]
cmovae r14, qword [rsp + 0x50]
call fcn.1803e1bf0
movdqa xmm1, xmmword [0x180502a50]
xorps xmm0, xmm0
mov r15d, eax
movups xmmword [rsp + 0x30], xmm0
mov word [rsp + 0x30], si
movdqu xmmword [rsp + 0x40], xmm1
test rbp, rbp
je 0x180170973
cmp rbp, 0x7fffffff
ja 0x180170b4a
xor r9d, r9d
mov dword [rsp + 0x20], esi
mov r8d, ebp
mov rdx, r14
mov ecx, eax
call fcn.1803e1c18
mov rbx, rax
shr rax, 0x20
test eax, eax
jne 0x180170b50
xor r8d, r8d
movsxd rdx, ebx
lea rcx, [rsp + 0x30]
call fcn.1801523e0
cmp qword [rsp + 0x48], 8
lea r9, [rsp + 0x30]
mov r8d, ebp
mov dword [rsp + 0x20], ebx
cmovae r9, qword [rsp + 0x30]
mov rdx, r14
mov ecx, r15d
call fcn.1803e1c18
shr rax, 0x20
test eax, eax
jne 0x180170b58
lea rcx, [rsp + 0x30]
call fcn.180154830
mov rdx, qword [rsp + 0x48]
test al, al
sete bl
cmp rdx, 8
jb 0x1801709c4
mov rcx, qword [rsp + 0x30]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1801709bf
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180170b60
call fcn.1803e3270
mov rcx, rdi
test bl, bl
je 0x1801709dc
call fcn.1801abf80
mov ecx, 1
call qword [sym.imp.KERNEL32.dll_ExitProcess]
lea rdx, str.tcncore_metatable
call fcn.1801aaf80
xor r8d, r8d
xor edx, edx
mov rcx, rdi
call fcn.1801ab330
mov rax, qword [str.GetDllVersion]
test rax, rax
je 0x180170a4b
mov rbx, rsi
lea rbp, str.GetDllVersion
nop dword [rax + rax]
mov rdx, rax
mov rcx, rdi
call fcn.1801ab960
mov rdx, qword [rbx + rbp + 8]
xor r8d, r8d
mov rcx, rdi
call fcn.1801ab780
mov edx, 0xfffffffd
mov rcx, rdi
call fcn.1801abc70
inc rsi
mov rbx, rsi
shl rbx, 4
mov rax, qword [rbx + rbp]
test rax, rax
jne 0x180170a10
lea r8, str.__index
mov edx, 0xfffffffe
mov rcx, rdi
call fcn.1801abb40
lea rdx, str.__newindex
mov rcx, rdi
call fcn.1801ab960
xor r8d, r8d
lea rdx, [0x180170b70]
mov rcx, rdi
call fcn.1801ab780
mov edx, 0xfffffffd
mov rcx, rdi
call fcn.1801abc70
xor r8d, r8d
xor edx, edx
mov rcx, rdi
call fcn.1801ab330
lea r8, str.tcncore_metatable
mov edx, 0xffffd8f0
mov rcx, rdi
call fcn.1801ab550
mov edx, 0xfffffffe
mov rcx, rdi
call fcn.1801abbb0
mov edx, 0xffffffff
mov rcx, rdi
call fcn.1801aba00
lea r8, str.tcncore
mov edx, 0xffffd8ee
mov rcx, rdi
call fcn.1801abb40
mov rdx, qword [rsp + 0x68]
cmp rdx, 0x10
jb 0x180170b15
mov rcx, qword [rsp + 0x50]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x180170b10
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180170b44
call fcn.1803e3270
mov eax, 1
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.1803e3250
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rdi
ret
call fcn.1803ea6d4
int3
call fcn.180153d70
int3
mov ecx, eax
call fcn.180154020
int3
mov ecx, eax
call fcn.180154020
int3
call fcn.1803ea6d4
int3