Function at 0x12e89800
Capabilities:
Get local ipv4 addresses
Get socket information

Disassembly:
sub esp, 0xb3c
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0x28], esi
call fcn.12e8a1c0
test eax, eax
je 0x12e89b76
mov ecx, esi
call fcn.12e89f80
test eax, eax
jne 0x12e89b76
mov ecx, esi
call fcn.12e8a0a0
test eax, eax
jne 0x12e89846
mov ecx, esi
call fcn.12e89e00
test eax, eax
jne 0x12e89b76
mov edi, dword [esp + 0xb54]
mov ebp, dword [esp + 0xb50]
xor ebx, ebx
xor esi, esi
cmp edi, ebx
mov dword [esp + 0x24], ebx
je 0x12e898b7
cmp dword [esp + 0xb58], ebx
je 0x12e898b7
mov ax, word [edi + 2]
push eax
call dword [sym.imp.WS2_32.dll_ntohs]
mov ecx, dword [edi + 4]
mov ebx, eax
push ecx
call dword [sym.imp.WS2_32.dll_ntohl]
mov esi, eax
mov eax, dword [0x13199068]
test eax, eax
je 0x12e898aa
mov edx, ebx
push esi
and edx, 0xffff
push edx
push ebp
push str.AddSocketLog_1__socket:_08x__usPort:_d__dwIP:_08x_
push str.SocketLog
push 0xffffffffffffffff
call fcn.12dad750
add esp, 0x18
test esi, esi
jne 0x12e89934
test bx, bx
jne 0x12e89934
xor eax, eax
lea ecx, [esp + 0x10]
mov dword [esp + 0x16], eax
lea edx, [esp + 0x14]
mov dword [esp + 0x1a], eax
push ecx
mov dword [esp + 0x22], eax
push edx
push ebp
mov word [esp + 0x20], 0
mov word [esp + 0x2e], ax
mov dword [esp + 0x1c], 0x10
call dword [sym.imp.WS2_32.dll_getpeername]
mov edi, eax
cmp edi, 0xffffffff
je 0x12e8990b
mov eax, dword [esp + 0x16]
push eax
call dword [sym.imp.WS2_32.dll_ntohs]
mov ecx, dword [esp + 0x18]
mov ebx, eax
push ecx
call dword [sym.imp.WS2_32.dll_ntohl]
mov esi, eax
mov eax, dword [0x13199068]
test eax, eax
je 0x12e89934
mov edx, ebx
push esi
and edx, 0xffff
push edx
push ebp
push edi
push str.AddSocketLog_2__nRet:_d__socket:_08x__usPort:_d__dwIP:_08x_
push str.SocketLog
push 0xffffffffffffffff
call fcn.12dad750
add esp, 0x1c
xor eax, eax
lea ecx, [esp + 0x10]
mov dword [esp + 0x16], eax
lea edx, [esp + 0x14]
mov dword [esp + 0x1a], eax
push ecx
xor edi, edi
mov dword [esp + 0x22], eax
push edx
push ebp
mov word [esp + 0x20], di
mov word [esp + 0x2e], ax
mov dword [esp + 0x1c], 0x10
call dword [sym.imp.WS2_32.dll_getsockname]
cmp eax, 0xffffffff
je 0x12e89979
mov eax, dword [esp + 0x18]
push eax
call dword [sym.imp.WS2_32.dll_ntohl]
jmp 0x12e8997d
mov eax, dword [esp + 0x24]
cmp esi, edi
jne 0x12e8998a
cmp bx, di
je 0x12e89b76
mov ecx, dword [esp + 0x28]
push eax
push esi
call fcn.12e89b90
test eax, eax
jne 0x12e89b76
mov word [esp + 0x12c], di
mov ecx, 0x81
lea edi, [esp + 0x12e]
push 0x104
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x130]
push ecx
push esi
mov ecx, 0x131be5f8
stosw word es:[edi], ax
call fcn.12e9dcd0
mov ecx, dword [0x13199068]
xor ebp, ebp
cmp ecx, ebp
je 0x12e899f6
lea edx, [esp + 0x12c]
push edx
push eax
push str.AddSocketLog__bQuery:_d___WebSite:_s_
push str.SocketLog
push 0xffffffffffffffff
call fcn.12dad750
add esp, 0x14
mov ecx, 0x85
xor eax, eax
lea edi, [esp + 0x338]
mov dword [esp + 0x334], ebp
rep stosd dword es:[edi], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov dword [esp + 0x334], eax
mov ecx, 0x3f
xor eax, eax
lea edi, [esp + 0x2e]
mov word [esp + 0x2c], bp
push 0x7f
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [esp + 0x30]
mov dword [esp + 0x33c], 0xf
push eax
push esi
call fcn.12e32dc0
mov eax, dword [esp + 0xb68]
add esp, 0xc
cmp eax, ebp
mov esi, 0x130c6f18
je 0x12e89a5e
mov esi, str.sendto
mov ecx, 0xff
xor eax, eax
lea edi, [esp + 0x74e]
mov word [esp + 0x74c], bp
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov edx, dword [0x13196dcc]
mov ecx, 0x7f
xor eax, eax
lea edi, [esp + 0x54e]
mov word [esp + 0x54c], bp
cmp edx, ebp
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
je 0x12e89ab2
push 0xff
lea ecx, [esp + 0x550]
push edx
push ecx
call fcn.12f5c57b
add esp, 0xc
cmp word [esp + 0x12c], bp
je 0x12e89af5
and ebx, 0xffff
lea edx, [esp + 0x2c]
push ebx
lea eax, [esp + 0x130]
push edx
push eax
lea ecx, [esp + 0x558]
push esi
push ecx
push str._NetAlert___s___s__s__s_:_d
lea edx, [esp + 0x764]
push 0x1ff
push edx
call fcn.12f5d990
add esp, 0x20
jmp 0x12e89b24
and ebx, 0xffff
lea eax, [esp + 0x2c]
push ebx
push eax
lea ecx, [esp + 0x554]
push esi
push ecx
push str._NetAlert___s___s__s:_d
lea edx, [esp + 0x760]
push 0x1ff
push edx
call fcn.12f5d990
add esp, 0x1c
lea eax, [esp + 0x74c]
push 0x103
lea ecx, [esp + 0x348]
push eax
push ecx
call fcn.12f5c57b
mov eax, dword [0x13199068]
add esp, 0xc
cmp eax, ebp
je 0x12e89b66
lea edx, [esp + 0x74c]
push edx
push str.AddSocketLog__wszMsg__s_
push str.SocketLog
push 0xffffffffffffffff
call fcn.12dad750
add esp, 0x10
lea eax, [esp + 0x334]
push eax
call fcn.12e75130
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xb3c
ret 0x10