Function at 0x1400146b0
Capabilities:
Connect socket
Send data
Send data on socket

Disassembly:
mov qword [rsp + 0x18], 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 [0x14014c010]
xor rax, rsp
mov qword [rbp + 0xc0], rax
mov rsi, rdx
mov r15, rcx
xor r12d, r12d
mov dword [rsp + 0x40], r12d
xor r8d, r8d
lea rdx, [0x1400c12f7]
add rcx, 0x108
call fcn.140008cb0
lea rcx, [r15 + 0x128]
lea r8d, [r12 + 5]
lea rdx, str.EMPTY
call fcn.140008cb0
lea rcx, [r15 + 0x148]
xor r8d, r8d
lea rdx, [0x1400c12f7]
call fcn.140008cb0
xor r8d, r8d
lea rdx, [0x1400c12f7]
mov rcx, rsi
call fcn.140008cb0
xorps xmm0, xmm0
movups xmmword [rbp + 0x60], xmm0
movdqa xmm1, xmmword [0x140138340]
movdqa xmmword [rbp + 0x70], xmm1
mov byte [rbp + 0x60], r12b
movups xmmword [rbp + 0x80], xmm0
movdqa xmmword [rbp + 0x90], xmm1
mov byte [rbp + 0x80], r12b
xor r8d, r8d
lea rdx, [0x1400c12f7]
lea rcx, [rbp + 0x60]
call fcn.140008cb0
xor r8d, r8d
lea rdx, [0x1400c12f7]
lea rcx, [rbp + 0x80]
call fcn.140008cb0
nop
lea r8d, [r12 + 0x14]
lea rdx, str.GMV0_LICENSE_REQUEST
lea rcx, [rbp + 0x60]
call fcn.140008cb0
lea rcx, [r15 + 0x168]
lea rdx, [rsp + 0x58]
call fcn.1400170a0
mov rbx, rax
lea rax, [rbp + 0x80]
cmp rax, rbx
je 0x140014839
mov rdx, qword [rbp + 0x98]
cmp rdx, 0x10
jb 0x140014815
inc rdx
mov rcx, qword [rbp + 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140014810
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140014810
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400b5f14
movups xmm0, xmmword [rbx]
movaps xmmword [rbp + 0x80], xmm0
movups xmm1, xmmword [rbx + 0x10]
movaps xmmword [rbp + 0x90], xmm1
mov qword [rbx + 0x10], r12
mov qword [rbx + 0x18], recv
mov byte [rbx], 0
lea rcx, [rsp + 0x58]
call fcn.140002da0
lea rdx, [rbp + 0xa0]
lea rcx, [rbp + 0x60]
call fcn.140016de0
nop
xorps xmm0, xmm0
movups xmmword [rbp - 0x40], xmm0
mov qword [rbp - 0x30], r12
mov qword [rbp - 0x28], recv
mov byte [rbp - 0x40], 0
xor r8d, r8d
lea rdx, [0x1400c12f7]
lea rcx, [rbp - 0x40]
call fcn.140008cb0
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 + 0x48], rax
cmp rax, 0xffffffffffffffff
jne 0x1400148b2
lea r8d, [rax + 0x1f]
lea rdx, str.client_socket__INVALID_SOCKET
lea rcx, [rbp - 0x40]
call fcn.140008cb0
lea rcx, [rbp - 0x40]
cmp qword [rbp - 0x28], 0x10
cmovae rcx, qword [rbp - 0x40]
mov r8, qword [rbp - 0x30]
test r8, r8
jne 0x140014eb6
lea rdx, [0x1400c12f7]
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x140014eb6
mov r14d, dword [r15 + 0xa8]
lea rdx, [r15 + 0x88]
lea rcx, [rsp + 0x58]
call fcn.140008840
mov rdi, rax
mov qword [rsp + 0x50], rax
xor r8d, r8d
lea rdx, [0x1400c12f7]
lea rcx, [rbp - 0x40]
call fcn.140008cb0
mov qword [rbp - 0x18], r12
mov eax, 2
mov word [rbp - 0x20], ax
mov rcx, rdi
cmp qword [rdi + 0x18], 0x10
jb 0x14001492e
mov rcx, qword [rdi]
call qword [sym.imp.WS2_32.dll_inet_addr]
mov dword [rbp - 0x1c], eax
movzx ecx, r14w
call qword [sym.imp.WS2_32.dll_htons]
mov word [rbp - 0x1e], ax
mov r8d, reloc.WS2_32.dll_recv
lea rdx, [rbp - 0x20]
mov rcx, rbx
call qword [sym.imp.WS2_32.dll_connect]
cmp eax, 0xffffffff
jne 0x140014972
lea r8d, [rax + 0x17]
lea rdx, str.connect__SOCKET_ERROR
lea rcx, [rbp - 0x40]
call fcn.140008cb0
nop
mov rcx, rdi
call fcn.140002da0
lea rcx, [rbp - 0x40]
cmp qword [rbp - 0x28], 0x10
cmovae rcx, qword [rbp - 0x40]
mov r8, qword [rbp - 0x30]
test r8, r8
jne 0x140014e9e
lea rdx, [0x1400c12f7]
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x140014e9e
mov edi, dword [r15 + 0xd0]
lea rax, [rsp + 0x58]
mov qword [rsp + 0x50], rax
lea rdx, [r15 + 0xb0]
lea rcx, [rsp + 0x58]
call fcn.140008840
mov r12, rax
mov qword [rbp - 0x48], rax
lea rdx, [rbp + 0xa0]
lea rcx, [rbp - 0x68]
call fcn.140008840
mov r14, rax
mov qword [rbp - 0x20], rax
xor r8d, r8d
lea rdx, [0x1400c12f7]
lea rcx, [rbp - 0x40]
call fcn.140008cb0
mov rdx, r12
lea rcx, [rsp + 0x78]
call fcn.140008840
mov r9, r14
mov r8d, edi
mov rdx, rax
call fcn.140023d80
mov rdx, r14
cmp qword [r14 + 0x18], 0x10
jb 0x140014a24
mov rdx, qword [r14]
xor r9d, r9d
mov r8d, dword [r14 + 0x10]
mov rcx, rbx
call qword [sym.imp.WS2_32.dll_send]
movsxd rcx, eax
cmp rcx, qword [r14 + 0x10]
je 0x140014a54
mov r8d, 0x1c
lea rdx, str.sent_bytes___message.size__
lea rcx, [rbp - 0x40]
call fcn.140008cb0
nop
mov rcx, r14
call fcn.140002da0
nop
mov rcx, r12
call fcn.140002da0
lea rcx, [rbp - 0x40]
cmp qword [rbp - 0x28], 0x10
cmovae rcx, qword [rbp - 0x40]
mov r8, qword [rbp - 0x30]
test r8, r8
jne 0x140014e86
lea rdx, [0x1400c12f7]
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x140014e86
xorps xmm0, xmm0
movups xmmword [rbp], xmm0
xor ebx, ebx
mov qword [rbp + 0x10], rbx
mov qword [rbp + 0x18], rbx
xor r8d, r8d
lea rdx, [0x1400c12f7]
lea rcx, [rbp]
call fcn.140002230
nop
lea rax, [rbp - 0x40]
mov qword [rsp + 0x20], rax
mov r9d, dword [r15 + 0xd0]
lea r8, [rbp]
mov edx, 0x989680
lea rcx, [rsp + 0x48]
call fcn.140023b80
lea rcx, [rbp - 0x40]
cmp qword [rbp - 0x28], 0x10
cmovae rcx, qword [rbp - 0x40]
mov r8, qword [rbp - 0x30]
test r8, r8
jne 0x140014e5a
lea rdx, [0x1400c12f7]
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x140014e5a
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.WS2_32.dll_closesocket]
lea rcx, [rbp]
cmp qword [rbp + 0x18], 0x10
cmovae rcx, qword [rbp]
mov r8, qword [rbp + 0x10]
test r8, r8
jne 0x140014b49
lea rdx, [0x1400c12f7]
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x140014b49
lea rdx, str.Error_code:_5
jmp 0x140014e6c
xorps xmm0, xmm0
movups xmmword [rbp + 0x20], xmm0
mov qword [rbp + 0x30], rbx
mov qword [rbp + 0x38], recv
mov byte [rbp + 0x20], 0
movups xmmword [rbp + 0x40], xmm0
movdqa xmm1, xmmword [0x140138340]
movdqa xmmword [rbp + 0x50], xmm1
mov byte [rbp + 0x40], 0
xor r8d, r8d
lea rdx, [0x1400c12f7]
lea rcx, [rbp + 0x20]
call fcn.140008cb0
xor r8d, r8d
lea rdx, [0x1400c12f7]
lea rcx, [rbp + 0x40]
call fcn.140008cb0
nop
lea rdx, [rbp]
lea rcx, [rbp + 0x20]
call fcn.140016f20
test al, al
jne 0x140014bc7
mov r8d, recv
lea rdx, str.Error_code:_6
mov rcx, rsi
call fcn.140008cb0
jmp 0x140014e46
lea rcx, [rbp + 0x20]
mov r14, qword [rbp + 0x20]
mov r12, qword [rbp + 0x38]
cmp r12, 0x10
cmovae rcx, r14
mov rbx, qword [rbp + 0x30]
cmp rbx, 0x13
jne 0x140014c82
mov r8, rbx
lea rdx, str.GMV0_LICENSE_ANSWER
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x140014c82
lea rdx, [rbp + 0x40]
lea rcx, [rsp + 0x58]
call fcn.140008840
mov rdx, rax
lea rcx, [r15 + 0x108]
call fcn.140017480
test al, al
jne 0x140014c39
lea r8d, [rbx - 6]
lea rdx, str.Error_code:_8
mov rcx, rsi
call fcn.140008cb0
jmp 0x140014e46
lea rcx, [r15 + 0x128]
mov r8, qword [rcx + 0x10]
cmp qword [rcx + 0x18], 0x10
jb 0x140014c4e
mov rcx, qword [rcx]
cmp r8, 6
jne 0x140014c68
lea rdx, str.ACCEPT
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x140014e46
mov r8d, reloc.WS2_32.dll_recv
lea rdx, str.License_DECLINED
mov rcx, rsi
call fcn.140008cb0
jmp 0x140014e46
movabs rdi, 0x7fffffffffffffff
mov rax, rdi
sub rax, rbx
cmp rax, 6
jb 0x140014f28
lea rax, [rbp + 0x20]
cmp r12, 0x10
cmovae rax, r14
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], 6
lea r9, str.type:
lea rcx, [rbp - 0x68]
call fcn.14000a090
mov ebx, 4
mov dword [rsp + 0x40], ebx
lea r8d, [rbx - 3]
lea rdx, [0x1400c1bd0]
lea rcx, [rbp - 0x68]
call fcn.140008e10
xorps xmm0, xmm0
movups xmmword [rbp - 0x20], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x10], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x20], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x10], xmm1
xor r14d, r14d
mov qword [rax + 0x10], r14
mov qword [rax + 0x18], recv
mov byte [rax], r14b
or ebx, 0xa
mov dword [rsp + 0x40], ebx
lea rcx, [rbp - 0x68]
call fcn.140002da0
mov rcx, qword [rbp + 0x50]
sub rdi, rcx
cmp rdi, 9
jb 0x140014f22
lea rax, [rbp + 0x40]
cmp qword [rbp + 0x58], 0x10
cmovae rax, qword [rbp + 0x40]
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], 9
lea r9, str.subject:
lea rcx, [rsp + 0x58]
call fcn.14000a090
or ebx, 0x10
mov dword [rsp + 0x40], ebx
lea r8d, [r14 + 1]
lea rdx, [0x1400c1bd0]
lea rcx, [rsp + 0x58]
call fcn.140008e10
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x78], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x78], xmm1
mov qword [rax + 0x10], r14
mov qword [rax + 0x18], recv
mov byte [rax], r14b
or ebx, 0x20
mov dword [rsp + 0x40], ebx
lea rdx, [rsp + 0x78]
movq rcx, xmm0
movdqa xmm0, xmm1
psrldq xmm0, 8
movq rax, xmm0
cmp rax, 0x10
cmovae rdx, rcx
movq r8, xmm1
lea rcx, [rbp - 0x20]
call fcn.140008e10
nop
lea rcx, [rsp + 0x78]
call fcn.140002da0
nop
lea rcx, [rsp + 0x58]
call fcn.140002da0
lea r9d, [r14 + 0xf]
lea r8, str.Error._code_7.
lea rcx, [rbp - 0x20]
call fcn.140016440
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x78], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x78], xmm1
mov qword [rax + 0x10], r14
mov qword [rax + 0x18], recv
mov byte [rax], r14b
lea rdx, [rsp + 0x78]
mov rcx, rsi
call fcn.140008780
lea rcx, [rsp + 0x78]
call fcn.140002da0
nop
lea rcx, [rbp - 0x20]
call fcn.140002da0
nop
lea rcx, [rbp + 0x40]
call fcn.140002da0
lea rcx, [rbp + 0x20]
call fcn.140002da0
jmp 0x140014e7b
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.WS2_32.dll_closesocket]
lea rdx, str.Error_code:_4
mov r8d, recv
mov rcx, rsi
call fcn.140008cb0
nop
lea rcx, [rbp]
call fcn.140002da0
jmp 0x140014ecc
mov rcx, rbx
call qword [sym.imp.WS2_32.dll_closesocket]
lea rdx, str.Error_code:_3
mov r8d, recv
jmp 0x140014ec3
mov rcx, rbx
call qword [sym.imp.WS2_32.dll_closesocket]
lea rdx, str.Error_code:_2
mov r8d, recv
jmp 0x140014ec3
lea rdx, str.Error_code_1
mov r8d, recv
mov rcx, rsi
call fcn.140008cb0
nop
lea rcx, [rbp - 0x40]
call fcn.140002da0
nop
lea rcx, [rbp + 0xa0]
call fcn.140002da0
nop
lea rcx, [rbp + 0x80]
call fcn.140002da0
lea rcx, [rbp + 0x60]
call fcn.140002da0
mov rcx, qword [rbp + 0xc0]
xor rcx, rsp
call fcn.1400b5c60
mov rbx, qword [rsp + 0x220]
add rsp, 0x1d0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call fcn.1400021c0
nop
call fcn.1400021c0
int3