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

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x5d0]
sub rsp, 0x6d0
mov rax, qword [0x1400de928]
xor rax, rsp
mov qword [rbp + 0x5c0], rax
mov rax, qword [rcx + 0x18]
xorps xmm0, xmm0
mov r14, qword [rcx + 0x848]
mov edi, edx
mov qword [rsp + 0x60], rax
mov rsi, rcx
xor eax, eax
mov dword [rsp + 0x48], reloc.WLDAP32.dll_Ordinal_30
mov qword [rsp + 0x58], 0xffffffffffffffff
mov r12d, eax
mov qword [rbp + 0x10], rax
movzx r15d, ax
mov dword [rbp + 0x18], eax
mov r13d, eax
mov word [rbp + 0x1c], ax
mov ebx, eax
mov byte [rbp + 0x1e], al
mov qword [rsp + 0x68], rax
mov word [rsp + 0x50], ax
mov byte [rsp + 0x40], 1
movups xmmword [rbp - 0x10], xmm0
movups xmmword [rbp], xmm0
test r14, r14
je 0x140044420
mov rax, 0xffffffffffffffff
nop dword [rax]
inc rax
cmp byte [r14 + rax], bl
jne 0x140044250
cmp rax, 1
jbe 0x140044420
movzx eax, byte [r14]
cmp al, 0x5b
jne 0x14004428f
lea r15, [r14 + 1]
mov edx, 0x5d
mov rcx, r15
call fcn.14007d8a4
mov r14, rax
test rax, rax
je 0x1400442d6
mov rbx, rax
mov r13, r15
sub rbx, r15
jmp 0x1400442e8
cmp al, 0x3a
je 0x1400442e8
mov edx, Ordinal_60
mov rcx, r14
call fcn.14007d8a4
mov r15, rax
mov r13, r14
test rax, rax
je 0x14004434e
mov rbx, rax
lea r8, [rsp + 0x78]
mov rdx, r14
mov ecx, reloc.WS2_32.dll_socket
sub rbx, r14
call fcn.140058620
cmp eax, 1
mov r14, r15
mov rdx, r12
cmove r14, rdx
jmp 0x1400442d8
xor edx, edx
movzx eax, dx
movzx r15d, dx
test r14, r14
je 0x140044367
mov edx, Ordinal_60
mov rcx, r14
call fcn.14007d8a4
xor edx, edx
mov r14, rax
mov eax, edx
mov r15d, edx
test r14, r14
je 0x140044367
lea rcx, [r14 + 1]
lea r8d, [rdx + 0xa]
call fcn.14008efe4
mov ecx, eax
call fcn.140023990
mov edx, Ordinal_46
mov rcx, r14
movzx r15d, ax
call fcn.14007d8a4
xor edx, edx
test rax, rax
je 0x140044348
lea rcx, [rax + 1]
lea r8d, [rdx + 0xa]
call fcn.14008efe4
mov ecx, eax
call fcn.140023990
xor edx, edx
jmp 0x140044367
movzx eax, r15w
jmp 0x140044367
mov rbx, 0xffffffffffffffff
inc rbx
cmp byte [r14 + rbx], r12b
jne 0x140044355
xor edx, edx
movzx eax, dx
movzx r15d, dx
cmp r15w, ax
mov ecx, edx
cmovbe cx, ax
cmovbe dx, r15w
mov dword [rsp + 0x4c], ecx
mov dword [rsp + 0x50], edx
test rbx, rbx
je 0x140044415
cmp rbx, 0x32
jae 0x1400449c9
mov r8, rbx
lea rcx, [rbp + 0x20]
mov rdx, r13
call fcn.14007c110
mov r13, qword [rsp + 0x60]
mov byte [rbp + rbx + 0x20], r12b
mov rcx, qword [r13 + 0x40]
add rcx, 0x10
call fcn.140058970
mov r8d, dword [r13 + 0x598]
lea rcx, [rbp + 0x1b0]
mov edx, eax
mov qword [rsp + 0x28], 0x401
mov rax, qword [r13 + 0x40]
lea r9, [rbp + 0x20]
mov qword [rsp + 0x20], rcx
mov ecx, dword [rax]
call fcn.140013220
mov ecx, eax
test eax, eax
je 0x140044401
sub ecx, 1
je 0x1400449ce
cmp ecx, 1
jne 0x140044405
lea r12, [rbp + 0x1b0]
jmp 0x140044405
lea r12, [rbp + 0x20]
mov r15d, dword [rsp + 0x4c]
test r12, r12
jne 0x1400444b8
jmp 0x140044425
mov dword [rsp + 0x50], edx
mov r15d, ecx
mov dword [rsp + 0x4c], ecx
mov r13, qword [rsp + 0x60]
mov dword [rsp + 0x44], 0x80
lea r8, [rsp + 0x44]
mov rcx, qword [r13 + 0x228]
lea rdx, [rsp + 0x70]
call qword [sym.imp.WS2_32.dll_getsockname]
test eax, eax
je 0x140044479
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov r8d, 0x100
lea rdx, [rbp + 0xb0]
mov ecx, eax
call fcn.140035f70
lea rdx, str.getsockname___failed:__s
mov r8, rax
mov rcx, rsi
call fcn.14001f850
jmp 0x1400449ce
movzx eax, word [rsp + 0x70]
lea rcx, [rsp + 0x78]
cmp eax, 0x17
lea rdx, [rsp + 0x74]
mov r9d, 0x401
lea r8, [rbp + 0x1b0]
cmove rdx, rcx
mov ecx, eax
call fcn.140056aa0
test rax, rax
je 0x1400449ce
lea r12, [rbp + 0x1b0]
mov byte [rsp + 0x40], 0
lea rax, [rsp + 0x68]
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x20], rax
mov rdx, r12
mov rcx, rsi
call fcn.14002d070
cmp eax, 1
jne 0x1400444e5
lea rdx, [rsp + 0x68]
mov rcx, rsi
call fcn.140013460
mov r14, qword [rsp + 0x68]
test r14, r14
je 0x1400449b5
mov r14, qword [r14]
test r14, r14
je 0x1400449b5
nop
movzx r9d, byte [r13 + 0x5a2]
lea rax, [rsp + 0x58]
xor r8d, r8d
mov qword [rsp + 0x20], rax
mov rdx, r14
mov rcx, rsi
call fcn.140027830
test eax, eax
je 0x14004455e
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov r14, qword [r14 + 0x28]
test r14, r14
jne 0x140044500
mov r8d, 0x100
lea rdx, [rbp + 0xb0]
mov ecx, eax
call fcn.140035f70
mov r8, rax
lea rdx, str.socket_failure:__s
mov rcx, rsi
call fcn.14001f850
jmp 0x1400449ce
mov rax, qword [rsi + 0x18]
test rax, rax
je 0x14004457b
movzx eax, byte [rax + 0x566]
lea r8, str.STOP
mov r8, qword [r8 + rax*8]
jmp 0x140044582
lea r8, [0x1400b85a4]
lea rdx, str.__s__ftp_state_use_port____opened_socket
mov rcx, rsi
call fcn.14001fb00
movsxd r8, dword [r14 + 0x10]
lea rcx, [rsp + 0x70]
mov rdx, qword [r14 + 0x20]
call fcn.14007c110
mov r12d, dword [rsp + 0x50]
movzx ebx, r12w
mov eax, dword [r14 + 0x10]
mov dword [rsp + 0x44], eax
cmp r12w, r15w
ja 0x140044673
nop
movzx ecx, bx
call qword [sym.imp.WS2_32.dll_htons]
mov r8d, dword [rsp + 0x44]
lea rdx, [rsp + 0x70]
mov rcx, qword [rsp + 0x58]
mov word [rsp + 0x72], ax
call qword [sym.imp.WS2_32.dll_bind]
test eax, eax
je 0x1400446b6
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp byte [rsp + 0x40], 0
je 0x14004465a
cmp eax, 0x2741
jne 0x14004465a
mov r8d, 0x100
lea rdx, [rbp + 0xb0]
mov ecx, eax
call fcn.140035f70
mov r9, rax
movzx r8d, bx
lea rdx, str.bind_port_hu__on_non_local_address_failed:__s
mov rcx, rsi
call fcn.14001f940
mov dword [rsp + 0x44], 0x80
lea r8, [rsp + 0x44]
mov rcx, qword [r13 + 0x228]
lea rdx, [rsp + 0x70]
call qword [sym.imp.WS2_32.dll_getsockname]
test eax, eax
jne 0x140044448
movzx ebx, r12w
mov byte [rsp + 0x40], al
jmp 0x140044669
cmp eax, 0x2740
je 0x140044666
cmp eax, 0xd
jne 0x140044687
inc bx
cmp bx, r15w
jbe 0x1400445c0
lea rdx, str.bind___failed__we_ran_out_of_ports
mov rcx, rsi
call fcn.14001f850
jmp 0x1400449ce
mov r8d, 0x100
lea rdx, [rbp + 0xb0]
mov ecx, eax
call fcn.140035f70
mov r9, rax
movzx r8d, bx
lea rdx, str.bind_port_hu__failed:__s
mov rcx, rsi
call fcn.14001f850
jmp 0x1400449ce
cmp bx, r15w
ja 0x140044673
mov rcx, qword [rsp + 0x58]
lea r8, [rsp + 0x44]
lea rdx, [rsp + 0x70]
mov dword [rsp + 0x44], 0x80
call qword [sym.imp.WS2_32.dll_getsockname]
test eax, eax
jne 0x140044448
mov rax, qword [rsi + 0x18]
lea r12, str.STOP
lea r15, [0x1400b85a4]
test rax, rax
je 0x140044705
movzx eax, byte [rax + 0x566]
mov r8, qword [r12 + rax*8]
jmp 0x140044708
mov r8, r15
movzx ebx, bx
lea rdx, str.__s__ftp_state_use_port____socket_bound_to_port__d
mov r9d, ebx
mov rcx, rsi
call fcn.14001fb00
mov rcx, qword [rsp + 0x58]
mov edx, 1
call qword [sym.imp.WS2_32.dll_listen]
test eax, eax
je 0x140044762
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov r8d, 0x100
lea rdx, [rbp + 0xb0]
mov ecx, eax
call fcn.140035f70
lea rdx, str.socket_failure:__s
mov r8, rax
mov rcx, rsi
call fcn.14001f850
jmp 0x1400449ce
mov rax, qword [rsi + 0x18]
test rax, rax
je 0x140044778
movzx eax, byte [rax + 0x566]
mov r8, qword [r12 + rax*8]
jmp 0x14004477b
mov r8, r15
mov r9d, ebx
lea rdx, str.__s__ftp_state_use_port____listening_on__d
mov rcx, rsi
call fcn.14001fb00
mov r8d, Ordinal_50
lea rdx, [rbp - 0x10]
mov rcx, r14
call fcn.14002d030
cmp byte [r13 + 0x3b9], 0
jne 0x1400447bb
cmp byte [r13 + 0x3b4], 0
je 0x1400447bb
mov byte [r13 + 0x3b9], 1
lea r9, [rsp + 0x58]
mov r8d, 1
mov rdx, r13
mov rcx, rsi
call fcn.140027490
mov dword [rsp + 0x48], eax
mov ebx, eax
test eax, eax
jne 0x1400449d3
mov qword [rsp + 0x58], 0xffffffffffffffff
cmp edi, 2
je 0x140044840
movzx ecx, word [rsp + 0x70]
cmp byte [r13 + 0x3b9], 0
jne 0x140044800
test edi, edi
je 0x140044839
cmp edi, 1
jne 0x14004480b
cmp cx, 2
jne 0x140044839
movzx eax, cx
cmp eax, 2
je 0x140044818
cmp eax, 0x17
jne 0x140044839
movzx ecx, word [rsp + 0x72]
call qword [sym.imp.WS2_32.dll_ntohs]
movzx r8d, ax
test edi, edi
je 0x140044921
cmp edi, 1
je 0x140044873
movzx ecx, word [rsp + 0x70]
inc edi
cmp edi, 2
jne 0x1400447f2
lea r14, [r13 + 0x458]
mov dword [r14 + 0x100], edi
mov rbx, qword [rsi + 0x18]
movzx eax, byte [rbx + 0x566]
cmp al, 0x1c
je 0x1400449a8
test rbx, rbx
je 0x14004498f
mov r8, qword [r12 + rax*8]
jmp 0x140044992
movzx edx, byte [rbp - 0x10]
lea rcx, [rbp + 0x60]
test dl, dl
je 0x1400448a8
lea r9, [rbp - 0x10]
mov r10d, Ordinal_46
lea rax, [rbp + 0x60]
sub r9, rax
cmp dl, 0x2e
movzx eax, dl
cmove eax, r10d
mov byte [rcx], al
inc rcx
movzx edx, byte [r9 + rcx]
test dl, dl
jne 0x140044890
movzx r9d, r8w
mov edx, reloc.WS2_32.dll_sendto
movzx eax, r9b
lea r8, str.__d__d
shr r9d, 8
mov dword [rsp + 0x20], eax
mov byte [rcx], 0
call fcn.14002a910
lea rax, [rbp + 0x60]
mov rcx, rsi
lea r14, [r13 + 0x458]
mov qword [rsp + 0x20], rax
mov rdx, r14
lea r9, [0x1400b844d]
lea r8, [0x1400b7b30]
call fcn.14005cf20
mov dword [rsp + 0x48], eax
mov ebx, eax
test eax, eax
je 0x140044847
mov ecx, eax
call fcn.1400360a0
mov r8, rax
lea rdx, str.Failure_sending_PORT_command:__s
mov rcx, rsi
call fcn.14001f850
jmp 0x1400449d3
cmp word [rsp + 0x70], 2
lea r14, [r13 + 0x458]
movzx eax, r8w
lea r9, str.EPRT
mov dword [rsp + 0x30], eax
lea r8, str._s__d_s_hu
mov ecx, 0
lea rax, [rbp - 0x10]
setne cl
mov qword [rsp + 0x28], rax
inc ecx
mov rdx, r14
mov dword [rsp + 0x20], ecx
mov rcx, rsi
call fcn.14005cf20
mov dword [rsp + 0x48], eax
mov ebx, eax
test eax, eax
je 0x140044847
mov ecx, eax
call fcn.1400360a0
mov r8, rax
lea rdx, str.Failure_sending_EPRT_command:__s
mov rcx, rsi
call fcn.14001f850
jmp 0x1400449d3
mov r8, r15
lea r9, str.PORT
mov rcx, rsi
lea rdx, str.__s_______s_
call fcn.14001fb00
mov byte [rbx + 0x566], 0x1c
mov ebx, dword [rsp + 0x48]
jmp 0x1400449d3
mov r8, r12
lea rdx, str.failed_to_resolve_the_address_provided_to_PORT:__s
mov rcx, rsi
call fcn.14001f850
jmp 0x1400449ce
mov r13, qword [rsp + 0x60]
mov ebx, reloc.WLDAP32.dll_Ordinal_30
cmp qword [rsp + 0x68], 0
je 0x1400449e8
lea rdx, [rsp + 0x68]
mov rcx, rsi
call fcn.14002d670
test ebx, ebx
je 0x140044a38
mov rbx, qword [rsi + 0x18]
movzx eax, byte [rbx + 0x566]
test al, al
je 0x140044a2d
test rbx, rbx
je 0x140044a0d
lea rcx, str.STOP
mov rax, qword [rcx + rax*8]
jmp 0x140044a14
lea rax, [0x1400b85a4]
lea r9, str.STOP
mov r8, rax
lea rdx, str.__s_______s_
mov rcx, rsi
call fcn.14001fb00
mov byte [rbx + 0x566], 0
mov ebx, dword [rsp + 0x48]
mov r8, qword [rsp + 0x58]
cmp r8, 0xffffffffffffffff
je 0x140044a4e
mov rdx, r13
mov rcx, rsi
call fcn.140027820
mov eax, ebx
mov rcx, qword [rbp + 0x5c0]
xor rcx, rsp
call fcn.14007b260
mov rbx, qword [rsp + 0x720]
add rsp, 0x6d0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret