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

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r13
lea rbp, [rsp - 0x40]
sub rsp, 0x140
mov rax, qword [0x140492fc0]
xor rax, rsp
mov qword [rbp + 0x20], rax
xor eax, eax
mov qword [rsp + 0x70], 0x1c
mov qword [rbp - 0x38], rax
xor edi, edi
mov dword [rbp - 0x30], eax
test r8, r8
lea rax, [rsp + 0x54]
mov qword [rbp - 0x80], 1
cmovne rax, rdx
mov qword [rbp - 0x78], 0x40
mov qword [rbp - 0x50], rax
xorps xmm0, xmm0
mov eax, 1
mov qword [rbp - 0x68], rdi
cmovne eax, r8d
mov dword [rsp + 0x5c], edi
mov dword [rbp - 0x58], eax
mov r13, rcx
lea rax, [rbp - 0x58]
mov dword [rsp + 0x50], edi
mov qword [rsp + 0x78], rax
mov rsi, r9
lea rax, [rbp - 0x48]
mov rbx, r8
mov qword [rsp + 0x68], rax
lea rax, [rbp - 0x20]
mov qword [rbp - 0x70], rax
mov rax, qword [rcx + 0xd0]
mov rcx, qword [rcx + 0xa8]
movups xmmword [rbp - 0x48], xmm0
test rax, rax
je 0x140083170
xor r9d, r9d
mov qword [rsp + 0x20], rdi
lea r8, [rsp + 0x50]
lea rdx, [rsp + 0x68]
call rax
jmp 0x1400831ac
mov qword [rsp + 0x40], rdi
lea rax, [rsp + 0x70]
mov qword [rsp + 0x38], rdi
lea r9, [rsp + 0x50]
mov qword [rsp + 0x30], rax
lea rdx, [rbp - 0x58]
lea rax, [rbp - 0x48]
mov r8d, 1
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x5c]
mov qword [rsp + 0x20], rax
call qword [sym.imp.WS2_32.dll_WSARecvFrom]
mov qword [rsp + 0x138], r14
cmp eax, 0xffffffff
jne 0x14008323d
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ecx, eax
cmp eax, 0x2738
jne 0x1400831da
mov r14d, dword [rsp + 0x50]
cmp r14, rbx
cmovg r14, rbx
jmp 0x140083242
sub ecx, 0x2744
je 0x1400831f9
cmp ecx, 2
je 0x1400831ef
mov r8d, setsockopt
jmp 0x1400831ff
mov edx, edi
mov r8d, 0x1b
jmp 0x140083204
mov r8d, 0x1a
mov edx, 7
mov rcx, r13
call fcn.140070600
test rsi, rsi
je 0x140083231
mov rcx, rsi
call fcn.1400486d0
lea rcx, [rsi + 8]
call fcn.1400486d0
mov dword [rsi + 0x10], edi
mov qword [rsi + 0x14], 0xffffffffffffffff
mov byte [rsi + 0x20], dil
mov rax, 0xffffffffffffffff
jmp 0x1400833c2
mov r14d, dword [rsp + 0x50]
mov ebx, dword [rbp + 0x90]
mov eax, ebx
and eax, 1
je 0x140083266
mov rcx, qword [r13 + 0xa8]
lea r8, [rsi + 0x1c]
mov r9, rsi
lea rdx, [rbp - 0x48]
call fcn.140083e80
cmp r14, 0xffffffffffffffff
je 0x1400833e4
cmp qword [r13 + 0xd0], rdi
je 0x1400833e4
test ebx, ebx
je 0x1400833e4
cmp dword [rbp - 0x78], 0x10
movzx eax, word [r13 + 0x80]
cmovae rdi, qword [rbp - 0x70]
mov word [rsi + 0x1e], ax
test rdi, rdi
je 0x1400833e4
mov qword [rsp + 0x130], r15
nop dword [rax + rax]
cmp dword [rdi + 8], 0x29
jne 0x140083330
cmp dword [rdi + 0xc], 0x13
jne 0x140083330
cmp qword [rdi], 0x24
jb 0x140083330
lea rdx, [rdi + 0x10]
lea rcx, [rsi + 8]
call fcn.140049770
mov eax, dword [rdi + 0x20]
mov dword [rsi + 0x10], eax
test eax, eax
je 0x140083330
mov edx, dword [rdi + 0x20]
lea rcx, [rsp + 0x60]
mov r8d, 0xa
call fcn.1400bbaa0
mov rdx, rax
lea rcx, [rsi + 8]
call fcn.140049940
mov rax, qword [rsp + 0x60]
mov ecx, dword [rax]
test ecx, ecx
je 0x14008331b
cmp ecx, 0xffffffff
je 0x140083330
mov rax, qword [rsp + 0x60]
mov ecx, 0xffffffff
lock xadd dword [rax], ecx
cmp ecx, 1
jne 0x140083330
mov rcx, qword [rsp + 0x60]
mov edx, 2
mov r8d, 8
call fcn.1400affb0
cmp dword [rdi + 8], 0
jne 0x14008336a
cmp dword [rdi + 0xc], 0x13
jne 0x14008336a
cmp qword [rdi], 0x18
jb 0x14008336a
mov edx, dword [rdi + 0x10]
lea r8, [rsp + 0x58]
mov rcx, qword [r13 + 0xa8]
call qword [sym.imp.WS2_32.dll_WSANtohl]
mov edx, dword [rsp + 0x58]
lea rcx, [rsi + 8]
call fcn.1400497c0
mov eax, dword [rdi + 0x14]
mov dword [rsi + 0x10], eax
cmp qword [rdi], 0x14
jne 0x140083390
mov eax, dword [rdi + 8]
cmp eax, 0x29
jne 0x140083380
cmp dword [rdi + 0xc], 0x15
je 0x14008338a
jmp 0x140083390
test eax, eax
jne 0x140083390
cmp dword [rdi + 0xc], 4
jne 0x140083390
mov eax, dword [rdi + 0x10]
mov dword [rsi + 0x14], eax
mov rcx, qword [rdi]
mov edx, dword [rbp - 0x78]
add rcx, 7
add rdx, qword [rbp - 0x70]
and rcx, 0xfffffffffffffff8
add rdi, rcx
lea rcx, [rdi + 0x10]
cmp rcx, rdx
ja 0x1400833b7
test rdi, rdi
jne 0x1400832b0
mov r15, qword [rsp + 0x130]
mov rax, r14
mov r14, qword [rsp + 0x138]
mov rcx, qword [rbp + 0x20]
xor rcx, rsp
call fcn.140229fa0
add rsp, 0x140
pop r13
pop rdi
pop rsi
pop rbx
pop rbp
ret
mov rax, r14
jmp 0x1400833c2