Function at 0x456e00
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, 0x403c
call fcn.00561be0
mov eax, dword [ebp + 8]
sub eax, 0
push ebx
push esi
push edi
mov ebx, ecx
je 0x45700e
dec eax
je 0x456e92
dec eax
jne 0x45701e
lea eax, [ebx + 0x28]
push eax
mov esi, ebx
call fcn.00457030
test al, al
je 0x456e5f
mov ecx, dword [ebx + 0x20]
test ecx, ecx
mov dword [ebx + 0x22c], 2
je 0x456e58
mov edx, dword [ebx + 0x1c]
push 0
push edx
push 0x64
call fcn.0053f1c0
push 0x23
jmp 0x457010
mov eax, dword [ebx + 0x20]
test eax, eax
mov dword [ebx + 0x22c], 0
je 0x45701e
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov edx, dword [ebx + 0x1c]
mov ecx, dword [ebx + 0x20]
push eax
push edx
push 0x65
call fcn.0053f1c0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [ebx + 0xc]
mov edx, dword [ebx + 0x24]
lea eax, [esp + 0x14]
push eax
push ecx
push edx
call dword [sym.imp.WS2_32.dll_WSAEnumNetworkEvents]
test eax, eax
jne 0x45701e
test byte [esp + 0x14], 1
je 0x456ee8
mov eax, dword [esp + 0x18]
test eax, eax
je 0x456ec3
push eax
mov eax, dword [ebx + 0x1c]
push eax
jmp 0x456ed7
call fcn.00456c30
test al, al
jne 0x456ee8
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ecx, dword [ebx + 0x1c]
push eax
push ecx
mov ecx, dword [ebx + 0x20]
push 0x65
call fcn.0053f1c0
mov esi, ebx
call fcn.004570a0
test byte [esp + 0x14], 0x20
je 0x456f42
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x456efe
mov edx, dword [ebx + 0x1c]
push eax
push edx
jmp 0x456f31
mov ecx, dword [ebx + 0x27a3c]
xor eax, eax
mov word [esp + 0xd], ax
mov byte [esp + 0xf], al
mov byte [esp + 0xc], 0xff
mov edx, dword [esp + 0xc]
mov dword [ecx + ebx + 0x230], edx
call fcn.00456c30
test al, al
jne 0x456f42
mov eax, dword [esp + 0x2c]
mov ecx, dword [ebx + 0x1c]
push eax
push ecx
mov ecx, dword [ebx + 0x20]
push 0x65
call fcn.0053f1c0
mov esi, ebx
call fcn.004570a0
test byte [esp + 0x14], 2
je 0x45701e
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x456f74
mov edx, dword [ebx + 0x1c]
mov ecx, dword [ebx + 0x20]
push eax
push edx
push 0x65
call fcn.0053f1c0
mov esi, ebx
call fcn.004570a0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
lea esi, [ebx + 0x28254]
mov ecx, esi
mov dword [esp + 0x10], esi
call fcn.0053f9d0
mov eax, dword [ebx + 0x28244]
test eax, eax
je 0x456ffe
lea ecx, [ebx + 0x28240]
xor eax, eax
mov dword [esp + 0xc], ecx
call fcn.004572f0
mov esi, eax
lea edi, [esp + 0x40]
mov ecx, 0x1001
rep movsd dword es:[edi], dword [esi]
mov eax, dword [esp + 0x4040]
test eax, eax
jle 0x456fea
mov ecx, dword [ebx + 0x24]
push 0
push eax
lea eax, [esp + 0x48]
push eax
push ecx
call dword [sym.imp.WS2_32.dll_send]
test eax, eax
jge 0x456fea
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov edx, dword [ebx + 0x1c]
mov ecx, dword [ebx + 0x20]
push eax
push edx
push 0x65
call fcn.0053f1c0
mov esi, ebx
call fcn.004570a0
mov edi, dword [esp + 0xc]
mov ebx, 1
xor eax, eax
call fcn.00457360
mov esi, dword [esp + 0x10]
mov ecx, esi
call fcn.0053f9e0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
push 0
mov eax, dword [ebx + 0xc]
mov ecx, dword [ebx + 0x24]
push eax
push ecx
call dword [sym.imp.WS2_32.dll_WSAEventSelect]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4