Function at 0x1402b6210
Capabilities:
Get local ipv4 addresses

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rsi
push rdi
push r12
push r14
sub rsp, 0xa0
xor r12d, r12d
mov r14, rdx
mov qword [rcx], r12
mov rbp, rcx
mov dword [rdx], r12d
xor r9d, r9d
xor edx, edx
xor r8d, r8d
lea ecx, [rdx + 6]
call fcn.1402b5720
movsxd rsi, eax
test eax, eax
je 0x1402b6255
lea edi, [r12 + 0xe]
jmp 0x1402b6285
mov edx, 1
xor r9d, r9d
mov r8d, edx
lea ecx, [rdx + 4]
call fcn.1402b5720
test eax, eax
jne 0x1402b6280
mov eax, 0xfffff02f
add rsp, 0xa0
pop r14
pop r12
pop rdi
pop rsi
pop rbp
ret
mov edi, 0x1e
lea rax, [rsp + 0xe0]
mov qword [rsp + 0x98], rbx
mov qword [rsp + 0x88], r15
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x20], rax
mov edx, edi
mov dword [rsp + 0xe0], r12d
xor ecx, ecx
mov qword [rsp + 0x58], r12
mov r15, r12
call sub.IPHLPAPI.DLL_GetAdaptersAddresses
mov ebx, eax
test eax, eax
je 0x1402b6322
mov rcx, r15
call fcn.1402aaa20
mov ecx, ebx
sub ecx, 0x57
je 0x1402b642f
sub ecx, 0x18
jne 0x1402b63ef
mov ecx, dword [rsp + 0xe0]
call fcn.1402aabd0
mov qword [rsp + 0x58], rax
mov r15, rax
test rax, rax
je 0x1402b63e5
lea rax, [rsp + 0xe0]
mov r9, r15
xor r8d, r8d
mov qword [rsp + 0x20], rax
mov edx, edi
xor ecx, ecx
call sub.IPHLPAPI.DLL_GetAdaptersAddresses
mov ebx, eax
test eax, eax
jne 0x1402b62c7
mov dword [rsp + 0xe8], r12d
mov ebp, r12d
mov qword [rsp + 0x48], r12
mov rdi, r12
mov rbx, r15
test r15, r15
je 0x1402b63c8
cmp dword [rbx + 0x68], 1
jne 0x1402b63bb
cmp qword [rbx + 0x18], r12
je 0x1402b63bb
mov r8, qword [rbx + 0x48]
mov r9d, 0xffffffff
mov qword [rsp + 0x38], r12
xor edx, edx
mov qword [rsp + 0x30], r12
mov ecx, 0xfde9
mov dword [rsp + 0x28], r12d
mov qword [rsp + 0x20], r12
call qword [sym.imp.KERNEL32.DLL_WideCharToMultiByte]
test eax, eax
jle 0x1402b6439
cdqe
add rdi, rax
mov rax, qword [rbx + 0x18]
mov qword [rsp + 0x48], rdi
test rax, rax
je 0x1402b63bb
nop dword [rax]
nop word [rax + rax]
mov rax, qword [rax + 8]
inc ebp
add rdi, 0x50
test rax, rax
jne 0x1402b63a0
mov dword [rsp + 0xe8], ebp
mov qword [rsp + 0x48], rdi
mov rbx, qword [rbx + 8]
test rbx, rbx
jne 0x1402b6341
mov rcx, rdi
call fcn.1402aabd0
mov qword [rsp + 0x70], rax
mov r12, rax
test rax, rax
jne 0x1402b6453
mov rcx, r15
call fcn.1402aaa20
mov eax, 0xfffff027
jmp 0x1402b66c8
sub ecx, 0x79
je 0x1402b6412
cmp ecx, 0x3e4
je 0x1402b6408
mov ecx, ebx
call fcn.1402bf520
jmp 0x1402b66c8
mov eax, 0xfffff008
jmp 0x1402b66c8
mov ecx, 1
call fcn.1402aabd0
test rax, rax
je 0x1402b63e5
mov dword [r14], r12d
mov qword [rbp], rax
xor eax, eax
jmp 0x1402b66c8
mov eax, 0xfffff024
jmp 0x1402b66c8
mov rcx, r15
call fcn.1402aaa20
call qword [sym.imp.KERNEL32.DLL_GetLastError]
mov ecx, eax
call fcn.1402bf520
jmp 0x1402b66c8
movsxd rax, ebp
mov rbx, rsi
mov qword [rsp + 0x90], r13
mov r14, r12
mov r13, r15
mov qword [rsp + 0x68], rbx
lea rcx, [rax + rax*4]
shl rcx, 4
add rcx, r12
mov qword [rsp + 0x50], rcx
test r15, r15
je 0x1402b66a1
mov edx, 0x7fffffff
nop word [rax + rax]
cmp dword [r13 + 0x68], 1
jne 0x1402b6688
cmp qword [r13 + 0x18], 0
je 0x1402b6688
mov r8, qword [r13 + 0x48]
mov rax, rdi
sub rax, rcx
add rax, r12
cmp rax, rdx
cmova rax, rdx
xor esi, esi
mov qword [rsp + 0x38], rsi
xor edx, edx
mov qword [rsp + 0x30], rsi
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rcx
lea r9d, [rsi - 1]
mov ecx, 0xfde9
call qword [sym.imp.KERNEL32.DLL_WideCharToMultiByte]
mov dword [rsp + 0x40], eax
test eax, eax
jle 0x1402b66e7
mov rax, qword [r13 + 0x18]
mov qword [rsp + 0x60], rax
test rax, rax
je 0x1402b6671
lea rbp, [r14 + 0x14]
mov r12, qword [rax + 0x10]
test rbx, rbx
je 0x1402b6511
movzx edi, byte [rax + 0x38]
jmp 0x1402b656a
mov rbx, qword [r13 + 0xb0]
mov edi, esi
test rbx, rbx
je 0x1402b6557
movzx r15d, word [r12]
mov r8, qword [rbx + 0x10]
cmp word [r8], r15w
jne 0x1402b6548
mov esi, dword [rbx + 0x20]
cmp esi, edi
jbe 0x1402b6548
mov ecx, r15d
mov r9d, esi
mov rdx, r12
call fcn.1402b5650
test eax, eax
cmovne edi, esi
mov rbx, qword [rbx + 8]
test rbx, rbx
jne 0x1402b6524
xor esi, esi
test edi, edi
jne 0x1402b656a
cmp word [r12], 0x17
mov edi, 0x20
mov eax, 0x80
cmove edi, eax
mov rax, qword [rsp + 0x50]
mov qword [r14 + 8], rsi
mov qword [r14 + 0x10], rsi
mov qword [r14 + 0x18], rsi
mov qword [r14 + 0x20], rsi
mov qword [r14 + 0x28], rsi
mov qword [r14 + 0x30], rsi
mov qword [r14 + 0x38], rsi
mov qword [r14 + 0x40], rsi
mov qword [r14 + 0x48], rsi
mov qword [r14], rax
cmp dword [r13 + 0x58], 6
jne 0x1402b65ad
mov eax, dword [r13 + 0x50]
mov dword [rbp - 0xc], eax
movzx eax, word [r13 + 0x54]
mov word [rbp - 8], ax
cmp dword [r13 + 0x64], 0x18
mov eax, esi
sete al
mov dword [rbp - 4], eax
movups xmm0, xmmword [r12]
cmp word [r12], 0x17
movups xmmword [rbp], xmm0
jne 0x1402b6619
movsd xmm1, qword [r12 + 0x10]
lea rcx, [rbp + 0x24]
movsd qword [rbp + 0x10], xmm1
mov edx, 0xff
mov eax, dword [r12 + 0x18]
mov dword [rbp + 0x18], eax
mov eax, reloc.WS2_32.dll_socket
mov ebx, edi
shr rbx, 3
mov r8, rbx
mov word [rbp + 0x1c], ax
call fcn.140337660
and edi, 7
je 0x1402b6643
mov ecx, 8
mov edx, 0xff
sub ecx, edi
shl dl, cl
mov byte [rbx + r14 + 0x38], dl
jmp 0x1402b6643
mov eax, 2
mov word [rbp + 0x1c], ax
test edi, edi
je 0x1402b663e
mov ecx, 0x20
mov edx, 0xffffffff
sub ecx, edi
shl edx, cl
mov ecx, edx
call qword [sym.imp.WS2_32.dll_htonl]
jmp 0x1402b6640
mov eax, esi
mov dword [rbp + 0x20], eax
mov rax, qword [rsp + 0x60]
add r14, 0x50
mov rbx, qword [rsp + 0x68]
add rbp, 0x50
mov rax, qword [rax + 8]
mov qword [rsp + 0x60], rax
test rax, rax
jne 0x1402b6502
mov rdi, qword [rsp + 0x48]
mov r12, qword [rsp + 0x70]
mov rcx, qword [rsp + 0x50]
mov edx, 0x7fffffff
movsxd rax, dword [rsp + 0x40]
add rcx, rax
mov qword [rsp + 0x50], rcx
mov r13, qword [r13 + 8]
test r13, r13
jne 0x1402b6490
mov ebp, dword [rsp + 0xe8]
mov r15, qword [rsp + 0x58]
mov rcx, r15
call fcn.1402aaa20
mov rax, qword [rsp + 0xd0]
mov qword [rax], r12
mov rax, qword [rsp + 0xd8]
mov dword [rax], ebp
xor eax, eax
mov r13, qword [rsp + 0x90]
mov rbx, qword [rsp + 0x98]
mov r15, qword [rsp + 0x88]
add rsp, 0xa0
pop r14
pop r12
pop rdi
pop rsi
pop rbp
ret
mov rcx, qword [rsp + 0x58]
call fcn.1402aaa20
mov rcx, r12
call fcn.1402aaa20
call qword [sym.imp.KERNEL32.DLL_GetLastError]
mov ecx, eax
call fcn.1402bf520
jmp 0x1402b66c0