Function at 0x100a0471
Capabilities:
Connect socket
Get local ipv4 addresses
Get socket information
Get socket status

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x10c8
call fcn.10114f90
mov eax, dword [0x101f57c0]
xor eax, ebp
mov dword [ebp - 4], eax
or dword [0x101f7a94], 0xffffffff
or dword [0x101f7aec], 0xffffffff
push ebx
mov ebx, dword [ebp + 8]
push esi
xor esi, esi
push edi
mov dword [ebp - 0x10a4], ebx
cmp ebx, esi
je 0x100a0537
push dword [ebp + 0xc]
lea eax, [ebp - 0x84]
push 0x101368f8
push eax
call fcn.10115364
add esp, 0xc
call fcn.1007b15e
push 8
pop ecx
xor eax, eax
lea edi, [ebp - 0x10c8]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x10a8]
push eax
lea eax, [ebp - 0x10c8]
push eax
lea eax, [ebp - 0x84]
xor edi, edi
push eax
inc edi
push ebx
mov dword [ebp - 0x10c4], esi
mov dword [ebp - 0x10c0], edi
mov dword [ebp - 0x10c8], esi
mov dword [ebp - 0x10bc], esi
call fcn.10078cfe
cmp eax, esi
je 0x100a0537
push eax
call fcn.1009fd26
pop ecx
push eax
push dword [ebp + 0xc]
push ebx
push str.debugger_agent:_Unable_to_connect_to__s:_d:__s_n
call fcn.101162e9
add eax, 0x40
push eax
call fcn.1011305a
push edi
call fcn.10109e62
add esp, 0x18
cmp dword [0x101f7b20], esi
je 0x100a0758
cmp ebx, esi
jne 0x100a0634
push esi
push 1
push 2
call dword [sym.imp.WS2_32.dll_socket]
mov ebx, eax
mov esi, str._Assertion_at__s:_d__condition___s_not_met_n
test ebx, ebx
jne 0x100a057c
push 0x101b0688
push 0x43f
push str...monominidebugger_agent.c
push esi
push 4
push eax
call fcn.100010d9
add esp, 0x18
push 0x10
push ebx
call dword [sym.imp.WS2_32.dll_listen]
cmp eax, 0xffffffff
jne 0x100a05b5
call fcn.10114f43
push dword [eax]
call fcn.10115e1f
pop ecx
push eax
push str.debugger_agent:_Unable_to_setup_listening_socket:__s_n
call fcn.101162e9
add eax, 0x40
push eax
call fcn.1011305a
push 1
call fcn.10109e62
add esp, 0x10
xor eax, eax
lea edi, [ebp - 0x94]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x109c]
push eax
lea eax, [ebp - 0x94]
push eax
push ebx
mov dword [0x101f7aec], ebx
mov dword [ebp - 0x109c], 0x10
call dword [sym.imp.WS2_32.dll_getsockname]
test eax, eax
je 0x100a0606
push str.res__0
push 0x44c
push str...monominidebugger_agent.c
push esi
push 4
push 0
call fcn.100010d9
add esp, 0x18
push dword [ebp - 0x92]
mov esi, str.127.0.0.1
mov dword [ebp - 0x10a4], esi
call dword [sym.imp.WS2_32.dll_ntohs]
movzx eax, ax
push eax
push esi
push str._s:_d_n
mov dword [ebp + 0xc], eax
call fcn.10115e89
add esp, 0xc
jmp 0x100a068b
mov esi, dword [ebp - 0x10a8]
test esi, esi
je 0x100a0685
push dword [esi + 0xc]
push dword [esi + 8]
push dword [esi + 4]
call dword [sym.imp.WS2_32.dll_socket]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x100a0674
push dword [esi + 0x10]
push dword [esi + 0x18]
push ebx
call dword [sym.imp.WS2_32.dll_bind]
cmp eax, 0xffffffff
je 0x100a0674
push 0x10
push ebx
call dword [sym.imp.WS2_32.dll_listen]
cmp eax, 0xffffffff
jne 0x100a067d
mov esi, dword [esi + 0x1c]
test esi, esi
jne 0x100a063e
jmp 0x100a068b
mov dword [0x101f7aec], ebx
jmp 0x100a068b
mov ebx, dword [ebp - 0x109c]
xor edi, edi
inc edi
cmp dword [0x101f7abc], edi
jl 0x100a06c3
push dword [0x101f7b2c]
push dword [ebp + 0xc]
push dword [ebp - 0x10a4]
push str.Listening_on__s:_d__timeout_d_ms_..._n
push dword [0x101f7a84]
call fcn.1011305a
push dword [0x101f7a84]
call fcn.10118084
add esp, 0x18
mov eax, dword [0x101f7b2c]
xor esi, esi
cmp eax, esi
je 0x100a0732
imul eax, eax, 0x3e8
mov dword [ebp - 0x109c], eax
lea eax, [ebp - 0x10a0]
push eax
push esi
push esi
lea eax, [ebp - 0x1098]
push eax
lea eax, [ebx + 1]
push eax
mov dword [ebp - 0x10a0], esi
mov dword [ebp - 0x1094], ebx
mov dword [ebp - 0x1098], edi
call dword [sym.imp.WS2_32.dll_select]
test eax, eax
jne 0x100a0732
push str.debugger_agent:_Timed_out_waiting_to_connect._n
call fcn.101162e9
add eax, 0x40
push eax
call fcn.1011305a
pop ecx
pop ecx
cmp dword [0x101f7b38], esi
jne 0x100a07ed
push edi
call fcn.10109e62
pop ecx
cmp dword [0x101f7b38], esi
jne 0x100a07ed
push ebx
call fcn.100a040d
pop ecx
mov dword [0x101f7a94], eax
cmp eax, 0xffffffff
jne 0x100a07cb
push edi
call fcn.10109e62
pop ecx
jmp 0x100a07cb
mov esi, dword [ebp - 0x10a8]
test esi, esi
je 0x100a079a
push dword [esi + 0xc]
push dword [esi + 8]
push dword [esi + 4]
call dword [sym.imp.WS2_32.dll_socket]
mov edi, eax
cmp edi, 0xffffffff
je 0x100a0791
push dword [esi + 0x10]
push dword [esi + 0x18]
push edi
call dword [sym.imp.WS2_32.dll_connect]
cmp eax, 0xffffffff
jne 0x100a07a0
push edi
call fcn.1011e75a
pop ecx
mov esi, dword [esi + 0x1c]
test esi, esi
jne 0x100a0762
jmp 0x100a07a0
mov edi, dword [ebp - 0x109c]
mov dword [0x101f7a94], edi
test esi, esi
jne 0x100a07cb
push dword [ebp + 0xc]
push ebx
push str.debugger_agent:_Unable_to_connect_to__s:_d_n
call fcn.101162e9
add eax, 0x40
push eax
call fcn.1011305a
push 1
call fcn.10109e62
add esp, 0x14
cmp dword [0x101f7b38], 0
jne 0x100a07ed
call fcn.100a02ca
neg eax
sbb eax, eax
inc eax
mov dword [0x101f7a9c], eax
je 0x100a07ed
push 1
call fcn.10109e62
pop ecx
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1011389e
leave
ret