Function at 0x140017d98
Capabilities:
Execute command
Set console window title

Disassembly:
jmp 0x14002a900
push rbp
push rsi
push rdi
sub rsp, 0x290
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, 0x6c
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rax, qword [0x1401d0080]
xor rax, rbp
mov qword [rbp + 0x268], rax
lea rcx, reloc.d2d1.dll_Ordinal_1
call fcn.140018428
nop
lea rcx, str.BLUEFIRE1337s_Realm_Royale_Cheat
call qword [sym.imp.KERNEL32.dll_SetConsoleTitleA]
nop
lea rcx, [0x140018086]
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
nop
lea rcx, str.sc_stop_mhyprot2
call qword [sym.imp.ucrtbased.dll_system]
nop
lea rcx, [0x14004eee4]
call qword [sym.imp.ucrtbased.dll_system]
nop
lea rax, str.Realm.exe
mov qword [rbp + 8], rax
mov rcx, qword [rbp + 8]
call fcn.140017dc5
mov qword [rbp + 0x28], rax
cmp qword [rbp + 0x28], 0
jne 0x14002a9b1
mov rdx, qword [rbp + 8]
lea rcx, str.____process___s_was_not_found_n
call fcn.140017988
nop
mov eax, 0xffffffff
jmp 0x14002ab9d
mov r8, qword [rbp + 0x28]
mov rdx, qword [rbp + 8]
lea rcx, str.____s___d__n
call fcn.140017988
nop
call fcn.140017320
movzx eax, al
test eax, eax
jne 0x14002a9e9
lea rcx, str.____failed_to_initialize_vulnerable_driver_n
call fcn.140017988
nop
mov eax, 0xffffffff
jmp 0x14002ab9d
xor edx, edx
xor ecx, ecx
call fcn.14001824d
movzx eax, al
test eax, eax
jne 0x14002aa16
lea rcx, str.____failed_to_initialize_driver_properly_n
call fcn.140017988
nop
call fcn.140018400
nop
mov eax, 0xffffffff
jmp 0x14002ab9d
mov ecx, dword [rbp + 0x28]
call fcn.1400171fe
mov qword [0x1401d0948], rax
cmp qword [0x1401d0948], 0
jne 0x14002aa4c
lea rcx, str.____failed_to_get_baseadress_n
call fcn.140017988
nop
call fcn.140018400
nop
mov eax, 0xffffffff
jmp 0x14002ab9d
mov rdx, qword [0x1401d0948]
lea rcx, [rbp + 0x218]
call fcn.140017cb2
lea rcx, [rbp + 0x50]
mov rdi, rcx
mov rsi, rax
mov ecx, 0x40
rep movsb byte [rdi], byte [rsi]
movzx eax, word [rbp + 0x50]
mov edx, eax
lea rcx, str.___Game_header_Magic_is_0x_llX_n
call fcn.140017988
nop
movzx eax, word [rbp + 0x50]
cmp eax, 0x5a4d
je 0x14002aa9b
lea rcx, str.____Game_header_Magic_should_be_0x5A4D_n
call fcn.140017988
nop
call qword [sym.imp.USER32.dll_GetDesktopWindow]
mov qword [rbp + 0xd8], rax
lea rdx, [rbp + 0xa8]
mov rcx, qword [rbp + 0xd8]
call qword [sym.imp.USER32.dll_GetWindowRect]
nop
mov rcx, qword [rbp + 0xd8]
call qword [sym.imp.USER32.dll_GetDC]
mov qword [rbp + 0xf8], rax
mov edx, 0xa
mov rcx, qword [rbp + 0xf8]
call qword [sym.imp.GDI32.dll_GetDeviceCaps]
mov dword [rbp + 0x114], eax
mov edx, 0x75
mov rcx, qword [rbp + 0xf8]
call qword [sym.imp.GDI32.dll_GetDeviceCaps]
mov dword [rbp + 0x134], eax
mov eax, dword [rbp + 0xa8]
mov ecx, dword [rbp + 0xb0]
sub ecx, eax
mov eax, ecx
imul eax, dword [rbp + 0x134]
cdq
idiv dword [rbp + 0x114]
mov dword [0x1401d161c], eax
mov eax, dword [rbp + 0xac]
mov ecx, dword [rbp + 0xb4]
sub ecx, eax
mov eax, ecx
imul eax, dword [rbp + 0x134]
cdq
idiv dword [rbp + 0x114]
mov dword [0x1401d1618], eax
cvtsi2ss xmm0, dword [0x1401d161c]
divss xmm0, dword [0x14004f140]
movss dword [0x1401d0910], xmm0
cvtsi2ss xmm0, dword [0x1401d1618]
divss xmm0, dword [0x14004f140]
movss dword [0x1401d0914], xmm0
call fcn.140018063
nop
mov qword [0x1401d0958], 0
mov rcx, qword [0x1401d0958]
call fcn.1400288a0
nop
jmp 0x14002ab9b
xor eax, eax
mov rdi, rax
lea rcx, [rbp - 0x20]
lea rdx, [0x14004e3e0]
call fcn.14001807c
mov rax, rdi
mov rcx, qword [rbp + 0x268]
xor rcx, rbp
call fcn.1400179c9
lea rsp, [rbp + 0x270]
pop rdi
pop rsi
pop rbp
ret