Function at 0x140050a80
Capabilities:
Get local ipv4 addresses

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rsi
push rdi
sub rsp, 0x240
lea rbp, [rsp + 0x30]
lea rdi, [rsp + 0x30]
mov ecx, 0x54
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x268]
mov rax, qword [0x14009f088]
xor rax, rbp
mov qword [rbp + 0x208], rax
lea rcx, [0x1401a5186]
call fcn.14006b9e0
mov qword [rbp + 0x28], 0
mov qword [rbp + 0x30], 0
mov qword [rbp + 0x58], 0
mov dword [rbp + 0xb4], 0
mov rcx, qword [rbp + 0x238]
call fcn.140054f50
mov qword [rbp + 0x238], 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 0x140050b90
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 0x140050b8b
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 + 0x230]
mov rsi, rax
mov ecx, reloc.WS2_32.dll_recv
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rbp + 0x230]
jmp 0x140050d70
jmp 0x140050b04
cmp dword [rbp + 4], 0
je 0x140050bd5
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 + 0x230]
mov rsi, rax
mov ecx, reloc.WS2_32.dll_recv
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rbp + 0x230]
jmp 0x140050d70
mov rax, qword [rbp + 0x58]
mov qword [rbp + 0x78], rax
jmp 0x140050beb
mov rax, qword [rbp + 0x78]
mov rax, qword [rax + 8]
mov qword [rbp + 0x78], rax
cmp qword [rbp + 0x78], 0
je 0x140050c0e
mov rdx, qword [rbp + 0x238]
mov rax, qword [rbp + 0x78]
mov rcx, qword [rax + 0x10]
call fcn.140054080
test eax, eax
je 0x140050c0c
jmp 0x140050c0e
jmp 0x140050bdf
cmp qword [rbp + 0x58], 0
jne 0x140050c3b
mov ecx, 2
call qword [sym.imp.ucrtbased.dll___acrt_iob_func]
mov r8, qword [rbp + 0x238]
lea rdx, str.GetAdaptersInfo:_adapter_not_found:__s_n
mov rcx, rax
call fcn.140001b10
jmp 0x140050d4a
mov rax, qword [rbp + 0x78]
mov rax, qword [rax + 0x18]
mov qword [rbp + 0x98], rax
jmp 0x140050c5e
mov rax, qword [rbp + 0x98]
mov rax, qword [rax + 8]
mov qword [rbp + 0x98], rax
cmp qword [rbp + 0x98], 0
je 0x140050d4a
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 0x140050c8f
jmp 0x140050c4c
mov rax, qword [rbp + 0x98]
cmp dword [rax + 4], 2
jne 0x140050c9e
jmp 0x140050c4c
mov rax, qword [rbp + 0xd8]
add rax, 8
mov rdx, rax
lea rcx, [rbp + 0x1e8]
call fcn.140050830
lea rcx, [rbp + 0xf8]
mov rdi, rcx
mov rsi, rax
mov ecx, reloc.WS2_32.dll_recv
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rbp + 0x98]
cmp dword [rax + 0x20], 2
jne 0x140050cde
jmp 0x140050c4c
mov rax, qword [rbp + 0x98]
cmp dword [rax + 0x20], 4
jne 0x140050cfd
mov rax, qword [rbp + 0x98]
cmp dword [rax + 0x24], 5
jne 0x140050cfd
jmp 0x140050c4c
mov rax, qword [rbp + 0xf8]
shr rax, 0x38
cmp rax, 0xfc
jb 0x140050d15
jmp 0x140050c4c
mov rax, qword [rbp + 0xf8]
shr rax, 0x20
cmp rax, 0x20010db8
jne 0x140050d2d
jmp 0x140050c4c
lea rax, [rbp + 0x28]
lea rcx, [rbp + 0xf8]
mov rdi, rax
mov rsi, rcx
mov ecx, reloc.WS2_32.dll_recv
rep movsb byte [rdi], byte [rsi]
jmp 0x140050c4c
mov rcx, qword [rbp + 0x58]
call qword [sym.imp.ucrtbased.dll_free]
lea rax, [rbp + 0x28]
mov rdi, qword [rbp + 0x230]
mov rsi, rax
mov ecx, reloc.WS2_32.dll_recv
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rbp + 0x230]
mov rdi, rax
lea rcx, [rbp - 0x30]
lea rdx, [0x14008d6c0]
call fcn.14006b950
mov rax, rdi
mov rcx, qword [rbp + 0x208]
xor rcx, rbp
call fcn.14006bb70
lea rsp, [rbp + 0x210]
pop rdi
pop rsi
pop rbp
ret