Function at 0x14004dfa0
Capabilities:
Get local ipv4 addresses

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rsi
push rdi
sub rsp, 0x2d0
lea rbp, [rsp + 0x30]
lea rdi, [rsp + 0x30]
mov ecx, 0x78
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x2f8]
mov rax, qword [0x14009ad80]
xor rax, rbp
mov qword [rbp + 0x298], rax
lea rcx, [0x1401a114a]
call fcn.140068b20
mov qword [rbp + 0x28], 0
mov qword [rbp + 0x30], 0
mov qword [rbp + 0x58], 0
mov dword [rbp + 0xb4], 0
mov rcx, qword [rbp + 0x2c8]
call fcn.1400524f0
mov qword [rbp + 0x2c8], rax
lea rax, [rbp + 0xb4]
mov qword [rsp + 0x20], rax
mov r9, qword [rbp + 0x58]
xor r8d, r8d
xor edx, edx
mov ecx, reloc.WS2_32.dll_socket
call qword [sym.imp.IPHLPAPI.DLL_GetAdaptersAddresses]
mov dword [rbp + 4], eax
cmp dword [rbp + 4], 0x6f
jne 0x14004e0b0
mov rcx, qword [rbp + 0x58]
call qword [sym.imp.ucrtbased.dll_free]
mov eax, dword [rbp + 0xb4]
mov ecx, eax
call qword [sym.imp.ucrtbased.dll_malloc]
mov qword [rbp + 0x58], rax
cmp qword [rbp + 0x58], 0
jne 0x14004e0ab
mov ecx, 2
call qword [sym.imp.ucrtbased.dll___acrt_iob_func]
lea rdx, str.GetAdaptersAddresses__:malloc__:_failed:_out_of_memory_n
mov rcx, rax
call fcn.140001b10
lea rax, [rbp + 0x28]
mov rdi, qword [rbp + 0x2c0]
mov rsi, rax
mov ecx, reloc.WS2_32.dll_recv
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rbp + 0x2c0]
jmp 0x14004e304
jmp 0x14004e024
cmp dword [rbp + 4], 0
je 0x14004e0f5
mov ecx, 2
call qword [sym.imp.ucrtbased.dll___acrt_iob_func]
mov r8d, dword [rbp + 4]
lea rdx, str.GetAdaptersAddresses__:_failed:__u_n
mov rcx, rax
call fcn.140001b10
lea rax, [rbp + 0x28]
mov rdi, qword [rbp + 0x2c0]
mov rsi, rax
mov ecx, reloc.WS2_32.dll_recv
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rbp + 0x2c0]
jmp 0x14004e304
mov rax, qword [rbp + 0x58]
mov qword [rbp + 0x78], rax
jmp 0x14004e10b
mov rax, qword [rbp + 0x78]
mov rax, qword [rax + 8]
mov qword [rbp + 0x78], rax
cmp qword [rbp + 0x78], 0
je 0x14004e12e
mov rdx, qword [rbp + 0x2c8]
mov rax, qword [rbp + 0x78]
mov rcx, qword [rax + 0x10]
call fcn.140051620
test eax, eax
je 0x14004e12c
jmp 0x14004e12e
jmp 0x14004e0ff
cmp qword [rbp + 0x58], 0
jne 0x14004e15b
mov ecx, 2
call qword [sym.imp.ucrtbased.dll___acrt_iob_func]
mov r8, qword [rbp + 0x2c8]
lea rdx, str.GetAdaptersInfo:_adapter_not_found:__s_n
mov rcx, rax
call fcn.140001b10
jmp 0x14004e2de
mov rax, qword [rbp + 0x78]
mov rax, qword [rax + 0x18]
mov qword [rbp + 0x98], rax
jmp 0x14004e17e
mov rax, qword [rbp + 0x98]
mov rax, qword [rax + 8]
mov qword [rbp + 0x98], rax
cmp qword [rbp + 0x98], 0
je 0x14004e2de
mov rax, qword [rbp + 0x98]
mov rax, qword [rax + 0x10]
mov qword [rbp + 0xd8], rax
mov rax, qword [rbp + 0xd8]
movzx eax, word [rax]
cmp eax, 0x17
je 0x14004e1af
jmp 0x14004e16c
mov rax, qword [rbp + 0x98]
cmp dword [rax + 4], 2
jne 0x14004e1be
jmp 0x14004e16c
mov rax, qword [rbp + 0xd8]
add rax, 8
mov rcx, qword [rbp + 0xd8]
movzx ecx, word [rcx]
mov r9d, 0x40
lea r8, [rbp + 0x100]
mov rdx, rax
call sub.WS2_32.dll_inet_ntop
lea rdx, [rbp + 0x100]
lea rcx, [rbp + 0x248]
call fcn.140009120
lea rcx, [rbp + 0x158]
mov rdi, rcx
mov rsi, rax
mov ecx, reloc.WS2_32.dll_recv
rep movsb byte [rdi], byte [rsi]
lea rax, [rbp + 0x280]
lea rcx, [rbp + 0x158]
mov rdi, rax
mov rsi, rcx
mov ecx, reloc.WS2_32.dll_recv
rep movsb byte [rdi], byte [rsi]
lea rcx, [rbp + 0x280]
call fcn.14004df40
test eax, eax
je 0x14004e260
mov ecx, 2
call qword [sym.imp.ucrtbased.dll___acrt_iob_func]
lea r8, [rbp + 0x100]
lea rdx, str.____corrupt_IPv6_address:__s_n
mov rcx, rax
call fcn.140001b10
jmp 0x14004e16c
mov rax, qword [rbp + 0x98]
cmp dword [rax + 0x20], 2
jne 0x14004e272
jmp 0x14004e16c
mov rax, qword [rbp + 0x98]
cmp dword [rax + 0x20], 4
jne 0x14004e291
mov rax, qword [rbp + 0x98]
cmp dword [rax + 0x24], 5
jne 0x14004e291
jmp 0x14004e16c
mov rax, qword [rbp + 0x158]
shr rax, 0x38
cmp rax, 0xfc
jb 0x14004e2a9
jmp 0x14004e16c
mov rax, qword [rbp + 0x158]
shr rax, 0x20
cmp rax, 0x20010db8
jne 0x14004e2c1
jmp 0x14004e16c
lea rax, [rbp + 0x28]
lea rcx, [rbp + 0x158]
mov rdi, rax
mov rsi, rcx
mov ecx, reloc.WS2_32.dll_recv
rep movsb byte [rdi], byte [rsi]
jmp 0x14004e16c
mov rcx, qword [rbp + 0x58]
call qword [sym.imp.ucrtbased.dll_free]
lea rax, [rbp + 0x28]
mov rdi, qword [rbp + 0x2c0]
mov rsi, rax
mov ecx, reloc.WS2_32.dll_recv
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rbp + 0x2c0]
mov rdi, rax
lea rcx, [rbp - 0x30]
lea rdx, reloc.WS2_32.dll_connect
call fcn.140068a90
mov rax, rdi
mov rcx, qword [rbp + 0x298]
xor rcx, rbp
call fcn.140068cb0
lea rsp, [rbp + 0x2a0]
pop rdi
pop rsi
pop rbp
ret