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

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
push edi
mov edi, ecx
lea ecx, [edi + 0x3b98]
call fcn.0041c317
mov ebx, eax
mov eax, 0x8000
cmp ebx, eax
jle 0x424c4f
mov ebx, eax
test ebx, ebx
je 0x424c97
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.0041c2d6
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 0x424c9c
push edi
mov ecx, esi
call fcn.0041c221
pop edi
pop esi
pop ebx
leave
ret
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
test edi, edi
je 0x424cad
cmp eax, 0x2733
je 0x424c97
push edi
push eax
lea eax, [ebp - 8]
push str.ERROR__d__d_in_TransportTCP1::SendFromQueue__1
push eax
call fcn.00424a82
add esp, 0x10
lea eax, [ebp - 8]
push 0x493180
push eax
call sub.MSVCRT.dll__CxxThrowException
mov eax, 0x4800d8
call fcn.0047bf90
sub esp, 0x230
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 0x424e99
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 - 0x138], 0
lea ecx, [esi + 0x3b98]
mov dword [ebp - 0x238], edi
mov dword [ebp - 0x23c], 1
call fcn.0041c317
test eax, eax
jle 0x424d64
mov ecx, dword [ebp - 0x138]
xor eax, eax
test ecx, ecx
jbe 0x424d4e
cmp dword [ebp + eax*4 - 0x134], edi
je 0x424d4e
inc eax
cmp eax, ecx
jb 0x424d40
cmp eax, ecx
jne 0x424d64
cmp ecx, 0x40
jae 0x424d64
mov dword [ebp + eax*4 - 0x134], edi
inc dword [ebp - 0x138]
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x138]
push 0
push eax
lea eax, [ebp - 0x23c]
push eax
push ebx
call dword [sym.imp.WS2_32.dll_select]
test eax, eax
jl 0x424dc0
cmp eax, 2
jg 0x424dc0
test eax, eax
jle 0x424d0e
lea eax, [ebp - 0x23c]
push eax
push edi
call sub.WS2_32.dll___WSAFDIsSet
test eax, eax
je 0x424e12
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 0x424de0
add dword [ebp - 0x18], ebx
sub dword [ebp - 0x14], ebx
je 0x424e72
jmp 0x424e12
push eax
lea eax, [ebp - 0x34]
push str.ERROR_in_TransportTCP1::ReadExact__1__d
push eax
call fcn.00424a82
add esp, 0xc
lea eax, [ebp - 0x34]
push 0x493180
push eax
call sub.MSVCRT.dll__CxxThrowException
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
test ebx, ebx
je 0x424df1
cmp eax, 0x2733
je 0x424e12
push ebx
push eax
lea eax, [ebp - 0x2c]
push str.ERROR__d__d_in_TransportTCP1::ReadExact__2
push eax
call fcn.00424a82
add esp, 0x10
lea eax, [ebp - 0x2c]
push 0x493180
push eax
call sub.MSVCRT.dll__CxxThrowException
lea eax, [ebp - 0x138]
push eax
push dword [esi + 8]
call sub.WS2_32.dll___WSAFDIsSet
test eax, eax
je 0x424d0b
lea ecx, [esi + 0x3bc0]
call fcn.00428464
test al, al
je 0x424d0b
and dword [ebp - 4], 0
mov ecx, esi
call fcn.00424c2d
or dword [ebp - 4], 0xffffffff
lea ecx, [esi + 0x3bc0]
call fcn.0042845c
jmp 0x424d0b
mov ecx, dword [ebp + 0xc]
lea eax, [esi + 0x3b80]
add dword [eax], ecx
adc dword [eax + 4], 0
cmp byte [esi + 0x3b7c], 0
je 0x424e99
push ecx
lea ecx, [esi + 0x1dc4]
push dword [ebp + 8]
call fcn.0042732d
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 8