Function at 0x140041210
Capabilities:
Receive data
Receive data on socket
Send data
Send data on socket

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rdi
push rbp
lea rbp, [rsp - 0x130]
sub rsp, 0x230
mov rax, qword [0x140055040]
xor rax, rsp
mov qword [rbp + 0x120], rax
mov rdi, rcx
lea rdx, str.Trying_activate_key_for:
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.14003c710
cmp qword [rdi + 0x68], 0xf
lea rdx, [rdi + 0x50]
jbe 0x140041260
mov rdx, qword [rdi + 0x50]
mov r8, qword [rdi + 0x60]
mov rcx, rax
call fcn.14003d3d0
mov rcx, rax
lea rdx, str...._n
call fcn.14003c710
xor edx, edx
mov word [rsp + 0x20], 0x105
mov r8d, 0xfe
lea rcx, [rsp + 0x22]
call sub.VCRUNTIME140.dll_memset
lea rax, [rdi + 0x70]
cmp qword [rax + 0x18], 0xf
jbe 0x1400412a2
mov rax, qword [rax]
movzx ecx, byte [rax]
mov rdx, 0xffffffffffffffff
mov byte [rsp + 0x22], cl
mov rcx, rdx
inc rcx
cmp byte [rax + rcx], 0
jne 0x1400412b3
cmp rcx, 1
jae 0x1400412c9
mov byte [rsp + 0x23], 0x7c
jmp 0x1400412d1
movzx ecx, byte [rax + 1]
mov byte [rsp + 0x23], cl
mov rcx, rdx
inc rcx
cmp byte [rax + rcx], 0
jne 0x1400412d4
cmp rcx, 2
jae 0x1400412ea
mov byte [rsp + 0x24], 0x7c
jmp 0x1400412f2
movzx ecx, byte [rax + 2]
mov byte [rsp + 0x24], cl
mov rcx, rdx
inc rcx
cmp byte [rax + rcx], 0
jne 0x1400412f5
cmp rcx, 3
jae 0x14004130b
mov byte [rsp + 0x25], 0x7c
jmp 0x140041313
movzx ecx, byte [rax + 3]
mov byte [rsp + 0x25], cl
mov rcx, rdx
inc rcx
cmp byte [rax + rcx], 0
jne 0x140041316
cmp rcx, 4
jae 0x14004132c
mov byte [rsp + 0x26], 0x7c
jmp 0x140041334
movzx ecx, byte [rax + 4]
mov byte [rsp + 0x26], cl
mov rcx, rdx
inc rcx
cmp byte [rax + rcx], 0
jne 0x140041337
cmp rcx, 5
jae 0x14004134d
mov byte [rsp + 0x27], 0x7c
jmp 0x140041355
movzx ecx, byte [rax + 5]
mov byte [rsp + 0x27], cl
mov rcx, rdx
nop dword [rax + rax]
inc rcx
cmp byte [rax + rcx], 0
jne 0x140041360
cmp rcx, 6
jae 0x140041376
mov byte [rsp + 0x28], 0x7c
jmp 0x14004137e
movzx ecx, byte [rax + 6]
mov byte [rsp + 0x28], cl
mov rcx, rdx
inc rcx
cmp byte [rax + rcx], 0
jne 0x140041381
cmp rcx, 7
jae 0x140041397
mov byte [rsp + 0x29], 0x7c
jmp 0x14004139f
movzx ecx, byte [rax + 7]
mov byte [rsp + 0x29], cl
mov rcx, rdx
inc rcx
cmp byte [rax + rcx], 0
jne 0x1400413a2
cmp rcx, 8
jae 0x1400413b8
mov byte [rsp + 0x2a], 0x7c
jmp 0x1400413c0
movzx ecx, byte [rax + 8]
mov byte [rsp + 0x2a], cl
mov rcx, rdx
inc rcx
cmp byte [rax + rcx], 0
jne 0x1400413c3
cmp rcx, 9
jae 0x1400413d9
mov byte [rsp + 0x2b], 0x7c
jmp 0x1400413e1
movzx ecx, byte [rax + 9]
mov byte [rsp + 0x2b], cl
mov rcx, rdx
inc rcx
cmp byte [rax + rcx], 0
jne 0x1400413e4
cmp rcx, 0xa
jae 0x1400413fa
mov byte [rsp + 0x2c], 0x7c
jmp 0x140041402
movzx ecx, byte [rax + 0xa]
mov byte [rsp + 0x2c], cl
mov rcx, rdx
inc rcx
cmp byte [rax + rcx], 0
jne 0x140041405
cmp rcx, 0xb
jae 0x14004141b
mov byte [rsp + 0x2d], 0x7c
jmp 0x140041423
movzx ecx, byte [rax + 0xb]
mov byte [rsp + 0x2d], cl
mov rcx, rdx
inc rcx
cmp byte [rax + rcx], 0
jne 0x140041426
cmp rcx, 0xc
jae 0x14004143c
mov byte [rsp + 0x2e], 0x7c
jmp 0x140041444
movzx ecx, byte [rax + 0xc]
mov byte [rsp + 0x2e], cl
mov rcx, rdx
inc rcx
cmp byte [rax + rcx], 0
jne 0x140041447
cmp rcx, 0xd
jae 0x14004145d
mov byte [rsp + 0x2f], 0x7c
jmp 0x140041465
movzx ecx, byte [rax + 0xd]
mov byte [rsp + 0x2f], cl
mov rcx, rdx
nop dword [rax + rax]
inc rcx
cmp byte [rax + rcx], 0
jne 0x140041470
cmp rcx, 0xe
jae 0x140041486
mov byte [rsp + 0x30], 0x7c
jmp 0x14004148e
movzx ecx, byte [rax + 0xe]
mov byte [rsp + 0x30], cl
mov rcx, rdx
inc rcx
cmp byte [rax + rcx], 0
jne 0x140041491
cmp rcx, 0xf
jae 0x1400414a7
mov byte [rsp + 0x31], 0x7c
jmp 0x1400414af
movzx ecx, byte [rax + 0xf]
mov byte [rsp + 0x31], cl
mov rcx, rdx
inc rcx
cmp byte [rax + rcx], 0
jne 0x1400414b2
cmp rcx, 0x10
jae 0x1400414c8
mov byte [rsp + 0x32], 0x7c
jmp 0x1400414d0
movzx ecx, byte [rax + 0x10]
mov byte [rsp + 0x32], cl
mov rcx, rdx
inc rcx
cmp byte [rax + rcx], 0
jne 0x1400414d3
cmp rcx, 0x11
jae 0x1400414e9
mov byte [rsp + 0x33], 0x7c
jmp 0x1400414f1
movzx ecx, byte [rax + 0x11]
mov byte [rsp + 0x33], cl
mov rcx, rdx
inc rcx
cmp byte [rax + rcx], 0
jne 0x1400414f4
cmp rcx, 0x12
jae 0x14004150a
mov byte [rsp + 0x34], 0x7c
jmp 0x140041512
movzx ecx, byte [rax + 0x12]
mov byte [rsp + 0x34], cl
mov rcx, rdx
inc rcx
cmp byte [rax + rcx], 0
jne 0x140041515
cmp rcx, 0x13
jae 0x14004152b
mov byte [rsp + 0x35], 0x7c
jmp 0x140041533
movzx ecx, byte [rax + 0x13]
mov byte [rsp + 0x35], cl
inc rdx
cmp byte [rax + rdx], 0
jne 0x140041533
cmp rdx, 0x14
jae 0x140041546
mov al, 0x7c
jmp 0x14004154a
movzx eax, byte [rax + 0x14]
mov rcx, qword [rdi]
lea rdx, [rsp + 0x20]
xor r9d, r9d
mov byte [rsp + 0x36], al
mov r8d, 0x100
call qword [sym.imp.WS2_32.dll_send]
mov rcx, qword [rdi]
lea rdx, [rbp + 0x20]
xor r9d, r9d
mov r8d, 0x100
call qword [sym.imp.WS2_32.dll_recv]
cmp byte [rbp + 0x20], 5
je 0x1400415a5
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
lea rdx, str.Invalid_packet_received__no_connection_
call fcn.14003c710
mov rcx, rax
lea rdx, [0x140047da0]
call fcn.14003c710
jmp 0x1400415ac
movsx eax, byte [rbp + 0x21]
mov dword [rdi + 0x24], eax
mov rcx, qword [rbp + 0x120]
xor rcx, rsp
call fcn.1400447d0
lea r11, [rsp + 0x230]
mov rbx, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret