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

Disassembly:
sub esp, 0x658
mov eax, dword [0x4833a8]
xor eax, esp
mov dword [esp + 0x654], eax
push ebx
push ebp
mov ebp, dword [esp + 0x664]
push esi
mov esi, dword [esp + 0x66c]
push edi
mov eax, dword [ebp + 0x18]
mov dword [esp + 0x10], eax
add eax, 0x398
push 0x2f
mov dword [esp + 0x2c], eax
lea eax, [esp + 0xbc]
push 0
push eax
mov dword [esp + 0x40], ebp
mov dword [esp + 0x30], 0xffffffff
call sub.VCRUNTIME140.dll_memset
mov ebx, dword [ebp + 0x514]
add esp, 0xc
xor edi, edi
mov dword [esp + 0x30], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], 0
mov byte [esp + 0x17], 1
mov dword [esp + 0x2c], 0
test ebx, ebx
je 0x44f0ea
mov ecx, ebx
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x44ef20
sub ecx, edx
cmp ecx, 1
jbe 0x44f0ea
mov al, byte [ebx]
cmp al, 0x5b
jne 0x44ef5e
lea eax, [ebx + 1]
push 0x5d
push eax
mov dword [esp + 0x20], eax
call sub.VCRUNTIME140.dll_strchr
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x44ef9c
mov eax, dword [esp + 0x18]
mov edi, ebx
sub edi, eax
mov dword [esp + 0x2c], eax
jmp 0x44efa2
cmp al, 0x3a
je 0x44efa2
push 0x3a
push ebx
call sub.VCRUNTIME140.dll_strchr
add esp, 8
mov dword [esp + 0x18], eax
mov dword [esp + 0x2c], ebx
test eax, eax
je 0x44effb
mov edi, eax
lea eax, [esp + 0x40]
push eax
push ebx
push 0x17
sub edi, ebx
call fcn.004428d0
add esp, 0xc
lea ebx, [eax - 1]
neg ebx
sbb ebx, ebx
and ebx, dword [esp + 0x18]
xor edx, edx
test ebx, ebx
je 0x44f00b
push 0x3a
push ebx
call sub.VCRUNTIME140.dll_strchr
add esp, 8
mov dword [esp + 0x18], eax
xor edx, edx
xor ebx, ebx
test eax, eax
je 0x44f00d
push 0xa
inc eax
push ebx
push eax
call sub.api_ms_win_crt_convert_l1_1_0.dll_strtoul
push eax
call fcn.0042e290
push 0x2d
push dword [esp + 0x2c]
movzx ebx, ax
call sub.VCRUNTIME140.dll_strchr
add esp, 0x18
test eax, eax
je 0x44eff7
push 0xa
inc eax
push 0
push eax
call sub.api_ms_win_crt_convert_l1_1_0.dll_strtoul
push eax
call fcn.0042e290
add esp, 0x10
movzx edx, ax
jmp 0x44f00d
mov edx, ebx
jmp 0x44f00d
mov edi, ebx
lea ecx, [edi + 1]
mov al, byte [edi]
inc edi
test al, al
jne 0x44f000
sub edi, ecx
xor edx, edx
xor ebx, ebx
xor ecx, ecx
movzx eax, dx
cmp bx, dx
cmovbe ecx, eax
movzx eax, cx
xor ecx, ecx
cmp bx, dx
mov dword [esp + 0x1c], eax
movzx eax, bx
cmovbe ecx, eax
movzx ebx, cx
test edi, edi
je 0x44f0d9
cmp edi, 0x32
jae 0x44f590
push edi
push dword [esp + 0x30]
lea eax, [esp + 0xf0]
push eax
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov byte [esp + edi + 0xe8], 0
mov edi, dword [esp + 0x10]
lea eax, [esp + 0x260]
push 0x401
push eax
lea eax, [esp + 0xf0]
push eax
mov eax, dword [edi + 0x60]
push dword [edi + 0x464]
add eax, 0x10
push eax
call fcn.00469250
add esp, 4
push eax
mov eax, dword [edi + 0x60]
push dword [eax]
call fcn.00420ec0
add esp, 0x18
sub eax, 0
je 0x44f0b3
sub eax, 1
je 0x44f594
sub eax, 1
jne 0x44f0bc
lea edi, [esp + 0x260]
jmp 0x44f0be
lea edi, [esp + 0xe8]
jmp 0x44f0be
xor edi, edi
mov eax, ebx
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x1c]
movzx ebx, ax
mov dword [esp + 0x1c], ebx
test edi, edi
jne 0x44f17e
jmp 0x44f0ea
mov eax, ebx
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x1c]
movzx eax, ax
mov dword [esp + 0x1c], eax
mov edi, dword [esp + 0x10]
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x3c]
mov dword [esp + 0x24], 0x80
push eax
push dword [edi + 0x140]
call dword [sym.imp.WS2_32.dll_getsockname]
test eax, eax
je 0x44f13d
push 0x100
lea eax, [esp + 0x164]
push eax
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
call fcn.00417cb0
push eax
push str.getsockname___failed:__s
push ebp
call fcn.0042bdf0
add esp, 0x18
jmp 0x44f594
cmp word [esp + 0x38], 0x17
lea edx, [esp + 0x40]
movzx eax, word [esp + 0x38]
lea ecx, [esp + 0x3c]
cmove ecx, edx
lea edx, [esp + 0x260]
push 0x401
push edx
push ecx
push eax
call fcn.0045d9a0
add esp, 0x10
test eax, eax
je 0x44f594
lea edi, [esp + 0x260]
mov byte [esp + 0x17], 0
lea eax, [esp + 0x30]
push eax
push 0
push 0
push edi
push ebp
call fcn.00434e90
add esp, 0x14
cmp eax, 1
jne 0x44f1a4
lea eax, [esp + 0x30]
push eax
push ebp
call fcn.004210a0
add esp, 8
mov eax, dword [esp + 0x30]
test eax, eax
je 0x44f581
mov ebx, dword [eax]
push eax
push ebp
call fcn.00435450
add esp, 8
test ebx, ebx
je 0x44f581
mov edi, dword [sym.imp.WS2_32.dll_WSAGetLastError]
nop word [eax + eax]
lea eax, [esp + 0x24]
push eax
mov eax, dword [esp + 0x14]
movzx eax, byte [eax + 0x46f]
push eax
push 0
push ebx
push ebp
call fcn.0045cb30
add esp, 0x14
test eax, eax
je 0x44f221
call edi
mov ebx, dword [ebx + 0x1c]
test ebx, ebx
jne 0x44f1d0
push 0x100
lea ecx, [esp + 0x164]
push ecx
push eax
call fcn.00417cb0
push eax
push str.socket_failure:__s
push ebp
call fcn.0042bdf0
add esp, 0x18
jmp 0x44f590
push dword [ebx + 0x10]
lea eax, [esp + 0x3c]
push dword [ebx + 0x18]
push eax
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [ebx + 0x10]
add esp, 0xc
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x18]
cmp ax, word [esp + 0x1c]
movzx edi, ax
ja 0x44f571
mov eax, dword [sym.imp.WS2_32.dll_htons]
push edi
call eax
push dword [esp + 0x20]
movzx eax, ax
mov word [esp + 0x3e], ax
lea eax, [esp + 0x3c]
push eax
push dword [esp + 0x2c]
call dword [sym.imp.WS2_32.dll_bind]
test eax, eax
je 0x44f338
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp byte [esp + 0x17], 0
je 0x44f2f6
cmp eax, 0x2741
jne 0x44f2f6
push 0x100
lea eax, [esp + 0x164]
push eax
push 0x2741
call fcn.00417cb0
push eax
movzx eax, di
push eax
push str.bind_port_hu__on_non_local_address_failed:__s
push ebp
call fcn.0042bec0
mov edi, dword [esp + 0x2c]
lea eax, [esp + 0x3c]
add esp, 0x1c
mov dword [esp + 0x20], 0x80
push eax
lea eax, [esp + 0x3c]
push eax
push dword [edi + 0x140]
call dword [sym.imp.WS2_32.dll_getsockname]
test eax, eax
jne 0x44f110
mov eax, dword [esp + 0x18]
movzx edi, ax
cmp di, word [esp + 0x1c]
mov byte [esp + 0x17], 0
jmp 0x44f247
cmp eax, 0x2740
je 0x44f302
cmp eax, 0xd
jne 0x44f30d
inc edi
cmp di, word [esp + 0x1c]
jmp 0x44f247
push 0x100
lea ecx, [esp + 0x164]
push ecx
push eax
call fcn.00417cb0
push eax
movzx eax, di
push eax
push str.bind_port_hu__failed:__s
push ebp
call fcn.0042bdf0
add esp, 0x1c
jmp 0x44f590
cmp di, word [esp + 0x1c]
ja 0x44f571
lea eax, [esp + 0x20]
mov dword [esp + 0x20], 0x80
push eax
lea eax, [esp + 0x3c]
push eax
push dword [esp + 0x2c]
call dword [sym.imp.WS2_32.dll_getsockname]
test eax, eax
je 0x44f390
push 0x100
lea eax, [esp + 0x164]
push eax
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
call fcn.00417cb0
push eax
push str.getsockname___failed:__s
push ebp
call fcn.0042bdf0
add esp, 0x18
jmp 0x44f590
push 1
push dword [esp + 0x28]
call dword [sym.imp.WS2_32.dll_listen]
test eax, eax
je 0x44f3b8
push 0x100
lea eax, [esp + 0x164]
push eax
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
jmp 0x44f207
push 0x2f
lea eax, [esp + 0xbc]
push eax
push ebx
call fcn.00434e40
mov eax, dword [esp + 0x1c]
add esp, 0xc
cmp byte [eax + 0x1f2], 0
jne 0x44f3e8
cmp byte [eax + 0x1ec], 0
je 0x44f3e8
mov byte [eax + 0x1f2], 1
cmp esi, 2
je 0x44f44a
mov edi, dword [sym.imp.WS2_32.dll_ntohs]
mov cx, word [esp + 0x38]
nop dword [eax + eax]
cmp byte [eax + 0x1f2], 0
jne 0x44f40d
test esi, esi
je 0x44f444
cmp esi, 1
jne 0x44f418
cmp cx, 2
jne 0x44f444
movzx eax, cx
sub eax, 2
je 0x44f425
sub eax, 0x15
jne 0x44f440
push dword [esp + 0x3a]
call edi
movzx ebx, ax
test esi, esi
je 0x44f51b
cmp esi, 1
je 0x44f48a
mov cx, word [esp + 0x38]
mov eax, dword [esp + 0x10]
inc esi
cmp esi, 2
jne 0x44f400
mov edi, dword [esp + 0x28]
lea eax, [esp + 0x24]
mov dword [edi + 0x90], esi
mov edi, dword [esp + 0x10]
push eax
push 1
push edi
push ebp
call fcn.0045c8e0
mov ebx, eax
add esp, 0x10
test ebx, ebx
jne 0x44f599
mov eax, dword [ebp + 0x18]
mov dword [esp + 0x24], 0xffffffff
mov byte [eax + 0x436], 0x1c
jmp 0x44f5a3
lea edx, [esp + 0x11c]
mov ebp, 0x2c
lea edi, [esp + 0xb8]
nop dword [eax]
mov cl, byte [edi]
test cl, cl
je 0x44f4b7
cmp cl, 0x2e
movzx eax, cl
cmove eax, ebp
mov byte [edx], al
inc edx
add edi, 1
jne 0x44f4a0
movzx ecx, bx
movzx eax, cl
push eax
shr ecx, 8
push ecx
push str.__d__d
push 0x14
push edx
mov byte [edx], 0
call fcn.004303f0
mov edi, dword [esp + 0x3c]
lea eax, [esp + 0x130]
mov ebp, dword [esp + 0x48]
push eax
push str.PORT
push 0x477b84
push edi
push ebp
call fcn.00467c80
mov ebx, eax
add esp, 0x28
test ebx, ebx
je 0x44f44e
push ebx
call fcn.00417e30
push eax
push str.Failure_sending_PORT_command:__s
push ebp
call fcn.0042bdf0
mov edi, dword [esp + 0x20]
add esp, 0x10
jmp 0x44f599
mov edi, dword [esp + 0x28]
movzx eax, bx
push eax
lea eax, [esp + 0xbc]
push eax
xor eax, eax
cmp word [esp + 0x40], 2
setne al
inc eax
push eax
push str.EPRT
push str._s__d_s_hu
push edi
push ebp
call fcn.00467c80
mov ebx, eax
add esp, 0x1c
test ebx, ebx
je 0x44f44e
push ebx
call fcn.00417e30
push eax
push str.Failure_sending_EPRT_command:__s
push ebp
call fcn.0042bdf0
mov edi, dword [esp + 0x20]
add esp, 0x10
jmp 0x44f599
push str.bind___failed__we_ran_out_of_ports
push ebp
call fcn.0042bdf0
add esp, 8
jmp 0x44f590
push edi
push str.failed_to_resolve_the_address_provided_to_PORT:__s
push ebp
call fcn.0042bdf0
add esp, 0xc
mov edi, dword [esp + 0x10]
mov ebx, 0x1e
mov eax, dword [ebp + 0x18]
mov byte [eax + 0x436], 0
mov eax, dword [esp + 0x24]
cmp eax, 0xffffffff
je 0x44f5b7
push eax
push edi
push ebp
call fcn.0045cb00
add esp, 0xc
mov ecx, dword [esp + 0x664]
mov eax, ebx
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0046be42
add esp, 0x658
ret