Function at 0x140083750
Capabilities:
Act as tcp client
Check mutex on windows
Connect socket
Connect tcp socket
Create tcp socket
Initialize winsock library

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x2e0]
sub rsp, 0x3e0
mov rax, qword [0x14011c358]
xor rax, rsp
mov qword [rbp + 0x2d0], rax
movzx r15d, r8w
mov r14, rdx
mov rdi, rcx
mov qword [rsp + 0x58], rdx
xor r12d, r12d
mov dword [rsp + 0x70], r12d
lea r8, str.thisisnotacheat
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateMutexA]
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x140083de5
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_ReleaseMutex]
lea ecx, [r12 + 1]
call fcn.14009aa38
mov qword [rsp + 0x70], rax
lea rcx, [rsp + 0x68]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], r12d
mov r9, rax
lea r8, [0x1400715b0]
xor edx, edx
xor ecx, ecx
call fcn.1400b0c58
mov qword [rsp + 0x60], rax
test rax, rax
je 0x140083e28
cmp dword [rsp + 0x68], r12d
je 0x140083e3e
movaps xmm0, xmmword [rsp + 0x60]
movdqa xmmword [rsp + 0x70], xmm0
lea rcx, [rsp + 0x70]
call fcn.140098dac
test eax, eax
jne 0x140083e49
xorps xmm0, xmm0
movdqa xmmword [rsp + 0x60], xmm0
lea ecx, [rax + 0x18]
call fcn.14009aa38
mov rbx, rax
test rax, rax
je 0x140083853
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], rax
jmp 0x140083856
mov rbx, r12
mov qword [rdi + 0x90], rbx
call fcn.140008f10
call fcn.140007cb0
mov rcx, rax
call fcn.140007f00
mov qword [rbx + 8], rax
lea rdx, [0x14011c1d0]
cmp qword [0x14011c1e8], 0x10
cmovae rdx, qword [0x14011c1d0]
mov r9d, 1
mov r8d, dword [0x14011c1e0]
mov rcx, rax
call fcn.140009690
cmp eax, 1
jne 0x140083977
xor r8d, r8d
mov edx, eax
mov rcx, qword [rbx + 8]
call fcn.140008ec0
mov ecx, 0x202
lea rdx, [rbp + 0x130]
call qword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
jne 0x140083977
mov esi, 6
mov r8d, esi
lea edx, [rax + 1]
mov r13d, 2
mov ecx, r13d
call qword [sym.imp.WS2_32.dll_socket]
mov dword [rbx + 0x10], eax
cmp eax, 0xffffffff
je 0x140083977
mov word [rsp + 0x60], r13w
mov rcx, r14
cmp qword [r14 + 0x18], 0x10
jb 0x140083909
mov rcx, qword [r14]
call qword [sym.imp.WS2_32.dll_inet_addr]
mov dword [rsp + 0x64], eax
movzx ecx, r15w
call qword [sym.imp.WS2_32.dll_htons]
mov word [rsp + 0x62], ax
movsxd rcx, dword [rbx + 0x10]
mov r8d, reloc.WS2_32.dll_recv
lea rdx, [rsp + 0x60]
call qword [sym.imp.WS2_32.dll_connect]
test eax, eax
js 0x140083977
mov rcx, qword [rbx + 8]
call fcn.140007f10
mov qword [rbx], rax
mov edx, dword [rbx + 0x10]
mov rcx, rax
call fcn.140007fb0
mov rcx, qword [rbx]
call fcn.140008f30
cmp eax, 1
je 0x14008399c
mov edx, eax
mov rcx, qword [rbx]
call fcn.140008070
mov edx, eax
lea rcx, [0x1401205c0]
call fcn.14007ec70
mov rdx, qword [rdi + 0x78]
mov rax, qword [rdi + 0x80]
sub rax, rdx
sar rax, 5
cmp rax, 1
jbe 0x140083e38
add rdx, 0x20
jmp 0x140083dfc
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp + 0xa0], xmm0
movups xmmword [rbp + 0xb0], xmm0
movups xmmword [rbp + 0xc0], xmm0
movups xmmword [rbp + 0xd0], xmm0
movups xmmword [rbp + 0xe0], xmm0
movups xmmword [rbp + 0xf0], xmm0
movups xmmword [rbp + 0x100], xmm0
movups xmmword [rbp + 0x110], xmm0
mov qword [rbp + 0x120], rax
xor r8d, r8d
lea rdx, [rbp + 0xa0]
mov rcx, qword [rdi + 0x90]
call fcn.1400918f0
test al, al
jne 0x140083a1e
mov rdx, qword [rdi + 0x78]
mov rax, qword [rdi + 0x80]
sub rax, rdx
sar rax, 5
cmp rax, r13
jbe 0x140083e38
add rdx, 0x40
jmp 0x140083dfc
mov rax, qword [rbp + 0x108]
mov ecx, 0xdead
cmp word [rax], cx
je 0x140083a3f
mov edx, r13d
mov rcx, rdi
call fcn.1400842f0
jmp 0x140083e1c
lea rcx, [0x1400d5818]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rcx, rax
lea rdx, [0x1400d5808]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rdi + 0xc8], rax
xor edx, edx
mov r8d, 0x110
lea rcx, [rbp - 0x70]
call fcn.14009caf0
lea rax, [0x1400d5800]
mov qword [rbp - 0x70], rax
mov qword [rbp + 0x48], r12
xorps xmm0, xmm0
movdqa xmmword [rbp + 0x70], xmm0
mov qword [rbp + 0x80], r12
mov dword [rsp + 0x70], 3
lea rax, vtable.std::basic_istream_char__struct_std::char_traits_char__.0
mov qword [rbp + 0x40], rax
mov dword [rbp + 0x3c], 0x98
mov qword [rbp - 0x68], r12
xor r8d, r8d
lea rdx, [rbp - 0x60]
lea rcx, [rbp + 0x40]
call fcn.14008fc10
nop
mov rax, qword [rbp - 0x70]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
mov qword [rbp + rcx - 0x70], rax
mov rax, qword [rbp - 0x70]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xb0]
mov dword [rbp + rcx - 0x74], edx
lea rcx, [rbp - 0x60]
call fcn.14007cf00
nop
cmp qword [rbp + 0x20], 0
jne 0x140083d21
mov edx, 1
lea r8d, [rdx + 0x3f]
lea rcx, str.C:crescentdata
call fcn.140099a88
test rax, rax
je 0x140083d21
mov r8d, 1
mov rdx, rax
lea rcx, [rbp - 0x60]
call fcn.140087460
mov rax, qword [rbp]
mov rcx, qword [rax + 8]
mov qword [rsp + 0x68], rcx
mov rax, qword [rcx]
call qword [rax + htons]
nop
lea rcx, [rsp + 0x60]
call fcn.14007bd10
mov rdx, rax
lea rcx, [rbp - 0x60]
call fcn.140087560
nop
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x140083b7e
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
test rax, rax
je 0x140083b7e
mov rcx, qword [rax]
mov r8, qword [rcx]
mov edx, 1
mov rcx, rax
call r8
nop
cmp qword [rbp + 0x20], 0
je 0x140083d9d
xorps xmm0, xmm0
movups xmmword [rsp + 0x70], xmm0
movdqa xmm1, xmmword [0x1400d2490]
movdqu xmmword [rbp - 0x80], xmm1
mov byte [rsp + 0x70], 0
mov rax, qword [rbp - 0x70]
movsxd rcx, dword [rax + 4]
mov rax, qword [rbp + rcx - 0x30]
mov rcx, qword [rax + 8]
mov qword [rsp + 0x68], rcx
mov rax, qword [rcx]
call qword [rax + htons]
nop
lea rcx, [rsp + 0x60]
call fcn.14007be50
mov rcx, qword [rax]
mov r8, qword [rcx + 0x40]
mov dl, 0xa
mov rcx, rax
call r8
movzx ebx, al
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x140083c02
mov rdx, qword [rcx]
call qword [rdx + reloc.WS2_32.dll_recv]
test rax, rax
je 0x140083c02
mov rcx, qword [rax]
mov r8, qword [rcx]
mov edx, 1
mov rcx, rax
call r8
movzx r8d, bl
lea rdx, [rsp + 0x70]
lea rcx, [rbp - 0x70]
call fcn.140077d10
lea rdx, [rsp + 0x70]
cmp qword [rbp - 0x78], 0x10
cmovae rdx, qword [rsp + 0x70]
mov rbx, 0xffffffffffffffff
mov r8, rbx
nop
inc r8
cmp byte [rdx + r8], 0
jne 0x140083c30
lea rcx, [rdi + 0x30]
call fcn.14008a2b0
mov rax, qword [rbp - 0x70]
movsxd rcx, dword [rax + 4]
mov rax, qword [rbp + rcx - 0x30]
mov rcx, qword [rax + 8]
mov qword [rsp + 0x68], rcx
mov rax, qword [rcx]
call qword [rax + htons]
nop
lea rcx, [rsp + 0x60]
call fcn.14007be50
mov rcx, qword [rax]
mov r8, qword [rcx + 0x40]
mov dl, 0xa
mov rcx, rax
call r8
movzx r15d, al
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x140083ca3
mov rdx, qword [rcx]
call qword [rdx + reloc.WS2_32.dll_recv]
test rax, rax
je 0x140083ca3
mov rcx, qword [rax]
mov r8, qword [rcx]
mov edx, 1
mov rcx, rax
call r8
movzx r8d, r15b
lea rdx, [rsp + 0x70]
lea rcx, [rbp - 0x70]
call fcn.140077d10
lea rdx, [rsp + 0x70]
cmp qword [rbp - 0x78], 0x10
cmovae rdx, qword [rsp + 0x70]
inc rbx
cmp byte [rdx + rbx], 0
jne 0x140083cc5
lea rcx, [rdi + 0x50]
mov r8, rbx
call fcn.14008a2b0
lea rcx, [rbp - 0x60]
call fcn.14008a770
test rax, rax
jne 0x140083d61
mov rax, qword [rbp - 0x70]
movsxd rcx, dword [rax + 4]
cmp qword [rbp + rcx - 0x28], 0
cmovne esi, r13d
or esi, dword [rbp + rcx - 0x60]
and esi, 0x17
mov dword [rbp + rcx - 0x60], esi
mov eax, dword [rbp + rcx - 0x5c]
and eax, esi
je 0x140083d61
test al, 4
je 0x140083e97
lea rbx, str.ios_base::badbit_set
jmp 0x140083eab
mov rax, qword [rbp - 0x70]
movsxd rcx, dword [rax + 4]
mov eax, esi
cmp qword [rbp + rcx - 0x28], 0
cmovne eax, r13d
or eax, dword [rbp + rcx - 0x60]
and eax, 0x17
mov dword [rbp + rcx - 0x60], eax
mov edx, dword [rbp + rcx - 0x5c]
and edx, eax
je 0x140083b7e
test dl, 4
je 0x140083e51
lea rbx, str.ios_base::badbit_set
jmp 0x140083e66
mov rdx, qword [rbp - 0x78]
cmp rdx, 0x10
jb 0x140083d9d
inc rdx
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140083d98
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140083edc
call fcn.14009a20c
mov dword [rdi + 0x98], 1
lea rcx, [rbp - 0x70]
call fcn.1400808d0
nop
mov rcx, r14
call fcn.140069370
mov al, 1
mov rcx, qword [rbp + 0x2d0]
xor rcx, rsp
call fcn.14009a320
mov rbx, qword [rsp + 0x438]
add rsp, 0x3e0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov rdx, qword [rdi + 0x78]
mov rax, qword [rdi + 0x80]
sub rax, rdx
sar rax, 5
test rax, rax
je 0x140083e38
cmp qword [rdx + 0x18], 0x10
jb 0x140083e06
mov rdx, qword [rdx]
mov r9d, reloc.WS2_32.dll_recv
lea r8, str.error
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
nop
mov rcx, r14
call fcn.140069370
xor al, al
jmp 0x140083dbb
mov dword [rsp + 0x68], r12d
mov ecx, 6
call fcn.140099018
nop
call fcn.1400889f0
nop
mov ecx, 1
call fcn.140099018
int3
mov ecx, eax
call fcn.140098fdc
nop
test dl, 2
lea rbx, str.ios_base::failbit_set
lea rax, str.ios_base::eofbit_set
cmove rbx, rax
mov edx, 1
lea rcx, [rsp + 0x60]
call fcn.14008ffc0
mov r8, rax
mov rdx, rbx
lea rcx, [rsp + 0x30]
call fcn.14007d9d0
lea rdx, [0x140119cd0]
lea rcx, [rsp + 0x30]
call fcn.14009d090
nop
test al, 2
lea rbx, str.ios_base::failbit_set
lea rax, str.ios_base::eofbit_set
cmove rbx, rax
mov edx, 1
lea rcx, [rsp + 0x60]
call fcn.14008ffc0
mov r8, rax
mov rdx, rbx
lea rcx, [rsp + 0x30]
call fcn.14007d9d0
lea rdx, [0x140119cd0]
lea rcx, [rsp + 0x30]
call fcn.14009d090
nop
call fcn.1400aedac
int3