Function at 0x140068620
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 - 0x498]
sub rsp, 0x570
mov qword [rsp + 0x48], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov rax, qword [0x14017c430]
xor rax, rsp
mov qword [rbp + 0x460], rax
mov r12, rcx
mov r13, qword [0x140183698]
mov byte [rbp + 0x60], 0
xor edx, edx
mov r8d, 0x3ff
lea rcx, [rbp + 0x61]
call fcn.1400dd9f0
mov byte [rsp + 0x60], 0
xor edx, edx
mov r8d, 0xff
lea rcx, [rsp + 0x61]
call fcn.1400dd9f0
lea r14, vtable.CLockMgr_class_CMutexWrapper_.0
mov qword [rsp + 0x20], r14
lea rsi, [r13 + 0x1628]
mov qword [rsp + 0x28], rsi
mov dword [rsp + 0x30], 1
or ebx, 0xffffffff
cmp qword [rsi], 0
je 0x1400686d6
call qword [sym.imp.USER32.dll_InSendMessage]
mov ecx, 0x2710
test eax, eax
cmovne ebx, ecx
mov edx, ebx
mov rcx, qword [rsi]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
nop
mov rcx, qword [r13 + 0x15f8]
mov word [rsp + 0x50], 0x24
xor r9d, r9d
test rcx, rcx
jne 0x140068722
mov qword [rsp + 0x52], 0xffff00
lea r8d, [rcx + 0xa]
lea rdx, [rsp + 0x50]
mov rcx, r12
call qword [sym.imp.WS2_32.dll_send]
nop
mov rcx, qword [rsi]
mov qword [rsp + 0x20], r14
test rcx, rcx
je 0x14006871b
call qword [sym.imp.KERNEL32.dll_ReleaseMutex]
xor eax, eax
jmp 0x140068a63
mov dword [rsp + 0x56], 4
mov dword [rsp + 0x52], 0x20009303
mov rax, qword [rsp + 0x50]
mov qword [rbp + 0x60], rax
movzx eax, word [rsp + 0x58]
mov word [rbp + 0x68], ax
mov dword [rbp + 0x6a], ecx
mov r8d, send
lea rdx, [rbp + 0x60]
mov rcx, r12
call qword [sym.imp.WS2_32.dll_send]
cmp eax, 0xffffffff
jne 0x140068761
jmp 0x140068708
xor r9d, r9d
mov r8d, 0x100
lea rdx, [rsp + 0x60]
mov rcx, r12
call qword [sym.imp.WS2_32.dll_recv]
cmp eax, 0xffffffff
jne 0x14006877f
jmp 0x140068708
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x50], rax
movzx eax, word [rsp + 0x68]
mov word [rsp + 0x58], ax
cmp byte [rsp + 0x60], 0x24
je 0x14006879f
jmp 0x140068708
cmp dword [rsp + 0x62], 0x55aa0000
je 0x140068808
lea rcx, [0x14017bd30]
mov rax, qword [0x14017bd30]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x40], rax
mov r8d, dword [rsp + 0x52]
lea rdx, str.Bad_data_type._Received_type__04Xh
lea rcx, [rsp + 0x40]
call fcn.140016060
nop
mov rdx, qword [rsp + 0x40]
add rdx, 0xffffffffffffffe8
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x1400687fb
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + VariantCopy]
nop
mov rax, qword [rsp + 0x28]
mov rcx, qword [rax]
jmp 0x14006870b
cmp dword [rsp + 0x66], 0
je 0x140068814
jmp 0x140068708
mov rax, qword [r13 + 0x15f0]
mov rbx, qword [rax]
cmp rbx, rax
je 0x140068a4b
nop word [rax + rax]
mov word [rsp + 0x50], 0x124
mov dword [rsp + 0x52], 0x20009111
mov ecx, dword [rbx + 0x28]
add ecx, dword [rbx + 0x24]
mov eax, dword [rbx + 0x20]
lea edi, [rcx + rax + 0x1c]
mov dword [rsp + 0x56], edi
mov rax, qword [rsp + 0x50]
mov qword [rbp + 0x60], rax
movzx eax, word [rsp + 0x58]
mov word [rbp + 0x68], ax
mov eax, dword [rbx + 0x24]
mov dword [rbp + 0x6a], eax
mov eax, dword [rbx + 0x28]
mov dword [rbp + 0x6e], eax
mov eax, dword [rbx + 0x20]
mov dword [rbp + 0x72], eax
mov eax, dword [rbx + 0x30]
mov dword [rbp + 0x76], eax
mov r8d, dword [rbx + 0x20]
mov rdx, qword [rbx + 0x48]
lea rcx, [rbp + 0x7a]
call fcn.1400d5d30
mov r8d, dword [rbx + 0x24]
mov eax, dword [rbx + 0x20]
lea rcx, [rbp + rax + 0x7a]
mov rdx, qword [rbx + 0x38]
call fcn.1400d5d30
mov r8d, dword [rbx + 0x28]
mov r9d, dword [rbx + 0x24]
mov eax, dword [rbx + 0x20]
lea rcx, [rbp + rax + 0x7a]
add rcx, r9
mov rdx, qword [rbx + 0x40]
call fcn.1400d5d30
mov r11d, dword [rbx + 0x28]
mov eax, dword [rbx + 0x24]
add r11, rax
mov eax, dword [rbx + 0x20]
lea rcx, [rbp + rax + 0x7a]
mov eax, dword [rbx + 0x50]
mov dword [rcx + r11], eax
mov edx, dword [rbx + 0x28]
mov eax, dword [rbx + 0x24]
add rdx, rax
mov eax, dword [rbx + 0x20]
lea rcx, [rbp + rax + 0x7e]
mov eax, dword [rbx + 0x54]
mov dword [rcx + rdx], eax
mov edx, dword [rbx + 0x28]
mov eax, dword [rbx + 0x24]
add rdx, rax
mov eax, dword [rbx + 0x20]
lea rcx, [rbp + rax + 0x82]
mov eax, dword [rbx + 0x58]
mov dword [rcx + rdx], eax
mov edx, dword [rbx + 0x28]
mov eax, dword [rbx + 0x24]
add rdx, rax
mov eax, dword [rbx + 0x20]
lea rcx, [rbp + rax + 0x86]
mov eax, dword [rbx + 0x5c]
mov dword [rcx + rdx], eax
lea r8d, [rdi + 0xa]
xor r9d, r9d
lea rdx, [rbp + 0x60]
mov rcx, r12
call qword [sym.imp.WS2_32.dll_send]
cmp eax, 0xffffffff
je 0x140068a46
xor r9d, r9d
mov r8d, 0xff
lea rdx, [rsp + 0x60]
mov rcx, r12
call qword [sym.imp.WS2_32.dll_recv]
mov rcx, qword [rsp + 0x60]
mov qword [rsp + 0x50], rcx
movzx eax, word [rsp + 0x68]
mov word [rsp + 0x58], ax
cmp cl, 0x24
jne 0x140068a41
shr rcx, 0x10
cmp ecx, 0x55aa0000
jne 0x1400689e2
cmp dword [rsp + 0x66], 0
jne 0x1400689dd
cmp byte [rbx + 0x69], 0
jne 0x1400689ce
mov rax, qword [rbx + 0x10]
cmp byte [rax + 0x69], 0
jne 0x1400689ae
mov rbx, rax
mov rax, qword [rax]
cmp byte [rax + 0x69], 0
jne 0x1400689ce
mov rbx, rax
mov rax, qword [rax]
cmp byte [rax + 0x69], 0
je 0x1400689a0
jmp 0x1400689ce
mov rax, qword [rbx + 8]
cmp byte [rax + 0x69], 0
jne 0x1400689cb
cmp rbx, qword [rax + 0x10]
jne 0x1400689cb
mov rbx, rax
mov rax, qword [rax + 8]
cmp byte [rax + 0x69], 0
je 0x1400689b8
mov rbx, rax
cmp rbx, qword [r13 + 0x15f0]
jne 0x140068830
jmp 0x140068a4b
jmp 0x140068708
lea rcx, [0x14017bd30]
mov rax, qword [0x14017bd30]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x38], rax
mov r8d, dword [rsp + 0x52]
lea rdx, str.Bad_data_type._Received_type__04Xh
lea rcx, [rsp + 0x38]
call fcn.140016060
nop
mov rdx, qword [rsp + 0x38]
add rdx, 0xffffffffffffffe8
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x140068a34
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + VariantCopy]
nop
mov rax, qword [rsp + 0x28]
mov rcx, qword [rax]
jmp 0x14006870b
jmp 0x140068708
jmp 0x140068708
mov qword [rsp + 0x20], r14
mov rcx, qword [rsi]
test rcx, rcx
je 0x140068a5e
call qword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov eax, 1
mov rcx, qword [rbp + 0x460]
xor rcx, rsp
call fcn.1400d4d90
lea r11, [rsp + 0x570]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r14
pop r13
pop r12
pop rdi
pop rbp
ret