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

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0xd8
mov r14, qword [rsp + 0x148]
mov qword [rsp + 0x78], r8
mov rdi, rcx
mov dword [rsp + 0x70], r9d
mov qword [rsp + 0x80], r9
cmp rcx, 0xffffffffffffffff
je 0x140003020
mov r13d, edx
and r13d, 0x10
test r9, r9
je 0x140003060
and edx, 1
jne 0x140003084
lea rax, [rsp + 0x70]
mov r15, qword [sym.imp.WS2_32.dll_WSARecv]
lea r12, [rsp + 0x90]
mov qword [rsp + 0x48], rax
lea rbp, [rsp + 0xb0]
lea rsi, [0x140268c60]
jmp 0x140002f84
cmp eax, 0x4d2
je 0x140003008
cmp eax, 0x2738
je 0x140002edd
cmp eax, 0xea
je 0x140002edd
test ebx, ebx
jne 0x140002f11
mov dword [r14], 0
movsxd rax, dword [rsp + 0x90]
mov qword [r14 + 8], 0
mov qword [r14 + 0x10], 0
test r13b, r13b
je 0x140002f09
test eax, eax
je 0x140003160
test eax, eax
jns 0x140003044
mov rdx, rbp
mov rcx, r14
mov dword [rsp + 0xb0], 0x2733
mov qword [rsp + 0xb8], rsi
mov qword [rsp + 0xc0], 3
call fcn.14024c2f0
test al, al
jne 0x140002f71
mov rdx, r12
mov rcx, r14
mov dword [rsp + 0x90], 0x4d5
mov qword [rsp + 0x98], rsi
mov qword [rsp + 0xa0], 3
call fcn.14024c2f0
test al, al
je 0x140003042
mov rdx, r14
mov rcx, rdi
call fcn.140002d70
test eax, eax
js 0x140003042
mov rdx, qword [rsp + 0x48]
mov r9, r12
mov rcx, rdi
mov qword [rsp + 0x20], rbp
mov eax, dword [rsp + 0x140]
mov r8d, 1
mov dword [rsp + 0x90], 0
mov qword [rsp + 0x30], 0
mov dword [rsp + 0xb0], eax
mov qword [rsp + 0x28], 0
call r15
mov ebx, eax
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov edx, 2
mov qword [r14 + 8], rsi
cmp eax, 1
mov dword [r14], eax
sbb rdx, 0xffffffffffffffff
mov qword [r14 + 0x10], rdx
cmp eax, 0x40
jne 0x140002ec0
mov dword [r14], 0x2746
mov qword [r14 + 0x10], 3
jmp 0x140002ed9
mov dword [r14], 0x274d
mov qword [r14 + 0x10], 3
jmp 0x140002ed9
lea rcx, [rsp + 0x50]
mov edx, 0x2719
call fcn.140238b20
movdqu xmm0, xmmword [rsp + 0x50]
movups xmmword [r14], xmm0
mov rax, qword [rsp + 0x60]
mov qword [r14 + 0x10], rax
xor eax, eax
add rsp, 0xd8
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
test r13b, r13b
je 0x140002e8a
mov dword [r14], 0
xor eax, eax
mov qword [r14 + 8], 0
mov qword [r14 + 0x10], 0
jmp 0x140003044
mov eax, dword [rsp + 0x140]
lea rdx, [rsp + 0x70]
mov rcx, rdi
lea r9, [rsp + 0x90]
mov r8d, 1
lea rdi, [0x140268c60]
mov dword [rsp + 0x90], 0
mov dword [rsp + 0xb0], eax
lea rax, [rsp + 0xb0]
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], rax
call qword [sym.imp.WS2_32.dll_WSARecv]
mov ebx, eax
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov edx, 2
mov qword [r14 + 8], rdi
cmp eax, 1
mov dword [r14], eax
sbb rdx, 0xffffffffffffffff
mov qword [r14 + 0x10], rdx
cmp eax, 0x40
je 0x140003181
cmp eax, 0x4d2
je 0x140003192
cmp eax, 0x2738
je 0x140003124
cmp eax, 0xea
je 0x140003124
test ebx, ebx
jne 0x140003042
mov dword [r14], 0
movsxd rax, dword [rsp + 0x90]
mov qword [r14 + 8], 0
mov qword [r14 + 0x10], 0
test r13b, r13b
je 0x14000314c
test eax, eax
je 0x140003160
test eax, eax
jns 0x140003044
xor eax, eax
jmp 0x140003044
lea rax, [0x140268e00]
mov dword [r14], 2
mov qword [r14 + 8], rax
xor eax, eax
mov qword [r14 + 0x10], 3
jmp 0x140003044
mov dword [r14], 0x2746
mov qword [r14 + 0x10], 3
jmp 0x14000311c
mov dword [r14], 0x274d
mov qword [r14 + 0x10], 3
jmp 0x14000311c