Function at 0x1402f29ec
Capabilities:
Get local ipv4 addresses
Initialize winsock library

Disassembly:
mov rax, rsp
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x390
mov qword [rax - 0x2e8], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], rsi
mov rax, qword [0x1405420e0]
xor rax, rsp
mov qword [rsp + 0x380], rax
mov qword [rsp + 0x78], rdx
mov rsi, rcx
mov rcx, qword [rcx + 0x10]
mov r8d, dword [rcx + 0x14]
mov dword [rsp + 0x30], r8d
mov eax, dword [rcx + 0x18]
mov dword [rsp + 0x3c], eax
mov eax, dword [rcx + 0x20]
mov dword [rsp + 0x40], eax
mov eax, dword [rcx + 0x24]
mov dword [rsp + 0x44], eax
xor r15d, r15d
test r8d, r8d
jne 0x1402f2ac0
call fcn.1400550c0
mov rcx, qword [rax + 8]
cmp dword [rcx], 3
jbe 0x1402f2aa6
lea rax, str.Machine_info___ip_addresses_for_current_ip_interface_are_capped
mov qword [rsp + 0x370], rax
mov qword [rsp + 0x378], 0x80
lea rax, [rsp + 0x350]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 3
xor r9d, r9d
xor r8d, r8d
lea rdx, [0x14048baa8]
call fcn.140001208
lea r8, [rsp + 0x30]
lea rdx, str.interfaces
mov rcx, qword [rsi + 0x20]
call fcn.1402f67c0
jmp 0x1402f2e78
xorps xmm0, xmm0
movss dword [rsp + 0x90], xmm0
mov qword [rsp + 0x98], r15
mov qword [rsp + 0xa0], r15
xor r8d, r8d
xor edx, edx
call fcn.140077b68
mov qword [rsp + 0x98], rax
mov qword [rsp + 0xa8], r15
xorps xmm0, xmm0
movdqa xmmword [rsp + 0xb0], xmm0
movss xmm0, dword [0x140420290]
movss dword [rsp + 0x90], xmm0
mov edx, 8
lea rcx, [rsp + 0x90]
call fcn.14005e790
nop
lea r8, [0x1402f37f0]
lea rdx, [rsp + 0x90]
mov rcx, rsi
call fcn.1402f226c
mov ebx, eax
mov r12d, 7
test eax, eax
jns 0x1402f2bdf
mov qword [rsp + 0x2d0], r15
mov qword [rsp + 0x2d8], r12
mov word [rsp + 0x2c0], r15w
lea rdx, str.Machine_info___Failed_to_map_networks_by_adapters.
lea rcx, [rsp + 0x2c0]
call fcn.140055574
nop
mov qword [rsp + 0xe8], r15
mov qword [rsp + 0xf0], r12
mov word [rsp + 0xd8], r15w
lea rdx, str.AdapterNetworks
lea rcx, [rsp + 0xd8]
call fcn.140055574
lea r9, [rsp + 0x2c0]
mov r8d, ebx
lea rdx, [rsp + 0xd8]
mov rcx, rsi
call fcn.1402f624c
lea rcx, [rsp + 0xd8]
call fcn.140055f70
nop
lea rcx, [rsp + 0x2c0]
call fcn.140055f70
nop
mov ecx, 0x202
lea rdx, [rsp + 0x100]
call qword [sym.imp.WS2_32.dll_WSAStartup]
nop dword [rax + rax]
test eax, eax
jne 0x1402f37ca
movzx eax, word [rsp + 0x100]
cmp al, 2
jne 0x1402f3771
shr ax, 8
cmp al, 2
jne 0x1402f3771
mov byte [rsp + 0x34], 1
mov dword [rsp + 0x38], r15d
xor edx, edx
lea rcx, [rsp + 0x50]
call fcn.140083118
nop
lea rax, [rsp + 0x38]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
mov edi, 0xc6
mov edx, edi
xor ecx, ecx
call qword [sym.imp.IPHLPAPI.DLL_GetAdaptersAddresses]
nop dword [rax + rax]
mov ebx, eax
cmp eax, 0x6f
jne 0x1402f2c91
mov edx, dword [rsp + 0x38]
lea rcx, [rsp + 0x50]
call fcn.1400708ec
lea rax, [rsp + 0x38]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x50]
xor r8d, r8d
mov edx, edi
xor ecx, ecx
call qword [sym.imp.IPHLPAPI.DLL_GetAdaptersAddresses]
nop dword [rax + rax]
mov ebx, eax
test ebx, ebx
je 0x1402f2dad
mov qword [rsp + 0x2d0], r15
mov qword [rsp + 0x2d8], r12
mov word [rsp + 0x2c0], r15w
lea rdx, str.Failure_while_calling_GetAdaptersAddresses
lea rcx, [rsp + 0x2c0]
call fcn.140055574
nop
mov qword [rsp + 0xe8], r15
mov qword [rsp + 0xf0], r12
mov word [rsp + 0xd8], r15w
lea rdx, str.ipInterfaces
lea rcx, [rsp + 0xd8]
call fcn.140055574
movzx r8d, bx
or r8d, 0x80070000
test ebx, ebx
cmovle r8d, ebx
lea r9, [rsp + 0x2c0]
lea rdx, [rsp + 0xd8]
mov rcx, rsi
call fcn.1402f624c
lea rcx, [rsp + 0xd8]
call fcn.140055f70
nop
lea rcx, [rsp + 0x2c0]
call fcn.140055f70
nop
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x1402f2d8e
mov rdx, qword [rsp + 0x60]
sub rdx, rcx
mov rax, rcx
mov r13d, 0x1000
cmp rdx, r13
jb 0x1402f2d7b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1402f2d7b
call qword [sym.imp.api_ms_win_crt_private_l1_1_0.dll__o__invalid_parameter_noinfo_noreturn]
nop dword [rax + rax]
int3
call fcn.140356b5c
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x50], xmm0
mov qword [rsp + 0x60], r15
call qword [sym.imp.WS2_32.dll_WSACleanup]
nop dword [rax + rax]
nop
lea rcx, [rsp + 0x90]
call fcn.1402f39a0
jmp 0x1402f2e78
mov rbx, qword [rsp + 0x50]
mov eax, r15d
mov r13d, 0x1000
test rbx, rbx
je 0x1402f2e53
inc eax
mov dword [rsp + 0x48], eax
cmp eax, dword [rsp + 0x30]
jbe 0x1402f2ea5
call fcn.1400550c0
mov rcx, qword [rax + 8]
cmp dword [rcx], 3
jbe 0x1402f2e3d
lea rax, str.Machine_info___adapter_addresses_are_capped
mov qword [rsp + 0x2e0], rax
mov qword [rsp + 0x2e8], 0x58
lea rax, [rsp + 0x30]
mov qword [rsp + 0x2f0], rax
mov qword [rsp + 0x2f8], 4
lea rax, [rsp + 0x2c0]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 4
xor r9d, r9d
xor r8d, r8d
lea rdx, [0x14048bb0d]
call fcn.140001208
lea r8, [rsp + 0x30]
lea rdx, str.interfaces
mov rcx, qword [rsi + 0x20]
call fcn.1402f67c0
nop
lea rcx, [rsp + 0x50]
call fcn.14005d8ec
nop
call qword [sym.imp.WS2_32.dll_WSACleanup]
nop dword [rax + rax]
nop
lea rcx, [rsp + 0x90]
call fcn.1402f39a0
mov rcx, qword [rsp + 0x380]
xor rcx, rsp
call fcn.140356560
lea r11, [rsp + 0x390]
mov rbx, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
lea rcx, [rsp + 0x100]
call fcn.1400cafa8
lea rax, vtable.sense::cyberData::IpInterfaceEntity.0
mov qword [rsp + 0x100], rax
mov qword [rsp + 0x120], r15
mov qword [rsp + 0x128], SafeArrayLock
mov byte [rsp + 0x110], r15b
mov qword [rsp + 0x140], r15
mov qword [rsp + 0x148], r12
mov word [rsp + 0x130], r15w
xorps xmm0, xmm0
movdqa xmmword [rsp + 0x150], xmm0
xorps xmm1, xmm1
movdqa xmmword [rsp + 0x160], xmm1
movdqa xmmword [rsp + 0x170], xmm0
movdqa xmmword [rsp + 0x180], xmm1
movdqa xmmword [rsp + 0x190], xmm0
movdqa xmmword [rsp + 0x1a0], xmm1
movdqa xmmword [rsp + 0x1b0], xmm0
movdqa xmmword [rsp + 0x1c0], xmm1
movdqa xmmword [rsp + 0x1d0], xmm0
movdqa xmmword [rsp + 0x1e0], xmm1
movdqa xmmword [rsp + 0x1f0], xmm0
movdqa xmmword [rsp + 0x200], xmm1
and qword [rsp + 0x210], 0
mov rdi, qword [rbx + 0x18]
mov r15, qword [rbx + 0x30]
mov rax, qword [rbx + 0xd0]
mov qword [rsp + 0x70], rax
lea rdx, [0x1403c55d2]
xor r14d, r14d
cmp qword [rbx + 0x10], r14
cmovne rdx, qword [rbx + 0x10]
lea rcx, [rsp + 0x2a0]
call fcn.140072838
nop
lea rdx, [0x1403cb630]
cmp qword [rbx + 0x38], r14
cmovne rdx, qword [rbx + 0x38]
mov qword [rsp + 0xe8], r14
mov qword [rsp + 0xf0], r12
mov word [rsp + 0xd8], r14w
lea rcx, [rsp + 0xd8]
call fcn.140055574
nop
lea rdx, [rsp + 0x2a0]
lea rcx, [rsp + 0x110]
call fcn.1400d7278
mov r8d, 0xfde9
lea rdx, [rsp + 0x2a0]
lea rcx, [rsp + 0x350]
call fcn.1400a0868
nop
lea r8, [rsp + 0x350]
lea rdx, [rsp + 0x68]
lea rcx, [rsp + 0x90]
call fcn.1401a7b04
mov rax, qword [rsp + 0x68]
cmp rax, qword [rsp + 0x98]
je 0x1402f305c
lea rdx, [rax + 0x30]
lea rax, [rsp + 0x1f8]
cmp rax, rdx
je 0x1402f305c
mov r8, qword [rdx + 8]
mov rdx, qword [rdx]
lea rcx, [rsp + 0x1f8]
call fcn.1402f8a54
lea rdx, [rsp + 0xd8]
lea rcx, [rsp + 0x130]
call fcn.14006fe84
mov r8d, dword [rbx + 0x58]
add r8, 0x50
add r8, rbx
lea rdx, [rbx + 0x50]
lea rcx, [rsp + 0x1b0]
call fcn.1400a89d8
movzx eax, word [rbx + 4]
mov word [rsp + 0x212], ax
movzx eax, word [rbx + 0x6c]
mov word [rsp + 0x210], ax
mov eax, dword [rbx + 0xf8]
mov dword [rsp + 0x214], eax
xor r10d, r10d
mov r14d, r10d
test rdi, rdi
je 0x1402f31a7
inc r14d
cmp r14d, dword [rsp + 0x3c]
jbe 0x1402f3222
call fcn.1400550c0
mov r10, qword [rax + 8]
cmp dword [r10], 3
jbe 0x1402f3196
lea rax, str.Machine_info___ip_addresses_for_current_ip_interface_are_capped
mov qword [rsp + 0x2e0], rax
mov qword [rsp + 0x2e8], 0x80
xor r14d, r14d
lea rax, [rsp + 0x3c]
mov qword [rsp + 0x2f0], rax
mov qword [rsp + 0x2f8], 4
lea rax, [rsp + 0x110]
cmp qword [rsp + 0x128], 0x10
cmovae rax, qword [rsp + 0x110]
lea rdx, [0x1403c55d2]
mov ecx, r14d
test rax, rax
je 0x1402f3152
mov rdx, rax
or rcx, 0xffffffffffffffff
inc rcx
cmp byte [rax + rcx], r14b
jne 0x1402f3149
mov qword [rsp + 0x300], rdx
lea eax, [rcx + 1]
mov dword [rsp + 0x308], eax
mov dword [rsp + 0x30c], r14d
lea rax, [rsp + 0x2c0]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 5
xor r9d, r9d
xor r8d, r8d
lea rdx, [0x14048bacc]
mov rcx, r10
call fcn.140001208
lea r8, [rsp + 0x3c]
mov rcx, qword [rsi + 0x20]
call fcn.1402f68b0
xor r10d, r10d
mov rax, qword [rsp + 0x158]
sub rax, qword [rsp + 0x150]
cmp rax, 0x20
jae 0x1402f33df
mov rax, qword [rsp + 0x170]
sub rax, qword [rsp + 0x168]
cmp rax, 0x20
jae 0x1402f33df
mov rbx, qword [rbx + 8]
lea rcx, [rsp + 0x350]
call fcn.140055f70
nop
lea rcx, [rsp + 0xd8]
call fcn.140055f70
nop
lea rcx, [rsp + 0x2a0]
call fcn.14007269c
nop
lea rcx, [rsp + 0x100]
call fcn.1402f3824
mov eax, dword [rsp + 0x48]
xor r15d, r15d
jmp 0x1402f2dbb
mov r8, qword [rdi + 0x10]
cmp word [r8], 2
je 0x1402f330b
cmp word [r8], 0x17
jne 0x1402f33d6
lea rdx, [rsp + 0x2c0]
call fcn.1402f5778
mov r8b, byte [rdi + 0x38]
mov byte [rsp + 0x2d8], r8b
mov r9, qword [rsp + 0x170]
cmp qword [rsp + 0x178], r9
je 0x1402f32a2
xor r10d, r10d
mov rax, qword [rsp + 0x2c0]
mov qword [r9], rax
mov rax, qword [rsp + 0x2c8]
mov qword [r9 + 8], rax
mov rax, qword [rsp + 0x2d0]
mov qword [r9 + 0x10], rax
mov ecx, r10d
mov edx, r10d
mov byte [r9 + 0x18], r8b
add qword [rsp + 0x170], 0x20
jmp 0x1402f32cd
lea r8, [rsp + 0x2c0]
mov rdx, r9
lea rcx, [rsp + 0x168]
call fcn.1402f7e04
mov rdx, qword [rsp + 0x2d0]
mov rcx, qword [rsp + 0x2c0]
xor r10d, r10d
test rcx, rcx
je 0x1402f33d6
sub rdx, rcx
mov rax, rcx
cmp rdx, r13
jb 0x1402f33ce
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1402f33ce
call qword [sym.imp.api_ms_win_crt_private_l1_1_0.dll__o__invalid_parameter_noinfo_noreturn]
nop dword [rax + rax]
int3
lea rdx, [rsp + 0x2c0]
call fcn.1402f5710
mov r8b, byte [rdi + 0x38]
mov byte [rsp + 0x2d8], r8b
mov r9, qword [rsp + 0x158]
cmp qword [rsp + 0x160], r9
je 0x1402f3371
xor r10d, r10d
mov rax, qword [rsp + 0x2c0]
mov qword [r9], rax
mov rax, qword [rsp + 0x2c8]
mov qword [r9 + 8], rax
mov rax, qword [rsp + 0x2d0]
mov qword [r9 + 0x10], rax
mov ecx, r10d
mov edx, r10d
mov byte [r9 + 0x18], r8b
add qword [rsp + 0x158], 0x20
jmp 0x1402f339c
lea r8, [rsp + 0x2c0]
mov rdx, r9
lea rcx, [rsp + 0x150]
call fcn.1402f7e04
mov rdx, qword [rsp + 0x2d0]
mov rcx, qword [rsp + 0x2c0]
xor r10d, r10d
test rcx, rcx
je 0x1402f33d6
sub rdx, rcx
mov rax, rcx
cmp rdx, r13
jb 0x1402f33ce
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1402f33ce
call qword [sym.imp.api_ms_win_crt_private_l1_1_0.dll__o__invalid_parameter_noinfo_noreturn]
nop dword [rax + rax]
int3
call fcn.140356b5c
xor r10d, r10d
mov rdi, qword [rdi + 8]
jmp 0x1402f30b8
mov edi, r10d
test r15, r15
je 0x1402f34d3
inc edi
cmp edi, dword [rsp + 0x40]
jbe 0x1402f362b
call fcn.1400550c0
mov r10, qword [rax + 8]
cmp dword [r10], 3
jbe 0x1402f34be
lea rax, str.Machine_info___dns_services_for_current_ip_interface_are_capped
mov qword [rsp + 0x2e0], rax
mov qword [rsp + 0x2e8], 0x80
xor r14d, r14d
lea rax, [rsp + 0x40]
mov qword [rsp + 0x2f0], rax
mov qword [rsp + 0x2f8], 4
lea rax, [rsp + 0x110]
cmp qword [rsp + 0x128], 0x10
cmovae rax, qword [rsp + 0x110]
lea rdx, [0x1403c55d2]
mov ecx, r14d
test rax, rax
je 0x1402f347a
mov rdx, rax
or rcx, 0xffffffffffffffff
inc rcx
cmp byte [rax + rcx], r14b
jne 0x1402f3471
mov qword [rsp + 0x300], rdx
lea eax, [rcx + 1]
mov dword [rsp + 0x308], eax
mov dword [rsp + 0x30c], r14d
lea rax, [rsp + 0x2c0]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 5
xor r9d, r9d
xor r8d, r8d
lea rdx, [0x14048bb7f]
mov rcx, r10
call fcn.140001208
lea r8, [rsp + 0x40]
lea rdx, str.dnsServers
mov rcx, qword [rsi + 0x20]
call fcn.1402f67c0
xor r15d, r15d
mov edi, r15d
mov r14, qword [rsp + 0x70]
test r14, r14
je 0x1402f35c5
inc edi
cmp edi, dword [rsp + 0x44]
jbe 0x1402f3645
call fcn.1400550c0
mov r10, qword [rax + 8]
cmp dword [r10], 3
jbe 0x1402f35b7
lea rax, str.Machine_info___default_gateways_for_current_ip_interface_are_capped
mov qword [rsp + 0x2e0], rax
mov qword [rsp + 0x2e8], 0x88
lea rax, [rsp + 0x44]
mov qword [rsp + 0x2f0], rax
mov qword [rsp + 0x2f8], 4
lea rax, [rsp + 0x110]
cmp qword [rsp + 0x128], 0x10
cmovae rax, qword [rsp + 0x110]
lea rdx, [0x1403c55d2]
mov rcx, r15
test rax, rax
je 0x1402f3573
mov rdx, rax
or rcx, 0xffffffffffffffff
inc rcx
cmp byte [rax + rcx], r15b
jne 0x1402f356a
mov qword [rsp + 0x300], rdx
lea eax, [rcx + 1]
mov dword [rsp + 0x308], eax
mov dword [rsp + 0x30c], r15d
lea rax, [rsp + 0x2c0]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 5
xor r9d, r9d
xor r8d, r8d
lea rdx, [0x14048bb40]
mov rcx, r10
call fcn.140001208
lea r8, [rsp + 0x44]
mov rcx, qword [rsi + 0x20]
call fcn.1402f6974
mov r8, qword [rbx + 0xe8]
lea rdx, [rsp + 0x2c0]
call fcn.1402f5710
mov rdx, rax
lea rcx, [rsp + 0x1c8]
call fcn.1400a86c4
mov rcx, qword [rsp + 0x2c0]
test rcx, rcx
je 0x1402f3664
mov rdx, qword [rsp + 0x2d0]
sub rdx, rcx
mov rax, rcx
cmp rdx, r13
jb 0x1402f365f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1402f365f
call qword [sym.imp.api_ms_win_crt_private_l1_1_0.dll__o__invalid_parameter_noinfo_noreturn]
nop dword [rax + rax]
int3
lea rdx, [r15 + 0x10]
lea r8, [rsp + 0x180]
call fcn.1402f57e4
mov r15, qword [r15 + 8]
jmp 0x1402f33e2
lea rdx, [r14 + 0x10]
lea r8, [rsp + 0x198]
call fcn.1402f57e4
mov r14, qword [r14 + 8]
jmp 0x1402f34de
call fcn.140356b5c
mov r8, qword [rbx + 0x118]
lea rdx, [rsp + 0x2c0]
call fcn.1402f5778
mov rdx, rax
lea rcx, [rsp + 0x1e0]
call fcn.1400a86c4
mov rcx, qword [rsp + 0x2c0]
test rcx, rcx
je 0x1402f36cf
mov rdx, qword [rsp + 0x2d0]
sub rdx, rcx
mov rax, rcx
cmp rdx, r13
jb 0x1402f36ca
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1402f36ca
call qword [sym.imp.api_ms_win_crt_private_l1_1_0.dll__o__invalid_parameter_noinfo_noreturn]
nop dword [rax + rax]
int3
call fcn.140356b5c
mov eax, dword [rbx + 0x68]
mov dword [rsp + 0x218], eax
mov eax, dword [rbx + 0x64]
mov qword [rsp + 0x220], rax
mov eax, dword [rbx + 0x110]
mov dword [rsp + 0x228], eax
mov rdi, qword [rsp + 0x78]
mov rax, qword [rdi + 8]
cmp qword [rdi + 0x10], rax
je 0x1402f371a
lea rdx, [rsp + 0x100]
mov rcx, rax
call fcn.1402f8138
add qword [rdi + 8], 0x130
jmp 0x1402f372d
lea r8, [rsp + 0x100]
mov rdx, rax
mov rcx, rdi
call fcn.1402f70a4
mov rbx, qword [rbx + 8]
lea rcx, [rsp + 0x350]
call fcn.140055f70
nop
lea rcx, [rsp + 0xd8]
call fcn.140055f70
nop
lea rcx, [rsp + 0x2a0]
call fcn.14007269c
nop
lea rcx, [rsp + 0x100]
call fcn.1402f3824
mov eax, dword [rsp + 0x48]
jmp 0x1402f2dbb
call qword [sym.imp.WS2_32.dll_WSACleanup]
nop dword [rax + rax]
mov dword [rsp + 0x2c0], r15d
lea rax, str.Could_not_find_a_usable_version_of_Winsock.dll
mov qword [rsp + 0x2d0], rax
mov ecx, 0xc8
call fcn.140356b9c
lea rdx, [rsp + 0x2c0]
mov rcx, rax
call fcn.14004d588
mov qword [rsp + 0x80], rax
lea rdx, [0x1405145c0]
lea rcx, [rsp + 0x80]
call sub.api_ms_win_crt_private_l1_1_0.dll__CxxThrowException
mov rcx, qword [rsp + 0x3b8]
mov r9d, eax
lea r8, str.amcorewcd_sourcemachinestatecollectionmachineinfowinsockapihelper.h
mov edx, MsiGetActiveDatabase
call fcn.1401fee34
int3