Function at 0x140005910
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 [0x140102080]
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.140004280
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, [0x1400e3d60]
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 0x140005a15
mov rdx, qword [rdi]
mov r9d, 2
mov r8, qword [rdi + 0x10]
lea rcx, [rbp - 0x20]
call fcn.140015290
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.140015800
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 0x140005af7
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 0x140005f92
cmp dword [rdi], 0x22
je 0x140005f84
mov byte [rsp + 0x40], al
mov rdx, qword [rsp + 0x68]
cmp rdx, qword [rsp + 0x70]
je 0x140005abe
mov byte [rdx], al
inc qword [rsp + 0x68]
jmp 0x140005acd
lea r8, [rsp + 0x40]
lea rcx, [rsp + 0x60]
call fcn.140017b90
lea rdx, [rbp - 0x60]
lea rcx, [rbp - 0x30]
call fcn.140015800
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 0x140005a65
mov rdi, qword [rsp + 0x48]
mov r14, qword [r12]
mov r13, qword [r12 + 8]
cmp r14, r13
je 0x140005fc2
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 0x140005e72
xor edx, edx
mov r8d, 0x108
lea rcx, [rbp + 0xc0]
call sub.VCRUNTIME140.dll_memset
mov rcx, qword [0x1401035f8]
movabs rax, 0x7fffffffffffffff
sub rax, rcx
cmp rax, 0xa
jb 0x1400060cf
lea r9, [0x1401035e8]
cmp qword [0x140103600], 0x10
cmovae r9, qword [0x1401035e8]
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.140017660
or r15d, 2
lea rdx, [rbp - 0x80]
lea rcx, [rbp + 0xc0]
call fcn.140013e80
nop
mov rdx, qword [rbp - 0x68]
cmp rdx, 0x10
jb 0x140005bf8
inc rdx
mov rcx, qword [rbp - 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140005bf3
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140005fa0
call fcn.1400ca088
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.140015a10
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, [0x140015be0]
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.140014e70
test rax, rax
jne 0x140005c6d
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.1400044d0
lea rcx, str.HD_Agent.exe
call fcn.1400044d0
lea rax, str.Bypass_save_your_account
mov qword [str.Unhook_succesfuly_completed_], rax
mov rax, qword [0x140103d78]
cmp rax, qword [0x140103d80]
je 0x140005caa
mov qword [0x140103d80], rax
mov rax, qword [0x140103ca0]
cmp rax, qword [0x140103ca8]
je 0x140005cc1
mov qword [0x140103ca8], rax
mov rax, qword [0x140103d90]
cmp rax, qword [0x140103d98]
je 0x140005cd8
mov qword [0x140103d98], rax
mov rax, qword [0x140103dc0]
cmp rax, qword [0x140103dc8]
je 0x140005cef
mov qword [0x140103dc8], rax
mov rax, qword [0x140103d18]
cmp rax, qword [0x140103d20]
je 0x140005d06
mov qword [0x140103d20], rax
mov rax, qword [0x140103d48]
cmp rax, qword [0x140103d50]
je 0x140005d1d
mov qword [0x140103d50], rax
mov rax, qword [0x140103cb8]
cmp rax, qword [0x140103cc0]
je 0x140005d34
mov qword [0x140103cc0], rax
mov rax, qword [0x140103d00]
cmp rax, qword [0x140103d08]
je 0x140005d4b
mov qword [0x140103d08], rax
mov rax, qword [0x140103d60]
cmp rax, qword [0x140103d68]
je 0x140005d62
mov qword [0x140103d68], rax
mov rax, qword [0x140103d30]
cmp rax, qword [0x140103d38]
je 0x140005d79
mov qword [0x140103d38], rax
mov rax, qword [0x140103da8]
cmp rax, qword [0x140103db0]
je 0x140005d90
mov qword [0x140103db0], rax
mov rax, qword [0x140103c70]
cmp rax, qword [0x140103c78]
je 0x140005da7
mov qword [0x140103c78], rax
mov rax, qword [0x140103c40]
cmp rax, qword [0x140103c48]
je 0x140005dbe
mov qword [0x140103c48], rax
mov rax, qword [0x140103c58]
cmp rax, qword [0x140103c60]
je 0x140005dd5
mov qword [0x140103c60], rax
mov rax, qword [0x140103c28]
cmp rax, qword [0x140103c30]
je 0x140005dec
mov qword [0x140103c30], rax
mov rax, qword [0x140103c88]
cmp rax, qword [0x140103c90]
je 0x140005e03
mov qword [0x140103c90], rax
mov rax, qword [0x140103cd0]
cmp rax, qword [0x140103cd8]
je 0x140005e1a
mov qword [0x140103cd8], 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.140013e10
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.1400ca32c
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.140014820
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 0x140005f0e
movabs rax, 0x3fffffffffffffff
cmp rbx, rax
ja 0x1400060c9
mov rdx, rbx
call fcn.1400180f0
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, [0x1400045c0]
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, [0x1400182b0]
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 0x140005fb3
cmp dword [rbp - 0x38], ebx
je 0x140005fa7
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 0x140005fa7
xorps xmm0, xmm0
movdqa xmmword [rbp - 0x40], xmm0
add r14, 4
mov rsi, qword [rsp + 0x50]
cmp r14, r13
je 0x140005fc4
jmp 0x140005b10
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 0x14000600c
inc rdx
mov rcx, qword [rbp - 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140006007
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140006007
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400ca088
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.140014560
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 0x14000609f
mov rdx, qword [rsp + 0x70]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000609a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000609a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400ca088
mov rcx, qword [rbp + 0x1d0]
xor rcx, rsp
call fcn.1400ca060
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.140017780
nop
call fcn.1400029f0
int3