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

Disassembly:
mov rax, rsp
push rbp
push rdi
push r12
push r13
push r14
lea rbp, [rax - 0x3b8]
sub rsp, 0x490
mov qword [rsp + 0x60], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x20], rsi
mov rax, qword [0x14017c430]
xor rax, rsp
mov qword [rbp + 0x380], rax
mov r13, r8
mov r12d, edx
mov rsi, rcx
mov byte [rbp - 0x80], 0
xor edx, edx
mov r8d, 0x3ff
lea rcx, [rbp - 0x7f]
call fcn.1400dd9f0
lea rcx, [0x14017bd30]
mov rax, qword [0x14017bd30]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x30]
mov qword [rsp + 0x20], rax
lea rcx, [0x14017bd30]
mov rax, qword [0x14017bd30]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x38]
mov qword [rsp + 0x20], rax
lea rcx, [0x14017bd30]
mov rax, qword [0x14017bd30]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x38], rax
xor r14d, r14d
mov word [rsp + 0x68], 0x24
mov qword [rsp + 0x6a], 0x55aa0000
xor r9d, r9d
lea r8d, [r14 + 0xa]
lea rdx, [rsp + 0x68]
mov rcx, rsi
call qword [sym.imp.WS2_32.dll_send]
cmp eax, 0xffffffff
jne 0x140078fa9
lea rcx, [rsp + 0x28]
call fcn.140078430
xor eax, eax
jmp 0x14007929e
mov edi, r14d
test r12d, r12d
je 0x140079225
nop word [rax + rax]
xor r9d, r9d
mov r8d, 0x400
lea rdx, [rbp - 0x80]
mov rcx, rsi
call qword [sym.imp.WS2_32.dll_recv]
cmp eax, 0xffffffff
je 0x1400791ad
mov rcx, qword [rbp - 0x80]
mov qword [rsp + 0x68], rcx
movzx eax, word [rbp - 0x78]
mov word [rsp + 0x70], ax
cmp cl, 0x24
jne 0x14007914c
shr rcx, 0x10
cmp ecx, 0x20009229
jne 0x1400790e6
cmp dword [rbp - 0x7a], r14d
je 0x140079085
movzx ebx, byte [rbp - 0x76]
mov r8d, ebx
lea rdx, [rbp - 0x72]
lea rcx, [rsp + 0x28]
call fcn.140002120
mov eax, dword [rbp + rbx*2 - 0x72]
mov dword [rsp + 0x40], eax
lea rdx, [rsp + 0x28]
mov rcx, r13
call fcn.14007a350
mov word [rsp + 0x68], 0x24
mov qword [rsp + 0x6a], 0x55aa0000
xor r9d, r9d
lea r8d, [r9 + 0xa]
lea rdx, [rsp + 0x68]
mov rcx, rsi
call qword [sym.imp.WS2_32.dll_send]
cmp eax, 0xffffffff
je 0x140079074
inc edi
cmp edi, r12d
jb 0x140078fc0
jmp 0x140079225
lea rcx, [rsp + 0x28]
call fcn.140078430
xor eax, eax
jmp 0x14007929e
lea rcx, [0x14017bd30]
mov rax, qword [0x14017bd30]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x48], rax
mov r8d, edi
lea rdx, str.Bad_data_length._Step__d.
lea rcx, [rsp + 0x48]
call fcn.140016060
nop
mov rdx, qword [rsp + 0x48]
add rdx, 0xffffffffffffffe8
or ebx, 0xffffffff
lock xadd dword [rdx + 0x10], ebx
dec ebx
test ebx, ebx
jg 0x1400790d5
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + VariantCopy]
nop
lea rcx, [rsp + 0x28]
call fcn.140078430
xor eax, eax
jmp 0x14007929e
lea rcx, [0x14017bd30]
mov rax, qword [0x14017bd30]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x50], rax
mov r9d, dword [rsp + 0x6a]
mov r8d, edi
lea rdx, str.Bad_data_type._Step__d._Received_type__04Xh
lea rcx, [rsp + 0x50]
call fcn.140016060
nop
mov rdx, qword [rsp + 0x50]
add rdx, 0xffffffffffffffe8
or ebx, 0xffffffff
lock xadd dword [rdx + 0x10], ebx
dec ebx
test ebx, ebx
jg 0x14007913b
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + VariantCopy]
nop
lea rcx, [rsp + 0x28]
call fcn.140078430
xor eax, eax
jmp 0x14007929e
lea rcx, [0x14017bd30]
mov rax, qword [0x14017bd30]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x20], rax
mov r8d, edi
lea rdx, str.Bad_start_symbol._Step__d.
lea rcx, [rsp + 0x20]
call fcn.140016060
nop
mov rdx, qword [rsp + 0x20]
add rdx, 0xffffffffffffffe8
or ebx, 0xffffffff
lock xadd dword [rdx + 0x10], ebx
dec ebx
test ebx, ebx
jg 0x14007919c
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + VariantCopy]
nop
lea rcx, [rsp + 0x28]
call fcn.140078430
xor eax, eax
jmp 0x14007929e
lea rax, [rsp + 0x38]
mov qword [rsp + 0x20], rax
mov rdx, qword [rsp + 0x38]
add rdx, 0xffffffffffffffe8
or ebx, 0xffffffff
mov eax, ebx
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x1400791da
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + VariantCopy]
nop
lea rax, [rsp + 0x30]
mov qword [rsp + 0x58], rax
mov rdx, qword [rsp + 0x30]
add rdx, 0xffffffffffffffe8
mov eax, ebx
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x140079204
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + VariantCopy]
nop
mov rdx, qword [rsp + 0x28]
add rdx, 0xffffffffffffffe8
lock xadd dword [rdx + 0x10], ebx
dec ebx
test ebx, ebx
jg 0x140079221
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + VariantCopy]
xor eax, eax
jmp 0x14007929e
lea rax, [rsp + 0x38]
mov qword [rsp + 0x58], rax
mov rdx, qword [rsp + 0x38]
add rdx, 0xffffffffffffffe8
or ebx, 0xffffffff
mov eax, ebx
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x140079252
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + VariantCopy]
nop
lea rax, [rsp + 0x30]
mov qword [rsp + 0x58], rax
mov rdx, qword [rsp + 0x30]
add rdx, 0xffffffffffffffe8
mov eax, ebx
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x14007927c
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + VariantCopy]
nop
mov rdx, qword [rsp + 0x28]
add rdx, 0xffffffffffffffe8
lock xadd dword [rdx + 0x10], ebx
dec ebx
test ebx, ebx
jg 0x140079299
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + VariantCopy]
mov eax, 1
mov rcx, qword [rbp + 0x380]
xor rcx, rsp
call fcn.1400d4d90
lea r11, [rsp + 0x490]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r14
pop r13
pop r12
pop rdi
pop rbp
ret