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

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x27]
sub rsp, 0xd0
mov rax, qword [0x1403c3d98]
xor rax, rsp
mov qword [rbp + 0x1f], rax
mov r12, rdx
mov qword [rbp - 0x71], rdx
mov r14, rcx
mov qword [rsp + 0x28], rcx
xor r13d, r13d
cmp rdx, 0xffffffffffffffff
jne 0x1400b73f2
mov byte [0x1403c66d1], 1
xorps xmm0, xmm0
movups xmmword [rbp - 0x41], xmm0
mov qword [rbp - 0x31], sendto
mov qword [rbp - 0x29], reloc.WS2_32.dll_ntohs
movsd xmm0, qword [str.Invalid_Socket]
movsd qword [rbp - 0x41], xmm0
mov eax, dword [0x1402d26a8]
mov dword [rbp - 0x39], eax
movzx eax, word [0x1402d26ac]
mov word [rbp - 0x35], ax
lea rcx, [rbp - 0x41]
call fcn.1400b7f50
nop
mov rdx, qword [rbp - 0x29]
cmp rdx, 0x10
jb 0x1400b73da
inc rdx
mov rcx, qword [rbp - 0x41]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400b73d5
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400b7b38
call fcn.14029591c
xorps xmm0, xmm0
movups xmmword [r14], xmm0
mov qword [r14 + 0x10], r13
mov qword [r14 + 0x18], reloc.WS2_32.dll_ntohs
jmp 0x1400b7535
mov ebx, r13d
mov r15d, 4
mov ecx, r15d
call fcn.1402958e0
mov rdi, rax
mov qword [rbp - 0x61], rax
lea rsi, [rax + 4]
mov qword [rbp - 0x51], rsi
xor eax, eax
mov dword [rdi], eax
mov qword [rbp - 0x59], rsi
nop word [rax + rax]
movsxd rdx, ebx
add rdx, rdi
mov r8d, r15d
sub r8d, ebx
xor r9d, r9d
mov rcx, r12
call qword [sym.imp.WS2_32.dll_recv]
mov r12d, eax
mov ecx, eax
call fcn.1400b6c00
test al, al
je 0x1400b7a90
add ebx, r12d
cmp ebx, 4
mov r12, qword [rbp - 0x71]
jl 0x1400b7420
movsxd r13, dword [rdi]
mov ecx, ebx
call fcn.1400b6c00
test al, al
jne 0x1400b755f
xorps xmm0, xmm0
movups xmmword [rbp - 0x41], xmm0
mov edx, 0x20
lea rcx, [rbp - 0x41]
call fcn.14007b800
mov qword [rbp - 0x41], rax
mov qword [rbp - 0x31], reloc.WS2_32.dll_sendto
mov qword [rbp - 0x29], 0x1f
movups xmm0, xmmword [str.Socket_Closed_Code_4]
movups xmmword [rax], xmm0
mov ecx, dword [0x1402d2968]
mov dword [rax + 0x10], ecx
mov byte [rax + 0x14], 0
lea rcx, [rbp - 0x41]
call fcn.1400b7f50
nop
mov rdx, qword [rbp - 0x29]
cmp rdx, 0x10
jb 0x1400b74ed
inc rdx
mov rcx, qword [rbp - 0x41]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400b74e8
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400b7b32
call fcn.14029591c
xorps xmm0, xmm0
movups xmmword [r14], xmm0
xor eax, eax
mov qword [r14 + 0x10], rax
mov qword [r14 + 0x18], reloc.WS2_32.dll_ntohs
sub rsi, rdi
cmp rsi, 0x1000
jb 0x1400b752a
add rsi, 0x27
mov rcx, qword [rdi - 8]
sub rdi, rcx
lea rax, [rdi - 8]
cmp rax, 0x1f
ja 0x1400b7b38
mov rdi, rcx
mov rdx, rsi
mov rcx, rdi
call fcn.14029591c
mov rax, r14
mov rcx, qword [rbp + 0x1f]
xor rcx, rsp
call fcn.1402959c0
mov rbx, qword [rsp + 0x120]
add rsp, 0xd0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov rcx, r13
cmp r13, r15
jae 0x1400b756d
lea rax, [rdi + r13]
jmp 0x1400b75aa
jbe 0x1400b75ae
mov rax, rsi
sub rax, rdi
cmp rcx, rax
jbe 0x1400b7595
lea r8, [rsp + 0x20]
mov rdx, rcx
lea rcx, [rbp - 0x61]
call fcn.140092e30
mov rsi, qword [rbp - 0x51]
mov rdi, qword [rbp - 0x61]
jmp 0x1400b75ae
lea rbx, [r13 - 4]
mov r8, rbx
xor edx, edx
mov rcx, rsi
call fcn.140297340
lea rax, [rbx + rsi]
mov qword [rbp - 0x59], rax
xor ebx, ebx
mov r8d, r13d
sub r8d, ebx
movsxd rdx, ebx
add rdx, rdi
xor r9d, r9d
mov rcx, qword [rbp - 0x71]
call qword [sym.imp.WS2_32.dll_recv]
mov r12d, eax
mov ecx, eax
call fcn.1400b6c00
test al, al
je 0x1400b79f1
add ebx, r12d
cmp ebx, r13d
jl 0x1400b75b0
xorps xmm0, xmm0
movups xmmword [rbp - 0x21], xmm0
xor eax, eax
mov qword [rbp - 0x11], rax
mov qword [rbp - 9], rax
mov r8, r13
mov rdx, rdi
lea rcx, [rbp - 0x21]
call fcn.14007d410
nop
xorps xmm0, xmm0
movups xmmword [rbp - 0x41], xmm0
cmp qword [rbp - 0x11], 4
cmovb r15, qword [rbp - 0x11]
lea rax, [rbp - 0x21]
cmp qword [rbp - 9], 0x10
cmovae rax, qword [rbp - 0x21]
mov qword [rsp + 0x28], rax
movabs r13, 0x7fffffffffffffff
cmp r15, r13
ja 0x1400b7b56
mov ecx, reloc.WS2_32.dll_shutdown
cmp r15, 0x10
jae 0x1400b766f
mov qword [rbp - 0x31], r15
mov qword [rbp - 0x29], reloc.WS2_32.dll_ntohs
mov r8, r15
mov rdx, rax
lea rcx, [rbp - 0x41]
call fcn.140296c90
mov rbx, qword [rbp - 0x29]
mov r15, qword [rbp - 0x31]
mov r12, qword [rbp - 0x41]
jmp 0x1400b76b8
mov rbx, r15
or rbx, 0xf
cmp rbx, r13
jbe 0x1400b7680
mov rbx, r13
jmp 0x1400b7687
cmp rbx, rcx
cmovb rbx, rcx
lea rdx, [rbx + 1]
lea rcx, [rbp - 0x41]
call fcn.14007b800
mov r12, rax
mov qword [rbp - 0x41], rax
mov qword [rbp - 0x31], r15
mov qword [rbp - 0x29], rbx
mov r8, r15
mov rdx, qword [rsp + 0x28]
mov rcx, rax
call fcn.140296c90
mov byte [r15 + r12], 0
lea rcx, [rbp - 0x41]
cmp rbx, 0x10
cmovae rcx, r12
cmp r15, 4
jne 0x1400b76e2
mov r8, r15
lea rdx, str.ABG:
call fcn.140298510
test eax, eax
mov byte [rsp + 0x20], 1
je 0x1400b76e7
mov byte [rsp + 0x20], 0
cmp rbx, 0x10
jb 0x1400b771f
lea rdx, [rbx + 1]
mov rax, r12
cmp rdx, 0x1000
jb 0x1400b7717
add rdx, 0x27
mov r12, qword [r12 - 8]
sub rax, r12
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400b7b50
mov rcx, r12
call fcn.14029591c
mov r15, 0xffffffffffffffff
xor r12d, r12d
cmp byte [rsp + 0x20], r12b
je 0x1400b7872
xorps xmm0, xmm0
movups xmmword [rbp - 0x41], xmm0
mov qword [rbp - 0x31], r12
mov qword [rbp - 0x29], r12
mov rax, qword [rbp - 0x11]
cmp rax, 4
jb 0x1400b7b3e
add rax, 0xfffffffffffffffc
mov r8, r15
cmp rax, r15
cmovb r8, rax
lea rdx, [rbp - 0x21]
cmp qword [rbp - 9], 0x10
cmovae rdx, qword [rbp - 0x21]
add rdx, 4
lea rcx, [rbp - 0x41]
call fcn.14007d410
lea rdx, [rbp - 0x41]
lea rcx, [rbp - 1]
call fcn.14007b610
mov rbx, rax
lea rax, [rbp - 0x21]
cmp rax, rbx
je 0x1400b77ee
mov rdx, qword [rbp - 9]
cmp rdx, 0x10
jb 0x1400b77ce
inc rdx
mov rcx, qword [rbp - 0x21]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400b77c9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400b7b44
call fcn.14029591c
movups xmm2, xmmword [rbx]
movups xmmword [rbp - 0x21], xmm2
movups xmm1, xmmword [rbx + 0x10]
movups xmmword [rbp - 0x11], xmm1
mov qword [rbx + 0x10], r12
mov qword [rbx + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rbx], r12b
jmp 0x1400b77f6
movups xmm1, xmmword [rbp - 0x11]
movups xmm2, xmmword [rbp - 0x21]
movups xmmword [rsp + 0x28], xmm2
movups xmmword [rbp - 0x71], xmm1
mov rdx, qword [rbp + 0x17]
cmp rdx, 0x10
jb 0x1400b7858
inc rdx
mov rcx, qword [rbp - 1]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400b7835
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400b7b44
call fcn.14029591c
movups xmm1, xmmword [rbp - 0x71]
movdqa xmm0, xmm1
psrldq xmm0, 8
movq r8, xmm0
movq rcx, xmm1
mov rdx, qword [rsp + 0x28]
jmp 0x1400b788f
movdqa xmm0, xmm1
psrldq xmm0, 8
movq r8, xmm0
movq rcx, xmm1
movq rdx, xmm2
jmp 0x1400b788f
movups xmm0, xmmword [rbp - 0x11]
movups xmmword [rbp - 0x71], xmm0
movups xmm0, xmmword [rbp - 0x21]
movups xmmword [rsp + 0x28], xmm0
mov rcx, qword [rbp - 0x11]
mov rdx, qword [rbp - 0x21]
mov r8, qword [rbp - 9]
lea rax, [rbp - 0x21]
cmp r8, 0x10
cmovae rax, rdx
cmp byte [rax], 0x45
je 0x1400b78b5
lea rax, [rbp - 0x21]
cmp r8, 0x10
cmovae rax, rdx
cmp byte [rax], 0x4b
jne 0x1400b79a5
xorps xmm0, xmm0
movups xmmword [rbp - 0x41], xmm0
mov qword [rbp - 0x31], r12
mov qword [rbp - 0x29], r12
cmp rcx, 1
jb 0x1400b7b4a
lea rax, [rcx - 1]
cmp rax, r15
cmovb r15, rax
lea r12, [rbp - 0x21]
cmp r8, 0x10
cmovae r12, rdx
cmp r15, r13
ja 0x1400b7b56
cmp r15, 0x10
jae 0x1400b7913
mov qword [rbp - 0x31], r15
mov qword [rbp - 0x29], reloc.WS2_32.dll_ntohs
mov r8, r15
lea rdx, [r12 + 1]
lea rcx, [rbp - 0x41]
call fcn.140296c90
jmp 0x1400b7960
mov rax, r15
or rax, 0xf
cmp rax, r13
ja 0x1400b792f
mov r13, rax
cmp rax, 0x16
mov eax, reloc.WS2_32.dll_shutdown
cmovb r13, rax
lea rdx, [r13 + 1]
lea rcx, [rbp - 0x41]
call fcn.14007b800
mov rbx, rax
mov qword [rbp - 0x41], rax
mov qword [rbp - 0x31], r15
mov qword [rbp - 0x29], r13
mov r8, r15
lea rdx, [r12 + 1]
mov rcx, rax
call fcn.140296c90
mov byte [rbx + r15], 0
lea rcx, [rbp - 0x41]
call fcn.1400b7f50
nop
mov rdx, qword [rbp - 0x29]
cmp rdx, 0x10
jb 0x1400b79a5
inc rdx
mov rcx, qword [rbp - 0x41]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400b79a0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400b7b50
call fcn.14029591c
movups xmm0, xmmword [rsp + 0x28]
movups xmmword [r14], xmm0
movups xmm0, xmmword [rbp - 0x71]
movups xmmword [r14 + 0x10], xmm0
test rdi, rdi
je 0x1400b7535
sub rsi, rdi
mov rax, rdi
cmp rsi, 0x1000
jb 0x1400b752a
add rsi, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400b7b38
jmp 0x1400b752a
xorps xmm0, xmm0
movups xmmword [rbp - 0x41], xmm0
mov edx, 0x20
lea rcx, [rbp - 0x41]
call fcn.14007b800
mov qword [rbp - 0x41], rax
mov qword [rbp - 0x31], reloc.WS2_32.dll_sendto
mov qword [rbp - 0x29], 0x1f
movups xmm0, xmmword [str.Socket_Closed_Code_5]
movups xmmword [rax], xmm0
mov ecx, dword [0x1402d2980]
mov dword [rax + 0x10], ecx
mov byte [rax + 0x14], 0
lea rcx, [rbp - 0x41]
call fcn.1400b7f50
nop
mov rdx, qword [rbp - 0x29]
cmp rdx, 0x10
jb 0x1400b7a76
inc rdx
mov rcx, qword [rbp - 0x41]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400b7a71
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400b7b32
call fcn.14029591c
xorps xmm0, xmm0
movups xmmword [r14], xmm0
xor eax, eax
mov qword [r14 + 0x10], rax
mov qword [r14 + 0x18], reloc.WS2_32.dll_ntohs
jmp 0x1400b79b7
xorps xmm0, xmm0
movups xmmword [rbp - 0x41], xmm0
mov edx, 0x20
lea rcx, [rbp - 0x41]
call fcn.14007b800
mov qword [rbp - 0x41], rax
mov qword [rbp - 0x31], reloc.WS2_32.dll_sendto
mov qword [rbp - 0x29], 0x1f
movups xmm0, xmmword [str.Socket_Closed_Code_3]
movups xmmword [rax], xmm0
mov ecx, dword [0x1402d2950]
mov dword [rax + 0x10], ecx
mov byte [rax + 0x14], 0
lea rcx, [rbp - 0x41]
call fcn.1400b7f50
nop
mov rdx, qword [rbp - 0x29]
cmp rdx, 0x10
jb 0x1400b7b11
inc rdx
mov rcx, qword [rbp - 0x41]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400b7b0c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400b7b32
call fcn.14029591c
xorps xmm0, xmm0
movups xmmword [r14], xmm0
mov qword [r14 + 0x10], r13
mov qword [r14 + 0x18], reloc.WS2_32.dll_ntohs
test rdi, rdi
je 0x1400b7535
jmp 0x1400b7502
call fcn.14029ca04
nop
call fcn.14029ca04
nop
call fcn.140086890
int3
call fcn.14029ca04
int3
call fcn.140086890
int3
call fcn.14029ca04
int3
call fcn.14007b7e0
int3