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

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r12
push r13
push r14
mov eax, 0x1cc0
call fcn.14022fc50
sub rsp, rax
mov rax, qword [0x1402de400]
xor rax, rsp
mov qword [rsp + 0x1cb0], rax
mov r12d, dword [rcx - 0x28]
mov rbp, rcx
mov r14d, 2
xor r13d, r13d
nop word [rax + rax]
mov rax, qword [rbp + 0x18]
mov ebx, 0xa
mov rdi, qword [rax + 0x9300]
lea rax, [rsp + 0xb0]
lea rdx, [rsp + 0xcb0]
xor r9d, r9d
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x30]
mov r8d, 0x1000
mov rcx, rdi
mov dword [rsp + 0xb0], 0x80
mov qword [rsp + 0x20], rax
call qword [sym.imp.WS2_32.dll_recvfrom]
movsxd rsi, eax
test eax, eax
jns 0x1400705e5
call sub.WS2_32.dll_WSAGetLastError
cmp eax, 0x2746
je 0x1400705bb
call sub.WS2_32.dll_WSAGetLastError
cmp eax, 0x2744
je 0x1400705bb
call sub.WS2_32.dll_WSAGetLastError
cmp eax, 0x274d
jne 0x140070673
dec ebx
test ebx, ebx
jg 0x140070550
call sub.WS2_32.dll_WSAGetLastError
cmp eax, 0x2733
jne 0x140070897
mov rcx, qword [rbp + 0x20]
xor r8d, r8d
xor edx, edx
mov rax, qword [rcx]
call qword [rax + 0x20]
jmp 0x1400708c6
cmp word [rsp + 0x30], 0x17
jne 0x140070673
cmp dword [rsp + 0x38], r13d
jne 0x140070673
cmp dword [rsp + 0x3c], r13d
jne 0x140070673
mov ecx, 0xffff
call sub.WS2_32.dll_htonl
cmp dword [rsp + 0x40], eax
jne 0x140070673
lea rcx, [rsp + 0x30]
lea rdx, [rsp + 0xc0]
mov rax, qword [rcx]
mov qword [rdx], rax
mov rax, qword [rcx + 8]
mov qword [rdx + 8], rax
mov rax, qword [rcx + 0x10]
mov qword [rdx + 0x10], rax
mov eax, dword [rcx + 0x18]
mov dword [rsp + 0xb0], reloc.WS2_32.dll_recv
mov dword [rdx + 0x18], eax
xor eax, eax
mov dword [rsp + 0x30], eax
mov dword [rsp + 0x34], eax
mov dword [rsp + 0x38], eax
mov dword [rsp + 0x3c], eax
movzx eax, word [rsp + 0xc2]
mov word [rsp + 0x30], r14w
mov word [rsp + 0x32], ax
mov eax, dword [rsp + 0xd4]
mov dword [rsp + 0x34], eax
test esi, esi
je 0x140070540
js 0x1400705c1
mov rdi, qword [rbp + 0x18]
mov rbx, rsi
mov eax, dword [rdi + 0x58]
test eax, eax
je 0x14007088d
cmp eax, 1
je 0x14007088d
test esi, esi
je 0x140070856
test byte [rsp + 0xcb0], 0xc0
jne 0x140070856
cmp rbx, 0x14
jb 0x140070856
mov ecx, dword [rsp + 0xcb4]
call qword [sym.imp.WS2_32.dll_ntohl]
cmp eax, 0x2112a442
jne 0x140070856
movzx ecx, word [rsp + 0xcb2]
call qword [sym.imp.WS2_32.dll_ntohs]
movzx eax, ax
test al, 3
jne 0x140070856
add rax, 0x14
cmp rbx, rax
jne 0x140070856
lea r8, [rsp + 0xe0]
lea rcx, [rsp + 0xcb0]
mov rdx, rbx
call fcn.1400ba3c0
test eax, eax
js 0x14007088d
mov r11d, dword [rsp + 0xe4]
cmp r11d, 1
jne 0x140070771
cmp dword [rsp + 0xad0], r13d
je 0x140070771
lea r9, [rsp + 0xe0]
lea rdx, [rsp + 0xcb0]
mov r8, rbx
mov rcx, rdi
call fcn.140074160
test eax, eax
jne 0x14007088d
mov edx, dword [rsp + 0xf8]
lea r8, [rsp + 0x30]
mov rcx, rdi
call fcn.140074be0
mov r11d, dword [rsp + 0xe4]
mov ebx, dword [rsp + 0xe0]
bt ebx, 8
jae 0x1400707ea
mov r9d, dword [rdi + 0x92d0]
mov edx, r13d
test r9d, r9d
jle 0x14007088d
movsxd rax, edx
lea rcx, [rsp + 0xe8]
mov r8, qword [rcx]
imul rax, rax, 0xd0
cmp r8, qword [rax + rdi + 0x6110]
lea r10, [rax + rdi + 0x6070]
jne 0x1400707ca
mov r8d, dword [rcx + 8]
cmp r8d, dword [r10 + 0xa8]
jne 0x1400707ca
mov eax, r13d
jmp 0x1400707cf
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x1400707df
inc edx
cmp edx, r9d
jl 0x140070791
jmp 0x14007088d
test r10, r10
je 0x14007088d
jmp 0x140070815
lea rdx, [rsp + 0x30]
xor r8d, r8d
mov rcx, rdi
call fcn.1400753a0
mov r10, rax
test rax, rax
je 0x14007088d
mov r11d, dword [rsp + 0xe4]
mov ebx, dword [rsp + 0xe0]
cmp r11d, 1
jne 0x14007088d
cmp dword [r10], 3
jne 0x140070837
cmp dword [rsp + 0xad0], r13d
jne 0x140070837
test ebx, ebx
je 0x14007088d
cmp ebx, 0x100
je 0x14007088d
lea r9, [rsp + 0x30]
lea rdx, [rsp + 0xe0]
mov r8, r10
mov rcx, rdi
mov qword [rsp + 0x20], r13
call fcn.1400742c0
jmp 0x14007088d
lea rdx, [rsp + 0x30]
xor r8d, r8d
mov rcx, rdi
call fcn.1400753a0
test rax, rax
je 0x14007088d
cmp dword [rax], 3
jne 0x14007088d
mov rax, qword [rdi + 0x48]
test rax, rax
je 0x14007088d
mov r9, qword [rdi + 0x50]
lea rdx, [rsp + 0xcb0]
mov r8, rbx
mov rcx, rdi
call rax
test esi, esi
jg 0x140070540
jmp 0x1400708c6
mov rbx, qword [rbp + 0x18]
cmp dword [rbx + 0x58], 5
je 0x1400708bf
mov rax, qword [rbx + 0x30]
mov dword [rbx + 0x58], 5
test rax, rax
je 0x1400708bf
mov r8, qword [rbx + 0x50]
mov edx, 5
mov rcx, rbx
call rax
mov qword [rbx + 0x92d8], r13
cmp r12d, 3
je 0x1400708de
mov rax, qword [rbp - 0x48]
lea rcx, [rbp - 0x48]
xor r8d, r8d
lea edx, [r8 + 0xc]
call qword [rax + 0x20]
mov rcx, qword [rsp + 0x1cb0]
xor rcx, rsp
call fcn.1401e42a0
lea r11, [rsp + 0x1cc0]
mov rbx, qword [r11 + 0x38]
mov rbp, qword [r11 + 0x40]
mov rsp, r11
pop r14
pop r13
pop r12
pop rdi
pop rsi
ret