Function at 0x1402856f0
Capabilities:
Get local ipv4 addresses
Initialize winsock library
Resolve function by parsing pe exports

Disassembly:
mov rax, rsp
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x380
mov qword [rax - 0x2e8], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], rsi
mov rax, qword [0x14044e770]
xor rax, rsp
mov qword [rsp + 0x370], rax
mov qword [rsp + 0x70], rdx
mov r14, 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 esi, esi
test r8d, r8d
jne 0x1402857c3
call fcn.14004acb4
mov rcx, qword [rax + 8]
cmp dword [rcx], 3
jbe 0x1402857a9
lea rax, str.Machine_info___ip_addresses_for_current_ip_interface_are_capped
mov qword [rsp + 0x360], rax
mov qword [rsp + 0x368], 0x80
lea rax, [rsp + 0x340]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 3
xor r9d, r9d
xor r8d, r8d
lea rdx, [0x1403a3931]
call fcn.140001158
lea r8, [rsp + 0x30]
lea rdx, str.interfaces
mov rcx, qword [r14 + 0x20]
call fcn.140289be4
jmp 0x140286301
xorps xmm0, xmm0
movss dword [rsp + 0x80], xmm0
mov qword [rsp + 0x88], rsi
mov qword [rsp + 0x90], rsi
xor r8d, r8d
xor edx, edx
call fcn.140069240
mov qword [rsp + 0x88], rax
mov qword [rsp + 0x98], rsi
xorps xmm0, xmm0
movdqa xmmword [rsp + 0xa0], xmm0
movss xmm0, dword [0x14034f910]
movss dword [rsp + 0x80], xmm0
mov edx, 8
lea rcx, [rsp + 0x80]
call fcn.140056470
nop
lea r8, [0x1402863a0]
lea rdx, [rsp + 0x80]
mov rcx, r14
call fcn.140285054
mov ebx, eax
test eax, eax
jns 0x1402858a6
lea rdx, str.Machine_info___Failed_to_map_networks_by_adapters.
lea rcx, [rsp + 0xc8]
call fcn.14004a9e4
nop
lea rdx, str.AdapterNetworks
lea rcx, [rsp + 0x340]
call fcn.14004a9e4
lea r9, [rsp + 0xc8]
mov r8d, ebx
lea rdx, [rsp + 0x340]
mov rcx, r14
call fcn.140288764
lea rcx, [rsp + 0x340]
call fcn.14004b500
nop
lea rcx, [rsp + 0xc8]
call fcn.14004b500
nop
mov ecx, 0x202
lea rdx, [rsp + 0x110]
call qword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
jne 0x14028637b
movzx eax, word [rsp + 0x110]
cmp al, 2
jne 0x14028632e
shr ax, 8
cmp al, 2
jne 0x14028632e
mov byte [rsp + 0x34], 1
mov dword [rsp + 0x38], esi
xor edx, edx
lea rcx, [rsp + 0x50]
call fcn.140073a64
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]
mov ebx, eax
cmp eax, 0x6f
jne 0x140285945
mov edx, dword [rsp + 0x38]
lea rcx, [rsp + 0x50]
call fcn.1400625d4
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]
mov ebx, eax
test ebx, ebx
je 0x140285a29
lea rdx, str.Failure_while_calling_GetAdaptersAddresses
lea rcx, [rsp + 0xc8]
call fcn.14004a9e4
nop
lea rdx, str.ipInterfaces
lea rcx, [rsp + 0x340]
call fcn.14004a9e4
movzx r8d, bx
or r8d, 0x80070000
test ebx, ebx
cmovle r8d, ebx
lea r9, [rsp + 0xc8]
lea rdx, [rsp + 0x340]
mov rcx, r14
call fcn.140288764
lea rcx, [rsp + 0x340]
call fcn.14004b500
nop
lea rcx, [rsp + 0xc8]
call fcn.14004b500
nop
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x140285a10
mov rax, qword [rsp + 0x60]
sub rax, rcx
mov rdx, rcx
mov r12d, 0x1000
cmp rax, r12
jb 0x1402859fd
test dl, 0x1f
jne 0x1402859f6
mov rcx, qword [rcx - 8]
cmp rcx, rdx
jae 0x1402859f6
sub rdx, rcx
sub rdx, 8
cmp rdx, 0x1f
jbe 0x1402859fd
call qword [sym.imp.api_ms_win_crt_private_l1_1_0.dll__o__invalid_parameter_noinfo_noreturn]
int3
call fcn.1402aed28
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x50], xmm0
mov qword [rsp + 0x60], rsi
call qword [sym.imp.WS2_32.dll_WSACleanup]
nop
lea rcx, [rsp + 0x80]
call fcn.140286574
jmp 0x140286301
mov rcx, qword [rsp + 0x50]
mov rbx, rcx
mov eax, esi
mov r12d, 0x1000
test rbx, rbx
je 0x140285ad5
inc eax
mov dword [rsp + 0x48], eax
cmp eax, dword [rsp + 0x30]
jbe 0x140285b18
call fcn.14004acb4
mov rcx, qword [rax + 8]
cmp dword [rcx], 3
jbe 0x140285abb
lea rax, str.Machine_info___adapter_addresses_are_capped
mov qword [rsp + 0x2d0], rax
mov qword [rsp + 0x2d8], 0x58
lea rax, [rsp + 0x30]
mov qword [rsp + 0x2e0], rax
mov qword [rsp + 0x2e8], 4
lea rax, [rsp + 0x2b0]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 4
xor r9d, r9d
xor r8d, r8d
lea rdx, [0x1403a38fe]
call fcn.140001158
lea r8, [rsp + 0x30]
lea rdx, str.interfaces
mov rcx, qword [r14 + 0x20]
call fcn.140289be4
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x1402862ed
mov rax, qword [rsp + 0x60]
sub rax, rcx
mov rdx, rcx
cmp rax, r12
jb 0x1402862da
test dl, 0x1f
jne 0x140285b11
mov rcx, qword [rcx - 8]
cmp rcx, rdx
jae 0x140285b11
sub rdx, rcx
sub rdx, 8
cmp rdx, 0x1f
jbe 0x1402862da
call qword [sym.imp.api_ms_win_crt_private_l1_1_0.dll__o__invalid_parameter_noinfo_noreturn]
nop
lea rcx, [rsp + 0x110]
call fcn.1400ab130
lea rax, vtable.sense::cyberData::IpInterfaceEntity.0
mov qword [rsp + 0x110], rax
mov qword [rsp + 0x130], rsi
mov qword [rsp + 0x138], SafeArrayAccessData
mov byte [rsp + 0x120], sil
mov qword [rsp + 0x150], rsi
mov qword [rsp + 0x158], 7
mov word [rsp + 0x140], si
xorps xmm0, xmm0
movdqa xmmword [rsp + 0x160], xmm0
xorps xmm1, xmm1
movdqa xmmword [rsp + 0x170], xmm1
movdqa xmmword [rsp + 0x180], xmm0
movdqa xmmword [rsp + 0x190], xmm1
movdqa xmmword [rsp + 0x1a0], xmm0
movdqa xmmword [rsp + 0x1b0], xmm1
movdqa xmmword [rsp + 0x1c0], xmm0
movdqa xmmword [rsp + 0x1d0], xmm1
movdqa xmmword [rsp + 0x1e0], xmm0
movdqa xmmword [rsp + 0x1f0], xmm1
movdqa xmmword [rsp + 0x200], xmm0
movdqa xmmword [rsp + 0x210], xmm1
and qword [rsp + 0x220], 0
mov rdi, qword [rbx + 0x18]
mov r15, qword [rbx + 0x30]
mov r13, qword [rbx + 0xd0]
lea rdx, [0x1403074f2]
cmp qword [rbx + 0x10], rsi
cmovne rdx, qword [rbx + 0x10]
lea rcx, [rsp + 0xe8]
call fcn.1400641dc
nop
lea rdx, [0x14030cae0]
cmp qword [rbx + 0x38], rsi
cmovne rdx, qword [rbx + 0x38]
lea rcx, [rsp + 0x340]
call fcn.14004a9e4
nop
lea rdx, [rsp + 0xe8]
lea rcx, [rsp + 0x120]
call fcn.1400b6934
mov r8d, 0xfde9
lea rdx, [rsp + 0xe8]
lea rcx, [rsp + 0xc8]
call fcn.14008cc90
nop
lea r8, [rsp + 0xc8]
lea rdx, [rsp + 0x68]
lea rcx, [rsp + 0x80]
call fcn.14017c2b8
mov rax, qword [rsp + 0x68]
cmp rax, qword [rsp + 0x88]
je 0x140285cb1
lea rdx, [rax + 0x30]
lea rax, [rsp + 0x208]
cmp rax, rdx
je 0x140285cb1
mov r8, qword [rdx + 8]
mov rdx, qword [rdx]
lea rcx, [rsp + 0x208]
call fcn.14028a6d4
lea rdx, [rsp + 0x340]
lea rcx, [rsp + 0x140]
call fcn.140061d90
mov r8d, dword [rbx + 0x58]
add r8, 0x50
add r8, rbx
lea rdx, [rbx + 0x50]
lea rcx, [rsp + 0x1c0]
call fcn.140092a08
movzx eax, word [rbx + 4]
mov word [rsp + 0x222], ax
movzx eax, word [rbx + 0x6c]
mov word [rsp + 0x220], ax
mov eax, dword [rbx + 0xf8]
mov dword [rsp + 0x224], eax
test rdi, rdi
je 0x140285dee
inc esi
cmp esi, dword [rsp + 0x3c]
jbe 0x140285e6d
call fcn.14004acb4
mov r10, qword [rax + 8]
cmp dword [r10], 3
jbe 0x140285de0
lea rax, str.Machine_info___ip_addresses_for_current_ip_interface_are_capped
mov qword [rsp + 0x2d0], rax
mov qword [rsp + 0x2d8], 0x80
xor r8d, r8d
lea rax, [rsp + 0x3c]
mov qword [rsp + 0x2e0], rax
mov qword [rsp + 0x2e8], 4
lea rax, [rsp + 0x120]
cmp qword [rsp + 0x138], 0x10
cmovae rax, qword [rsp + 0x120]
lea rdx, [0x1403074f2]
mov ecx, r8d
test rax, rax
je 0x140285d9f
mov rdx, rax
or rcx, 0xffffffffffffffff
inc rcx
cmp byte [rax + rcx], r8b
jne 0x140285d96
mov qword [rsp + 0x2f0], rdx
lea eax, [rcx + 1]
mov dword [rsp + 0x2f8], eax
mov dword [rsp + 0x2fc], r8d
lea rax, [rsp + 0x2b0]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 5
xor r9d, r9d
lea rdx, [0x1403a38bd]
mov rcx, r10
call fcn.140001158
lea r8, [rsp + 0x3c]
mov rcx, qword [r14 + 0x20]
call fcn.140289cd0
mov rax, qword [rsp + 0x168]
sub rax, qword [rsp + 0x160]
cmp rax, 0x20
jae 0x140285f7b
mov rax, qword [rsp + 0x180]
sub rax, qword [rsp + 0x178]
cmp rax, 0x20
jae 0x140285f7b
mov rbx, qword [rbx + 8]
lea rcx, [rsp + 0xc8]
call fcn.14004b500
nop
lea rcx, [rsp + 0x340]
call fcn.14004b500
nop
lea rcx, [rsp + 0xe8]
call fcn.140052244
nop
lea rcx, [rsp + 0x110]
call fcn.1402863cc
mov rcx, qword [rsp + 0x50]
mov eax, dword [rsp + 0x48]
xor esi, esi
jmp 0x140285a39
mov r8, qword [rdi + 0x10]
cmp word [r8], 2
je 0x140285efe
cmp word [r8], 0x17
jne 0x140285f72
lea rdx, [rsp + 0x2b0]
call fcn.140287db8
mov al, byte [rdi + 0x38]
mov byte [rsp + 0x2c8], al
lea rdx, [rsp + 0x2b0]
lea rcx, [rsp + 0x178]
call fcn.140289460
nop
mov rcx, qword [rsp + 0x2b0]
test rcx, rcx
je 0x140285f72
mov rax, qword [rsp + 0x2c0]
sub rax, rcx
mov rdx, rcx
cmp rax, r12
jb 0x140285f6d
test dl, 0x1f
jne 0x140285ef7
mov rcx, qword [rcx - 8]
cmp rcx, rdx
jae 0x140285ef7
sub rdx, rcx
sub rdx, 8
cmp rdx, 0x1f
jbe 0x140285f6d
call qword [sym.imp.api_ms_win_crt_private_l1_1_0.dll__o__invalid_parameter_noinfo_noreturn]
int3
lea rdx, [rsp + 0x2b0]
call fcn.140287d58
mov al, byte [rdi + 0x38]
mov byte [rsp + 0x2c8], al
lea rdx, [rsp + 0x2b0]
lea rcx, [rsp + 0x160]
call fcn.140289460
nop
mov rcx, qword [rsp + 0x2b0]
test rcx, rcx
je 0x140285f72
mov rax, qword [rsp + 0x2c0]
sub rax, rcx
mov rdx, rcx
cmp rax, r12
jb 0x140285f6d
test dl, 0x1f
jne 0x140285f66
mov rcx, qword [rcx - 8]
cmp rcx, rdx
jae 0x140285f66
sub rdx, rcx
sub rdx, 8
cmp rdx, 0x1f
jbe 0x140285f6d
call qword [sym.imp.api_ms_win_crt_private_l1_1_0.dll__o__invalid_parameter_noinfo_noreturn]
int3
call fcn.1402aed28
mov rdi, qword [rdi + 8]
jmp 0x140285d07
xor esi, esi
mov edi, esi
test r15, r15
je 0x14028606c
inc edi
cmp edi, dword [rsp + 0x40]
jbe 0x1402861b9
call fcn.14004acb4
mov r10, qword [rax + 8]
cmp dword [r10], 3
jbe 0x140286057
lea rax, str.Machine_info___dns_services_for_current_ip_interface_are_capped
mov qword [rsp + 0x2d0], rax
mov qword [rsp + 0x2d8], 0x80
lea rax, [rsp + 0x40]
mov qword [rsp + 0x2e0], rax
mov qword [rsp + 0x2e8], 4
lea rax, [rsp + 0x120]
cmp qword [rsp + 0x138], 0x10
cmovae rax, qword [rsp + 0x120]
lea rdx, [0x1403074f2]
mov rcx, rsi
test rax, rax
je 0x140286014
mov rdx, rax
or rcx, 0xffffffffffffffff
inc rcx
cmp byte [rax + rcx], sil
jne 0x14028600b
mov qword [rsp + 0x2f0], rdx
lea eax, [rcx + 1]
mov dword [rsp + 0x2f8], eax
mov dword [rsp + 0x2fc], esi
lea rax, [rsp + 0x2b0]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 5
xor r9d, r9d
xor r8d, r8d
lea rdx, [0x1403a3882]
mov rcx, r10
call fcn.140001158
lea r8, [rsp + 0x40]
lea rdx, str.dnsServers
mov rcx, qword [r14 + 0x20]
call fcn.140289be4
mov edi, esi
test r13, r13
je 0x140286153
inc edi
cmp edi, dword [rsp + 0x44]
jbe 0x1402861d3
call fcn.14004acb4
mov r10, qword [rax + 8]
cmp dword [r10], 3
jbe 0x140286145
lea rax, str.Machine_info___default_gateways_for_current_ip_interface_are_capped
mov qword [rsp + 0x2d0], rax
mov qword [rsp + 0x2d8], 0x88
lea rax, [rsp + 0x44]
mov qword [rsp + 0x2e0], rax
mov qword [rsp + 0x2e8], 4
lea rcx, [rsp + 0x120]
cmp qword [rsp + 0x138], 0x10
cmovae rcx, qword [rsp + 0x120]
lea rdx, [0x1403074f2]
mov rax, rsi
test rcx, rcx
je 0x140286103
mov rdx, rcx
or rax, 0xffffffffffffffff
inc rax
cmp byte [rcx + rax], sil
jne 0x1402860fa
mov qword [rsp + 0x2f0], rdx
inc eax
mov dword [rsp + 0x2f8], eax
mov dword [rsp + 0x2fc], esi
lea rax, [rsp + 0x2b0]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 5
xor r9d, r9d
xor r8d, r8d
lea rdx, [0x1403a3843]
mov rcx, r10
call fcn.140001158
lea r8, [rsp + 0x44]
mov rcx, qword [r14 + 0x20]
call fcn.140289d8c
mov r8, qword [rbx + 0xe8]
lea rdx, [rsp + 0x2b0]
call fcn.140287d58
mov rdx, rax
lea rcx, [rsp + 0x1d8]
call fcn.140092780
mov rcx, qword [rsp + 0x2b0]
test rcx, rcx
je 0x1402861f2
mov rax, qword [rsp + 0x2c0]
sub rax, rcx
mov rdx, rcx
cmp rax, r12
jb 0x1402861ed
test dl, 0x1f
jne 0x1402861b2
mov rcx, qword [rcx - 8]
cmp rcx, rdx
jae 0x1402861b2
sub rdx, rcx
sub rdx, 8
cmp rdx, 0x1f
jbe 0x1402861ed
call qword [sym.imp.api_ms_win_crt_private_l1_1_0.dll__o__invalid_parameter_noinfo_noreturn]
int3
lea rdx, [r15 + 0x10]
lea r8, [rsp + 0x190]
call fcn.140287e1c
mov r15, qword [r15 + 8]
jmp 0x140285f7f
lea rdx, [r13 + 0x10]
lea r8, [rsp + 0x1a8]
call fcn.140287e1c
mov r13, qword [r13 + 8]
jmp 0x14028606e
call fcn.1402aed28
mov r8, qword [rbx + 0x118]
lea rdx, [rsp + 0x2b0]
call fcn.140287db8
mov rdx, rax
lea rcx, [rsp + 0x1f0]
call fcn.140092780
mov rcx, qword [rsp + 0x2b0]
test rcx, rcx
je 0x14028625d
mov rax, qword [rsp + 0x2c0]
sub rax, rcx
mov rdx, rcx
cmp rax, r12
jb 0x140286258
test dl, 0x1f
jne 0x140286251
mov rcx, qword [rcx - 8]
cmp rcx, rdx
jae 0x140286251
sub rdx, rcx
sub rdx, 8
cmp rdx, 0x1f
jbe 0x140286258
call qword [sym.imp.api_ms_win_crt_private_l1_1_0.dll__o__invalid_parameter_noinfo_noreturn]
int3
call fcn.1402aed28
mov eax, dword [rbx + 0x68]
mov dword [rsp + 0x228], eax
mov eax, dword [rbx + 0x64]
mov qword [rsp + 0x230], rax
mov eax, dword [rbx + 0x110]
mov dword [rsp + 0x238], eax
lea rdx, [rsp + 0x110]
mov rcx, qword [rsp + 0x70]
call fcn.140288bec
mov rbx, qword [rbx + 8]
lea rcx, [rsp + 0xc8]
call fcn.14004b500
nop
lea rcx, [rsp + 0x340]
call fcn.14004b500
nop
lea rcx, [rsp + 0xe8]
call fcn.140052244
nop
lea rcx, [rsp + 0x110]
call fcn.1402863cc
mov rcx, qword [rsp + 0x50]
mov eax, dword [rsp + 0x48]
jmp 0x140285a39
call fcn.1402aed28
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x50], xmm0
mov qword [rsp + 0x60], rsi
call qword [sym.imp.WS2_32.dll_WSACleanup]
nop
lea rcx, [rsp + 0x80]
call fcn.140286574
mov rcx, qword [rsp + 0x370]
xor rcx, rsp
call fcn.1402ae860
lea r11, [rsp + 0x380]
mov rbx, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
call qword [sym.imp.WS2_32.dll_WSACleanup]
nop
mov dword [rsp + 0x2b0], esi
lea rax, str.Could_not_find_a_usable_version_of_Winsock.dll
mov qword [rsp + 0x2c0], rax
mov ecx, 0xc8
call fcn.1402aee08
lea rdx, [rsp + 0x2b0]
mov rcx, rax
call fcn.140044028
mov qword [rsp + 0x78], rax
lea rdx, [0x14042fd08]
lea rcx, [rsp + 0x78]
call sub.api_ms_win_crt_private_l1_1_0.dll__CxxThrowException
mov rcx, qword [rsp + 0x3a8]
mov r9d, eax
lea r8, str.amcorewcd_sourcemachinestatecollectionmachineinfowinsockapihelper.h
mov edx, 0x2a
call fcn.1401c0400
int3