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

Disassembly:
push ebp
mov ebp, esp
push ebx
lea edx, [ebp - 8]
sub esp, 0xa4
mov dword [ebp - 0x70], ecx
mov dword [ebp - 0x54], 0x607c20
mov dword [ebp - 0x4c], edx
lea edx, [ebp - 0x6c]
mov dword [ebp - 0x50], 0x60ee84
mov dword [ebp - 0x48], 0x4469b5
mov dword [ebp - 0x44], esp
mov dword [esp], edx
call fcn.004cf190
mov eax, dword [ebp - 0x70]
cmp byte [eax + 0x98], 0
je 0x446700
mov eax, dword [ebp - 0x70]
mov ecx, dword [eax + 0x90]
test ecx, ecx
jle 0x4466f1
mov dword [esp], 1
mov ecx, dword [ebp - 0x70]
mov dword [ebp - 0x68], 0xffffffff
call fcn.004456a0
sub esp, 4
test al, al
jne 0x446700
mov eax, dword [0x612504]
test eax, eax
jle 0x446808
mov eax, dword [0x74abf0]
and eax, 0x4000
mov dword [ebp - 0x74], eax
je 0x4467f3
mov eax, dword [ebp - 0x70]
mov eax, dword [eax]
mov dword [esp + 0x10], str.Select_failed_on__d
mov dword [esp + 0xc], 0x3f7
mov dword [esp + 8], str.network_socket.cxx
mov dword [esp + 4], str.send
mov dword [esp], 1
mov dword [esp + 0x14], eax
call fcn.0042c140
mov dword [ebp - 0x74], 0
jmp 0x4467f3
mov edx, dword [eax + 0x94]
test edx, edx
jg 0x446673
nop
mov ebx, dword [ebp + 0xc]
test ebx, ebx
jne 0x44671c
jmp 0x446808
add dword [ebp + 8], eax
sub dword [ebp + 0xc], eax
je 0x4467f0
mov dword [esp + 0xc], 0
mov eax, dword [ebp + 0xc]
mov dword [esp + 8], eax
mov eax, dword [ebp + 8]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x70]
mov eax, dword [eax]
mov dword [esp], eax
mov dword [ebp - 0x68], 0xffffffff
call dword [sym.imp.WS2_32.dll_send]
sub esp, 0x10
cmp eax, 0
jg 0x446710
je 0x446811
mov dword [ebp - 0x68], 0xffffffff
call dword [sym.imp.msvcrt.dll__errno]
cmp dword [eax], 0xb
je 0x44671c
lea ebx, [ebp - 0x20]
mov dword [esp], 0x20
call fcn.00606e10
mov ecx, ebx
mov dword [ebp - 0x78], eax
mov dword [esp], 0x63add5
mov dword [ebp - 0x68], 3
mov dword [ebp - 0x70], ebx
call fcn.0060d710
sub esp, 4
mov dword [ebp - 0x68], 4
call dword [sym.imp.msvcrt.dll__errno]
mov ebx, dword [ebp - 0x70]
mov dword [esp + 4], ebx
mov eax, dword [eax]
mov dword [esp], eax
mov ecx, dword [ebp - 0x78]
call fcn.0052a0d0
mov eax, dword [ebp - 0x20]
lea edx, [ebp - 0x18]
sub esp, 8
cmp eax, edx
je 0x4467ca
mov dword [esp], eax
call fcn.00606c40
mov dword [esp + 8], 0x52a2b0
mov dword [esp + 4], 0x73db40
mov eax, dword [ebp - 0x78]
mov dword [esp], eax
mov dword [ebp - 0x68], 0xffffffff
call fcn.00607a50
lea esi, [esi]
mov dword [ebp - 0x74], eax
lea eax, [ebp - 0x6c]
mov dword [esp], eax
call fcn.004cf200
mov eax, dword [ebp - 0x74]
mov ebx, dword [ebp - 4]
leave
ret 8
mov dword [ebp - 0x74], 0
jmp 0x4467f3
mov dword [esp + 4], 1
mov eax, dword [ebp - 0x70]
lea ebx, [ebp - 0x30]
mov eax, dword [eax]
mov dword [esp], eax
mov dword [ebp - 0x68], 0xffffffff
call dword [sym.imp.WS2_32.dll_shutdown]
sub esp, 8
mov dword [esp], 0x20
call fcn.00606e10
mov dword [ebp - 0x38], ebx
lea ebx, [ebp - 0x38]
mov dword [ebp - 0x74], eax
mov dword [esp + 4], 0x63add9
mov dword [esp], 0x63add5
mov ecx, ebx
mov dword [ebp - 0x68], 1
call fcn.00443f80
sub esp, 8
mov dword [ebp - 0x68], 2
call dword [sym.imp.msvcrt.dll__errno]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x74]
mov dword [ecx], 0x7427f8
mov dword [ecx + 4], eax
mov dword [esp], eax
mov dword [ebp - 0x68], 5
call sub.msvcrt.dll_strerror
mov dword [ebp - 0x7c], eax
lea eax, [ebp - 0x20]
mov edx, dword [ebp - 0x34]
mov dword [ebp - 0x70], eax
mov ecx, eax
lea eax, [ebp - 0x18]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x38]
add edx, eax
mov dword [esp], eax
mov dword [esp + 4], edx
call fcn.00443f80
mov eax, 0x7fffffff
sub eax, dword [ebp - 0x1c]
sub esp, 8
cmp eax, 1
jbe 0x4469a2
mov dword [esp + 4], 2
mov dword [esp], 0x63ac2f
mov ecx, dword [ebp - 0x70]
mov dword [ebp - 0x68], 6
call fcn.005defe0
mov ecx, dword [ebp - 0x7c]
sub esp, 8
mov dword [ebp - 0x70], eax
mov dword [esp], ecx
call sub.msvcrt.dll_strlen
mov ebx, dword [ebp - 0x70]
mov edx, 0x7fffffff
sub edx, dword [ebx + 4]
cmp eax, edx
ja 0x446996
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x7c]
mov dword [esp], eax
mov ecx, dword [ebp - 0x70]
mov dword [ebp - 0x68], 6
call fcn.005defe0
mov ebx, dword [ebp - 0x74]
sub esp, 8
mov edx, ebx
mov ecx, ebx
add edx, 0x10
add ecx, 8
mov dword [ebx + 8], edx
mov ebx, dword [eax + 4]
mov edx, dword [eax]
add ebx, edx
mov dword [esp], edx
mov dword [esp + 4], ebx
call fcn.00443f80
mov eax, dword [ebp - 0x20]
lea ebx, [ebp - 0x18]
sub esp, 8
cmp eax, ebx
je 0x446962
mov dword [esp], eax
call fcn.00606c40
mov eax, dword [ebp - 0x38]
lea ebx, [ebp - 0x30]
cmp eax, ebx
je 0x446974
mov dword [esp], eax
call fcn.00606c40
mov dword [esp + 8], 0x52a2b0
mov dword [esp + 4], 0x73db40
mov eax, dword [ebp - 0x74]
mov dword [esp], eax
mov dword [ebp - 0x68], 0xffffffff
call fcn.00607a50
mov dword [esp], 0x63ac1a
call fcn.005fec50
mov dword [esp], 0x63ac1a
mov dword [ebp - 0x68], 6
call fcn.005fec50
add ebp, 8
cmp dword [ebp - 0x68], 5
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x70], eax
ja case.default.0x4469c7
mov eax, dword [ebp - 0x68]
jmp dword [eax*4 + 0x63addc]
mov eax, dword [ebp - 0x20]
lea edx, [ebp - 0x18]
cmp eax, edx
je case.0x4469c7.4
mov dword [esp], eax
call fcn.00606c40
mov ecx, dword [ebp - 0x74]
call fcn.005fcb10
mov eax, dword [ebp - 0x38]
lea edx, [ebp - 0x30]
cmp eax, edx
je case.0x4469c7.8
mov dword [esp], eax
call fcn.00606c40
mov eax, dword [ebp - 0x74]
mov dword [esp], eax
call fcn.00607340
mov eax, dword [ebp - 0x70]
mov dword [esp], eax
mov dword [ebp - 0x68], 0xffffffff
call fcn.004cf4a0
mov eax, dword [ebp - 0x20]
lea edx, [ebp - 0x18]
cmp eax, edx
je case.0x4469c7.6
mov dword [esp], eax
call fcn.00606c40
mov eax, dword [ebp - 0x78]
jmp 0x4469fd
ud2