Function at 0x1800196e0
Capabilities:
Create thread

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r14
push rbp
lea rbp, [rax - 0x5f]
sub rsp, 0xa0
movaps xmmword [rax - 0x18], xmm6
movaps xmmword [rax - 0x28], xmm7
movaps xmmword [rax - 0x38], xmm8
mov rax, qword [0x1800e2010]
xor rax, rsp
mov qword [rbp + 0x17], rax
xor edi, edi
mov rsi, qword [0x1801045f0]
lea rcx, [0x180080bd8]
call fcn.18000ab00
mov rcx, qword [0x1801045f0]
mov rax, qword [rcx + 0x1a50]
mov byte [rax + 0x80], 1
mov rax, qword [rcx + 0x1a50]
mov rcx, qword [rax + 0x1e8]
test rcx, rcx
je 0x180019768
cmp dword [rcx + 0x10], 1
jne 0x180019763
cmp dword [rcx + 4], 1
je 0x180019768
call fcn.1800552a0
call fcn.18006c440
movss xmm7, dword [0x1800d4b8c]
movaps xmm1, xmm7
movss xmm8, dword [0x1800d4a64]
movaps xmm0, xmm8
call fcn.180050630
mov dword [rbp + 7], 0x44038000
movss xmm5, dword [0x1800d4b24]
movss dword [rbp + 0xb], xmm5
mov rbx, qword [0x1801045f0]
mov rax, qword [rbx + 0x1a50]
mov byte [rax + 0x80], 1
mov rax, qword [rbx + 0x1a50]
movsxd rcx, dword [rax + 0x1f0]
mov rax, qword [rax + 0x1f8]
mov r8d, dword [rax + rcx*4 - 4]
xor edx, edx
lea rcx, str.Lua_Executor
call fcn.180033c10
cmp dword [rbx + 0x1a7c], eax
jne 0x1800197e9
mov dword [rbx + 0x1a84], eax
cmp dword [rbx + 0x1a80], eax
jne 0x1800197f8
mov byte [rbx + 0x1a90], 1
mov r9b, 1
lea r8, [rbp + 7]
mov edx, eax
lea rcx, str.Lua_Executor
call fcn.180038d20
mov dword [rsi + 0x1594], 0x40800000
mov dword [rsi + 0x1598], 0x40000000
mov dword [rsi + 0x1554], 0x40800000
mov dword [rsi + 0x1558], 0x40800000
mov r8, qword [0x1801045f0]
mov rax, qword [r8 + 0x1a50]
mov byte [rax + 0x80], 1
mov rax, qword [r8 + 0x1a50]
cmp byte [rax + 0x83], dil
jne 0x18001987d
mov dword [rbp + 7], edi
movss xmm0, dword [0x1800d4a3c]
movss dword [rbp + 0xb], xmm0
xorps xmm1, xmm1
lea rcx, [rbp + 7]
call fcn.180035ff0
mov r8, qword [0x1801045f0]
movaps xmm1, xmm7
movss xmm0, dword [0x1800d4a2c]
call fcn.180050630
movaps xmm0, xmmword [0x1800d4ee0]
movups xmmword [r8 + 0x1688], xmm0
mov rax, qword [r8 + 0x1a50]
mov byte [rax + 0x80], 1
mov rax, qword [r8 + 0x1a50]
cmp byte [rax + 0x83], dil
jne 0x1800198ca
mov qword [rbp + 7], rdi
xorps xmm1, xmm1
lea rcx, [rbp + 7]
call fcn.180035ff0
call fcn.18006c440
call fcn.18006c440
movaps xmm1, xmm7
movaps xmm0, xmm8
call fcn.180050630
movss xmm6, dword [0x1800d4ad8]
movaps xmm0, xmm6
call fcn.18004f850
movss xmm0, dword [0x1800d4b20]
movss dword [rbp + 7], xmm0
movss xmm1, dword [0x1800d4b14]
movss dword [rbp + 0xb], xmm1
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x30], rdi
mov dword [rsp + 0x28], 0x100400
lea rax, [rbp + 7]
mov qword [rsp + 0x20], rax
mov r9d, 0x1fffe
lea rbx, [0x1800e44a0]
mov r8, rbx
xor edx, edx
lea rcx, str.Script_input
call fcn.180071c40
mov r8, qword [0x1801045f0]
mov rax, qword [r8 + 0x1a50]
mov byte [rax + 0x80], 1
mov rdx, qword [r8 + 0x1a50]
sub dword [rdx + 0x1a0], 1
jne 0x180019972
movss xmm0, dword [rdx + 0x254]
jmp 0x180019986
movsxd rcx, dword [rdx + 0x1a0]
mov rax, qword [rdx + 0x1a8]
movss xmm0, dword [rax + rcx*4 - 4]
movss dword [rdx + 0x184], xmm0
mov rax, qword [r8 + 0x1a50]
mov byte [rax + 0x80], 1
mov rax, qword [r8 + 0x1a50]
cmp byte [rax + 0x83], dil
jne 0x1800199bc
mov qword [rbp + 7], rdi
xorps xmm1, xmm1
lea rcx, [rbp + 7]
call fcn.180035ff0
call fcn.18006c440
call fcn.18006c440
movaps xmm1, xmm7
movaps xmm0, xmm8
call fcn.180050630
movaps xmm0, xmm6
call fcn.18004f850
mov qword [rbp + 7], 0x431e0000
lea rdx, [rbp + 7]
lea rcx, str.Execute_script
call fcn.180069800
movzx r9d, al
mov rdx, qword [0x1801045f0]
mov rcx, qword [rdx + 0x1a50]
mov byte [rcx + 0x80], 1
mov r8, qword [rdx + 0x1a50]
sub dword [r8 + 0x1a0], 1
jne 0x180019a27
movss xmm0, dword [r8 + 0x254]
jmp 0x180019a3b
movsxd rcx, dword [r8 + 0x1a0]
mov rax, qword [r8 + 0x1a8]
movss xmm0, dword [rax + rcx*4 - 4]
movss dword [r8 + 0x184], xmm0
test r9b, r9b
je 0x180019ad1
mov ecx, 0x10
call fcn.18007b948
mov qword [rax], rbx
lea rcx, [0x1800151b0]
mov qword [rax + 8], rcx
mov qword [rbp + 7], rax
lea rcx, [rbp - 1]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], edi
mov r9, rax
lea r8, [0x180031600]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rbp - 9], rax
test rax, rax
je 0x180019b31
cmp dword [rbp - 1], 0
jne 0x180019aa9
mov ecx, 1
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
movaps xmm0, xmmword [rbp - 9]
movdqa xmmword [rbp + 7], xmm0
lea rcx, [rbp + 7]
call qword [sym.imp.MSVCP140.dll__Thrd_detach]
test eax, eax
je 0x180019ac9
mov ecx, eax
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_C_error_int_]
int3
xorps xmm0, xmm0
movdqa xmmword [rbp - 9], xmm0
movaps xmm1, xmm7
xorps xmm0, xmm0
call fcn.180050630
movaps xmm0, xmm6
call fcn.18004f850
mov qword [rbp + 7], 0x431e0000
lea rdx, [rbp + 7]
lea rcx, str.Load_from_file
call fcn.180069800
movzx r9d, al
mov rdx, qword [0x1801045f0]
mov rcx, qword [rdx + 0x1a50]
mov byte [rcx + 0x80], 1
mov r8, qword [rdx + 0x1a50]
sub dword [r8 + 0x1a0], 1
jne 0x180019b40
movss xmm0, dword [r8 + 0x254]
jmp 0x180019b54
mov dword [rbp - 1], edi
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
movsxd rcx, dword [r8 + 0x1a0]
mov rax, qword [r8 + 0x1a8]
movss xmm0, dword [rax + rcx*4 - 4]
movss dword [r8 + 0x184], xmm0
test r9b, r9b
je 0x180019bda
mov ecx, 8
call fcn.18007b948
lea rcx, [0x180015270]
mov qword [rax], rcx
mov qword [rbp + 7], rax
lea rcx, [rbp - 1]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], edi
mov r9, rax
lea r8, [0x180031630]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rbp - 9], rax
test rax, rax
je 0x180019d17
cmp dword [rbp - 1], 0
jne 0x180019bba
mov ecx, 1
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
movaps xmm0, xmmword [rbp - 9]
movdqa xmmword [rbp + 7], xmm0
lea rcx, [rbp + 7]
call qword [sym.imp.MSVCP140.dll__Thrd_detach]
test eax, eax
je 0x180019bda
mov ecx, eax
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_C_error_int_]
nop
movaps xmm1, xmm7
movss xmm0, dword [0x1800d4b0c]
call fcn.180050630
movaps xmm0, xmm6
call fcn.18004f850
mov rcx, qword [0x1801045f0]
mov rax, qword [rcx + 0x1a50]
movss xmm0, dword [rax + 0xd4]
subss xmm0, dword [rax + 0x14]
addss xmm0, dword [rax + 0x60]
addss xmm0, dword [0x1800d4a20]
mov byte [rax + 0x80], 1
mov rax, qword [rcx + 0x1a50]
movss xmm1, dword [rax + 0x14]
subss xmm1, dword [rax + 0x60]
addss xmm1, xmm0
movss dword [rax + 0xd4], xmm1
movss xmm0, dword [rax + 0xec]
maxss xmm0, xmm1
movss dword [rax + 0xec], xmm0
mov rdx, rdi
lea rsi, str.Client
movsxd rax, dword [0x1800e4364]
cmp eax, 1
ja 0x180019c6c
mov rdx, qword [rsi + rax*8]
lea rcx, str.Lua_State
call fcn.18006c900
test al, al
je 0x180019ce8
mov qword [rbp + 7], 0
mov r14, rdi
mov rcx, r14
call fcn.18004fff0
cmp edi, dword [0x1800e4364]
sete bl
mov rcx, qword [rsi]
lea r9, [rbp + 7]
movzx edx, bl
call fcn.1800777c0
mov ecx, dword [0x1800e4364]
test al, al
cmovne ecx, edi
mov dword [0x1800e4364], ecx
test bl, bl
je 0x180019cc1
call fcn.18004fdc0
mov rax, qword [0x1801045f0]
mov rcx, qword [rax + 0x1a50]
dec dword [rcx + 0x1f0]
inc edi
inc r14
add rsi, 8
cmp edi, 2
jl 0x180019c87
call fcn.180050ff0
mov rcx, qword [0x1801045f0]
mov rax, qword [rcx + 0x1a50]
mov byte [rax + 0x80], 1
mov rdx, qword [rcx + 0x1a50]
sub dword [rdx + 0x1a0], 1
jne 0x180019d26
movss xmm0, dword [rdx + 0x254]
jmp 0x180019d3a
mov dword [rbp - 1], edi
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
movsxd rcx, dword [rdx + 0x1a0]
mov rax, qword [rdx + 0x1a8]
movss xmm0, dword [rax + rcx*4 - 4]
movss dword [rdx + 0x184], xmm0
call fcn.180039090
movaps xmm1, xmm7
movaps xmm0, xmm8
call fcn.180050630
mov dword [rbp + 7], 0x44038000
movss xmm4, dword [0x1800d4a44]
movss dword [rbp + 0xb], xmm4
mov rbx, qword [0x1801045f0]
mov rax, qword [rbx + 0x1a50]
mov byte [rax + 0x80], 1
mov rax, qword [rbx + 0x1a50]
movsxd rcx, dword [rax + 0x1f0]
mov rax, qword [rax + 0x1f8]
mov r8d, dword [rax + rcx*4 - 4]
xor edx, edx
lea rcx, str.Lua_Executor_Cover
call fcn.180033c10
cmp dword [rbx + 0x1a7c], eax
jne 0x180019db2
mov dword [rbx + 0x1a84], eax
cmp dword [rbx + 0x1a80], eax
jne 0x180019dc1
mov byte [rbx + 0x1a90], 1
lea r9, [rbp + 7]
mov r8d, eax
lea rdx, str.Lua_Executor
lea rcx, str.Lua_Executor_Cover
call fcn.1800396e0
call fcn.180039970
mov rcx, qword [rbp + 0x17]
xor rcx, rsp
call fcn.18007b690
lea r11, [rsp + 0xa0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r14, qword [r11 + 0x28]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
movaps xmm8, xmmword [r11 - 0x30]
mov rsp, r11
pop rbp
ret