Function at 0x140001050
Capabilities:
Get local ipv4 addresses

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x4b0
mov qword [rsp + 0x4a0], rcx
mov dword [rsp + 0x49c], 0
xor ecx, ecx
mov edx, send
xor eax, eax
mov r9d, eax
lea rax, [rsp + 0x49c]
mov r8, r9
mov qword [rsp + 0x20], rax
call qword [sym.imp.IPHLPAPI.DLL_GetAdaptersAddresses]
mov dword [rsp + 0x498], eax
mov edx, dword [rsp + 0x498]
lea rcx, str.Result:__lu_n
call fcn.140001c80
cmp dword [rsp + 0x498], 0x6f
jne 0x1400012ef
mov eax, dword [rsp + 0x49c]
mov ecx, eax
call fcn.140005c20
mov qword [rsp + 0x490], rax
mov rcx, qword [rsp + 0x490]
mov eax, dword [rsp + 0x49c]
mov r8d, eax
xor edx, edx
call fcn.140002a70
cmp qword [rsp + 0x490], 0
je 0x1400012de
mov r9, qword [rsp + 0x490]
xor ecx, ecx
mov edx, send
xor eax, eax
mov r8d, eax
lea rax, [rsp + 0x49c]
mov qword [rsp + 0x20], rax
call qword [sym.imp.IPHLPAPI.DLL_GetAdaptersAddresses]
mov dword [rsp + 0x498], eax
cmp dword [rsp + 0x498], 0
jne 0x1400012b9
mov rax, qword [rsp + 0x490]
mov qword [rsp + 0x488], rax
cmp qword [rsp + 0x488], 0
je 0x140001291
mov rax, qword [rsp + 0x488]
mov rax, qword [rax + 0x18]
mov qword [rsp + 0x68], rax
cmp qword [rsp + 0x68], 0
je 0x1400011cb
mov rax, qword [rsp + 0x68]
mov rax, qword [rax + 0x10]
movzx eax, word [rax]
cmp eax, 2
jne 0x1400011b3
mov rax, qword [rsp + 0x68]
mov rax, qword [rax + 0x10]
mov qword [rsp + 0x60], rax
lea r8, [rsp + 0x70]
mov rdx, qword [rsp + 0x60]
add rdx, 4
mov ecx, 2
mov r9d, send
call sub.WS2_32.dll_inet_ntop
jmp 0x1400011cb
jmp 0x1400011b8
mov rax, qword [rsp + 0x68]
mov rax, qword [rax + 8]
mov qword [rsp + 0x68], rax
jmp 0x140001161
lea rbx, [rsp + 0x70]
mov rax, qword [rsp + 0x488]
movzx edi, byte [rax + 0x55]
mov rax, qword [rsp + 0x488]
movzx esi, byte [rax + 0x54]
mov rax, qword [rsp + 0x488]
movzx r11d, byte [rax + 0x53]
mov rax, qword [rsp + 0x488]
movzx r10d, byte [rax + 0x52]
mov rax, qword [rsp + 0x488]
movzx r8d, byte [rax + 0x51]
mov rax, qword [rsp + 0x488]
movzx edx, byte [rax + 0x50]
mov rax, qword [rsp + 0x488]
mov r9, qword [rax + 0x10]
lea rcx, [rsp + 0x80]
mov rax, rsp
mov qword [rax + 0x50], rbx
mov dword [rax + 0x48], edi
mov dword [rax + 0x40], esi
mov dword [rax + 0x38], r11d
mov dword [rax + 0x30], r10d
mov dword [rax + 0x28], r8d
mov dword [rax + 0x20], edx
lea r8, str.Adapter_Name:__s_nMAC_Address:__.2X__.2X__.2X__.2X__.2X__.2X_nIP_Address:__s_n_n
mov edx, 0x404
call fcn.140001cf0
lea rdx, [rsp + 0x80]
mov rcx, qword [rsp + 0x4a0]
add rcx, 0x1010
call fcn.140005c40
mov rax, qword [rsp + 0x488]
mov rax, qword [rax + 8]
mov qword [rsp + 0x488], rax
jmp 0x140001141
mov rcx, qword [rsp + 0x490]
call fcn.140005d98
mov rax, qword [rsp + 0x4a0]
add rax, 0x1010
mov qword [rsp + 0x4a8], rax
jmp 0x14000130e
mov edx, dword [rsp + 0x498]
lea rcx, str.GetAdaptersAddresses_failed_with_error:__lu_n
call fcn.140001c80
mov rcx, qword [rsp + 0x490]
call fcn.140005d98
jmp 0x1400012ea
lea rcx, str.Failed_to_allocate_memory_for_adapter_addresses._n
call fcn.140001c80
jmp 0x140001302
mov edx, dword [rsp + 0x498]
lea rcx, str.GetAdaptersAddresses_failed_with_error:__lu_n
call fcn.140001c80
mov qword [rsp + 0x4a8], 0
mov rax, qword [rsp + 0x4a8]
add rsp, 0x4b0
pop rbx
pop rdi
pop rsi
ret