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

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0x1c]
xorps xmm0, xmm0
push ebx
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 0x10]
lea ebx, [esi + 0x20]
mov dword [esi + 4], 3
mov dword [esi + 0x44], edi
mov dword [esi + 0x3c], eax
movups xmmword [ebx], xmm0
mov dword [ebx + 0x10], 0
test dword [edi + 0x2c], 0x80000
je 0x4883bb
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventA]
mov dword [esi + 0x54], eax
test eax, eax
je 0x488584
or eax, 1
mov dword [esi + 0x58], 0xffffffff
mov dword [esi + 0x30], eax
push 0
push ebx
push 0
lea eax, [ebp + 0xc]
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [edi + 0x90]
call dword [sym.imp.WS2_32.dll_WSASend]
test eax, eax
jne 0x48844e
test dword [edi + 0x2c], 0x20000
je 0x4884e7
mov dword [esi + 0x34], eax
mov ecx, dword [edi + 0x40]
inc dword [edi + 0x3c]
inc dword [edi + 0x88]
lea eax, [ecx + 1]
mov dword [edi + 0x40], eax
test ecx, ecx
jne 0x488417
mov eax, dword [edi + 0x2c]
test al, 4
jne 0x488417
or eax, 4
mov dword [edi + 0x2c], eax
test al, 8
je 0x488417
mov eax, dword [edi + 4]
inc dword [eax + 4]
mov ecx, dword [ebp + 8]
inc dword [ecx + 0x10]
mov dword [esi + 0x38], 0
mov eax, dword [ecx + 0x28]
test eax, eax
je 0x488441
mov eax, dword [eax + 0x38]
mov dword [esi + 0x38], eax
mov eax, dword [ecx + 0x28]
pop edi
mov dword [eax + 0x38], esi
xor eax, eax
mov dword [ecx + 0x28], esi
pop esi
pop ebx
pop ebp
ret
mov dword [esi + 0x38], esi
xor eax, eax
pop edi
mov dword [ecx + 0x28], esi
pop esi
pop ebx
pop ebp
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3e5
je 0x4884e7
mov dword [esi + 0x34], 0
mov ecx, dword [edi + 0x40]
inc dword [edi + 0x3c]
inc dword [edi + 0x88]
lea eax, [ecx + 1]
mov dword [edi + 0x40], eax
test ecx, ecx
jne 0x488493
mov eax, dword [edi + 0x2c]
test al, 4
jne 0x488493
or eax, 4
mov dword [edi + 0x2c], eax
test al, 8
je 0x488493
mov eax, dword [edi + 4]
inc dword [eax + 4]
mov edi, dword [ebp + 8]
mov ebx, dword [sym.imp.WS2_32.dll_WSAGetLastError]
inc dword [edi + 0x10]
call ebx
test eax, eax
jg 0x4884a9
call ebx
jmp 0x4884b3
call ebx
movzx eax, ax
or eax, 0x80070000
mov dword [esi + 0x20], eax
mov dword [esi + 0x38], 0
mov eax, dword [edi + 0x28]
test eax, eax
je 0x4884da
mov eax, dword [eax + 0x38]
mov dword [esi + 0x38], eax
mov eax, dword [edi + 0x28]
mov dword [eax + 0x38], esi
xor eax, eax
mov dword [edi + 0x28], esi
pop edi
pop esi
pop ebx
pop ebp
ret
mov dword [esi + 0x38], esi
xor eax, eax
mov dword [edi + 0x28], esi
pop edi
pop esi
pop ebx
pop ebp
ret
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.004827e0
mov dword [esi + 0x34], eax
add esp, 8
mov ecx, dword [edi + 0x40]
inc dword [edi + 0x3c]
inc dword [edi + 0x88]
lea eax, [ecx + 1]
mov dword [edi + 0x40], eax
test ecx, ecx
jne 0x488525
mov eax, dword [edi + 0x2c]
test al, 4
jne 0x488525
or eax, 4
mov dword [edi + 0x2c], eax
test al, 8
je 0x488525
mov eax, dword [edi + 4]
inc dword [eax + 4]
mov eax, dword [ebp + 8]
inc dword [eax + 0x10]
mov eax, dword [esi + 0x34]
add dword [edi + 0x30], eax
test dword [edi + 0x2c], 0x80000
je 0x48857d
push 0xc
push 0xffffffffffffffff
push esi
push 0x484ac0
push dword [esi + 0x54]
lea eax, [esi + 0x58]
push eax
call dword [sym.imp.KERNEL32.dll_RegisterWaitForSingleObject]
test eax, eax
jne 0x48857d
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
call edi
test eax, eax
jg 0x488565
call edi
jmp 0x48856f
call edi
movzx eax, ax
or eax, 0x80070000
push esi
push dword [ebp + 8]
mov dword [ebx], eax
call fcn.004855a0
add esp, 8
pop edi
pop esi
xor eax, eax
pop ebx
pop ebp
ret
push str.CreateEvent
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.0048dbc0
int3