Function at 0x1400060a4
Capabilities:
Receive data
Receive data on socket
Set socket configuration

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x60]
sub rsp, 0x160
and dword [r9], 0
cmp word [r8 + 2], 5
mov rbx, rdx
mov rdi, rcx
mov rsi, r9
mov rdx, r8
lea rcx, [rbp + 0xa0]
jae 0x140005f2a
call fcn.140003148
jmp 0x140005f2f
call fcn.140003210
mov r8, qword [rbp + 0xa0]
mov r14, rax
lea rax, [rbp + 0xa8]
lea r9, [rsp + 0x30]
mov rdx, r14
mov rcx, rdi
mov qword [rsp + 0x20], rax
call fcn.14000488c
mov rdi, qword [rsp + 0x30]
mov r15d, eax
test eax, eax
jne 0x140006073
cmp word [rdi + 2], 4
mov edx, dword [rbp + 0xa8]
mov r9, r14
mov r8, rdi
jne 0x140005fed
lea rcx, [rsp + 0x40]
call fcn.140003348
lea rcx, [rsp + 0x40]
mov dword [rsi], eax
mov eax, 0x80
movups xmm0, xmmword [rcx]
movups xmm1, xmmword [rcx + 0x10]
movups xmmword [rbx], xmm0
movups xmm0, xmmword [rcx + 0x20]
movups xmmword [rbx + 0x10], xmm1
movups xmm1, xmmword [rcx + 0x30]
movups xmmword [rbx + 0x20], xmm0
movups xmm0, xmmword [rcx + 0x40]
movups xmmword [rbx + 0x30], xmm1
movups xmm1, xmmword [rcx + 0x50]
movups xmmword [rbx + 0x40], xmm0
movups xmm0, xmmword [rcx + 0x60]
movups xmmword [rbx + 0x50], xmm1
movups xmmword [rbx + 0x60], xmm0
movups xmm0, xmmword [rcx + 0x70]
add rbx, rax
add rcx, rax
mov rax, qword [rcx + 0x20]
movups xmm1, xmmword [rcx]
movups xmmword [rbx - 0x10], xmm0
movups xmm0, xmmword [rcx + 0x10]
movups xmmword [rbx], xmm1
movups xmmword [rbx + 0x10], xmm0
mov qword [rbx + 0x20], rax
mov eax, dword [rcx + 0x28]
jmp 0x14000606c
mov rax, qword [rbp + 0xb0]
lea rcx, [rsp + 0x40]
mov qword [rsp + 0x20], rax
call fcn.1400035ac
lea rdx, [rsp + 0x54]
mov dword [rsi], eax
mov eax, 0x80
movups xmm0, xmmword [rdx]
movups xmm1, xmmword [rdx + 0x10]
movups xmmword [rbx], xmm0
movups xmm0, xmmword [rdx + 0x20]
movups xmmword [rbx + 0x10], xmm1
movups xmm1, xmmword [rdx + 0x30]
movups xmmword [rbx + 0x20], xmm0
movups xmm0, xmmword [rdx + 0x40]
movups xmmword [rbx + 0x30], xmm1
movups xmm1, xmmword [rdx + 0x50]
movups xmmword [rbx + 0x40], xmm0
movups xmm0, xmmword [rdx + 0x60]
movups xmmword [rbx + 0x50], xmm1
movups xmmword [rbx + 0x60], xmm0
movups xmm0, xmmword [rdx + 0x70]
add rbx, rax
add rdx, rax
mov rax, qword [rdx + 0x20]
movups xmm1, xmmword [rdx]
movups xmmword [rbx - 0x10], xmm0
movups xmm0, xmmword [rdx + 0x10]
movups xmmword [rbx], xmm1
movups xmmword [rbx + 0x10], xmm0
mov qword [rbx + 0x20], rax
mov eax, dword [rdx + 0x28]
bts dword [rsi], 8
mov dword [rbx + 0x28], eax
test rdi, rdi
je 0x140006081
mov rcx, rdi
call qword [sym.imp.msvcrt.dll_free]
mov rcx, r14
call qword [sym.imp.msvcrt.dll_free]
mov rbx, qword [rsp + 0x190]
mov eax, r15d
add rsp, 0x160
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x40
mov rdi, rcx
mov rcx, rdx
mov r15, r9
mov r12, r8
mov rbp, rdx
call fcn.140006eac
mov rsi, qword [rdi]
cmp rsi, 0xffffffffffffffff
je 0x140006156
lea r8, [rsp + 0x30]
mov ebx, 1
mov edx, 0x8004667e
mov rcx, rsi
mov dword [rsp + 0x30], ebx
call qword [sym.imp.WS2_32.dll_ioctlsocket]
test eax, eax
jne 0x140006130
lea r9d, [rbx + 1]
lea rdx, [rsp + 0x70]
mov r8d, ebx
mov rcx, rsi
call qword [sym.imp.WS2_32.dll_recv]
and dword [rsp + 0x30], 0
lea r8, [rsp + 0x30]
mov edx, 0x8004667e
mov rcx, rsi
mov r14d, eax
call qword [sym.imp.WS2_32.dll_ioctlsocket]
test eax, eax
jne 0x140006130
test r14d, r14d
jne 0x14000613e
lea rcx, str._nWarning:_Server_closed_RPC_connection__probably_non_multitasked_KMS_emulator__n
call fcn.140003e6c
jmp 0x140006140
xor bl, bl
cmp byte [0x14000fd42], 0
jne 0x14000614d
test bl, bl
je 0x14000615e
mov rcx, qword [rdi]
call qword [sym.imp.WS2_32.dll_closesocket]
mov rcx, rdi
call fcn.140005c8c
movzx edx, word [0x14000fea0]
lea rcx, str.Sending_activation_request__KMS_V_u_
call qword [sym.imp.msvcrt.dll_printf]
call qword [sym.imp.msvcrt.dll___iob_func]
lea rcx, [rax + 0x30]
call qword [sym.imp.msvcrt.dll_fflush]
mov r9, qword [rsp + 0x90]
mov rcx, qword [rdi]
mov r8, rbp
mov rdx, r12
mov qword [rsp + 0x90], r15
lea r11, [rsp + 0x40]
mov rbx, qword [r11 + 0x38]
mov rbp, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rsi
jmp 0x140005eec