Function at 0x1403afb40
Capabilities:
Get local ipv4 addresses

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rdx
mov qword [rax + 8], rcx
push rbx
push rsi
push rdi
push r14
push r15
sub rsp, 0x80
xor r15d, r15d
mov rdi, rdx
mov qword [rcx], r15
mov r14, rcx
mov dword [rax + 0x18], r15d
lea rax, [rax + 0x18]
mov dword [rdx], r15d
xor r9d, r9d
lea edx, [r15 + 0xe]
mov qword [rsp + 0x48], r15
xor r8d, r8d
mov qword [rsp + 0x20], rax
xor ecx, ecx
mov esi, r15d
call qword [sym.imp.IPHLPAPI.DLL_GetAdaptersAddresses]
mov ebx, eax
test eax, eax
je 0x1403afbf3
mov rcx, rsi
call fcn.1403a4530
mov ecx, ebx
sub ecx, 0x57
je 0x1403afd02
sub ecx, 0x18
jne 0x1403afc91
mov ecx, dword [rsp + 0xc0]
call fcn.1403a46f0
mov qword [rsp + 0x48], rax
mov rsi, rax
test rax, rax
je 0x1403afcee
xor r8d, r8d
lea rax, [rsp + 0xc0]
mov r9, rsi
mov qword [rsp + 0x20], rax
xor ecx, ecx
lea edx, [r8 + 0xe]
call qword [sym.imp.IPHLPAPI.DLL_GetAdaptersAddresses]
mov ebx, eax
test eax, eax
jne 0x1403afb95
mov qword [rsp + 0x68], r13
mov r13d, r15d
mov dword [rsp + 0xc8], r15d
mov rbx, rsi
mov qword [rsp + 0x38], r15
test rsi, rsi
je 0x1403afc66
cmp dword [rbx + 0x68], 1
jne 0x1403afc58
cmp qword [rbx + 0x18], 0
je 0x1403afc58
mov rcx, qword [rbx + 0x48]
mov rdx, 0xffffffffffffffff
call fcn.1403b9b60
inc eax
cdqe
add r15, rax
mov rax, qword [rbx + 0x18]
test rax, rax
je 0x1403afc58
nop dword [rax]
mov rax, qword [rax + 8]
inc r13d
add r15, 0x50
test rax, rax
jne 0x1403afc40
mov dword [rsp + 0xc8], r13d
mov rbx, qword [rbx + 8]
test rbx, rbx
jne 0x1403afc10
mov qword [rsp + 0x38], r15
mov rcx, r15
call fcn.1403a46f0
mov qword [rsp + 0x50], rax
mov r14, rax
test rax, rax
jne 0x1403afd16
mov rcx, rsi
call fcn.1403a4530
mov eax, 0xfffff027
jmp 0x1403afece
sub ecx, 0x79
je 0x1403afcc8
cmp ecx, 0x3e4
je 0x1403afcb4
mov ecx, ebx
call fcn.1403b87d0
add rsp, 0x80
pop r15
pop r14
pop rdi
pop rsi
pop rbx
ret
mov eax, 0xfffff008
add rsp, 0x80
pop r15
pop r14
pop rdi
pop rsi
pop rbx
ret
mov ecx, 1
call fcn.1403a46f0
test rax, rax
je 0x1403afcee
mov dword [rdi], r15d
mov qword [r14], rax
xor eax, eax
add rsp, 0x80
pop r15
pop r14
pop rdi
pop rsi
pop rbx
ret
mov eax, 0xfffff027
add rsp, 0x80
pop r15
pop r14
pop rdi
pop rsi
pop rbx
ret
mov eax, 0xfffff024
add rsp, 0x80
pop r15
pop r14
pop rdi
pop rsi
pop rbx
ret
mov qword [rsp + 0x78], rbp
mov rbx, r14
mov qword [rsp + 0x70], r12
mov rbp, rsi
movsxd rax, r13d
lea r12, [rax + rax*4]
shl r12, 4
add r12, r14
mov qword [rsp + 0x40], r12
test rsi, rsi
je 0x1403afeac
cmp dword [rbp + 0x68], 1
jne 0x1403afe92
cmp qword [rbp + 0x18], 0
je 0x1403afe92
mov rcx, qword [rbp + 0x48]
lea r9, [rsp + 0x30]
mov rax, r15
mov r8, r12
sub rax, r12
mov rdx, 0xffffffffffffffff
add rax, r14
mov qword [rsp + 0x30], rax
call fcn.1403af380
mov edi, eax
test eax, eax
jne 0x1403aff15
mov rax, qword [rsp + 0x30]
mov rsi, qword [rbp + 0x18]
inc rax
mov qword [rsp + 0x30], rax
test rsi, rsi
je 0x1403afe8a
mov r13d, 2
lea rdi, [rbx + 0x14]
lea r15d, [r13 + 0x15]
nop
mov rcx, qword [rsi + 0x10]
xor edx, edx
movzx r14d, byte [rsi + 0x38]
mov qword [rbx + 8], rdx
mov qword [rbx + 0x10], rdx
mov qword [rbx + 0x18], rdx
mov qword [rbx + 0x20], rdx
mov qword [rbx + 0x28], rdx
mov qword [rbx + 0x30], rdx
mov qword [rbx + 0x38], rdx
mov qword [rbx + 0x40], rdx
mov qword [rbx + 0x48], rdx
mov qword [rbx], r12
cmp dword [rbp + 0x58], 6
jne 0x1403afdf6
mov eax, dword [rbp + 0x50]
mov dword [rdi - 0xc], eax
movzx eax, word [rbp + 0x54]
mov word [rdi - 8], ax
cmp dword [rbp + 0x64], 0x18
mov eax, edx
sete al
mov dword [rdi - 4], eax
movups xmm0, xmmword [rcx]
cmp word [rcx], r15w
movups xmmword [rdi], xmm0
jne 0x1403afee2
movsd xmm1, qword [rcx + 0x10]
mov r12, r14
movsd qword [rdi + 0x10], xmm1
mov edx, 0xff
mov eax, dword [rcx + 0x18]
lea rcx, [rdi + 0x24]
shr r12, 3
mov r8, r12
mov dword [rdi + 0x18], eax
mov word [rdi + 0x1c], r15w
call fcn.1403e1c00
and r14d, 7
je 0x1403afe59
mov ecx, 8
mov edx, 0xff
sub ecx, r14d
shl dl, cl
mov byte [r12 + rbx + 0x38], dl
mov r12, qword [rsp + 0x40]
mov rsi, qword [rsi + 8]
add rbx, 0x50
add rdi, 0x50
test rsi, rsi
jne 0x1403afdb0
mov r15, qword [rsp + 0x38]
mov r13d, dword [rsp + 0xc8]
mov rax, qword [rsp + 0x30]
mov r14, qword [rsp + 0x50]
add r12, rax
mov qword [rsp + 0x40], r12
mov rbp, qword [rbp + 8]
test rbp, rbp
jne 0x1403afd42
mov rsi, qword [rsp + 0x48]
mov rdi, qword [rsp + 0xb8]
mov rcx, rsi
call fcn.1403a4530
mov rax, qword [rsp + 0xb0]
mov qword [rax], r14
xor eax, eax
mov dword [rdi], r13d
mov r12, qword [rsp + 0x70]
mov rbp, qword [rsp + 0x78]
mov r13, qword [rsp + 0x68]
add rsp, 0x80
pop r15
pop r14
pop rdi
pop rsi
pop rbx
ret
mov word [rdi + 0x1c], r13w
test r14d, r14d
je 0x1403aff0b
mov ecx, 0x20
mov edx, 0xffffffff
sub ecx, r14d
shl edx, cl
mov ecx, edx
call qword [sym.imp.WS2_32.dll_htonl]
mov dword [rdi + 0x20], eax
jmp 0x1403afe5e
mov eax, edx
mov dword [rdi + 0x20], edx
jmp 0x1403afe5e
mov rcx, qword [rsp + 0x48]
call fcn.1403a4530
mov rcx, r14
call fcn.1403a4530
mov eax, edi
jmp 0x1403afec4