Function at 0x12e897f0
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.12e8a1b0
test eax, eax
je 0x12e89b66
mov ecx, esi
call fcn.12e89f70
test eax, eax
jne 0x12e89b66
mov ecx, esi
call fcn.12e8a090
test eax, eax
jne 0x12e89836
mov ecx, esi
call fcn.12e89df0
test eax, eax
jne 0x12e89b66
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 0x12e898a7
cmp dword [esp + 0xb58], ebx
je 0x12e898a7
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 [0x13198f68]
test eax, eax
je 0x12e8989a
mov edx, ebx
push esi
and edx, 0xffff
push edx
push ebp
push 0x13123530
push 0x1312351c
push 0xffffffffffffffff
call fcn.12dad750
add esp, 0x18
test esi, esi
jne 0x12e89924
test bx, bx
jne 0x12e89924
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 0x12e898fb
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 [0x13198f68]
test eax, eax
je 0x12e89924
mov edx, ebx
push esi
and edx, 0xffff
push edx
push ebp
push edi
push 0x131234a4
push 0x1312351c
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 0x12e89969
mov eax, dword [esp + 0x18]
push eax
call dword [sym.imp.WS2_32.dll_ntohl]
jmp 0x12e8996d
mov eax, dword [esp + 0x24]
cmp esi, edi
jne 0x12e8997a
cmp bx, di
je 0x12e89b66
mov ecx, dword [esp + 0x28]
push eax
push esi
call fcn.12e89b80
test eax, eax
jne 0x12e89b66
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, 0x131be4f8
stosw word es:[edi], ax
call fcn.12e9dcc0
mov ecx, dword [0x13198f68]
xor ebp, ebp
cmp ecx, ebp
je 0x12e899e6
lea edx, [esp + 0x12c]
push edx
push eax
push 0x13123458
push 0x1312351c
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 0x12e89a4e
mov esi, 0x13123448
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 [0x13196ccc]
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 0x12e89aa2
push 0xff
lea ecx, [esp + 0x550]
push edx
push ecx
call fcn.12f5c4ab
add esp, 0xc
cmp word [esp + 0x12c], bp
je 0x12e89ae5
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 0x13123410
lea edx, [esp + 0x764]
push 0x1ff
push edx
call fcn.12f5d8c0
add esp, 0x20
jmp 0x12e89b14
and ebx, 0xffff
lea eax, [esp + 0x2c]
push ebx
push eax
lea ecx, [esp + 0x554]
push esi
push ecx
push 0x131233e0
lea edx, [esp + 0x760]
push 0x1ff
push edx
call fcn.12f5d8c0
add esp, 0x1c
lea eax, [esp + 0x74c]
push 0x103
lea ecx, [esp + 0x348]
push eax
push ecx
call fcn.12f5c4ab
mov eax, dword [0x13198f68]
add esp, 0xc
cmp eax, ebp
je 0x12e89b56
lea edx, [esp + 0x74c]
push edx
push 0x131233a4
push 0x1312351c
push 0xffffffffffffffff
call fcn.12dad750
add esp, 0x10
lea eax, [esp + 0x334]
push eax
call fcn.12e75120
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xb3c
ret 0x10