Function at 0x759f30
Capabilities:
Get socket status

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x160
mov ebx, dword [ebp + 8]
mov dword [esp + 0x14], 0
test ebx, ebx
je 0x759f79
mov ecx, dword [ebx + 8]
mov eax, dword [ebx + 0xc]
cmp ecx, 0xffffffff
je 0x759f8d
mov edx, eax
xor edx, ecx
cmp edx, 0x12345678
jne 0x759f8d
cmp dword [ebx + 4], 0
je 0x759fb7
mov dword [esp + 8], ebx
mov dword [esp + 4], str.dnssd_clientstub_DNSServiceProcessResult_undefined_for_kDNSServiceFlagsShareConnection_subordinate_DNSServiceRef__p
jmp 0x759fa1
mov dword [esp + 4], str.dnssd_clientstub_DNSServiceProcessResult_called_with_NULL_DNSServiceRef
call fcn.00759eb0
mov esi, 0xfffefffc
jmp 0x759fab
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], ecx
mov dword [esp + 8], ebx
mov dword [esp + 4], str.dnssd_clientstub_DNSServiceProcessResult_called_with_invalid_DNSServiceRef__p__08X__08X
call fcn.00759eb0
mov esi, 0xfffefffb
mov eax, esi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 4
cmp dword [ebx + 0x28], 0
je 0x75a1d2
lea esi, [esp + 0x20]
nop word cs:[eax + eax]
xorps xmm0, xmm0
movaps xmmword [esp + 0x30], xmm0
movaps xmmword [esp + 0x20], xmm0
mov dword [esp + 0x44], 0
mov dword [esp + 0x40], 0
mov dword [esp], 0x1c
mov edx, esi
call fcn.0075a2c0
cmp eax, 0xfffffffe
je 0x75a215
cmp eax, 0xffffffff
je 0x75a244
mov dword [esp], esi
call fcn.007eec50
mov eax, dword [esp + 0x20]
cmp eax, 1
jne 0x75a255
mov esi, dword [esp + 0x24]
mov dword [esp], esi
call sub.api_ms_win_crt_heap_l1_1_0.dll_malloc
test eax, eax
je 0x75a27f
mov edi, eax
mov ecx, dword [ebx + 8]
mov dword [esp], esi
mov edx, eax
call fcn.0075a2c0
test eax, eax
js 0x75a289
mov dword [esp + 0x1c], edi
mov eax, dword [esp + 0x24]
add eax, edi
mov dword [esp + 4], eax
lea esi, [esp + 0x1c]
mov dword [esp], esi
call fcn.007eeae0
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x24]
add eax, edi
mov dword [esp + 4], eax
mov dword [esp], esi
call fcn.007eeae0
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 0x18], edi
add eax, edi
mov dword [esp + 4], eax
mov dword [esp], esi
call fcn.007eeae0
mov dword [esp + 0x44], eax
mov esi, dword [ebx + 8]
mov dword [esp + 0x54], 0
mov dword [esp + 0x50], 0
lea edi, [esp + 0x58]
mov dword [esp], edi
mov dword [esp + 8], 0x104
mov dword [esp + 4], 0
call sub.api_ms_win_crt_string_l1_1_0.dll_memset
mov ebx, edi
lea eax, [esp + 0x5c]
cmp esi, 0x40
jb 0x75a0fc
mov eax, esi
shr eax, 5
inc eax
mov dword [esp], eax
mov dword [esp + 4], 4
call sub.api_ms_win_crt_heap_l1_1_0.dll_calloc
test eax, eax
je 0x75a1ae
mov ebx, eax
add eax, 4
lea edi, [esp + 0x58]
mov dword [eax], esi
mov dword [ebx], 1
inc esi
lea eax, [esp + 0x50]
mov dword [esp + 0x10], eax
mov dword [esp + 4], ebx
mov dword [esp], esi
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
call dword [sym.imp.WS2_32.dll_select]
sub esp, 0x14
mov esi, eax
cmp ebx, edi
je 0x75a13b
mov dword [esp], ebx
call sub.api_ms_win_crt_heap_l1_1_0.dll_free
xor eax, eax
test esi, esi
setg al
mov dword [esp + 0x14], eax
mov edi, dword [esp + 0x18]
jle 0x75a162
or byte [esp + 0x3c], 1
mov ebx, dword [ebp + 8]
lea eax, [esp + 0x14]
mov dword [ebx + 0x24], eax
mov eax, 1
jmp 0x75a167
xor eax, eax
mov ebx, dword [ebp + 8]
lea esi, [esp + 0x20]
mov ecx, dword [esp + 0x1c]
test ecx, ecx
je 0x75a18f
mov eax, dword [esp + 0x24]
add eax, edi
mov dword [esp + 0xc], eax
mov dword [esp + 8], ecx
mov dword [esp + 4], esi
mov dword [esp], ebx
call dword [ebx + 0x28]
mov eax, dword [esp + 0x14]
test eax, eax
je 0x75a2a2
mov dword [ebx + 0x24], 0
mov dword [esp], edi
call sub.api_ms_win_crt_heap_l1_1_0.dll_free
mov ecx, dword [ebx + 8]
jmp 0x759fd0
mov dword [esp + 4], str.dnssd_clientstub_more_bytes:_malloc_failed
call fcn.00759eb0
mov dword [esp + 0x14], 0
xor eax, eax
mov ebx, dword [ebp + 8]
lea esi, [esp + 0x20]
mov edi, dword [esp + 0x18]
jmp 0x75a16b
mov eax, dword [0x9b75e0]
cmp eax, 9
jg 0x75a1ee
mov dword [esp + 4], str.dnssd_clientstub_DNSServiceProcessResult_called_with_DNSServiceRef_with_no_ProcessReply_function
call fcn.00759eb0
mov eax, dword [0x9b75e0]
cmp eax, 0x3e7
jg 0x75a200
inc eax
mov dword [0x9b75e0], eax
jmp 0x759fa6
mov dword [esp], 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
sub esp, 4
jmp 0x759fa6
xor esi, esi
cmp dword [esp + 0x14], 0
je 0x759fab
mov eax, dword [ebx + 0x20]
cmp eax, 0x63
ja 0x759fab
inc eax
mov dword [ebx + 0x20], eax
mov dword [esp + 4], str.dnssd_clientstub_DNSServiceProcessResult_error:_select_indicated_data_was_waiting_but_read_all_returned_EWOULDBLOCK
call fcn.00759eb0
jmp 0x759fab
mov dword [ebx + 0x28], 0
mov esi, 0xfffeffe5
jmp 0x759fab
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
mov dword [esp + 4], str.dnssd_clientstub_DNSServiceProcessResult_daemon_version__d_does_not_match_client_version__d
call fcn.00759eb0
mov dword [ebx + 0x28], 0
mov esi, 0xfffefff1
jmp 0x759fab
mov esi, 0xfffefffd
jmp 0x759fab
mov dword [ebx + 0x28], 0
mov dword [esp], edi
call sub.api_ms_win_crt_heap_l1_1_0.dll_free
mov esi, 0xfffeffe5
jmp 0x759fab
mov dword [esp], edi
call sub.api_ms_win_crt_heap_l1_1_0.dll_free
xor esi, esi
jmp 0x759fab