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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
mov edi, ecx
lea ecx, [edi + 0x3b98]
call fcn.0041dc87
mov ebx, eax
mov eax, 0x8000
cmp ebx, eax
jle 0x4291f4
mov ebx, eax
test ebx, ebx
je 0x42923c
lea esi, [edi + 0x3ba8]
push ebx
mov ecx, esi
mov eax, dword [esi]
call dword [eax + 4]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x14]
lea esi, [edi + 0x3b98]
push ebx
push eax
mov ecx, esi
mov dword [ebp - 4], eax
call fcn.0041dc46
push 0
push ebx
push dword [ebp - 4]
push dword [edi + 8]
call dword [sym.imp.WS2_32.dll_send]
mov edi, eax
test edi, edi
jle 0x429241
push edi
mov ecx, esi
call fcn.0041db91
pop edi
pop esi
pop ebx
leave
ret
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
test edi, edi
je 0x429252
cmp eax, 0x2733
je 0x42923c
push edi
push eax
push str.ERROR__d__d_in_TransportTCP1::SendFromQueue__1
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.0042901f
add esp, 0x14
lea eax, [ebp - 0x14]
push 0x499b78
push eax
call sub.MSVCRT.dll__CxxThrowException
mov eax, 0x484a04
call fcn.004801f0
sub esp, 0x240
mov eax, dword [ebp + 0xc]
push ebx
push esi
push edi
mov esi, ecx
mov dword [ebp - 0x10], esp
test eax, eax
mov dword [ebp - 0x1c], esi
je 0x429442
mov ecx, dword [ebp + 8]
mov edi, dword [esi + 8]
and dword [ebp - 0x24], 0
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x20], 0x32
lea ebx, [edi + 1]
and dword [ebp - 0x148], 0
lea ecx, [esi + 0x3b98]
mov dword [ebp - 0x248], edi
mov dword [ebp - 0x24c], 1
call fcn.0041dc87
test eax, eax
jle 0x42930a
mov ecx, dword [ebp - 0x148]
xor eax, eax
test ecx, ecx
jbe 0x4292f4
cmp dword [ebp + eax*4 - 0x144], edi
je 0x4292f4
inc eax
cmp eax, ecx
jb 0x4292e6
cmp eax, ecx
jne 0x42930a
cmp ecx, 0x40
jae 0x42930a
mov dword [ebp + eax*4 - 0x144], edi
inc dword [ebp - 0x148]
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x148]
push 0
push eax
lea eax, [ebp - 0x24c]
push eax
push ebx
call dword [sym.imp.WS2_32.dll_select]
test eax, eax
jl 0x429366
cmp eax, 2
jg 0x429366
test eax, eax
jle 0x4292b4
lea eax, [ebp - 0x24c]
push eax
push edi
call sub.WS2_32.dll___WSAFDIsSet
test eax, eax
je 0x4293bb
push 0
push dword [ebp - 0x14]
push dword [ebp - 0x18]
push edi
call dword [sym.imp.WS2_32.dll_recv]
mov ebx, eax
test ebx, ebx
jle 0x429388
add dword [ebp - 0x18], ebx
sub dword [ebp - 0x14], ebx
je 0x42941b
jmp 0x4293bb
push eax
push str.ERROR_in_TransportTCP1::ReadExact__1__d
lea eax, [ebp - 0x44]
push 0
push eax
call fcn.0042901f
add esp, 0x10
lea eax, [ebp - 0x44]
push 0x499b78
push eax
call sub.MSVCRT.dll__CxxThrowException
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
test ebx, ebx
je 0x429399
cmp eax, 0x2733
je 0x4293bb
push ebx
push eax
push str.ERROR__d__d_in_TransportTCP1::ReadExact__2
push eax
lea eax, [ebp - 0x34]
push eax
call fcn.0042901f
add esp, 0x14
lea eax, [ebp - 0x34]
push 0x499b78
push eax
call sub.MSVCRT.dll__CxxThrowException
lea eax, [ebp - 0x148]
push eax
push dword [esi + 8]
call sub.WS2_32.dll___WSAFDIsSet
test eax, eax
je 0x4292b1
lea ecx, [esi + 0x3bc0]
call fcn.0042cce8
test al, al
je 0x4292b1
and dword [ebp - 4], 0
mov ecx, esi
call fcn.004291d1
or dword [ebp - 4], 0xffffffff
lea ecx, [esi + 0x3bc0]
call fcn.0045a569
jmp 0x4292b1
mov ecx, dword [ebp + 0xc]
lea eax, [esi + 0x3b80]
add dword [eax], ecx
adc dword [eax + 4], 0
cmp byte [esi + 0x3b7c], 0
je 0x429442
push ecx
lea ecx, [esi + 0x1dc4]
push dword [ebp + 8]
call fcn.0042ba88
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 8