Function at 0x1401d8e90
Capabilities:
Get local ipv4 addresses

Disassembly:
push rsi
push r12
push r13
sub rsp, 0x70
mov rax, qword [0x140445eb8]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov r13, rdx
mov dword [rsp + 0x34], r9d
lea rdx, str.D:_tinderboxawin_7.0_srcVBoxMain_src_serverwinNetIf_win.cpp
mov dword [rsp + 0x30], 0x1130
mov ecx, 0x1130
mov rsi, r8
call qword [sym.imp.VBoxRT.dll_RTMemAllocTag]
mov r12, rax
test rax, rax
je 0x1401d912d
xor r8d, r8d
lea rax, [rsp + 0x30]
mov r9, r12
mov qword [rsp + 0x20], rax
xor ecx, ecx
lea edx, [r8 + 0x10]
call qword [sym.imp.IPHLPAPI.DLL_GetAdaptersAddresses]
cmp eax, 0x6f
jne 0x1401d8f3d
mov rcx, r12
call qword [sym.imp.VBoxRT.dll_RTMemFree]
mov ecx, dword [rsp + 0x30]
lea rdx, str.D:_tinderboxawin_7.0_srcVBoxMain_src_serverwinNetIf_win.cpp
call qword [sym.imp.VBoxRT.dll_RTMemAllocTag]
mov r12, rax
test rax, rax
je 0x1401d912d
xor r8d, r8d
lea rax, [rsp + 0x30]
mov r9, r12
mov qword [rsp + 0x20], rax
xor ecx, ecx
lea edx, [r8 + 0x10]
call qword [sym.imp.IPHLPAPI.DLL_GetAdaptersAddresses]
test eax, eax
jne 0x1401d9120
mov qword [rsp + 0x68], rbp
mov rbp, r12
mov qword [rsp + 0x60], rdi
mov rcx, qword [rbp + 0x10]
lea rdx, str.D:_tinderboxawin_7.0_srcVBoxMain_src_serverwinNetIf_win.cpp
call qword [sym.imp.VBoxRT.dll_RTStrDupTag]
mov rdi, rax
mov rcx, 0xffffffffffffffff
nop dword [rax]
cmp byte [rax + rcx + 1], 0
lea rcx, [rcx + 1]
jne 0x1401d8f70
cmp byte [rax], 0x7b
jne 0x1401d8f9e
cmp byte [rcx + rax - 1], 0x7d
jne 0x1401d8f9e
mov byte [rcx + rax - 1], 0
lea rdx, [rax + 1]
lea rcx, [rsi + 0x50]
call qword [sym.imp.VBoxRT.dll_RTUuidCompareStr]
test eax, eax
je 0x1401d8fb5
mov rcx, rdi
call qword [sym.imp.VBoxRT.dll_RTStrFree]
mov rbp, qword [rbp + 8]
test rbp, rbp
jne 0x1401d8f52
jmp 0x1401d90d8
mov rcx, qword [rbp + 0x18]
xor r9b, r9b
mov qword [rsp + 0x90], rbx
xor r8b, r8b
mov qword [rsp + 0x58], r14
mov qword [rsp + 0x50], r15
test rcx, rcx
je 0x1401d901c
nop word [rax + rax]
mov rax, qword [rcx + 0x10]
movzx edx, word [rax]
cmp dx, 2
je 0x1401d9005
cmp dx, 0x17
jne 0x1401d9013
test r9b, r9b
jne 0x1401d9013
movups xmm0, xmmword [rax + 8]
mov r9b, 1
movups xmmword [rsi + 0x10], xmm0
jmp 0x1401d9013
test r8b, r8b
jne 0x1401d9013
mov eax, dword [rax + 4]
mov r8b, 1
mov dword [rsi + 8], eax
mov rcx, qword [rcx + 8]
test rcx, rcx
jne 0x1401d8fe0
mov rbx, qword [rbp + 0xb0]
xor r14b, r14b
xor r15b, r15b
test rbx, rbx
je 0x1401d9085
nop
mov rax, qword [rbx + 0x10]
movzx ecx, word [rax]
cmp cx, 2
je 0x1401d9062
cmp cx, 0x17
jne 0x1401d907c
test r14b, r14b
jne 0x1401d907c
mov ecx, dword [rbx + 0x20]
cmp ecx, 0x80
ja 0x1401d907c
lea rdx, [rsi + 0x20]
mov r14b, 1
call qword [sym.imp.VBoxRT.dll_RTNetPrefixToMaskIPv6]
jmp 0x1401d907c
test r15b, r15b
jne 0x1401d907c
mov ecx, dword [rbx + 0x20]
cmp ecx, 0x20
ja 0x1401d907c
lea rdx, [rsi + 0xc]
mov r15b, 1
call qword [sym.imp.VBoxRT.dll_RTNetPrefixToMaskIPv4]
mov rbx, qword [rbx + 8]
test rbx, rbx
jne 0x1401d9030
cmp dword [rbp + 0x58], 6
mov r15, qword [rsp + 0x50]
mov r14, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x90]
jne 0x1401d90ab
mov eax, dword [rbp + 0x50]
mov dword [rsi + 0x3c], eax
movzx eax, word [rbp + 0x54]
mov word [rsi + 0x40], ax
mov edx, dword [rsp + 0x34]
xor eax, eax
mov dword [rsi + 0x44], 1
mov rcx, rdi
cmp dword [rbp + 0x68], 1
setne al
inc eax
mov dword [rsi + 0x48], eax
xor eax, eax
cmp dword [rbp + 4], edx
sete al
mov dword [rsi + 0x34], eax
call qword [sym.imp.VBoxRT.dll_RTStrFree]
lea rdx, [rsp + 0x38]
mov rcx, r13
call fcn.1401e09b0
mov rdi, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x68]
test eax, eax
jne 0x1401d9119
mov eax, dword [rsp + 0x38]
test eax, eax
je 0x1401d9105
mov dword [rsi + 8], eax
mov eax, dword [rsp + 0x3c]
mov dword [rsi + 0xc], eax
mov eax, dword [rsp + 0x40]
mov rcx, r12
mov dword [rsi + 0x30], eax
call qword [sym.imp.VBoxRT.dll_RTMemFree]
xor eax, eax
jmp 0x1401d9132
mov dword [rsi + 0x30], 0
mov rcx, r12
call qword [sym.imp.VBoxRT.dll_RTMemFree]
xor eax, eax
jmp 0x1401d9132
mov eax, 0xfffffff8
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.1401db5e0
add rsp, 0x70
pop r13
pop r12
pop rsi
ret