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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c13dd
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.00474987
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.004195b0
mov ebx, dword [ebp - 0x50]
cmp byte [ebx + 0xd], 0
jne 0x41c0be
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x34], eax
cmp eax, dword [ebx + 0x14]
jb 0x41c0be
mov eax, dword [ebp + 8]
mov dword [ebp - 0x38], eax
ja 0x41bfb1
cmp eax, dword [ebx + 0x10]
jb 0x41c0be
cmp ebx, dword [edi + 0x28]
je 0x41c0be
mov esi, dword [ebx + 0x18]
mov eax, dword [esi]
mov dword [ebp - 0x2c], eax
call fcn.00459f00
mov dword [esi + 0x70], eax
mov ecx, edi
mov dword [esi + 0x74], edx
call fcn.0041c120
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 0x41c051
mov eax, dword [edi + 4]
mov ecx, eax
mov edx, dword [edi]
sub ecx, edx
mov dword [ebp - 0x30], eax
cmp esi, ecx
jae 0x41c012
lea eax, [edx + esi]
jmp 0x41c040
jbe 0x41c043
mov eax, dword [edi + 8]
sub eax, edx
cmp esi, eax
jbe 0x41c028
push ecx
push esi
mov ecx, edi
call fcn.0040ae50
jmp 0x41c043
sub esi, ecx
push esi
push 0
push dword [ebp - 0x30]
call fcn.0049cdf0
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.0049d000
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 0x41c0e9
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x3e5
je 0x41c0e9
mov dword [esi + 0x20], 4
mov eax, dword [edi]
cmp eax, dword [edi + 4]
je 0x41c0a0
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 0x41c0be
push esi
mov ecx, edi
call fcn.0041c2a0
push dword [ebp - 0x40]
call fcn.004749a3
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.0047299a
mov esp, ebp
pop ebp
ret 0x1c
mov eax, dword [ebx + 0x18]
cmp byte [eax + 0x60], 0
jne 0x41c10c
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.0041c3d0
push dword [ebp - 0x40]
call fcn.004749a3
add esp, 4
mov al, 1
jmp 0x41c0cb