Function at 0x180057490
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x70
mov rax, qword [0x180078040]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov rsi, rcx
xor ebp, ebp
mov rcx, qword [0x180078f30]
mov rax, qword [rcx]
mov r8, qword [rax + 0x30]
lea rdx, str.com_craftrise_client_S
call r8
mov qword [0x180079188], rax
mov rcx, qword [0x180078f30]
mov rdx, qword [rcx]
mov r10, qword [rdx + 0x108]
lea r9, str.__Lcom_craftrise_client_fa_
lea r8, [0x18006c32c]
mov rdx, rax
call r10
mov rbx, rax
call fcn.18005f430
mov r8, rbx
mov rdx, rax
mov rcx, qword [0x180078f30]
call fcn.1800572f0
mov rcx, qword [0x180078f30]
mov rdx, qword [rcx]
mov r9, qword [rdx + 0xc0]
mov r8, rsi
mov rdx, rax
call r9
test al, al
jne 0x1800577e5
mov rcx, qword [0x180078f30]
mov rax, qword [rcx]
mov r8, qword [rax + 0x30]
lea rdx, str.com_craftrise_on_a
call r8
mov rbx, rax
mov rcx, qword [0x180078f30]
mov rdx, qword [rcx]
mov r10, qword [rdx + 0x480]
lea r9, str.Lcom_craftrise_on_a_
lea r8, str.ATTACK
mov rdx, rax
call r10
mov rcx, qword [0x180078f30]
mov rdx, qword [rcx]
mov r9, qword [rdx + 0x488]
mov r8, rax
mov rdx, rbx
call r9
mov rdi, rax
mov rcx, qword [0x180078f30]
mov rdx, qword [rcx]
mov r8, qword [rdx + 0x30]
lea rdx, str.com_craftrise_on
call r8
mov rbx, rax
mov rcx, qword [0x180078f30]
mov rdx, qword [rcx]
mov r10, qword [rdx + 0x108]
lea r9, str._Lcom_craftrise_m9_Lcom_craftrise_on_a__V
lea r8, str._init_
mov rdx, rax
call r10
mov qword [rsp + 0x20], rdi
mov r9, rsi
mov r8, rax
mov rdx, rbx
mov rcx, qword [0x180078f30]
call fcn.1800572c0
mov rdi, rax
mov rcx, qword [0x180078f30]
mov rdx, qword [rcx]
mov r8, qword [rdx + 0x30]
lea rdx, str.com_craftrise_client_c9
call r8
mov rcx, qword [0x180078f30]
mov rdx, qword [rcx]
mov r10, qword [rdx + 0x108]
lea r9, str._Lcom_craftrise_lv_J_V
lea r8, [0x18006c32c]
mov rdx, rax
call r10
mov rbx, rax
call fcn.1800573b0
mov qword [rsp + 0x20], rbp
mov r9, rdi
mov r8, rbx
mov rdx, rax
mov rcx, qword [0x180078f30]
call fcn.1800572f0
cmp byte [0x1800780e8], bpl
je 0x180057711
mov rcx, qword [0x180078f30]
mov rax, qword [rcx]
mov r8, qword [rax + 0x30]
lea rdx, str.com_craftrise_mj
call r8
mov rcx, qword [0x180078f30]
mov r8, qword [rcx]
mov r10, qword [r8 + 0x108]
lea r9, str._J_V
lea r8, [0x1800652b4]
mov rdx, rax
call r10
mov rdi, rax
mov rcx, qword [0x180078f30]
mov r10, qword [rcx]
mov r11, qword [r10 + 0x30]
lea rdx, str.com_craftrise_client_S
call r11
mov qword [0x180079188], rax
mov rcx, qword [0x180078f30]
mov rdx, qword [rcx]
mov r10, qword [rdx + 0x108]
lea r9, str.__Lcom_craftrise_client_fa_
lea r8, [0x18006c32c]
mov rdx, rax
call r10
mov rbx, rax
call fcn.18005f430
mov r8, rbx
mov rdx, rax
mov rcx, qword [0x180078f30]
call fcn.1800572f0
xor r9d, r9d
mov r8, rdi
mov rdx, rax
mov rcx, qword [0x180078f30]
call fcn.180057380
cmp byte [0x18007913e], bpl
je 0x1800577e5
lea rdx, str.Craftrise
xor ecx, ecx
call qword [sym.imp.USER32.dll_FindWindowW]
mov rcx, rax
mov eax, 0x3e8
cdq
idiv dword [0x1800780e0]
mov dword [rsp + 0x30], eax
test rcx, rcx
je 0x1800577e5
call qword [sym.imp.USER32.dll_SetForegroundWindow]
mov ecx, 8
call fcn.1800611cc
lea rcx, [rsp + 0x30]
mov qword [rax], rcx
mov qword [rsp + 0x50], rax
lea rcx, [rsp + 0x48]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], ebp
mov r9, rax
lea r8, [0x18005d1b0]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rsp + 0x40], rax
test rax, rax
je 0x180057808
cmp dword [rsp + 0x48], 0
jne 0x1800577a5
mov ecx, 1
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
call qword [sym.imp.MSVCP140.dll__Thrd_id]
cmp dword [rsp + 0x48], eax
jne 0x1800577bd
mov ecx, 5
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
movaps xmm0, xmmword [rsp + 0x40]
movdqa xmmword [rsp + 0x50], xmm0
xor edx, edx
lea rcx, [rsp + 0x50]
call qword [sym.imp.MSVCP140.dll__Thrd_join]
test eax, eax
je 0x1800577e5
mov ecx, 2
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.1800610c0
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x18]
mov rbp, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
mov dword [rsp + 0x48], ebp
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3