Function at 0x419ff0
Capabilities:
Send data
Send data on socket
Set socket configuration

Disassembly:
sub esp, 0x3c
push ebx
push ebp
mov ebp, dword [esp + 0x48]
push esi
push edi
mov edi, dword [esp + 0x64]
lea eax, [esp + 0x1c]
push 4
mov byte [edi], 1
mov ecx, dword [ebp]
push eax
push 0x1006
xor ebx, ebx
push 0xffff
push ecx
mov byte [esp + 0x27], bl
mov dword [esp + 0x30], 0x1f4
call dword [sym.imp.WS2_32.dll_setsockopt]
cmp eax, 0xffffffff
jne 0x41a03c
mov byte [edi], bl
pop edi
pop esi
pop ebp
xor al, al
pop ebx
add esp, 0x3c
ret
mov al, byte [0x46444e]
mov ecx, dword [esp + 0x54]
lea edx, [esp + 0x50]
mov dword [esp + 0x50], ebx
push edx
push eax
push ecx
call fcn.00422350
mov esi, eax
add esp, 0xc
cmp esi, ebx
jne 0x41a06a
mov byte [edi], bl
pop edi
pop esi
pop ebp
xor al, al
pop ebx
add esp, 0x3c
ret
mov al, byte [0x4676a4]
mov edi, 1
cmp al, 0xfb
mov dword [esp + 0x34], ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x40], edi
mov dword [esp + 0x3c], edi
mov dword [esp + 0x44], ebx
mov dword [esp + 0x48], ebx
mov dword [esp + 0x24], ebx
mov byte [esp + 0x2c], al
jne 0x41a09f
push ebx
jmp 0x41a0b4
cmp al, 0xfc
jne 0x41a0a6
push edi
jmp 0x41a0b4
cmp al, 0xfd
jne 0x41a0ae
push 2
jmp 0x41a0b4
cmp al, 0xfe
jne 0x41a0c0
push 3
call fcn.004233a0
add esp, 4
mov byte [esp + 0x2c], al
mov dx, word [0x46444c]
push edx
call fcn.004233d0
mov word [esp + 0x2e], ax
mov ax, word [0x467694]
push 0x464420
lea ecx, [esp + 0x1c]
mov word [esp + 0x30], ax
mov eax, dword [esp + 0x58]
push 2
lea edx, [esp + 0x30]
push ecx
push edx
mov dword [esp + 0x58], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x50], edi
mov dword [esp + 0x54], ebx
mov byte [esp + 0x41], bl
mov dword [esp + 0x5c], esi
mov dword [esp + 0x28], ebx
call fcn.00423b10
push esi
mov edi, eax
call sub.MFC42.DLL_operatordelete
add esp, 0x18
cmp edi, ebx
jne 0x41a132
mov eax, dword [esp + 0x64]
pop edi
pop esi
pop ebp
mov byte [eax], bl
xor al, al
pop ebx
add esp, 0x3c
ret
mov eax, 0x10624dd3
mul dword [esp + 0x5c]
shr edx, 6
cmp edx, 0xa
mov dword [esp + 0x5c], edx
ja 0x41a14f
mov dword [esp + 0x5c], 0xa
push ebx
call dword [sym.imp.MSVCRT.dll_time]
mov esi, dword [esp + 0x5c]
add esp, 4
mov dword [esp + 0x20], eax
mov dword [esp + 0x18], ebx
mov ecx, dword [esp + 0x14]
mov edx, dword [ebp]
push 0x10
push esi
push ebx
push ecx
push edi
push edx
call dword [sym.imp.WS2_32.dll_sendto]
test eax, eax
jl 0x41a1f8
push 0x464420
push 1
push esi
push ebp
call fcn.00419d30
add esp, 0x10
cmp al, bl
mov byte [esp + 0x13], al
jne 0x41a1c6
push ebx
call dword [sym.imp.MSVCRT.dll_time]
mov edx, dword [esp + 0x24]
mov ecx, dword [esp + 0x60]
sub eax, edx
add esp, 4
cmp eax, ecx
jae 0x41a1c6
push 0x28
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [esp + 0x18]
inc eax
cmp eax, 0x3e8
mov dword [esp + 0x18], eax
jbe 0x41a165
push edi
call sub.MFC42.DLL_operatordelete
mov al, byte [esp + 0x17]
add esp, 4
cmp al, bl
je 0x41a1ec
mov ecx, dword [esp + 0x54]
push ecx
push esi
push ebp
call fcn.00419eb0
mov edx, dword [esp + 0x6c]
add esp, 0xc
mov byte [edx], al
mov al, byte [esp + 0x13]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x3c
ret
mov eax, dword [esp + 0x64]
push edi
mov byte [eax], bl
call sub.MFC42.DLL_operatordelete
mov al, byte [esp + 0x17]
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x3c
ret