Function at 0x42f1f0
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 + 0x10]
push edi
mov edi, dword [ebp + 0xc]
lea ecx, [edi + 0x20]
mov dword [edi + 4], 3
lea ebx, [edi + 0x54]
mov dword [edi + 0x44], esi
mov dword [edi + 0x3c], eax
movups xmmword [ecx], xmm0
mov dword [ecx + 0x10], 0
test dword [esi + 0x2c], 0x80000
je 0x42f250
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventA]
mov dword [ebx], eax
test eax, eax
je 0x42f41c
or eax, 1
mov dword [edi + 0x58], 0xffffffff
mov dword [edi + 0x30], eax
lea ecx, [edi + 0x20]
push 0
push ecx
push 0
lea eax, [ebp + 0xc]
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [esi + 0x90]
call dword [sym.imp.WS2_32.dll_WSASend]
test eax, eax
jne 0x42f2e3
test dword [esi + 0x2c], 0x20000
je 0x42f37f
mov dword [edi + 0x34], eax
mov ecx, dword [esi + 0x40]
inc dword [esi + 0x3c]
inc dword [esi + 0x88]
lea eax, [ecx + 1]
mov dword [esi + 0x40], eax
test ecx, ecx
jne 0x42f2ac
mov eax, dword [esi + 0x2c]
test al, 4
jne 0x42f2ac
or eax, 4
mov dword [esi + 0x2c], eax
test al, 8
je 0x42f2ac
mov eax, dword [esi + 4]
inc dword [eax + 4]
mov ecx, dword [ebp + 8]
inc dword [ecx + 0x10]
mov dword [edi + 0x38], 0
mov eax, dword [ecx + 0x28]
test eax, eax
je 0x42f2d6
mov eax, dword [eax + 0x38]
mov dword [edi + 0x38], eax
mov eax, dword [ecx + 0x28]
mov dword [eax + 0x38], edi
xor eax, eax
mov dword [ecx + 0x28], edi
pop edi
pop esi
pop ebx
pop ebp
ret
mov dword [edi + 0x38], edi
xor eax, eax
mov dword [ecx + 0x28], edi
pop edi
pop esi
pop ebx
pop ebp
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3e5
je 0x42f37c
mov dword [edi + 0x34], 0
mov ecx, dword [esi + 0x40]
inc dword [esi + 0x3c]
inc dword [esi + 0x88]
lea eax, [ecx + 1]
mov dword [esi + 0x40], eax
test ecx, ecx
jne 0x42f328
mov eax, dword [esi + 0x2c]
test al, 4
jne 0x42f328
or eax, 4
mov dword [esi + 0x2c], eax
test al, 8
je 0x42f328
mov eax, dword [esi + 4]
inc dword [eax + 4]
mov esi, dword [ebp + 8]
mov ebx, dword [sym.imp.WS2_32.dll_WSAGetLastError]
inc dword [esi + 0x10]
call ebx
test eax, eax
jg 0x42f33e
call ebx
jmp 0x42f348
call ebx
movzx eax, ax
or eax, 0x80070000
mov dword [edi + 0x20], eax
mov dword [edi + 0x38], 0
mov eax, dword [esi + 0x28]
test eax, eax
je 0x42f36f
mov eax, dword [eax + 0x38]
mov dword [edi + 0x38], eax
mov eax, dword [esi + 0x28]
mov dword [eax + 0x38], edi
xor eax, eax
mov dword [esi + 0x28], edi
pop edi
pop esi
pop ebx
pop ebp
ret
mov dword [edi + 0x38], edi
xor eax, eax
mov dword [esi + 0x28], edi
pop edi
pop esi
pop ebx
pop ebp
ret
lea ebx, [edi + 0x54]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.00425b50
mov dword [edi + 0x34], eax
add esp, 8
mov ecx, dword [esi + 0x40]
inc dword [esi + 0x3c]
inc dword [esi + 0x88]
lea eax, [ecx + 1]
mov dword [esi + 0x40], eax
test ecx, ecx
jne 0x42f3bd
mov eax, dword [esi + 0x2c]
test al, 4
jne 0x42f3bd
or eax, 4
mov dword [esi + 0x2c], eax
test al, 8
je 0x42f3bd
mov eax, dword [esi + 4]
inc dword [eax + 4]
mov eax, dword [ebp + 8]
inc dword [eax + 0x10]
mov eax, dword [edi + 0x34]
add dword [esi + 0x30], eax
test dword [esi + 0x2c], 0x80000
je 0x42f415
push 0xc
push 0xffffffffffffffff
push edi
push 0x42d970
push dword [ebx]
lea eax, [edi + 0x58]
push eax
call dword [sym.imp.KERNEL32.dll_RegisterWaitForSingleObject]
test eax, eax
jne 0x42f415
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
test eax, eax
jg 0x42f3fc
call esi
jmp 0x42f406
call esi
movzx eax, ax
or eax, 0x80070000
push edi
push dword [ebp + 8]
mov dword [edi + 0x20], eax
call fcn.0042d9b0
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.0042bc50
int3