Function at 0x434070
Capabilities:
Set socket configuration

Disassembly:
push ebp
mov edx, str.set_file_block_mode
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x3c
mov eax, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
call dbg._fh_from_int
test eax, eax
je 0x4340c5
mov ecx, dword [eax + 4]
test ecx, ecx
je 0x4340c5
cmp dword [eax], 0x56fe18
je 0x4341e0
mov ebx, dword [sym.imp.msvcrt.dll__errno]
call ebx
mov dword [eax], pe_nt_image_headers32
test byte [0x5a4058], 0x80
jne 0x434180
xor eax, eax
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
mov ebx, dword [sym.imp.msvcrt.dll__errno]
call ebx
mov dword [eax], 9
test byte [0x5a4058], 0x80
je 0x4340bb
call dbg.android::base::GetMinimumLogSeverity()
cmp eax, 1
jg 0x4340bb
call ebx
mov esi, dword [ebp + 8]
mov edi, dword [eax]
lea eax, [ebp - 0x1c]
mov dword [esp + 8], esi
lea esi, [ebp - 0x20]
mov dword [esp + 4], str.Setting_nonblocking_on_bad_file_descriptor__d
mov dword [esp], eax
call dbg.android::base::StringPrintf(char const*, ::)
mov dword [esp + 0x14], 0xffffffff
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 1
mov dword [esp + 8], 0
mov dword [esp + 4], 0x43c
mov ecx, esi
mov dword [esp], str.system_core_adb_sysdeps_win32.cpp
call dbg.android::base::LogMessage::LogMessage(char const*, unsigned int, android::base::LogId, android::base::LogSeverity, char const*, int)
mov ecx, esi
sub esp, 0x18
call dbg.android::base::LogMessage::stream()
mov edx, dword [ebp - 0x1c]
mov ecx, dword [edx - 0xc]
mov dword [esp + 4], edx
mov dword [esp], eax
mov dword [esp + 8], ecx
call dbg.std::basic_ostream<char, std::char_traits<char> >& std::__ostream_insert<char, std::char_traits<char> >(std::basic_ostream<char, std::char_traits<char> >&, char const*, int)
mov ecx, esi
call dbg.android::base::LogMessage::~LogMessage()
mov eax, dword [ebp - 0x1c]
mov dword [esp], esi
lea ecx, [eax - 0xc]
call dbg.std::string::_Rep::_M_dispose(std::allocator<char> const&)
push eax
call ebx
mov dword [eax], edi
jmp 0x4340bb
call dbg.android::base::GetMinimumLogSeverity()
cmp eax, 1
jg 0x4340bb
nop
call ebx
mov esi, dword [ebp + 8]
mov edi, dword [eax]
lea eax, [ebp - 0x1c]
mov dword [esp + 8], esi
lea esi, [ebp - 0x20]
mov dword [esp + 4], str.Setting_nonblocking_on_non_socket__d
mov dword [esp], eax
call dbg.android::base::StringPrintf(char const*, ::)
mov dword [esp + 0x14], 0xffffffff
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 1
mov dword [esp + 8], 0
mov dword [esp + 4], 0x44b
jmp 0x43412f
lea edx, [ebp - 0x24]
xor ebx, 1
mov dword [esp + 8], edx
movzx ebx, bl
mov dword [esp + 4], 0x8004667e
mov eax, dword [eax + 0xc]
mov dword [ebp - 0x24], ebx
mov dword [esp], eax
call dword [sym.imp.WS2_32.dll_ioctlsocket]
mov edx, eax
sub esp, 0xc
test edx, edx
mov eax, 1
je 0x4340bd
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ebx, eax
call dbg._socket_set_errno
test byte [0x5a4058], 0x80
je 0x4340bb
call dbg.android::base::GetMinimumLogSeverity()
cmp eax, 1
jg 0x4340bb
mov esi, dword [sym.imp.msvcrt.dll__errno]
call esi
mov ecx, dword [ebp + 8]
mov edi, dword [eax]
lea eax, [ebp - 0x1c]
mov dword [esp + 0xc], ebx
lea ebx, [ebp - 0x20]
mov dword [esp + 8], ecx
mov dword [esp], eax
mov dword [esp + 4], str.Setting__d_nonblocking_failed___d_
call dbg.android::base::StringPrintf(char const*, ::)
mov ecx, ebx
mov dword [esp + 0x14], 0xffffffff
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 1
mov dword [esp + 8], 0
mov dword [esp + 4], 0x445
mov dword [esp], str.system_core_adb_sysdeps_win32.cpp
call dbg.android::base::LogMessage::LogMessage(char const*, unsigned int, android::base::LogId, android::base::LogSeverity, char const*, int)
mov ecx, ebx
sub esp, 0x18
call dbg.android::base::LogMessage::stream()
mov edx, dword [ebp - 0x1c]
mov ecx, dword [edx - 0xc]
mov dword [esp + 4], edx
mov dword [esp], eax
mov dword [esp + 8], ecx
call dbg.std::basic_ostream<char, std::char_traits<char> >& std::__ostream_insert<char, std::char_traits<char> >(std::basic_ostream<char, std::char_traits<char> >&, char const*, int)
mov ecx, ebx
call dbg.android::base::LogMessage::~LogMessage()
mov eax, dword [ebp - 0x1c]
mov dword [esp], ebx
lea ecx, [eax - 0xc]
call dbg.std::string::_Rep::_M_dispose(std::allocator<char> const&)
push edx
call esi
mov dword [eax], edi
xor eax, eax
jmp 0x4340bd