Function at 0x140005440
Capabilities:
Extract resource via kernel32 functions
Terminate process

Disassembly:
mov r11, rsp
mov qword [r11 + 0x18], rbx
mov qword [r11 + 0x20], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0xe0
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0xd0], rax
xorps xmm0, xmm0
xor eax, eax
movups xmmword [r11 - 0x68], xmm0
mov qword [r11 - 0x58], rax
movsxd rax, ecx
lea r8, [rdx + rax*8]
add rdx, 8
lea rcx, [r11 - 0x68]
call fcn.140005a90
nop
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov r14, rax
movsxd rcx, dword [rax + 0x3c]
lea rsi, [rax + 0x108]
add rsi, rcx
movzx ebx, word [rcx + rax + 6]
sub ebx, 1
js 0x1400054d6
movsxd rcx, ebx
lea rax, [rcx + rcx*4]
lea rdi, [rsi + rax*8]
lea rdx, str..runluau
mov rcx, rdi
call sub.api_ms_win_crt_string_l1_1_0.dll_strcmp
test eax, eax
je 0x1400054ee
sub ebx, 1
jns 0x1400054b3
lea rcx, str.Failed_to_find_.runluau_section__n
call fcn.1400053e0
mov ecx, 0x570
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
mov ebx, dword [rdi + 0xc]
add rbx, r14
je 0x1400054d6
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rdi, rax
lea r8, [0x140008b5c]
mov edx, 0x65
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_FindResourceA]
mov rsi, rax
test rax, rax
je 0x140005982
jmp 0x140005551
mov rcx, qword [rsp + 0xd0]
xor rcx, rsp
call fcn.140006a00
lea r11, [rsp + 0xe0]
mov rbx, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
mov rdx, rsi
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov r14, rax
mov rdx, rsi
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, eax
test r14, r14
je 0x1400059ad
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_LockResource]
mov r15, qword [rbx]
add rbx, 8
mov r12, rbx
add rbx, r15
mov r14, qword [rbx]
add rbx, 8
mov r8, rdi
mov rdx, rax
lea rcx, str.luau.dll
call fcn.140002b20
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x88], xmm1
xor r13d, r13d
mov qword [rsp + 0x98], r13
mov esi, r13d
test r14, r14
je 0x14000570e
nop dword [rax]
xorps xmm0, xmm0
movups xmmword [rsp + 0x68], xmm0
mov rdx, r13
mov qword [rsp + 0x78], rdx
mov r8d, 0xf
mov qword [rsp + 0x80], r8
mov byte [rsp + 0x68], dl
movzx ecx, byte [rbx]
inc rbx
test cl, cl
je 0x14000564e
nop dword [rax]
cmp rdx, r8
jae 0x140005627
lea rax, [rdx + 1]
mov qword [rsp + 0x78], rax
lea rax, [rsp + 0x68]
cmp r8, 0xf
cmova rax, qword [rsp + 0x68]
mov byte [rax + rdx], cl
mov byte [rax + rdx + 1], 0
jmp 0x140005635
movzx r9d, cl
lea rcx, [rsp + 0x68]
call fcn.140004bc0
movzx ecx, byte [rbx]
inc rbx
mov r8, qword [rsp + 0x80]
test cl, cl
je 0x14000564e
mov rdx, qword [rsp + 0x78]
jmp 0x140005600
mov rdi, qword [rbx]
add rbx, 8
lea rcx, [rsp + 0x68]
cmp r8, 0xf
cmova rcx, qword [rsp + 0x68]
mov r8, rdi
mov rdx, rbx
call fcn.140002b20
lea rdx, str.register_library
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x20], rax
test rax, rax
je 0x140005805
mov rdx, qword [rsp + 0x90]
cmp rdx, qword [rsp + 0x98]
je 0x1400056ad
mov qword [rdx], rax
add qword [rsp + 0x90], 8
jmp 0x1400056bf
lea r8, [rsp + 0x20]
lea rcx, [rsp + 0x88]
call fcn.140005c90
add rbx, rdi
mov rdx, qword [rsp + 0x80]
cmp rdx, 0xf
jbe 0x140005702
inc rdx
mov rcx, qword [rsp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400056fd
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400057fe
call fcn.140006a64
inc rsi
cmp rsi, r14
jb 0x1400055d0
call qword [sym.imp.luau.dll_struct_lua_State____ptr64___cdecl_luau::create_state_void_]
mov rsi, rax
mov rdi, qword [rsp + 0x90]
mov rbx, qword [rsp + 0x88]
cmp rbx, rdi
je 0x140005741
nop dword [rax]
mov rdx, qword [rbx]
mov rcx, rsi
call rdx
add rbx, 8
cmp rbx, rdi
jne 0x140005730
mov rcx, rsi
call qword [sym.imp.luau.dll_luaL_sandbox]
mov rcx, rsi
call qword [sym.imp.luau.dll_struct_lua_State____ptr64___cdecl_luau::create_thread_struct_lua_State____ptr64_]
mov r14, rax
lea rax, [rsp + 0x68]
mov qword [rsp + 0x20], rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x68], xmm0
mov qword [rsp + 0x78], r13
mov qword [rsp + 0x80], r13
mov r8d, 7
lea rdx, str.runluau
lea rcx, [rsp + 0x68]
call fcn.140004900
nop
xorps xmm0, xmm0
movups xmmword [rsp + 0x28], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x38], xmm1
mov r8, r15
mov rdx, r12
lea rcx, [rsp + 0x28]
call fcn.140004900
nop
lea r8, [rsp + 0x68]
lea rdx, [rsp + 0x28]
mov rcx, r14
call qword [sym.imp.luau.dll_void___cdecl_luau::load_and_handle_status_struct_lua_State____ptr64__class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const____ptr64__class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___]
nop
mov rdx, qword [rsp + 0x40]
cmp rdx, 0xf
jbe 0x140005830
inc rdx
mov rcx, qword [rsp + 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000582a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000582a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
lea rcx, [rsp + 0x68]
call fcn.140003ba0
mov rdx, rax
lea rcx, str.Plugin___s__has_no__register_library__export_n
call fcn.1400053e0
mov ecx, 0x570
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
nop
call fcn.140006a64
nop
mov rdi, qword [rsp + 0xa8]
mov rbx, qword [rsp + 0xa0]
cmp rbx, rdi
je 0x140005878
mov rdx, rbx
cmp qword [rbx + 0x18], 0xf
jbe 0x140005852
mov rdx, qword [rbx]
mov r8, qword [rbx + 0x10]
mov rcx, r14
call qword [sym.imp.luau.dll_lua_pushlstring]
add rbx, 0x20
cmp rbx, rdi
jne 0x140005845
mov rdi, qword [rsp + 0xa8]
mov rbx, qword [rsp + 0xa0]
lea rax, vtable.std::_Func_impl_no_alloc_class_luau::_lambda_2____void___.0
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x28]
mov qword [rsp + 0x60], rax
sub rdi, rbx
sar rdi, 5
lea r9, [rsp + 0x28]
mov r8d, edi
xor edx, edx
mov rcx, r14
call qword [sym.imp.luau.dll_void___cdecl_luau::add_thread_to_resume_queue_struct_lua_State____ptr64__struct_lua_State____ptr64__int__class_std::function_void____cdecl___void___]
call qword [sym.imp.luau.dll_void___cdecl_luau::start_scheduler_void_]
mov rcx, rsi
call qword [sym.imp.luau.dll_lua_close]
nop
mov rcx, qword [rsp + 0x88]
test rcx, rcx
je 0x14000591d
mov rax, qword [rsp + 0x98]
sub rax, rcx
sar rax, 3
lea rdx, [rax*8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140005904
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140005904
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140006a64
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x88], xmm0
mov qword [rsp + 0x98], r13
mov rcx, qword [rsp + 0xa0]
test rcx, rcx
je 0x14000597b
mov rdx, qword [rsp + 0xa8]
call fcn.140005c00
mov rdx, qword [rsp + 0xb0]
mov rcx, qword [rsp + 0xa0]
sub rdx, rcx
and rdx, 0xffffffffffffffe0
mov rax, rcx
cmp rdx, 0x1000
jb 0x140005976
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140005976
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140006a64
xor eax, eax
jmp 0x140005524
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.Failed_to_FindResourceA__0x_.8X__n
mov edx, eax
mov ebx, eax
call fcn.1400053e0
nop
lea rcx, [rsp + 0xa0]
call fcn.140005a20
mov eax, ebx
jmp 0x140005524
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.Failed_to_LoadResource__0x_.8X__n
jmp 0x14000598f