Function at 0x140072990
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.140232c50
sub rsp, rax
mov rax, qword [0x1402e0068]
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 0x140072a85
call sub.WS2_32.dll_WSAGetLastError
cmp eax, 0x2746
je 0x140072a5b
call sub.WS2_32.dll_WSAGetLastError
cmp eax, 0x2744
je 0x140072a5b
call sub.WS2_32.dll_WSAGetLastError
cmp eax, 0x274d
jne 0x140072b13
dec ebx
test ebx, ebx
jg 0x1400729f0
call sub.WS2_32.dll_WSAGetLastError
cmp eax, 0x2733
jne 0x140072d37
mov rcx, qword [rbp + 0x20]
xor r8d, r8d
xor edx, edx
mov rax, qword [rcx]
call qword [rax + 0x20]
jmp 0x140072d66
cmp word [rsp + 0x30], 0x17
jne 0x140072b13
cmp dword [rsp + 0x38], r13d
jne 0x140072b13
cmp dword [rsp + 0x3c], r13d
jne 0x140072b13
mov ecx, 0xffff
call sub.WS2_32.dll_htonl
cmp dword [rsp + 0x40], eax
jne 0x140072b13
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 0x1400729e0
js 0x140072a61
mov rdi, qword [rbp + 0x18]
mov rbx, rsi
mov eax, dword [rdi + 0x58]
test eax, eax
je 0x140072d2d
cmp eax, 1
je 0x140072d2d
test esi, esi
je 0x140072cf6
test byte [rsp + 0xcb0], 0xc0
jne 0x140072cf6
cmp rbx, 0x14
jb 0x140072cf6
mov ecx, dword [rsp + 0xcb4]
call qword [sym.imp.WS2_32.dll_ntohl]
cmp eax, 0x2112a442
jne 0x140072cf6
movzx ecx, word [rsp + 0xcb2]
call qword [sym.imp.WS2_32.dll_ntohs]
movzx eax, ax
test al, 3
jne 0x140072cf6
add rax, 0x14
cmp rbx, rax
jne 0x140072cf6
lea r8, [rsp + 0xe0]
lea rcx, [rsp + 0xcb0]
mov rdx, rbx
call fcn.1400bc850
test eax, eax
js 0x140072d2d
mov r11d, dword [rsp + 0xe4]
cmp r11d, 1
jne 0x140072c11
cmp dword [rsp + 0xad0], r13d
je 0x140072c11
lea r9, [rsp + 0xe0]
lea rdx, [rsp + 0xcb0]
mov r8, rbx
mov rcx, rdi
call fcn.1400765f0
test eax, eax
jne 0x140072d2d
mov edx, dword [rsp + 0xf8]
lea r8, [rsp + 0x30]
mov rcx, rdi
call fcn.140077070
mov r11d, dword [rsp + 0xe4]
mov ebx, dword [rsp + 0xe0]
bt ebx, 8
jae 0x140072c8a
mov r9d, dword [rdi + 0x92d0]
mov edx, r13d
test r9d, r9d
jle 0x140072d2d
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 0x140072c6a
mov r8d, dword [rcx + 8]
cmp r8d, dword [r10 + 0xa8]
jne 0x140072c6a
mov eax, r13d
jmp 0x140072c6f
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x140072c7f
inc edx
cmp edx, r9d
jl 0x140072c31
jmp 0x140072d2d
test r10, r10
je 0x140072d2d
jmp 0x140072cb5
lea rdx, [rsp + 0x30]
xor r8d, r8d
mov rcx, rdi
call fcn.140077830
mov r10, rax
test rax, rax
je 0x140072d2d
mov r11d, dword [rsp + 0xe4]
mov ebx, dword [rsp + 0xe0]
cmp r11d, 1
jne 0x140072d2d
cmp dword [r10], 3
jne 0x140072cd7
cmp dword [rsp + 0xad0], r13d
jne 0x140072cd7
test ebx, ebx
je 0x140072d2d
cmp ebx, 0x100
je 0x140072d2d
lea r9, [rsp + 0x30]
lea rdx, [rsp + 0xe0]
mov r8, r10
mov rcx, rdi
mov qword [rsp + 0x20], r13
call fcn.140076750
jmp 0x140072d2d
lea rdx, [rsp + 0x30]
xor r8d, r8d
mov rcx, rdi
call fcn.140077830
test rax, rax
je 0x140072d2d
cmp dword [rax], 3
jne 0x140072d2d
mov rax, qword [rdi + 0x48]
test rax, rax
je 0x140072d2d
mov r9, qword [rdi + 0x50]
lea rdx, [rsp + 0xcb0]
mov r8, rbx
mov rcx, rdi
call rax
test esi, esi
jg 0x1400729e0
jmp 0x140072d66
mov rbx, qword [rbp + 0x18]
cmp dword [rbx + 0x58], 5
je 0x140072d5f
mov rax, qword [rbx + 0x30]
mov dword [rbx + 0x58], 5
test rax, rax
je 0x140072d5f
mov r8, qword [rbx + 0x50]
mov edx, 5
mov rcx, rbx
call rax
mov qword [rbx + 0x92d8], r13
cmp r12d, 3
je 0x140072d7e
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.1401e6720
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