Function at 0x14003c680
Capabilities:
Receive data
Receive data on socket

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r14
lea rbp, [rsp - 0x10]
sub rsp, 0x110
mov rax, qword [0x140098500]
xor rax, rsp
mov qword [rbp], rax
mov rbx, rdx
mov rsi, rcx
xor r14d, r14d
mov rdx, qword [rdx + 0x90]
test rdx, rdx
je 0x14003c6ee
lea rcx, [rbx + 0xa0]
mov r8, qword [rbx + 0x98]
add r8, rcx
add rdx, rcx
sub r8, rdx
call sub.VCRUNTIME140.dll_memmove
mov rax, qword [rbx + 0x90]
sub qword [rbx + 0x98], rax
mov qword [rbx + 0x90], r14
lea r10, [rbx + 0x8b8]
mov dword [r10], r14d
mov rcx, qword [rbx + 0x98]
add rcx, 0xa0
add rcx, rbx
mov qword [rbx + 0x8b0], rcx
mov eax, 0x800
sub rax, qword [rbx + 0x98]
lea rdx, [rbx + 0x8a8]
mov dword [rdx], eax
mov dword [rbx], 0x80
lea r8, [rbx + 0x8c0]
xorps xmm0, xmm0
movups xmmword [r8], xmm0
movups xmmword [r8 + 0x10], xmm0
lea rax, [rbx + 8]
lea r9, [rbx + 0x8a0]
mov qword [rsp + 0x40], r14
mov qword [rsp + 0x38], r8
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r10
mov r8d, 1
mov rcx, qword [rsi]
call qword [sym.imp.WS2_32.dll_WSARecvFrom]
cmp eax, 0xffffffff
jne 0x14003c9a7
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x3e5
je 0x14003c9a7
cmp eax, 0x2746
je 0x14003c9a3
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov edx, eax
lea rcx, [rbp - 0x20]
call fcn.140033f90
nop
lea rcx, str.unable_to_recv_packet
mov qword [rsp + 0x70], rcx
mov rcx, rax
cmp qword [rax + 0x18], 0xf
jbe 0x14003c7c1
mov rcx, qword [rax]
mov rax, qword [rax + 0x10]
mov qword [rsp + 0x50], rcx
mov qword [rsp + 0x58], rax
movups xmm0, xmmword [rsp + 0x70]
movups xmmword [rbp - 0x40], xmm0
movups xmm1, xmmword [rsp + 0x50]
movups xmmword [rbp - 0x30], xmm1
mov qword [rsp + 0x50], 0xdc
lea rax, [rbp - 0x40]
mov qword [rsp + 0x58], rax
movaps xmm0, xmmword [rsp + 0x50]
movdqa xmmword [rsp + 0x70], xmm0
lea rax, str.message:__with_code:_
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x58], 0x19
lea r8, [rsp + 0x70]
lea rdx, [rsp + 0x50]
lea rcx, [rbp - 0x60]
call fcn.1400728e0
nop
xorps xmm0, xmm0
movups xmmword [rbp - 0x80], xmm0
mov qword [rbp - 0x70], r14
mov qword [rbp - 0x68], sendto
mov ecx, 0x60
call fcn.1400734b0
mov rcx, rax
mov qword [rbp - 0x80], rax
mov qword [rbp - 0x70], 0x5c
mov qword [rbp - 0x68], 0x5f
movaps xmm0, xmmword [str.C:BuildXoap1YSt2HaplyInternalhardware_api_service_srclts_srccommunication_socket.cpp]
movups xmmword [rax], xmm0
movaps xmm1, xmmword [0x140081090]
movups xmmword [rax + 0x10], xmm1
movaps xmm0, xmmword [0x1400810a0]
movups xmmword [rax + 0x20], xmm0
movaps xmm1, xmmword [0x1400810b0]
movups xmmword [rax + 0x30], xmm1
movaps xmm0, xmmword [0x1400810c0]
movups xmmword [rax + 0x40], xmm0
movsd xmm0, qword [0x1400810d0]
movsd qword [rax + 0x50], xmm0
mov eax, dword [0x1400810d8]
mov dword [rcx + 0x58], eax
mov byte [rcx + 0x5c], 0
lea r9, [rbp - 0x60]
mov r8d, 0xe0
lea rdx, [rbp - 0x80]
mov ecx, 2
call fcn.14004f120
nop
mov rdx, qword [rbp - 0x68]
cmp rdx, 0xf
jbe 0x14003c902
inc rdx
mov rcx, qword [rbp - 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14003c8fd
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14003c8fd
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400734ec
mov qword [rbp - 0x70], r14
mov qword [rbp - 0x68], sendto
mov byte [rbp - 0x80], 0
mov rdx, qword [rbp - 0x48]
cmp rdx, 0xf
jbe 0x14003c950
inc rdx
mov rcx, qword [rbp - 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14003c94b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14003c94b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400734ec
movdqa xmm0, xmmword [0x14007e9a0]
movdqu xmmword [rbp - 0x50], xmm0
mov byte [rbp - 0x60], 0
mov rdx, qword [rbp - 8]
cmp rdx, 0xf
jbe 0x14003c99f
inc rdx
mov rcx, qword [rbp - 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14003c99a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14003c99a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400734ec
mov al, 0xfe
jmp 0x14003c9a9
mov al, sendto
jmp 0x14003c9a9
xor al, al
mov rcx, qword [rbp]
xor rcx, rsp
call fcn.140073840
lea r11, [rsp + 0x110]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret