Function at 0x140004e40
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1e0]
sub rsp, 0x2e0
mov rax, qword [0x1400fe080]
xor rax, rsp
mov qword [rbp + 0x1d0], rax
mov rdi, rdx
mov qword [rsp + 0x48], rdx
mov r12, rcx
xor r14d, r14d
mov dword [rbp - 0x80], r14d
call fcn.140003960
mov r8d, eax
xor edx, edx
mov ecx, 0x1fffff
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rsi, rax
mov qword [rsp + 0x50], rax
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x60], xmm1
mov qword [rsp + 0x70], r14
xor edx, edx
mov r8d, 0xf0
lea rcx, [rbp - 0x30]
call sub.VCRUNTIME140.dll_memset
lea rax, [0x1400e0bc8]
mov qword [rbp - 0x30], rax
lea rcx, [rbp + 0x60]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::constructor_void____ptr64]
nop
mov r15d, 4
mov dword [rbp - 0x80], r15d
xor r9d, r9d
xor r8d, r8d
lea rdx, [rbp - 0x20]
lea rcx, [rbp - 0x30]
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_istream_char__struct_std::char_traits_char__::constructor_class_std::basic_streambuf_char__struct_std::char_traits_char______ptr64__bool____ptr64]
nop
mov rax, qword [rbp - 0x30]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_istringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov qword [rbp + rcx - 0x30], rax
mov rax, qword [rbp - 0x30]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x90]
mov dword [rbp + rcx - 0x34], edx
lea rax, [rbp - 0x20]
mov qword [rsp + 0x58], rax
lea rcx, [rbp - 0x20]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::constructor_void____ptr64]
nop
lea rax, vtable.std::basic_stringbuf_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov qword [rbp - 0x20], rax
mov rdx, rdi
cmp qword [rdi + 0x18], 0x10
jb 0x140004f45
mov rdx, qword [rdi]
mov r9d, 2
mov r8, qword [rdi + 0x10]
lea rcx, [rbp - 0x20]
call fcn.140012f60
nop
xorps xmm0, xmm0
movups xmmword [rbp - 0x60], xmm0
mov qword [rbp - 0x50], r14
mov qword [rbp - 0x48], reloc.WS2_32.dll_ntohs
mov byte [rbp - 0x60], 0
lea rdx, [rbp - 0x60]
lea rcx, [rbp - 0x30]
call fcn.1400134d0
mov rcx, qword [rax]
movsxd rcx, dword [rcx + 4]
add rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_bool___cdecl_std::ios_base::operator_bool_void_const___ptr64]
test al, al
je 0x140005027
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
mov rdi, rax
lea rbx, [rbp - 0x60]
cmp qword [rbp - 0x48], 0x10
cmovae rbx, qword [rbp - 0x60]
mov dword [rax], r14d
mov r8d, reloc.WS2_32.dll_recv
lea rdx, [rbp - 0x80]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_strtol]
cmp rbx, qword [rbp - 0x80]
je 0x14000540a
cmp dword [rdi], 0x22
je 0x1400053fc
mov byte [rsp + 0x40], al
mov rdx, qword [rsp + 0x68]
cmp rdx, qword [rsp + 0x70]
je 0x140004fee
mov byte [rdx], al
inc qword [rsp + 0x68]
jmp 0x140004ffd
lea r8, [rsp + 0x40]
lea rcx, [rsp + 0x60]
call fcn.140015860
lea rdx, [rbp - 0x60]
lea rcx, [rbp - 0x30]
call fcn.1400134d0
mov rcx, qword [rax]
movsxd rcx, dword [rcx + 4]
add rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_bool___cdecl_std::ios_base::operator_bool_void_const___ptr64]
test al, al
jne 0x140004f95
mov rdi, qword [rsp + 0x48]
mov r14, qword [r12]
mov r13, qword [r12 + 8]
cmp r14, r13
je 0x14000543a
nop dword [rax]
mov ebx, dword [r14]
mov r9, qword [rsp + 0x68]
mov r8, qword [rsp + 0x60]
sub r9, r8
mov edx, ebx
mov qword [rsp + 0x20], 0
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
jne 0x1400052ea
xor edx, edx
mov r8d, 0x108
lea rcx, [rbp + 0xc0]
call sub.VCRUNTIME140.dll_memset
mov rcx, qword [0x1400ff670]
movabs rax, 0x7fffffffffffffff
sub rax, rcx
cmp rax, 0xa
jb 0x140005547
lea r9, [0x1400ff660]
cmp qword [0x1400ff678], 0x10
cmovae r9, qword [0x1400ff660]
mov qword [rsp + 0x30], 0xa
lea rax, str.errors.log
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rcx
lea rcx, [rbp - 0x80]
call fcn.140015330
or r15d, 2
lea rdx, [rbp - 0x80]
lea rcx, [rbp + 0xc0]
call fcn.140011b50
nop
mov rdx, qword [rbp - 0x68]
cmp rdx, 0x10
jb 0x140005128
inc rdx
mov rcx, qword [rbp - 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140005123
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140005418
call fcn.1400c7c28
mov qword [rbp - 0x70], 0
mov qword [rbp - 0x68], reloc.WS2_32.dll_ntohs
mov byte [rbp - 0x80], 0
lea rdx, str.error_due_replace_address:
lea rcx, [rbp + 0xc0]
call fcn.1400136e0
mov edx, ebx
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___unsigned_long_int____ptr64]
lea rdx, [0x1400138b0]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
lea rcx, [rbp + 0xc8]
call fcn.140012b40
test rax, rax
jne 0x14000519d
mov rax, qword [rbp + 0xc0]
movsxd rcx, dword [rax + 4]
lea rax, [rbp + 0xc0]
add rcx, rax
xor r8d, r8d
lea edx, [r8 + 2]
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::setstate_int__bool____ptr64]
lea rcx, str.HD_Player.exe
call fcn.140003af0
lea rcx, str.HD_Agent.exe
call fcn.140003af0
lea rax, str.Bypass_save_your_account
mov qword [str.Unhook_successfully_completed], rax
mov rax, qword [0x1400ffcc0]
cmp rax, qword [0x1400ffcc8]
je 0x1400051da
mov qword [0x1400ffcc8], rax
mov rax, qword [0x1400ffc78]
cmp rax, qword [0x1400ffc80]
je 0x1400051f1
mov qword [0x1400ffc80], rax
mov rax, qword [0x1400ffcd8]
cmp rax, qword [0x1400ffce0]
je 0x140005208
mov qword [0x1400ffce0], rax
mov rax, qword [0x1400ffcf0]
cmp rax, qword [0x1400ffcf8]
je 0x14000521f
mov qword [0x1400ffcf8], rax
mov rax, qword [0x1400ffc30]
cmp rax, qword [0x1400ffc38]
je 0x140005236
mov qword [0x1400ffc38], rax
mov rax, qword [0x1400ffc48]
cmp rax, qword [0x1400ffc50]
je 0x14000524d
mov qword [0x1400ffc50], rax
mov rax, qword [0x1400ffc18]
cmp rax, qword [0x1400ffc20]
je 0x140005264
mov qword [0x1400ffc20], rax
mov rax, qword [0x1400ffc60]
cmp rax, qword [0x1400ffc68]
je 0x14000527b
mov qword [0x1400ffc68], rax
mov rax, qword [0x1400ffc90]
cmp rax, qword [0x1400ffc98]
je 0x140005292
mov qword [0x1400ffc98], rax
mov rax, qword [rbp + 0xc0]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ofstream_char__struct_std::char_traits_char__.0
mov qword [rbp + rcx + 0xc0], rax
mov rax, qword [rbp + 0xc0]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xa8]
mov dword [rbp + rcx + 0xbc], edx
lea rcx, [rbp + 0xc8]
call fcn.140011ae0
lea rcx, [rbp + 0xd0]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::destructor_void____ptr64]
lea rcx, [rbp + 0x168]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
mov ecx, 0x48
call fcn.1400c7ecc
mov rsi, rax
mov qword [rsp + 0x58], rax
mov dword [rax], reloc.WLDAP32.dll_Ordinal_30
lea rcx, [rax + 8]
mov rdx, rdi
call fcn.1400124f0
nop
xor eax, eax
mov qword [rsi + 0x28], rax
mov qword [rsi + 0x30], rax
mov qword [rsi + 0x38], rax
mov rbx, qword [r12 + 8]
sub rbx, qword [r12]
sar rbx, 2
test rbx, rbx
je 0x140005386
movabs rax, 0x3fffffffffffffff
cmp rbx, rax
ja 0x140005541
mov rdx, rbx
call fcn.140015dc0
mov qword [rsi + 0x28], rax
mov qword [rsi + 0x30], rax
lea rax, [rax + rbx*4]
mov qword [rsi + 0x38], rax
mov rdi, qword [rsi + 0x28]
mov rbx, qword [r12 + 8]
mov rdx, qword [r12]
sub rbx, rdx
mov r8, rbx
mov rcx, rdi
call sub.VCRUNTIME140.dll_memmove
sar rbx, 2
lea rax, [rdi + rbx*4]
mov qword [rsi + 0x30], rax
mov rdi, qword [rsp + 0x48]
lea rax, [0x140003be0]
mov qword [rsi + 0x40], rax
mov qword [rbp - 0x80], rsi
or r15d, 1
lea rax, [rbp - 0x38]
mov qword [rsp + 0x28], rax
xor ebx, ebx
mov dword [rsp + 0x20], ebx
mov r9, rsi
lea r8, [0x140015f80]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rbp - 0x40], rax
test rax, rax
je 0x14000542b
cmp dword [rbp - 0x38], ebx
je 0x14000541f
movaps xmm0, xmmword [rbp - 0x40]
movdqa xmmword [rbp - 0x80], xmm0
lea rcx, [rbp - 0x80]
call qword [sym.imp.MSVCP140.dll__Thrd_detach]
test eax, eax
jne 0x14000541f
xorps xmm0, xmm0
movdqa xmmword [rbp - 0x40], xmm0
add r14, 4
mov rsi, qword [rsp + 0x50]
cmp r14, r13
je 0x14000543c
jmp 0x140005040
lea rcx, str.stoi_argument_out_of_range
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xout_of_range_char_const____ptr64_]
int3
lea rcx, str.invalid_stoi_argument
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xinvalid_argument_char_const____ptr64_]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
mov ecx, 1
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
mov dword [rbp - 0x38], ebx
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
xor ebx, ebx
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov rdx, qword [rbp - 0x48]
cmp rdx, 0x10
jb 0x140005484
inc rdx
mov rcx, qword [rbp - 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000547f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000547f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400c7c28
mov qword [rbp - 0x50], rbx
mov qword [rbp - 0x48], reloc.WS2_32.dll_ntohs
mov byte [rbp - 0x60], 0
mov rax, qword [rbp - 0x30]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_istringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov qword [rbp + rcx - 0x30], rax
mov rax, qword [rbp - 0x30]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x90]
mov dword [rbp + rcx - 0x34], edx
lea rcx, [rbp - 0x20]
call fcn.140012230
lea rcx, [rbp - 0x18]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_istream_char__struct_std::char_traits_char__::destructor_void____ptr64]
lea rcx, [rbp + 0x60]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
nop
mov rcx, qword [rsp + 0x60]
test rcx, rcx
je 0x140005517
mov rdx, qword [rsp + 0x70]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x140005512
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140005512
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400c7c28
mov rcx, qword [rbp + 0x1d0]
xor rcx, rsp
call fcn.1400c7c00
mov rbx, qword [rsp + 0x330]
add rsp, 0x2e0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call fcn.140015450
nop
call fcn.1400020d0
int3