Function at 0x140077a80
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 - 0x380]
sub rsp, 0x480
mov qword [rsp + 0x58], 0xfffffffffffffffe
mov qword [rsp + 0x4c8], rbx
mov rax, qword [0x14017c430]
xor rax, rsp
mov qword [rbp + 0x370], rax
mov r14d, r9d
mov r15, r8
mov r12d, edx
mov r13, rcx
mov byte [rsp + 0x70], 0
xor edx, edx
mov r8d, 0x3ff
lea rcx, [rsp + 0x71]
call fcn.1400dd9f0
lea rcx, [0x14017bd30]
mov rax, qword [0x14017bd30]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x20], rax
lea rax, [rsp + 0x28]
mov qword [rsp + 0x38], rax
lea rcx, [0x14017bd30]
mov rax, qword [0x14017bd30]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x28], rax
mov word [rsp + 0x60], 0x24
mov qword [rsp + 0x62], 0x55aa0000
xor r9d, r9d
lea r8d, [r9 + 0xa]
lea rdx, [rsp + 0x60]
mov rcx, r13
call qword [sym.imp.WS2_32.dll_send]
cmp eax, 0xffffffff
jne 0x140077b99
lea rax, [rsp + 0x28]
mov qword [rsp + 0x38], rax
mov rdx, qword [rsp + 0x28]
add rdx, 0xffffffffffffffe8
or ebx, 0xffffffff
mov eax, ebx
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x140077b75
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + VariantCopy]
nop
mov rdx, qword [rsp + 0x20]
add rdx, 0xffffffffffffffe8
lock xadd dword [rdx + 0x10], ebx
dec ebx
test ebx, ebx
jg 0x140077b92
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + VariantCopy]
xor eax, eax
jmp 0x140077eab
xor esi, esi
test r12d, r12d
je 0x140077e5c
nop word [rax + rax]
xor r9d, r9d
mov r8d, 0x400
lea rdx, [rsp + 0x70]
mov rcx, r13
call qword [sym.imp.WS2_32.dll_recv]
cmp eax, 0xffffffff
je 0x140077e2a
mov rcx, qword [rsp + 0x70]
mov qword [rsp + 0x60], rcx
movzx eax, word [rsp + 0x78]
mov word [rsp + 0x68], ax
cmp cl, 0x24
jne 0x140077da9
shr rcx, 0x10
cmp ecx, r14d
jne 0x140077d23
cmp dword [rsp + 0x76], 0
je 0x140077ca2
movzx ebx, byte [rsp + 0x7a]
mov r8d, ebx
lea rdx, [rsp + 0x7e]
lea rcx, [rsp + 0x20]
call fcn.140002120
mov edi, ebx
movzx ebx, byte [rsp + rbx*2 + 0x7e]
lea rdx, [rbp + rdi*2 - 0x7e]
mov r8d, ebx
lea rcx, [rsp + 0x28]
call fcn.140002120
lea r11, [rdi + rbx]
mov eax, dword [rbp + r11*2 - 0x7e]
mov dword [rsp + 0x30], eax
movzx eax, byte [rbp + r11*2 - 0x7a]
mov byte [rsp + 0x34], al
lea rdx, [rsp + 0x20]
mov rcx, r15
call fcn.140079e40
mov word [rsp + 0x60], 0x24
mov qword [rsp + 0x62], 0x55aa0000
xor r9d, r9d
lea r8d, [r9 + 0xa]
lea rdx, [rsp + 0x60]
mov rcx, r13
call qword [sym.imp.WS2_32.dll_send]
cmp eax, 0xffffffff
je 0x140077c93
inc esi
cmp esi, r12d
jb 0x140077bb0
jmp 0x140077e5c
lea rcx, [rsp + 0x20]
call fcn.1400478f0
jmp 0x140077b92
lea rcx, [0x14017bd30]
mov rax, qword [0x14017bd30]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x48], rax
mov r8d, esi
lea rdx, str.RecvBWLists:_bad_data_length._Step__d.
lea rcx, [rsp + 0x48]
call fcn.140016060
nop
mov rdx, qword [rsp + 0x48]
add rdx, 0xffffffffffffffe8
or ebx, 0xffffffff
mov eax, ebx
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x140077cf4
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + VariantCopy]
nop
lea rax, [rsp + 0x28]
mov qword [rsp + 0x40], rax
mov rdx, qword [rsp + 0x28]
add rdx, 0xffffffffffffffe8
mov eax, ebx
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x140077d1e
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + VariantCopy]
nop
jmp 0x140077b75
lea rcx, [0x14017bd30]
mov rax, qword [0x14017bd30]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x50], rax
mov r9d, dword [rsp + 0x62]
mov r8d, esi
lea rdx, str.RecvBWLists:_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
mov eax, ebx
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x140077d7a
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + VariantCopy]
nop
lea rax, [rsp + 0x28]
mov qword [rsp + 0x40], rax
mov rdx, qword [rsp + 0x28]
add rdx, 0xffffffffffffffe8
mov eax, ebx
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x140077da4
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + VariantCopy]
nop
jmp 0x140077b75
lea rcx, [0x14017bd30]
mov rax, qword [0x14017bd30]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x38], rax
mov r8d, esi
lea rdx, str.RecvBWLists:_bad_start_symbol._Step__d.
lea rcx, [rsp + 0x38]
call fcn.140016060
nop
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 0x140077dfb
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + VariantCopy]
nop
lea rax, [rsp + 0x28]
mov qword [rsp + 0x40], rax
mov rdx, qword [rsp + 0x28]
add rdx, 0xffffffffffffffe8
mov eax, ebx
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x140077e25
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + VariantCopy]
nop
jmp 0x140077b75
lea rax, [rsp + 0x28]
mov qword [rsp + 0x40], rax
mov rdx, qword [rsp + 0x28]
add rdx, 0xffffffffffffffe8
or ebx, 0xffffffff
mov eax, ebx
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x140077e57
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + VariantCopy]
nop
jmp 0x140077b75
lea rax, [rsp + 0x28]
mov qword [rsp + 0x40], rax
mov rdx, qword [rsp + 0x28]
add rdx, 0xffffffffffffffe8
or ebx, 0xffffffff
mov eax, ebx
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x140077e89
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + VariantCopy]
nop
mov rdx, qword [rsp + 0x20]
add rdx, 0xffffffffffffffe8
lock xadd dword [rdx + 0x10], ebx
dec ebx
test ebx, ebx
jg 0x140077ea6
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + VariantCopy]
mov eax, 1
mov rcx, qword [rbp + 0x370]
xor rcx, rsp
call fcn.1400d4d90
mov rbx, qword [rsp + 0x4c8]
add rsp, 0x480
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret