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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x74
mov eax, dword [ebp + 0xc]
mov edi, dword [eax]
cmp dword [edi + 8], 0
jne 0x4e4313
mov dword [edi + 8], 0xffffffff
mov eax, dword [edi + 0x40]
movzx esi, word [edi + 0x3c]
movzx edx, word [edi + 0x3e]
mov ecx, dword [edi + 0x44]
mov dword [ebp - 0x18], eax
mov eax, dword [edi + 0x48]
cmp si, 4
mov word [edi + 0x3c], 4
je 0x4e4335
lea ebx, [esi - 2]
mov dword [ebp - 0x1c], esi
mov esi, 2
cmp bx, 2
cmovb esi, ebx
lea ebx, [edi + 0xc]
mov dword [ebp - 0x10], ebx
test si, si
lea ebx, [edi + 0x3c]
je 0x4e3eb9
movzx esi, si
cmp esi, 1
jne 0x4e3f1c
lea esi, [ebp - 0x44]
mov dword [esi], ecx
mov ecx, esi
mov dword [esi + 4], eax
call fcn.004d1fb3
mov eax, dword [esi]
mov esi, dword [esi + 4]
mov ecx, ebx
mov dword [ebp - 0x10], eax
call fcn.004dae04
mov eax, dword [ebp - 0x18]
mov word [edi + 0x3c], 3
mov ecx, dword [ebp - 0x10]
mov edx, 0xd
mov dword [edi + 0x40], eax
mov dword [edi + 0x48], esi
mov esi, dword [ebp + 8]
mov dword [edi + 0x44], ecx
mov ecx, esi
push 0
push str.failed_to_write_whole_buffer
call fcn.004c625d
add esp, 8
jmp 0x4e4079
mov ecx, ebx
call fcn.004dae04
mov edx, dword [ebp - 0x10]
lea esi, [ebp - 0x44]
mov word [ebx], 2
mov ecx, esi
call fcn.004c5a8a
cmp dword [esi], 0
jne 0x4e3ffe
cmp dword [ebp - 0x40], 0
jne 0x4e4069
mov eax, dword [ebp - 0x10]
cmp dword [eax], 0
je 0x4e434e
mov ecx, dword [edi + 0x20]
call fcn.0046fe90
and dl, 1
cmp dword [eax + 0xb0], 0
je 0x4e40a0
movzx edx, dl
mov ecx, eax
call fcn.004bee2a
xor esi, esi
mov bl, 1
jmp 0x4e4045
mov esi, dword [ebp - 0x18]
mov word [ebp - 0x5c], dx
mov dword [ebp - 0x5a], esi
mov dword [ebp - 0x56], ecx
mov dword [ebp - 0x52], eax
mov eax, dword [edi + 0x4c]
mov dword [ebp - 0x4e], eax
mov esi, dword [edi + 0x50]
mov eax, dword [edi + 0x54]
movzx ecx, word [edi + 0x58]
cmp byte [edi + 0x5c], 0
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x64], esi
mov word [ebp - 0x22], cx
je 0x4e3fa0
lea esi, [ebp - 0x74]
lea eax, [edi + 0x3e]
mov ecx, esi
mov dword [ebp - 0x20], eax
call fcn.004e4364
mov eax, dword [esi + 8]
movsd xmm0, qword [esi]
mov ecx, ebx
mov dword [ebp - 0x3a], eax
movsd qword [ebp - 0x42], xmm0
movsd xmm0, qword [ebp - 0x44]
movsd xmm1, qword [ebp - 0x3e]
movsd qword [esi], xmm0
movsd qword [esi + 6], xmm1
call fcn.004dae04
movsd xmm0, qword [esi]
movsd xmm1, qword [esi + 6]
mov eax, dword [ebp - 0x20]
movsd qword [eax + 6], xmm1
movsd qword [eax], xmm0
mov ax, 3
jmp 0x4e3fe7
movzx edx, word [edi + 0x5a]
mov ecx, ebx
mov word [ebp - 0x20], dx
call fcn.004dae04
movzx eax, word [ebp - 0x4c]
mov word [edi + 0x4e], ax
mov eax, dword [ebp - 0x28]
movsd xmm0, qword [ebp - 0x5c]
movsd xmm1, qword [ebp - 0x54]
movsd qword [edi + 0x46], xmm1
movsd qword [edi + 0x3e], xmm0
mov dword [edi + 0x50], esi
mov dword [edi + 0x54], eax
movzx eax, word [ebp - 0x22]
mov word [edi + 0x58], ax
movzx eax, word [ebp - 0x20]
mov word [edi + 0x5a], ax
mov eax, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x10]
mov word [ebx], ax
lea ebx, [ebp - 0x44]
mov ecx, ebx
mov edx, esi
call fcn.004c5a8a
cmp dword [ebx], 0
je 0x4e4010
mov ebx, dword [ebp - 0x40]
mov esi, dword [ebp - 0x3c]
mov eax, dword [ebp + 8]
mov dword [eax + 4], esi
mov esi, eax
mov dword [eax], ebx
jmp 0x4e4079
cmp dword [ebp - 0x40], 0
jne 0x4e4069
cmp dword [esi], 0
je 0x4e434e
mov ecx, dword [edi + 0x20]
call fcn.0046fe90
and dl, 1
cmp dword [eax + 0xb0], 0
je 0x4e416f
movzx edx, dl
mov ecx, eax
call fcn.004bee2a
mov bl, 1
xor esi, esi
mov edx, dword [ebp - 0x10]
lea ecx, [ebp - 0x44]
call fcn.004c5b78
lea eax, [ebp - 0x44]
cmp byte [eax], 4
je 0x4e405f
mov eax, dword [ebp - 0x44]
cmp al, 4
jne 0x4e4086
movzx ecx, bl
mov edx, esi
call fcn.004c35f2
mov esi, dword [ebp + 8]
mov dword [esi + 4], 0
mov dword [esi], 0xd01
inc dword [edi + 8]
mov eax, esi
add esp, 0x74
pop esi
pop edi
pop ebx
pop ebp
ret
mov ecx, dword [ebp - 0x40]
mov edx, esi
mov dword [ebp - 0x10], ecx
movzx ecx, bl
mov ebx, eax
call fcn.004c35f2
mov esi, dword [ebp - 0x10]
jmp 0x4e4004
lea ebx, [eax + 8]
cmp dword [ebx], 0
je 0x4e3f09
mov dword [ebp - 0x18], eax
mov eax, dword [eax + 0xc]
mov byte [ebp - 0x1c], dl
mov ecx, ebx
mov edx, dword [eax]
and edx, 0xd
call fcn.0046f884
mov ecx, esi
mov edx, ebx
push 0x10000
call fcn.0047005d
add esp, 4
mov eax, dword [ebp + 0x14]
mov edx, dword [ebp + 0x10]
mov ecx, esi
add eax, edx
push eax
call fcn.0041d0f4
add esp, 4
mov ecx, dword [esi + 8]
mov ebx, dword [esi]
mov eax, dword [edi + 0x20]
lea edx, [ebp - 0x5c]
lea esi, [ebp - 0x74]
mov dword [edx], ecx
xor ecx, ecx
mov dword [ebp - 0x28], ebx
mov dword [edx + 4], ebx
lea ebx, [eax + 0xe0]
mov dword [esi], ecx
push ecx
push ebx
push ecx
push esi
push 1
push edx
push dword [eax + 0xf8]
call sub.ws2_32.dll_WSASend
cmp eax, 0xffffffff
jne 0x4e412c
call sub.ws2_32.dll_WSAGetLastError
cmp eax, 0x3e5
jne 0x4e42b8
mov esi, dword [ebp - 0x18]
mov ecx, esi
add ecx, 0xb0
call fcn.00470373
mov dword [esi + 0xb0], 1
movsd xmm0, qword [ebp - 0x44]
movsd qword [esi + 0xb4], xmm0
mov eax, dword [ebp - 0x3c]
mov dword [esi + 0xbc], eax
mov eax, dword [edi + 0x20]
lock inc dword [eax + 0x100]
movzx edx, byte [ebp - 0x1c]
jmp 0x4e42a0
lea esi, [eax + 8]
cmp dword [esi], 0
je 0x4e4037
mov dword [ebp - 0x48], eax
mov eax, dword [eax + 0xc]
mov byte [ebp - 0x11], dl
mov ecx, esi
mov edx, dword [eax]
and edx, 0xd
call fcn.0046f884
lea ecx, [ebp - 0x74]
mov edx, esi
push 0x10000
call fcn.0047005d
add esp, 4
mov eax, dword [ebp + 0x14]
mov edx, dword [ebp + 0x10]
lea esi, [ebp - 0x74]
mov ecx, esi
add eax, edx
push eax
call fcn.0041d0f4
add esp, 4
mov eax, dword [edi + 0x20]
mov ecx, dword [esi]
mov esi, dword [esi + 8]
cmp word [ebp - 0x1c], 0
lea edx, [eax + 0xe0]
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x60], esi
mov dword [ebp - 0x1c], edx
je 0x4e41f4
movzx edx, word [ebp - 0x22]
movups xmm0, xmmword [ebp - 0x5a]
mov cx, 0x17
mov dword [ebp - 0x18], 0x1c
rol dx, 8
mov esi, edx
mov edx, dword [ebp - 0x64]
jmp 0x4e420f
mov esi, dword [ebp - 0x18]
mov edx, dword [ebp - 0x5c]
mov dword [ebp - 0x18], 0x10
mov cx, 2
xorps xmm0, xmm0
shr esi, 0x10
rol si, 8
mov word [ebp - 0x44], cx
mov ecx, dword [ebp - 0x28]
mov word [ebp - 0x42], si
mov dword [ebp - 0x40], edx
mov edx, dword [ebp - 0x60]
movups xmmword [ebp - 0x3c], xmm0
lea esi, [ebp - 0x78]
mov dword [ebp - 0x2c], ecx
lea ecx, [ebp - 0x80]
mov dword [ecx], edx
mov edx, dword [ebp - 0x20]
mov dword [ecx + 4], edx
xor edx, edx
mov dword [esi], edx
push edx
push dword [ebp - 0x1c]
push dword [ebp - 0x18]
push ebx
push edx
push esi
push 1
push ecx
push dword [eax + 0xf8]
call sub.ws2_32.dll_WSASendTo
cmp eax, 0xffffffff
jne 0x4e4262
call sub.ws2_32.dll_WSAGetLastError
cmp eax, 0x3e5
jne 0x4e42d9
mov esi, dword [ebp - 0x48]
mov ecx, esi
add ecx, 0xb0
call fcn.00470373
mov dword [esi + 0xb0], 1
movsd xmm0, qword [ebp - 0x74]
movsd qword [esi + 0xb4], xmm0
mov eax, dword [ebp - 0x6c]
mov dword [esi + 0xbc], eax
mov eax, dword [edi + 0x20]
lock inc dword [eax + 0x100]
movzx edx, byte [ebp - 0x11]
mov ecx, esi
call fcn.004bee2a
mov esi, dword [ebp + 8]
mov eax, dword [ebp + 0x14]
mov dword [esi + 4], eax
mov byte [esi], 4
jmp 0x4e4079
cmp dword [ebp - 0x40], 0
mov esi, eax
je 0x4e42d0
push dword [ebp - 0x28]
push 0
push dword [0x5c9128]
call sub.kernel32.dll_HeapFree
movzx edx, byte [ebp - 0x1c]
mov ecx, dword [ebp - 0x18]
jmp 0x4e42f8
cmp dword [ebp - 0x70], 0
mov esi, eax
je 0x4e42f1
push dword [ebp - 0x20]
push 0
push dword [0x5c9128]
call sub.kernel32.dll_HeapFree
movzx edx, byte [ebp - 0x11]
mov ecx, dword [ebp - 0x48]
call fcn.004bee2a
mov ecx, esi
xor ebx, ebx
call fcn.00483fe0
cmp al, 0xd
jne 0x4e4004
jmp 0x4e4045
lea eax, [ebp - 0x44]
mov ecx, 0x5946db
mov edx, 0x10
push 0x599338
push 0x5947dc
push eax
call fcn.00447310
add esp, 0xc
ud2
mov ecx, str.Assertion_failed_193913
mov edx, 0x17
push 0x599360
call fcn.00448d20
add esp, 4
ud2
mov ecx, str.called__Option::unwrap____on_a__None__value_home_vi_.cargo_registry_src_index.crates.io_6f17d22bba15001f_url_1.7.2_src_lib.rsURL_has_no_host
mov edx, 0x2b
push 0x56e9dc
call fcn.00445340
jmp 0x4e4349