Function at 0x140008030
Capabilities:
Connect socket

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0xd0]
sub rsp, 0x1d0
mov rax, qword [0x140154010]
xor rax, rsp
mov qword [rbp + 0xc0], rax
mov rsi, rcx
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 rbx, [rsi + 0x50]
lea rax, [rbp + 0x40]
cmp rax, rbx
je 0x1400080c7
mov rdx, rbx
cmp qword [rbx + 0x18], 0x10
jb 0x1400080ba
mov rdx, qword [rbx]
mov r8, qword [rbx + 0x10]
lea rcx, [rbp + 0x40]
call fcn.140009fd0
lea rdx, [rsi + 0x70]
lea rax, [rbp + 0x60]
cmp rax, rdx
je 0x1400080eb
mov r8, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0x10
jb 0x1400080e2
mov rdx, qword [rdx]
lea rcx, [rbp + 0x60]
call fcn.140009fd0
mov r8d, 0x1f
lea rdx, str.GET_CLIENT_CLIENT_SIDE_SETTINGS
lea rcx, [rbp + 0x80]
call fcn.140009fd0
mov rax, qword [rbp + 0xa8]
cmp rax, qword [rbp + 0xb0]
je 0x140008129
mov rdx, rbx
mov rcx, rax
call fcn.140009b00
add qword [rbp + 0xa8], 0x20
jmp 0x14000813b
mov r8, rbx
mov rdx, rax
lea rcx, [rbp + 0xa0]
call fcn.14000c4b0
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 - 0x60]
lea rcx, [rbp + 0x40]
call fcn.14001abe0
mov rbx, rax
lea rax, [rbp + 0x20]
xor r15d, r15d
cmp rax, rbx
je 0x14000820e
mov rdx, qword [rbp + 0x38]
cmp rdx, 0x10
jb 0x1400081f0
inc rdx
mov rcx, qword [rbp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400081eb
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140008240
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], r15
mov qword [rbx + 0x18], recv
mov byte [rbx], r15b
mov rdx, qword [rbp - 0x48]
cmp rdx, 0x10
jb 0x14000824c
inc rdx
mov rcx, qword [rbp - 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140008247
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140008247
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400c76e4
xorps xmm0, xmm0
movups xmmword [rbp - 0x80], xmm0
mov qword [rbp - 0x70], r15
mov qword [rbp - 0x68], recv
mov byte [rbp - 0x80], r15b
xor r8d, r8d
lea rdx, [0x1400d32d7]
lea rcx, [rbp - 0x80]
call fcn.140009fd0
mov edx, 1
lea r8d, [rdx + 5]
mov r12d, 2
mov ecx, r12d
call qword [sym.imp.WS2_32.dll_socket]
mov rbx, rax
mov qword [rsp + 0x30], rax
cmp rax, 0xffffffffffffffff
jne 0x1400082b1
lea r8d, [r12 + 0x1c]
lea rdx, str.client_socket__INVALID_SOCKET
lea rcx, [rbp - 0x80]
call fcn.140009fd0
lea rcx, [rbp - 0x80]
mov rdi, qword [rbp - 0x80]
mov r14, qword [rbp - 0x68]
cmp r14, 0x10
cmovae rcx, rdi
mov r8, qword [rbp - 0x70]
test r8, r8
jne 0x140008702
lea rdx, [0x1400d32d7]
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x140008702
mov r14d, dword [rsi + 0x20]
mov rdx, rsi
lea rcx, [rsp + 0x40]
call fcn.140009b00
mov rdi, rax
mov qword [rsp + 0x38], rax
xor r8d, r8d
lea rdx, [0x1400d32d7]
lea rcx, [rbp - 0x80]
call fcn.140009fd0
mov qword [rbp - 0x58], r15
mov word [rbp - 0x60], r12w
mov rcx, rdi
cmp qword [rdi + 0x18], 0x10
jb 0x140008328
mov rcx, qword [rdi]
call qword [sym.imp.WS2_32.dll_inet_addr]
mov dword [rbp - 0x5c], eax
movzx ecx, r14w
call qword [sym.imp.WS2_32.dll_htons]
mov word [rbp - 0x5e], ax
mov r8d, reloc.WS2_32.dll_recv
lea rdx, [rbp - 0x60]
mov rcx, rbx
call qword [sym.imp.WS2_32.dll_connect]
cmp eax, 0xffffffff
jne 0x14000836c
lea r8d, [rax + 0x17]
lea rdx, str.connect__SOCKET_ERROR
lea rcx, [rbp - 0x80]
call fcn.140009fd0
nop
mov rdx, qword [rdi + 0x18]
cmp rdx, 0x10
jb 0x1400083a6
mov rcx, qword [rdi]
inc rdx
cmp rdx, 0x1000
jb 0x1400083a1
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140008505
mov rcx, r8
call fcn.1400c76e4
mov qword [rdi + 0x10], r15
mov qword [rdi + 0x18], recv
mov byte [rdi], 0
lea rcx, [rbp - 0x80]
cmp qword [rbp - 0x68], 0x10
cmovae rcx, qword [rbp - 0x80]
mov r8, qword [rbp - 0x70]
test r8, r8
jne 0x1400086fd
lea rdx, [0x1400d32d7]
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x1400086fd
mov edi, dword [rsi + 0x48]
lea rax, [rsp + 0x40]
mov qword [rsp + 0x38], rax
lea rdx, [rsi + 0x28]
lea rcx, [rsp + 0x40]
call fcn.140009b00
mov rbx, rax
lea rdx, [rsp + 0x60]
lea rcx, [rbp]
call fcn.140019270
nop
lea rcx, [rbp - 0x80]
mov qword [rsp + 0x20], rcx
mov r9d, edi
mov r8, rbx
mov rdx, rax
lea rcx, [rsp + 0x30]
call fcn.14002ac40
lea rcx, [rbp - 0x80]
cmp qword [rbp - 0x68], 0x10
cmovae rcx, qword [rbp - 0x80]
mov r8, qword [rbp - 0x70]
test r8, r8
jne 0x1400086e2
lea rdx, [0x1400d32d7]
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x1400086e2
xorps xmm0, xmm0
movups xmmword [rbp - 0x60], xmm0
mov qword [rbp - 0x50], r15
mov qword [rbp - 0x48], recv
mov byte [rbp - 0x60], al
lea rax, [rbp - 0x80]
mov qword [rsp + 0x20], rax
mov r9d, dword [rsi + 0x48]
lea r8, [rbp - 0x60]
mov edx, 0xf4240
lea rcx, [rsp + 0x30]
call fcn.14002ada0
lea rcx, [rbp - 0x80]
cmp qword [rbp - 0x68], 0x10
cmovae rcx, qword [rbp - 0x80]
mov rsi, qword [rbp - 0x48]
mov rbx, qword [rbp - 0x60]
mov r8, qword [rbp - 0x70]
test r8, r8
jne 0x140008675
lea rdx, [0x1400d32d7]
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x140008675
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.WS2_32.dll_closesocket]
lea rcx, [rbp - 0x60]
cmp rsi, 0x10
cmovae rcx, rbx
mov r8, qword [rbp - 0x50]
test r8, r8
jne 0x14000850c
lea rdx, [0x1400d32d7]
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x14000850c
lea rdx, str.empty_response
jmp 0x14000868e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
xorps xmm0, xmm0
movups xmmword [rbp - 0x40], xmm0
mov qword [rbp - 0x30], r15
mov qword [rbp - 0x28], recv
mov byte [rbp - 0x40], 0
movups xmmword [rbp - 0x20], xmm0
movdqa xmm1, xmmword [0x140140e20]
movdqa xmmword [rbp - 0x10], xmm1
mov byte [rbp - 0x20], 0
xor r8d, r8d
lea rdx, [0x1400d32d7]
lea rcx, [rbp - 0x40]
call fcn.140009fd0
xor r8d, r8d
lea rdx, [0x1400d32d7]
lea rcx, [rbp - 0x20]
call fcn.140009fd0
nop
lea rdx, [rbp - 0x60]
lea rcx, [rbp - 0x40]
call fcn.140019480
test al, al
jne 0x140008579
lea rdx, str.cant_parce_response
jmp 0x1400085bd
lea rcx, [rbp - 0x40]
cmp qword [rbp - 0x28], 0x10
cmovae rcx, qword [rbp - 0x40]
mov r8, qword [rbp - 0x30]
cmp r8, 0xe
jne 0x1400085af
lea rdx, str.GMV0_OK_ANSWER
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x1400085af
lea rdx, [rbp - 0x20]
call fcn.14008c980
mov dil, 1
jmp 0x1400085d5
lea rdx, [rbp - 0x20]
cmp qword [rbp - 8], 0x10
cmovae rdx, qword [rbp - 0x20]
mov r9d, reloc.WS2_32.dll_recv
lea r8, str.Server_Error
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
xor dil, dil
mov rdx, qword [rbp - 8]
cmp rdx, 0x10
jb 0x14000860c
inc rdx
mov rcx, qword [rbp - 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140008607
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000864f
call fcn.1400c76e4
movdqa xmm0, xmmword [0x140140e20]
movdqa xmmword [rbp - 0x10], xmm0
mov byte [rbp - 0x20], 0
mov rdx, qword [rbp - 0x28]
cmp rdx, 0x10
jb 0x14000865b
inc rdx
mov rcx, qword [rbp - 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140008656
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140008656
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400c76e4
mov qword [rbp - 0x30], r15
mov qword [rbp - 0x28], recv
mov byte [rbp - 0x40], 0
mov rsi, qword [rbp - 0x48]
mov rbx, qword [rbp - 0x60]
jmp 0x1400086a6
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.WS2_32.dll_closesocket]
lea rdx, [rbp - 0x80]
cmp qword [rbp - 0x68], 0x10
cmovae rdx, qword [rbp - 0x80]
mov r9d, reloc.WS2_32.dll_recv
lea r8, str.Server_Error
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
xor dil, dil
cmp rsi, 0x10
jb 0x140008726
lea rdx, [rsi + 1]
mov rax, rbx
cmp rdx, 0x1000
jb 0x1400086d8
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400086d8
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rbx
call fcn.1400c76e4
jmp 0x140008726
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.WS2_32.dll_closesocket]
lea rdx, [rbp - 0x80]
cmp qword [rbp - 0x68], 0x10
cmovae rdx, qword [rbp - 0x80]
jmp 0x14000870e
mov rcx, rbx
jmp 0x1400086e7
lea rdx, [rbp - 0x80]
cmp r14, 0x10
cmovae rdx, rdi
mov r9d, reloc.WS2_32.dll_recv
lea r8, str.Server_Error
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
xor dil, dil
mov rdx, qword [rbp - 0x68]
cmp rdx, 0x10
jb 0x140008764
inc rdx
mov rcx, qword [rbp - 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000875f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000875f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400c76e4
mov qword [rbp - 0x70], r15
mov qword [rbp - 0x68], recv
mov byte [rbp - 0x80], 0
mov rdx, qword [rbp + 0x38]
cmp rdx, 0x10
jb 0x1400087ab
inc rdx
mov rcx, qword [rbp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400087a6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400087dd
call fcn.1400c76e4
mov rdx, qword [rbp + 0x18]
cmp rdx, 0x10
jb 0x1400087ea
inc rdx
mov rcx, qword [rbp]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400087e4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400087e4
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, dil
mov rcx, qword [rbp + 0xc0]
xor rcx, rsp
call fcn.1400c7430
lea r11, [rsp + 0x1d0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret