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

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x428
mov edi, dword [esp + 0x43c]
mov dword [esp + 8], edi
mov eax, dword [esp + 8]
mov ecx, str.adb_sendmsg
push eax
call fcn.00470cc0
add esp, 4
test eax, eax
je 0x471d45
mov esi, eax
cmp dword [eax], 0x874d78
je 0x471d6f
mov eax, dword [0x86159c]
test byte [eax], 0x80
jne 0x471e41
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
mov dword [eax], 9
mov eax, 0xffffffff
add esp, 0x428
pop esi
pop edi
pop ebx
pop ebp
ret
mov edi, dword [esp + 0x440]
mov ebx, dword [edi]
mov ebp, dword [edi + 8]
mov dword [esp + 0xc], ebx
lea eax, [esp + 0x28]
push 0x400
push 0
push eax
call sub.api_ms_win_crt_string_l1_1_0.dll_memset
add esp, 0xc
movzx eax, word [ebx]
cmp eax, 0x17
je 0x471db2
cmp eax, 2
jne 0x471dc8
add ebx, 4
push 0x400
lea eax, [esp + 0x2c]
push eax
push ebx
push 2
jmp 0x471dc2
add ebx, 8
push 0x400
lea eax, [esp + 0x2c]
push eax
push ebx
push 0x17
call dword [sym.imp.WS2_32.dll_inet_ntop]
mov eax, dword [edi + 4]
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], ebp
mov eax, dword [edi + 0xc]
mov dword [esp + 0x18], eax
mov eax, dword [edi + 0x14]
mov dword [esp + 0x1c], eax
mov eax, dword [edi + 0x10]
mov dword [esp + 0x20], eax
mov eax, dword [edi + 0x18]
mov dword [esp + 0x24], eax
mov dword [esp], 0
mov eax, esp
lea ecx, [esp + 0xc]
push 0
push 0
push eax
push 0
push ecx
push dword [esi + 0xc]
call sub.WS2_32.dll_WSASendMsg
cmp eax, 0xffffffff
je 0x471e19
mov eax, dword [esp]
jmp 0x471d64
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov esi, eax
push 0
push 4
call fcn.004b9f30
add esp, 8
test al, al
jne 0x471ecd
mov ecx, esi
call fcn.004716a0
jmp 0x471d5f
push 0
push 1
call fcn.004b9f30
add esp, 8
test al, al
je 0x471d53
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
mov ebx, dword [eax]
sub esp, 0x14
movaps xmm0, xmmword [0x874140]
movups xmmword [esp + 4], xmm0
mov dword [esp], str.packages_modules_adb_sysdeps_win32.cpp
lea esi, [esp + 0x20]
mov ecx, esi
call fcn.004b9f90
mov ecx, esi
call fcn.004b9f60
mov esi, eax
lea ebp, [esp + 0x28]
push edi
push str.adb_sendmsg:_invalid_fd__d
push ebp
call fcn.004ba8a0
add esp, 0xc
push ebp
push esi
call fcn.00402f30
add esp, 8
test byte [esp + 0x28], 1
je 0x471eb7
push dword [esp + 0x30]
call fcn.0051c570
add esp, 4
lea ecx, [esp + 0xc]
call fcn.004ba060
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
mov dword [eax], ebx
jmp 0x471d53
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
mov ebp, dword [eax]
sub esp, 0x14
movaps xmm0, xmmword [0x874130]
movups xmmword [esp + 4], xmm0
mov dword [esp], str.packages_modules_adb_sysdeps_win32.cpp
lea edi, [esp + 0x18]
mov ecx, edi
call fcn.004b9f90
mov ecx, edi
call fcn.004b9f60
push 0x14
push str.WSASendMsg___failed
push eax
call fcn.00402f60
add esp, 0xc
mov edi, eax
push esi
lea ebx, [esp + 0x2c]
push ebx
call fcn.004bbe60
add esp, 8
push ebx
push edi
call fcn.00402f30
add esp, 8
test byte [esp + 0x28], 1
je 0x471f3a
push dword [esp + 0x30]
call fcn.0051c570
add esp, 4
lea ecx, [esp + 4]
call fcn.004ba060
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
mov dword [eax], ebp
jmp 0x471e35