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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5649b1
mov eax, dword fs:[0]
push eax
sub esp, 0x520
mov eax, dword [0x5b3680]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, dword [0x5ba1b0]
lea eax, [ebp - 0x50f]
push 0x3ff
push 0
push eax
mov byte [ebp - 0x510], 0
call fcn.00531bd0
push 0xff
lea eax, [ebp - 0x10f]
mov byte [ebp - 0x110], 0
push 0
push eax
call fcn.00531bd0
lea esi, [ebx + 0x1424]
mov dword [ebp - method.CLockMgr_class_CMutexWrapper_.virtual_0], vtable.CLockMgr_class_CMutexWrapper_.0
mov dword [ebp - 0x528], esi
add esp, 0x18
or edi, 0xffffffff
mov dword [ebp - 0x524], 1
cmp dword [esi], 0
je 0x465edc
call dword [sym.imp.USER32.dll_InSendMessage]
test eax, eax
mov ecx, 0x2710
cmovne edi, ecx
push edi
push dword [esi]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov dword [ebp - 4], 0
mov ecx, dword [ebx + 0x1414]
mov word [ebp - 0x51c], 0x24
push 0
test ecx, ecx
jne 0x465f1f
push 0xa
lea eax, [ebp - 0x51c]
mov dword [ebp - 0x51a], 0xffff00
push eax
push dword [ebp + 8]
mov dword [ebp - 0x516], ecx
call dword [sym.imp.WS2_32.dll_send]
jmp 0x465ff8
mov esi, dword [ebp + 8]
mov dword [ebp - 0x516], 4
mov ax, word [ebp - 0x514]
mov word [ebp - 0x508], ax
lea eax, [ebp - 0x510]
push 0xe
mov dword [ebp - 0x51a], 0x20009303
movq xmm0, qword [ebp - 0x51c]
push eax
push esi
movq qword [ebp - 0x510], xmm0
mov dword [ebp - 0x506], ecx
call dword [sym.imp.WS2_32.dll_send]
cmp eax, 0xffffffff
je 0x465ff8
push 0
push 0x100
lea eax, [ebp - 0x110]
push eax
push esi
call dword [sym.imp.WS2_32.dll_recv]
cmp eax, 0xffffffff
je 0x465ff8
cmp byte [ebp - 0x110], 0x24
movq xmm0, qword [ebp - 0x110]
mov ax, word [ebp - 0x108]
movq qword [ebp - 0x51c], xmm0
mov word [ebp - 0x514], ax
jne 0x465ff8
cmp dword [ebp - 0x10e], 0x55aa0000
je 0x46603e
lea ecx, [ebp - 0x520]
call fcn.00402b10
mov byte [ebp - 4], 1
push dword [ebp - 0x51a]
lea eax, [ebp - 0x520]
push str.Bad_data_type._Received_type__04Xh
push eax
call fcn.00415d20
add esp, 0xc
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x520]
call fcn.00402750
xor esi, esi
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x528]
mov dword [ebp - method.CLockMgr_class_CMutexWrapper_.virtual_0], vtable.CLockMgr_class_CMutexWrapper_.0
mov eax, dword [eax]
test eax, eax
je 0x46601e
push eax
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005295e2
mov esp, ebp
pop ebp
ret 4
cmp dword [ebp - 0x10a], 0
jne 0x465ff8
mov eax, dword [ebx + 0x1410]
mov esi, dword [eax]
mov dword [ebp - 0x520], esi
cmp esi, eax
je 0x466201
lea ecx, [ecx]
mov word [ebp - 0x51c], 0x124
mov dword [ebp - 0x51a], 0x20009111
mov ecx, dword [esi + 0x18]
mov edi, dword [esi + 0x14]
add ecx, 0x1c
add ecx, dword [esi + 0x1c]
add edi, ecx
mov dword [ebp - 0x516], edi
movq xmm0, qword [ebp - 0x51c]
mov ax, word [ebp - 0x514]
mov word [ebp - 0x508], ax
movq qword [ebp - 0x510], xmm0
mov eax, dword [esi + 0x18]
mov dword [ebp - 0x506], eax
mov eax, dword [esi + 0x1c]
mov dword [ebp - 0x502], eax
mov eax, dword [esi + 0x14]
mov dword [ebp - 0x4fe], eax
mov eax, dword [esi + 0x20]
mov dword [ebp - 0x4fa], eax
lea eax, [ebp - 0x4f6]
push dword [esi + 0x14]
push dword [esi + 0x2c]
push eax
call fcn.00531580
push dword [esi + 0x18]
mov eax, dword [esi + 0x14]
lea ecx, [ebp - 0x4f6]
push dword [esi + 0x24]
add eax, ecx
push eax
call fcn.00531580
push dword [esi + 0x1c]
mov eax, dword [esi + 0x18]
lea ecx, [ebp - 0x4f6]
push dword [esi + 0x28]
add eax, ecx
add eax, dword [esi + 0x14]
push eax
call fcn.00531580
mov eax, dword [esi + 0x18]
lea edx, [ebp - 0x4f6]
add eax, dword [esi + 0x1c]
add esp, 0x24
mov ecx, dword [esi + 0x14]
add edx, eax
mov eax, dword [esi + 0x30]
push 0
mov dword [edx + ecx], eax
lea edx, [ebp - 0x4f2]
mov eax, dword [esi + 0x18]
add eax, dword [esi + 0x1c]
mov ecx, dword [esi + 0x14]
add edx, eax
mov eax, dword [esi + 0x34]
mov dword [edx + ecx], eax
lea edx, [ebp - 0x4ee]
mov eax, dword [esi + 0x18]
add eax, dword [esi + 0x1c]
mov ecx, dword [esi + 0x14]
add edx, eax
mov eax, dword [esi + 0x38]
mov dword [edx + ecx], eax
lea edx, [ebp - 0x4ea]
mov eax, dword [esi + 0x18]
add eax, dword [esi + 0x1c]
mov ecx, dword [esi + 0x14]
add edx, eax
mov eax, dword [esi + 0x3c]
mov esi, dword [ebp + 8]
mov dword [edx + ecx], eax
lea eax, [edi + 0xa]
push eax
lea eax, [ebp - 0x510]
push eax
push esi
call dword [sym.imp.WS2_32.dll_send]
cmp eax, 0xffffffff
je 0x465ff8
push 0
push 0xff
lea eax, [ebp - 0x110]
push eax
push esi
call dword [sym.imp.WS2_32.dll_recv]
cmp byte [ebp - 0x110], 0x24
movq xmm0, qword [ebp - 0x110]
mov ax, word [ebp - 0x108]
movq qword [ebp - 0x51c], xmm0
mov word [ebp - 0x514], ax
jne 0x465ff8
cmp dword [ebp - 0x10e], 0x55aa0000
jne 0x46620b
cmp dword [ebp - 0x10a], 0
jne 0x465ff8
lea ecx, [ebp - 0x520]
call fcn.004099b0
mov esi, dword [ebp - 0x520]
cmp esi, dword [ebx + 0x1410]
jne 0x466060
mov esi, 1
jmp 0x465ffa
lea ecx, [ebp - 0x520]
call fcn.00402b10
mov byte [ebp - 4], 2
jmp 0x465fcf