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

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x480]
sub rsp, 0x580
mov qword [rsp + 0x50], 0xfffffffffffffffe
mov qword [rsp + 0x5d0], rbx
mov rax, qword [0x14017c430]
xor rax, rsp
mov qword [rbp + 0x470], rax
mov r13d, edx
mov r15, rcx
mov rsi, qword [0x140183698]
mov byte [rbp + 0x70], 0
xor edx, edx
mov r8d, 0x3ff
lea rcx, [rbp + 0x71]
call fcn.1400dd9f0
mov byte [rsp + 0x70], 0
xor edx, edx
mov r8d, 0xff
lea rcx, [rsp + 0x71]
call fcn.1400dd9f0
cmp r13d, 0x20009136
jne 0x1400773cb
mov rcx, qword [rsi + 0x1f0]
sub rcx, qword [rsi + 0x1e8]
movabs rax, 0x2aaaaaaaaaaaaaab
imul rcx
mov r12, rdx
sar r12, 2
mov rax, r12
shr rax, 0x3f
add r12, rax
jne 0x14007759a
mov word [rsp + 0x58], 0xff
mov qword [rsp + 0x5a], 0xffffff
xor r9d, r9d
lea r8d, [r9 + 0xa]
lea rdx, [rsp + 0x58]
mov rcx, r15
call qword [sym.imp.WS2_32.dll_send]
jmp 0x1400778a4
cmp r13d, 0x20009137
jne 0x140077401
mov rcx, qword [rsi + 0x210]
sub rcx, qword [rsi + 0x208]
movabs rax, 0x2aaaaaaaaaaaaaab
imul rcx
sar rdx, 2
mov rax, rdx
shr rax, 0x3f
add rdx, rax
jne 0x140077439
jmp 0x1400773a1
cmp r13d, 0x20009143
jne 0x140077441
mov rcx, qword [rsi + 0x230]
sub rcx, qword [rsi + 0x228]
movabs rax, 0x2aaaaaaaaaaaaaab
imul rcx
sar rdx, 2
mov rax, rdx
shr rax, 0x3f
add rdx, rax
je 0x1400773a1
mov r12d, edx
jmp 0x14007759a
cmp r13d, 0x20009144
jne 0x1400778a4
lea rcx, [rsi + 0x248]
call fcn.140079f00
mov ecx, 0x68
call fcn.1400d5224
mov qword [rsp + 0x28], rax
xor edi, edi
test rax, rax
je 0x14007747d
mov rcx, rax
call fcn.14004cc80
mov rbx, rax
jmp 0x140077480
mov rbx, rdi
mov qword [rsp + 0x38], rbx
mov rcx, rbx
call fcn.14005f700
mov ecx, edi
test al, al
setne cl
test ecx, ecx
jne 0x1400774c3
mov qword [rsp + 0x28], rbx
test rbx, rbx
je 0x14007789f
mov rcx, rbx
call fcn.14004cee0
nop
mov rcx, qword [rbx + 0x48]
test rcx, rcx
je 0x1400774be
call fcn.1400d6134
nop
jmp 0x14007788f
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x40], rbx
lea rax, [rsp + 0x28]
mov qword [rsp + 0x48], rax
lea rdx, [rsp + 0x40]
mov rcx, rbx
call fcn.14007ce10
mov rcx, qword [rsi + 0x250]
sub rcx, qword [rsi + 0x248]
movabs rax, 0x2aaaaaaaaaaaaaab
imul rcx
sar rdx, 2
mov rax, rdx
shr rax, 0x3f
add rdx, rax
jne 0x140077560
mov word [rsp + 0x58], 0xff
mov qword [rsp + 0x5a], 0xffffff
xor r9d, r9d
lea r8d, [rdx + 0xa]
lea rdx, [rsp + 0x58]
mov rcx, r15
call qword [sym.imp.WS2_32.dll_send]
nop
mov qword [rsp + 0x28], rbx
test rbx, rbx
je 0x14007789f
mov rcx, rbx
call fcn.14004cee0
nop
mov rcx, qword [rbx + 0x48]
test rcx, rcx
je 0x14007755b
call fcn.1400d6134
nop
jmp 0x14007788f
mov r12d, edx
mov qword [rsp + 0x30], rbx
test rbx, rbx
je 0x140077595
mov rcx, rbx
call fcn.14004cee0
nop
mov rcx, qword [rbx + 0x48]
test rcx, rcx
je 0x140077585
call fcn.1400d6134
nop
mov rcx, rbx
call fcn.140053cb0
mov rcx, rbx
call fcn.1400d4d78
mov qword [rsp + 0x38], rdi
mov dword [rsp + 0x5e], 4
mov word [rsp + 0x58], 0x24
mov dword [rsp + 0x5a], 0x20009303
mov rax, qword [rsp + 0x58]
mov qword [rbp + 0x70], rax
movzx eax, word [rsp + 0x60]
mov word [rbp + 0x78], ax
mov dword [rbp + 0x7a], r12d
xor r9d, r9d
lea r8d, [r9 + 0xe]
lea rdx, [rbp + 0x70]
mov rcx, r15
call qword [sym.imp.WS2_32.dll_send]
cmp eax, 0xffffffff
je 0x1400778a4
xor r9d, r9d
mov r8d, 0x100
lea rdx, [rsp + 0x70]
mov rcx, r15
call qword [sym.imp.WS2_32.dll_recv]
cmp eax, 0xffffffff
je 0x1400778a4
mov rcx, qword [rsp + 0x70]
mov qword [rsp + 0x58], rcx
movzx eax, word [rsp + 0x78]
mov word [rsp + 0x60], ax
cmp cl, 0x24
jne 0x1400778a4
shr rcx, 0x10
cmp ecx, 0x55aa0000
je 0x140077687
lea rcx, [0x14017bd30]
mov rax, qword [0x14017bd30]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x20], rax
mov r8d, dword [rsp + 0x5a]
lea rdx, str.Bad_data_type._Received_type__04Xh
lea rcx, [rsp + 0x20]
call fcn.140016060
nop
mov rdx, qword [rsp + 0x20]
add rdx, 0xffffffffffffffe8
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x1400778a4
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + VariantCopy]
jmp 0x1400778a4
cmp dword [rsp + 0x76], 0
jne 0x1400778a4
cmp r13d, 0x20009136
jne 0x1400776ab
mov rax, qword [rsi + 0x1e8]
mov rbx, qword [rsi + 0x1f0]
jmp 0x1400776f8
cmp r13d, 0x20009137
jne 0x1400776c4
mov rax, qword [rsi + 0x208]
mov rbx, qword [rsi + 0x210]
jmp 0x1400776f8
cmp r13d, 0x20009143
jne 0x1400776dd
mov rax, qword [rsi + 0x228]
mov rbx, qword [rsi + 0x230]
jmp 0x1400776f8
cmp r13d, 0x20009144
jne 0x140077888
mov rax, qword [rsi + 0x248]
mov rbx, qword [rsi + 0x250]
cmp rax, rbx
je 0x140077888
lea rsi, [rax + 8]
nop word [rax + rax]
mov word [rsp + 0x58], 0x124
mov dword [rsp + 0x5a], r13d
mov rax, qword [rsi - 8]
mov edx, dword [rax - 0x10]
mov rax, qword [rsi]
mov ecx, dword [rax - 0x10]
lea eax, [rdx + rcx]
lea eax, [rax + rax + 0x29]
mov dword [rsp + 0x5e], eax
mov rax, qword [rsi - 8]
movsxd r12, dword [rax - 0x10]
mov rax, qword [rsi]
mov eax, dword [rax - 0x10]
mov dword [rsp + 0x20], eax
mov rax, qword [rsp + 0x58]
mov qword [rbp + 0x70], rax
movzx eax, word [rsp + 0x60]
mov word [rbp + 0x78], ax
mov dword [rbp + 0x7a], r12d
mov rax, qword [rsi - 8]
cmp dword [rax - 8], 1
jle 0x140077772
mov edx, dword [rax - 0x10]
lea rcx, [rsi - 8]
call fcn.140001fb0
mov r14, r12
add r12, r12
mov r8, r12
mov rdx, qword [rsi - 8]
lea rcx, [rbp + 0x7e]
call fcn.1400d5d30
movsxd rdi, dword [rsp + 0x20]
mov dword [rbp + r12 + 0x7e], edi
mov rax, qword [rsi]
cmp dword [rax - 8], 1
jle 0x1400777a6
mov edx, dword [rax - 0x10]
mov rcx, rsi
call fcn.140001fb0
lea r8, [rdi + rdi]
lea rcx, [rbp + r12 + 0x82]
mov rdx, qword [rsi]
call fcn.1400d5d30
lea r11, [rdi + r14]
mov eax, dword [rsi + 8]
mov dword [rbp + r11*2 + 0x82], eax
movzx eax, byte [rsi + 0xc]
mov byte [rbp + r11*2 + 0x86], al
mov r8d, dword [rsp + 0x5e]
add r8d, 0xa
xor r9d, r9d
lea rdx, [rbp + 0x70]
mov rcx, r15
call qword [sym.imp.WS2_32.dll_send]
cmp eax, 0xffffffff
je 0x1400778a4
xor r9d, r9d
mov r8d, 0xff
lea rdx, [rsp + 0x70]
mov rcx, r15
call qword [sym.imp.WS2_32.dll_recv]
mov rcx, qword [rsp + 0x70]
mov qword [rsp + 0x58], rcx
movzx eax, word [rsp + 0x78]
mov word [rsp + 0x60], ax
cmp cl, 0x24
jne 0x1400778a4
shr rcx, 0x10
cmp ecx, 0x55aa0000
jne 0x14007784d
cmp dword [rsp + 0x76], 0
jne 0x1400778a4
add rsi, 0x18
lea rax, [rsi - 8]
cmp rax, rbx
jne 0x140077710
jmp 0x140077888
lea rcx, [0x14017bd30]
mov rax, qword [0x14017bd30]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x30], rax
mov r8d, dword [rsp + 0x5a]
lea rdx, str.Bad_data_type._Received_type__04Xh
lea rcx, [rsp + 0x30]
call fcn.140016060
nop
mov rdx, qword [rsp + 0x30]
jmp 0x140077663
mov eax, 1
jmp 0x1400778a6
mov rcx, rbx
call fcn.140053cb0
mov rcx, rbx
call fcn.1400d4d78
mov qword [rsp + 0x38], rdi
xor eax, eax
mov rcx, qword [rbp + 0x470]
xor rcx, rsp
call fcn.1400d4d90
mov rbx, qword [rsp + 0x5d0]
add rsp, 0x580
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret