Function at 0x180001c70
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x70
mov rax, qword [0x180082020]
xor rax, rsp
mov qword [rsp + 0x60], rax
xor edi, edi
cmp edx, 1
jne 0x180001f24
call fcn.1800454b0
lea rcx, str.Injected._n
call fcn.1800010c0
lea rdx, str.MHUR.exe
lea rcx, [rsp + 0x30]
call fcn.1800076c0
lea rcx, [rsp + 0x30]
cmp qword [rsp + 0x48], 8
cmovae rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rbx, rax
mov rdx, rax
lea rcx, str.BaseAddress:__p_n
call fcn.1800010c0
lea rdx, [rbx + 0x61889b0]
mov qword [0x180082998], rdx
lea rcx, str.GWorld:_______p_n
call fcn.1800010c0
lea rdx, [rbx + 0x603bf50]
mov qword [0x180082990], rdx
lea rcx, str.GObjects:_____p_n
call fcn.1800010c0
mov rdx, qword [rsp + 0x48]
cmp rdx, 8
jb 0x180001d58
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180001d53
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180001d53
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180047b44
mov qword [rsp + 0x40], rdi
mov qword [rsp + 0x48], 7
mov word [rsp + 0x30], di
mov rax, qword [0x180082998]
mov rcx, qword [rax]
mov rdx, qword [rcx + 0x180]
nop dword [rax]
mov rax, qword [rdx + 0x38]
mov rax, qword [rax]
test rax, rax
je 0x180001d80
mov rax, qword [rax + 0x70]
test rax, rax
je 0x180001d80
mov rbx, qword [rax]
lea r9, [rsp + 0x50]
mov edx, 8
lea r8d, [rdx + 0x38]
lea rcx, [rbx + 0x318]
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
mov rax, qword [rbx + 0x318]
mov qword [0x180082a28], rax
lea rax, [0x180003f80]
mov qword [rbx + 0x318], rax
xor r9d, r9d
mov r8d, dword [rsp + 0x50]
lea edx, [r9 + 8]
lea rcx, [rbx + 0x318]
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
lea rcx, str.Hooked_Postrender._n
call fcn.1800010c0
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
add rax, 0x1796fd0
mov qword [0x180082a20], rax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
add rax, 0x2f31290
mov qword [0x180082a18], rax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
add rax, 0x10dc0e0
mov qword [0x180082a30], rax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call fcn.180046e10
call fcn.1800462d0
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
mov rcx, rax
call fcn.180046990
lea rdx, [0x180003970]
lea rcx, [0x180082a20]
call fcn.180045e00
lea rcx, str.Hooked_ProcessEvent._n
call fcn.1800010c0
lea rdx, [0x180003950]
lea rcx, [0x180082a18]
call fcn.180045e00
lea rcx, str.Hooked_WorldTick._n
call fcn.1800010c0
lea rdx, [0x180007510]
lea rcx, [0x180082a30]
call fcn.180045e00
call fcn.180046390
mov ecx, 8
call fcn.180047780
lea rcx, [0x180001630]
mov qword [rax], rcx
mov qword [rsp + 0x50], rax
lea rcx, [rsp + 0x38]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], edi
mov r9, rax
lea r8, [0x180001c40]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rsp + 0x30], rax
test rax, rax
je 0x180001f44
cmp dword [rsp + 0x38], 0
jne 0x180001f01
mov ecx, 1
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
movaps xmm0, xmmword [rsp + 0x30]
movdqa xmmword [rsp + 0x50], xmm0
lea rcx, [rsp + 0x50]
call qword [sym.imp.MSVCP140.dll__Thrd_detach]
test eax, eax
je 0x180001f24
mov ecx, eax
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_C_error_int_]
nop
mov eax, 1
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.180047760
mov rbx, qword [rsp + 0x80]
add rsp, 0x70
pop rdi
ret
mov dword [rsp + 0x38], edi
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3