Function at 0x1400077a0
Capabilities:
Connect socket

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0xd0]
sub rsp, 0x1d0
mov rax, qword [0x140154010]
xor rax, rsp
mov qword [rbp + 0xc0], rax
mov r15, r8
mov rsi, rdx
mov r13, rcx
xor r14d, r14d
mov rcx, qword [rdx]
mov rdx, qword [rdx + 8]
cmp rcx, rdx
je 0x1400077f4
call fcn.14000a870
mov rax, qword [rsi]
mov qword [rsi + 8], rax
xor r8d, r8d
lea rdx, [0x1400d32d7]
mov rcx, r15
call fcn.140009fd0
xor r8d, r8d
lea rdx, [0x1400d32d7]
mov rcx, r15
call fcn.140009fd0
mov edx, 1
lea ecx, [rdx + 1]
lea r8d, [rdx + 5]
call qword [sym.imp.WS2_32.dll_socket]
mov rbx, rax
mov qword [rsp + 0x30], rax
cmp rax, 0xffffffffffffffff
jne 0x14000784b
lea r8d, [rax + 0x1f]
lea rdx, str.client_socket__INVALID_SOCKET
mov rcx, r15
call fcn.140009fd0
mov r8, qword [r15 + 0x10]
mov rcx, r15
cmp qword [r15 + 0x18], 0x10
jb 0x14000785c
mov rcx, qword [r15]
test r8, r8
jne 0x140007ff7
lea rdx, [0x1400d32d7]
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x140007ff7
mov r12d, dword [r13 + 0x20]
mov rdx, r13
lea rcx, [rbp - 0x80]
call fcn.140009b00
mov rdi, rax
mov qword [rsp + 0x38], rax
xor r8d, r8d
lea rdx, [0x1400d32d7]
mov rcx, r15
call fcn.140009fd0
mov qword [rsp + 0x68], r14
mov eax, 2
mov word [rsp + 0x60], ax
mov rcx, rdi
cmp qword [rdi + 0x18], 0x10
jb 0x1400078bf
mov rcx, qword [rdi]
call qword [sym.imp.WS2_32.dll_inet_addr]
mov dword [rsp + 0x64], eax
movzx ecx, r12w
call qword [sym.imp.WS2_32.dll_htons]
mov word [rsp + 0x62], ax
mov r8d, reloc.WS2_32.dll_recv
lea rdx, [rsp + 0x60]
mov rcx, rbx
call qword [sym.imp.WS2_32.dll_connect]
cmp eax, 0xffffffff
jne 0x140007905
lea r8d, [rax + 0x17]
lea rdx, str.connect__SOCKET_ERROR
mov rcx, r15
call fcn.140009fd0
nop
mov rdx, qword [rdi + 0x18]
cmp rdx, 0x10
jb 0x14000793f
mov rcx, qword [rdi]
inc rdx
cmp rdx, 0x1000
jb 0x14000793a
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140007b21
mov rcx, r8
call fcn.1400c76e4
mov qword [rdi + 0x10], r14
mov qword [rdi + 0x18], recv
mov byte [rdi], 0
mov r8, qword [r15 + 0x10]
mov rcx, r15
cmp qword [r15 + 0x18], 0x10
jb 0x14000795f
mov rcx, qword [r15]
test r8, r8
jne 0x140007ff7
lea rdx, [0x1400d32d7]
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x140007ff7
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp + 0x40], xmm0
movups xmmword [rbp + 0x50], xmm0
movups xmmword [rbp + 0x60], xmm0
movups xmmword [rbp + 0x70], xmm0
movups xmmword [rbp + 0x80], xmm0
movups xmmword [rbp + 0x90], xmm0
movups xmmword [rbp + 0xa0], xmm0
mov qword [rbp + 0xb0], rax
lea rcx, [rbp + 0x40]
call fcn.14001ab10
nop
lea rdx, [r13 + 0x50]
lea rax, [rbp + 0x40]
cmp rax, rdx
je 0x1400079db
mov r8, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0x10
jb 0x1400079d2
mov rdx, qword [rdx]
lea rcx, [rbp + 0x40]
call fcn.140009fd0
lea rdx, [r13 + 0x70]
lea rax, [rbp + 0x60]
cmp rax, rdx
je 0x1400079ff
mov r8, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0x10
jb 0x1400079f6
mov rdx, qword [rdx]
lea rcx, [rbp + 0x60]
call fcn.140009fd0
mov r8d, setsockopt
lea rdx, str.GET_UPDATE_SCRIPT
lea rcx, [rbp + 0x80]
call fcn.140009fd0
xorps xmm0, xmm0
movups xmmword [rbp], xmm0
movdqa xmm1, xmmword [0x140140e20]
movdqa xmmword [rbp + 0x10], xmm1
mov byte [rbp], 0
movups xmmword [rbp + 0x20], xmm0
movdqa xmmword [rbp + 0x30], xmm1
mov byte [rbp + 0x20], 0
xor r8d, r8d
lea rdx, [0x1400d32d7]
lea rcx, [rbp]
call fcn.140009fd0
xor r8d, r8d
lea rdx, [0x1400d32d7]
lea rcx, [rbp + 0x20]
call fcn.140009fd0
nop
mov r8d, reloc.WS2_32.dll_send
lea rdx, str.GMV0_UPDATE_REQUEST
lea rcx, [rbp]
call fcn.140009fd0
lea rdx, [rbp - 0x80]
lea rcx, [rbp + 0x40]
call fcn.14001abe0
mov rbx, rax
lea rax, [rbp + 0x20]
cmp rax, rbx
je 0x140007ae8
mov rdx, qword [rbp + 0x38]
cmp rdx, 0x10
jb 0x140007aca
inc rdx
mov rcx, qword [rbp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140007ac5
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140007b1a
call fcn.1400c76e4
movups xmm0, xmmword [rbx]
movaps xmmword [rbp + 0x20], xmm0
movups xmm1, xmmword [rbx + 0x10]
movaps xmmword [rbp + 0x30], xmm1
mov qword [rbx + 0x10], r14
mov qword [rbx + 0x18], recv
mov byte [rbx], 0
mov rdx, qword [rbp - 0x68]
cmp rdx, 0x10
jb 0x140007b2d
inc rdx
mov rcx, qword [rbp - 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140007b28
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140007b28
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call fcn.1400c76e4
mov edi, dword [r13 + 0x48]
lea rax, [rbp - 0x80]
mov qword [rsp + 0x38], rax
lea rdx, [r13 + 0x28]
lea rcx, [rbp - 0x80]
call fcn.140009b00
mov rbx, rax
lea rdx, [rsp + 0x40]
lea rcx, [rbp]
call fcn.140019270
nop
mov qword [rsp + 0x20], r15
mov r9d, edi
mov r8, rbx
mov rdx, rax
lea rcx, [rsp + 0x30]
call fcn.14002ac40
mov r8, qword [r15 + 0x10]
mov rcx, r15
cmp qword [r15 + 0x18], 0x10
jb 0x140007b82
mov rcx, qword [r15]
test r8, r8
jne 0x140007f66
lea rdx, [0x1400d32d7]
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x140007f66
xorps xmm0, xmm0
movups xmmword [rbp - 0x80], xmm0
movdqa xmm1, xmmword [0x140140e20]
movdqu xmmword [rbp - 0x70], xmm1
mov byte [rbp - 0x80], al
mov qword [rsp + 0x20], r15
mov r9d, dword [r13 + 0x48]
lea r8, [rbp - 0x80]
mov edx, 0x186a0
lea rcx, [rsp + 0x30]
call fcn.14002ada0
mov r8, qword [r15 + 0x10]
mov rcx, r15
cmp qword [r15 + 0x18], 0x10
jb 0x140007be3
mov rcx, qword [r15]
test r8, r8
jne 0x140007f19
lea rdx, [0x1400d32d7]
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x140007f19
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.WS2_32.dll_closesocket]
xorps xmm0, xmm0
movups xmmword [rbp - 0x60], xmm0
mov qword [rbp - 0x50], r14
mov qword [rbp - 0x48], recv
mov byte [rbp - 0x60], 0
movups xmmword [rbp - 0x40], xmm0
mov qword [rbp - 0x30], r14
mov qword [rbp - 0x28], recv
mov byte [rbp - 0x40], 0
xor r8d, r8d
lea rdx, [0x1400d32d7]
lea rcx, [rbp - 0x60]
call fcn.140009fd0
xor r8d, r8d
lea rdx, [0x1400d32d7]
lea rcx, [rbp - 0x40]
call fcn.140009fd0
nop
lea rdx, [rbp - 0x80]
lea rcx, [rbp - 0x60]
call fcn.140019480
lea rcx, [rbp - 0x60]
mov rdi, qword [rbp - 0x48]
cmp rdi, 0x10
cmovae rcx, qword [rbp - 0x60]
mov r8, qword [rbp - 0x50]
cmp r8, 0xe
jne 0x140007e7c
lea rdx, str.GMV0_OK_ANSWER
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x140007e7c
lea rdx, [rbp - 0x40]
lea rcx, [rbp - 0x20]
call fcn.14000cb30
nop
xorps xmm0, xmm0
movups xmmword [rsp + 0x60], xmm0
mov qword [rsp + 0x70], r14
mov qword [rsp + 0x78], recv
mov byte [rsp + 0x60], 0
cmp qword [rbp - 0x10], 0
jbe 0x140007df3
mov rbx, r14
nop dword [rax]
nop dword [rax + rax]
lea rax, [rbp - 0x20]
cmp qword [rbp - 8], 0x10
setae r8b
mov rdx, qword [rbp - 0x20]
cmovae rax, rdx
cmp byte [rax + rbx], 0xd
je 0x140007db0
lea rax, [rbp - 0x20]
test r8b, r8b
cmovne rax, rdx
cmp byte [rax + rbx], 0xa
jne 0x140007d54
mov rax, qword [rsi + 8]
cmp rax, qword [rsi + 0x10]
je 0x140007d2e
lea rdx, [rsp + 0x60]
mov rcx, rax
call fcn.140009b00
add qword [rsi + 8], 0x20
jmp 0x140007d3e
lea r8, [rsp + 0x60]
mov rdx, rax
mov rcx, rsi
call fcn.14000c4b0
xor r8d, r8d
lea rdx, [0x1400d32d7]
lea rcx, [rsp + 0x60]
call fcn.140009fd0
jmp 0x140007db0
mov rcx, qword [rbp - 0x10]
dec rcx
movsxd rax, r14d
cmp rax, rcx
je 0x140007dc4
lea rax, [rbp - 0x20]
test r8b, r8b
cmovne rax, qword [rbp - 0x20]
movzx r9d, byte [rax + rbx]
mov rdx, qword [rsp + 0x70]
mov rcx, qword [rsp + 0x78]
cmp rdx, rcx
jae 0x140007da6
lea rax, [rdx + 1]
mov qword [rsp + 0x70], rax
lea rax, [rsp + 0x60]
cmp rcx, 0x10
cmovae rax, qword [rsp + 0x60]
mov byte [rdx + rax], r9b
mov byte [rdx + rax + 1], 0
jmp 0x140007db0
lea rcx, [rsp + 0x60]
call fcn.14000add0
inc r14d
inc rbx
movsxd rax, r14d
cmp rax, qword [rbp - 0x10]
jae 0x140007df3
jmp 0x140007ce0
mov rax, qword [rsi + 8]
cmp rax, qword [rsi + 0x10]
je 0x140007de2
lea rdx, [rsp + 0x60]
mov rcx, rax
call fcn.140009b00
add qword [rsi + 8], 0x20
jmp 0x140007df3
lea r8, [rsp + 0x60]
mov rdx, rax
mov rcx, rsi
call fcn.14000c4b0
nop
mov rcx, qword [rsp + 0x78]
cmp rcx, 0x10
jb 0x140007e35
lea rdx, [rcx + 1]
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140007e2f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140007e2f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400c76e4
nop
mov rcx, qword [rbp - 8]
cmp rcx, 0x10
jb 0x140007e74
lea rdx, [rcx + 1]
mov rcx, qword [rbp - 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140007e6f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140007e6f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400c76e4
mov bl, 1
mov rdi, qword [rbp - 0x48]
jmp 0x140007ea5
lea rax, [rbp - 0x40]
cmp r15, rax
je 0x140007ea3
lea rdx, [rbp - 0x40]
cmp qword [rbp - 0x28], 0x10
cmovae rdx, qword [rbp - 0x40]
mov r8, qword [rbp - 0x30]
mov rcx, r15
call fcn.140009fd0
mov rdi, qword [rbp - 0x48]
xor bl, bl
mov rdx, qword [rbp - 0x28]
cmp rdx, 0x10
jb 0x140007edc
inc rdx
mov rcx, qword [rbp - 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140007ed7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140007f0b
call fcn.1400c76e4
cmp rdi, 0x10
jb 0x140007f26
lea rdx, [rdi + 1]
mov rcx, qword [rbp - 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140007f12
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140007f12
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400c76e4
jmp 0x140007f26
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.WS2_32.dll_closesocket]
xor bl, bl
mov rdx, qword [rbp - 0x68]
cmp rdx, 0x10
jb 0x140007f73
inc rdx
mov rcx, qword [rbp - 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140007f5f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140007f5f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400c76e4
jmp 0x140007f73
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.WS2_32.dll_closesocket]
xor bl, bl
mov rdx, qword [rbp + 0x38]
cmp rdx, 0x10
jb 0x140007faa
inc rdx
mov rcx, qword [rbp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140007fa5
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140007fdc
call fcn.1400c76e4
mov rdx, qword [rbp + 0x18]
cmp rdx, 0x10
jb 0x140007fe9
inc rdx
mov rcx, qword [rbp]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140007fe3
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140007fe3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400c76e4
nop
lea rcx, [rbp + 0x40]
call fcn.140006f40
movzx eax, bl
jmp 0x140007ff9
xor al, al
mov rcx, qword [rbp + 0xc0]
xor rcx, rsp
call fcn.1400c7430
mov rbx, qword [rsp + 0x228]
add rsp, 0x1d0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret