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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c159d
mov eax, dword fs:[0]
push eax
sub esp, 0x50
mov eax, dword [0x501040]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x3c], edi
mov eax, dword [ebp + 0x10]
xorps xmm0, xmm0
mov dword [ebp - 0x44], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x4c], eax
lea eax, [edi + 0x84]
movlpd qword [ebp - 0x1c], xmm0
push eax
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x1c], eax
mov byte [ebp - 0x18], 1
call fcn.00474b67
add esp, 4
lea eax, [ebp + 8]
mov dword [ebp - 4], 0
push eax
lea eax, [ebp - 0x58]
push eax
lea ecx, [edi + 0x28]
call fcn.004195c0
mov ebx, dword [ebp - 0x50]
cmp byte [ebx + 0xd], 0
jne 0x41c0ce
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x34], eax
cmp eax, dword [ebx + 0x14]
jb 0x41c0ce
mov eax, dword [ebp + 8]
mov dword [ebp - 0x38], eax
ja 0x41bfc1
cmp eax, dword [ebx + 0x10]
jb 0x41c0ce
cmp ebx, dword [edi + 0x28]
je 0x41c0ce
mov esi, dword [ebx + 0x18]
mov eax, dword [esi]
mov dword [ebp - 0x2c], eax
call fcn.0045a070
mov dword [esi + 0x70], eax
mov ecx, edi
mov dword [esi + 0x74], edx
call fcn.0041c130
mov ecx, dword [ebx + 0x18]
mov esi, dword [ebp + 0x14]
mov dword [ebp - 0x48], eax
lea edi, [eax + 0x44]
mov ecx, dword [ecx + 0x64]
mov dword [eax + 0x50], ecx
mov ecx, dword [ebp - 0x38]
mov dword [eax + 0x18], ecx
mov ecx, dword [ebp - 0x34]
mov dword [eax + 0x20], 3
mov dword [eax + 0x1c], ecx
test esi, esi
jle 0x41c061
mov eax, dword [edi + 4]
mov ecx, eax
mov edx, dword [edi]
sub ecx, edx
mov dword [ebp - 0x30], eax
cmp esi, ecx
jae 0x41c022
lea eax, [edx + esi]
jmp 0x41c050
jbe 0x41c053
mov eax, dword [edi + 8]
sub eax, edx
cmp esi, eax
jbe 0x41c038
push ecx
push esi
mov ecx, edi
call fcn.0040ada0
jmp 0x41c053
sub esi, ecx
push esi
push 0
push dword [ebp - 0x30]
call fcn.0049cfc0
mov eax, dword [ebp - 0x30]
add esp, 0xc
add eax, esi
mov esi, dword [ebp + 0x14]
mov dword [edi + 4], eax
push esi
push dword [ebp - 0x44]
push dword [edi]
call fcn.0049d280
add esp, 0xc
mov eax, dword [edi]
mov esi, dword [ebp - 0x48]
push 0
push esi
push 0x10
push dword [ebp - 0x4c]
mov dword [ebp - 0x24], eax
mov eax, dword [edi + 4]
sub eax, dword [edi]
push 0
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x20]
push eax
push 1
lea eax, [ebp - 0x28]
push eax
push dword [ebp - 0x2c]
call dword [sym.imp.WS2_32.dll_WSASendTo]
test eax, eax
je 0x41c0f9
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x3e5
je 0x41c0f9
mov dword [esi + 0x20], 4
mov eax, dword [edi]
cmp eax, dword [edi + 4]
je 0x41c0b0
mov dword [edi + 4], eax
mov edi, dword [ebp - 0x3c]
push esi
push dword [ebp - 0x2c]
push 0
push dword [edi + 4]
call dword [sym.imp.KERNEL32.dll_PostQueuedCompletionStatus]
test eax, eax
jne 0x41c0ce
push esi
mov ecx, edi
call fcn.0041c2b0
push dword [ebp - 0x40]
call fcn.00474b83
add esp, 4
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00472b2a
mov esp, ebp
pop ebp
ret 0x1c
mov eax, dword [ebx + 0x18]
cmp byte [eax + 0x60], 0
jne 0x41c11c
push dword [ebp + 0x20]
mov ecx, dword [ebp - 0x3c]
push 0
push dword [ebp - 0x34]
mov byte [eax + 0x60], 1
push dword [ebp - 0x38]
push dword [ebp - 0x2c]
call fcn.0041c3e0
push dword [ebp - 0x40]
call fcn.00474b83
add esp, 4
mov al, 1
jmp 0x41c0db