Function at 0x1400568b0
Capabilities:
Receive data
Receive data on socket
Send data
Send data on socket

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rbx
push rsi
push rdi
push r12
push r14
push r15
mov rbp, rsp
sub rsp, 0x50
mov rbx, r8
mov rdi, rdx
mov rsi, rcx
mov dword [rbp - 0x28], 8
mov eax, dword [0x1410d2eec]
mov dword [rbp - 0x24], eax
mov byte [rbp + 0x58], 4
movsxd r12, dword [0x1410d2edc]
xor r9d, r9d
mov r8d, 1
lea rdx, [rbp + 0x58]
mov rcx, r12
call qword [sym.imp.WS2_32.dll_send]
xor r9d, r9d
mov r8d, 8
lea rdx, [rbp - 0x28]
mov rcx, r12
call qword [sym.imp.WS2_32.dll_send]
xor r9d, r9d
mov r8d, 4
lea rdx, [rbp - 0x30]
mov rcx, r12
call qword [sym.imp.WS2_32.dll_recv]
cmp dword [rbp - 0x30], 0xffffffff
jne 0x140056a2e
mov dword [rbp - 0x2c], 2
lea rdx, [0x140d48a58]
lea rcx, [rbp - 0x2c]
call fcn.140055db0
nop
mov rdx, qword [rsi + 0x18]
cmp rdx, 0xf
jbe 0x140056992
mov rcx, qword [rsi]
inc rdx
cmp rdx, 0x1000
jb 0x14005698d
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140056e62
mov rcx, r8
call fcn.140093434
xor r14d, r14d
mov qword [rsi + 0x10], r14
mov qword [rsi + 0x18], send
mov byte [rsi], r14b
mov rdx, qword [rdi + 0x18]
cmp rdx, 0xf
jbe 0x1400569de
mov rcx, qword [rdi]
inc rdx
cmp rdx, 0x1000
jb 0x1400569d9
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140056e69
mov rcx, r8
call fcn.140093434
mov qword [rdi + 0x10], r14
mov qword [rdi + 0x18], send
mov byte [rdi], 0
mov rdx, qword [rbx + 0x18]
cmp rdx, 0xf
jbe 0x140056a27
inc rdx
mov rcx, qword [rbx]
cmp rdx, 0x1000
jb 0x140056a22
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140056e70
mov rcx, r8
call fcn.140093434
xor eax, eax
jmp 0x140056e44
mov byte [rbp + 0x58], socket
xor r9d, r9d
mov r8d, 1
lea rdx, [rbp + 0x58]
mov rcx, r12
call qword [sym.imp.WS2_32.dll_send]
xor r9d, r9d
mov r8d, 4
lea rdx, [rbp - 0x30]
mov rcx, r12
call qword [sym.imp.WS2_32.dll_send]
xor r14d, r14d
mov dword [rbp - 0x2c], r14d
lea rdx, [0x140d48b58]
lea rcx, [rbp - 0x2c]
call fcn.140055db0
xor r9d, r9d
mov r8d, 0x18
lea rdx, [rbp - 0x20]
mov rcx, r12
call qword [sym.imp.WS2_32.dll_recv]
cmp dword [rbp - 0x20], r14d
je 0x140056c75
nop word [rax + rax]
mov eax, dword [rbp - 0xc]
inc eax
movsxd rcx, eax
call qword [sym.imp.mfc140.dll_Ordinal_265]
mov r15, rax
xor r9d, r9d
mov r8d, dword [rbp - 0xc]
mov rdx, rax
mov rcx, r12
call qword [sym.imp.WS2_32.dll_recv]
movsxd rcx, dword [rbp - 0xc]
mov byte [rcx + r15], r14b
mov rdx, rsi
cmp qword [rsi + 0x18], 0xf
jbe 0x140056ad9
mov rdx, qword [rsi]
mov rcx, r15
call qword [sym.imp.VCRUNTIME140.dll_strstr]
test rax, rax
je 0x140056b3c
mov rax, qword [rbp - 0x1c]
mov qword [0x1410d2ef8], rax
mov eax, dword [0x1410d2e70]
inc eax
mov dword [0x1410d2e70], eax
cmp eax, 1
jne 0x140056b12
mov dword [rbp - 0x2c], r14d
lea rdx, [0x140d48b68]
jmp 0x140056b33
cmp eax, 2
jne 0x140056b20
lea rdx, [0x140d48b78]
jmp 0x140056b2c
cmp eax, 3
jne 0x140056b3c
lea rdx, [0x140d48b88]
mov dword [rbp - 0x2c], 1
lea rcx, [rbp - 0x2c]
call fcn.140055db0
mov rdx, rdi
cmp qword [rdi + 0x18], 0xf
jbe 0x140056b49
mov rdx, qword [rdi]
mov rcx, r15
call qword [sym.imp.VCRUNTIME140.dll_strstr]
test rax, rax
je 0x140056bac
mov rax, qword [rbp - 0x1c]
mov qword [0x1410d2f10], rax
mov eax, dword [0x1410d2e70]
inc eax
mov dword [0x1410d2e70], eax
cmp eax, 1
jne 0x140056b82
mov dword [rbp - 0x2c], r14d
lea rdx, [0x140d48b68]
jmp 0x140056ba3
cmp eax, 2
jne 0x140056b90
lea rdx, [0x140d48b78]
jmp 0x140056b9c
cmp eax, 3
jne 0x140056bac
lea rdx, [0x140d48b88]
mov dword [rbp - 0x2c], 1
lea rcx, [rbp - 0x2c]
call fcn.140055db0
mov rdx, rbx
cmp qword [rbx + 0x18], 0xf
jbe 0x140056bb9
mov rdx, qword [rbx]
mov rcx, r15
call qword [sym.imp.VCRUNTIME140.dll_strstr]
test rax, rax
je 0x140056c1c
mov rax, qword [rbp - 0x1c]
mov qword [0x1410d2f08], rax
mov eax, dword [0x1410d2e70]
inc eax
mov dword [0x1410d2e70], eax
cmp eax, 1
jne 0x140056bf2
mov dword [rbp - 0x2c], r14d
lea rdx, [0x140d48b68]
jmp 0x140056c13
cmp eax, 2
jne 0x140056c00
lea rdx, [0x140d48b78]
jmp 0x140056c0c
cmp eax, 3
jne 0x140056c1c
lea rdx, [0x140d48b88]
mov dword [rbp - 0x2c], 1
lea rcx, [rbp - 0x2c]
call fcn.140055db0
cmp dword [0x1410d2e70], 3
je 0x140056c92
mov byte [rbp + 0x58], reloc.WS2_32.dll_socket
xor r9d, r9d
mov r8d, 1
lea rdx, [rbp + 0x58]
mov rcx, r12
call qword [sym.imp.WS2_32.dll_send]
xor r9d, r9d
mov r8d, 4
lea rdx, [rbp - 0x30]
mov rcx, r12
call qword [sym.imp.WS2_32.dll_send]
xor r9d, r9d
mov r8d, 0x18
lea rdx, [rbp - 0x20]
mov rcx, r12
call qword [sym.imp.WS2_32.dll_recv]
cmp dword [rbp - 0x20], r14d
jne 0x140056aa0
cmp dword [0x1410d2e70], 2
je 0x140056d80
mov dword [rbp - 0x2c], 2
lea rdx, [0x140d48bb8]
jmp 0x140056ca0
mov dword [rbp - 0x2c], 1
lea rdx, [0x140d48b98]
lea rcx, [rbp - 0x2c]
call fcn.140055db0
nop
mov rdx, qword [rsi + 0x18]
cmp rdx, 0xf
jbe 0x140056ce4
inc rdx
cmp rdx, 0x1000
mov rcx, qword [rsi]
jb 0x140056cdf
mov r8, qword [rcx - 8]
sub rcx, r8
add rdx, 0x27
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140056e62
mov rcx, r8
call fcn.140093434
mov byte [rsi], 0
mov qword [rsi + 0x18], send
mov qword [rsi + 0x10], r14
mov rdx, qword [rdi + 0x18]
cmp rdx, 0xf
jbe 0x140056d2d
inc rdx
cmp rdx, 0x1000
mov rcx, qword [rdi]
jb 0x140056d28
mov r8, qword [rcx - 8]
sub rcx, r8
add rdx, 0x27
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140056e69
mov rcx, r8
call fcn.140093434
mov byte [rdi], 0
mov qword [rdi + 0x18], send
mov qword [rdi + 0x10], r14
mov rdx, qword [rbx + 0x18]
cmp rdx, 0xf
jbe 0x140056d76
inc rdx
cmp rdx, 0x1000
mov rcx, qword [rbx]
jb 0x140056d71
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140056e70
mov rcx, r8
call fcn.140093434
mov eax, 0xffff
jmp 0x140056e44
mov rdx, qword [rsi + 0x18]
cmp rdx, 0xf
jbe 0x140056dba
mov rcx, qword [rsi]
inc rdx
cmp rdx, 0x1000
jb 0x140056db5
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140056e62
mov rcx, r8
call fcn.140093434
mov qword [rsi + 0x10], r14
mov qword [rsi + 0x18], send
mov byte [rsi], 0
mov rdx, qword [rdi + 0x18]
cmp rdx, 0xf
jbe 0x140056dff
mov rcx, qword [rdi]
inc rdx
cmp rdx, 0x1000
jb 0x140056dfa
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140056e69
mov rcx, r8
call fcn.140093434
mov qword [rdi + 0x10], r14
mov qword [rdi + 0x18], send
mov byte [rdi], 0
mov rdx, qword [rbx + 0x18]
cmp rdx, 0xf
jbe 0x140056e44
inc rdx
mov rcx, qword [rbx]
cmp rdx, 0x1000
jb 0x140056e3f
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140056e70
mov rcx, r8
call fcn.140093434
mov byte [rbx], 0
mov qword [rbx + 0x18], send
mov qword [rbx + 0x10], r14
add rsp, 0x50
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3