Function at 0x1000d0c0
Capabilities:
Get local ipv4 addresses
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x39c
mov eax, dword [0x10047070]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov eax, 0x3a98
mov dword [ebp - 0x39c], ecx
push edi
mov dword [ebp - 0x398], 0
xor edi, edi
mov dword [ebp - 0x394], eax
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov ebx, eax
mov dword [ebp - 0x38c], ebx
test ebx, ebx
je 0x1000d3db
lea eax, [ebp - 0x394]
push eax
push ebx
push 0
push 0x10
push 0
call dword [sym.imp.IPHLPAPI.DLL_GetAdaptersAddresses]
mov esi, eax
cmp esi, 0x6f
jne 0x1000d158
push ebx
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
xor ebx, ebx
inc edi
mov dword [ebp - 0x38c], ebx
cmp edi, 3
jae 0x1000d366
mov eax, dword [ebp - 0x394]
jmp 0x1000d0f3
test esi, esi
jne 0x1000d366
mov dword [ebp - 0x390], esi
lea edi, [esi + 2]
mov esi, dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
nop
cmp dword [ebx + 0x44], 1
jne 0x1000d280
mov eax, dword [ebx + 0x40]
cmp eax, 6
je 0x1000d18b
cmp eax, 0x47
jne 0x1000d280
push str.Wi_Fi_Direct_Virtual
push dword [ebx + 0x24]
call dword [sym.imp.SHLWAPI.dll_StrStrIW]
test eax, eax
je 0x1000d1f1
push 0
push 0
push 0xffffffffffffffff
push dword [ebx + 0xc]
push 0
push 0
call esi
xor ecx, ecx
mov esi, eax
mul edi
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.100105bf
add esp, 4
mov edi, eax
push esi
mov esi, dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
push edi
push 0xffffffffffffffff
push dword [ebx + 0xc]
push 0
push 0
call esi
mov edx, edi
lea ecx, [ebp - 0x24]
call fcn.1000d6d0
push 2
push edi
call fcn.10010259
add esp, 8
mov edi, 2
push 0x35c
lea eax, [ebp - 0x388]
push 0
push eax
call fcn.100152f0
mov eax, dword [ebx + 4]
add esp, 0xc
mov dword [ebp - 0x188], eax
lea eax, [ebp - 0x388]
push eax
call dword [sym.imp.IPHLPAPI.DLL_GetIfEntry]
mov eax, dword [ebp - 0x160]
cmp eax, dword [ebp - 0x390]
jbe 0x1000d280
push 0
push 0
push 0xffffffffffffffff
push dword [ebx + 0xc]
mov dword [ebp - 0x390], eax
push 0
push 0
call esi
xor ecx, ecx
mov esi, eax
mul edi
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.100105bf
add esp, 4
mov edi, eax
push esi
mov esi, dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
push edi
push 0xffffffffffffffff
push dword [ebx + 0xc]
push 0
push 0
call esi
mov edx, edi
lea ecx, [ebp - 0x14]
call fcn.1000d6d0
push 2
push edi
call fcn.10010259
add esp, 8
mov eax, dword [ebx + 8]
mov edi, 2
mov ebx, eax
test eax, eax
jne 0x1000d170
mov eax, dword [ebp - 0x38c]
test eax, eax
je 0x1000d2ac
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov ebx, dword [ebp - 0x39c]
lea eax, [ebp - 0x38c]
push eax
lea eax, [ebp - 0x14]
mov dword [ebp - 0x38c], 0
push eax
mov ecx, ebx
call fcn.1000ce00
lea eax, [ebp - 0x38c]
mov dword [ebp - 0x38c], 0
push eax
lea eax, [ebp - 0x14]
mov dword [ebp - 0x390], 0
push eax
mov ecx, ebx
call fcn.1000ce00
test eax, eax
js 0x1000d339
lea eax, [ebp - 0x390]
mov ecx, ebx
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.1000ce00
test eax, eax
js 0x1000d339
mov ecx, ebx
call fcn.1000cd40
imul ecx, dword [ebp - 0x38c], 0x58
add ecx, dword [ebx + 4]
call fcn.1000da50
test eax, eax
js 0x1000d339
imul ecx, dword [ebp - 0x390], 0x58
add ecx, dword [ebx + 4]
call fcn.1000daa0
test eax, eax
je 0x1000d355
mov ecx, ebx
call fcn.1000cca0
test eax, eax
jne 0x1000d355
lea eax, [ebp - 0x24]
mov ecx, ebx
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.1000cfd0
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10010215
mov esp, ebp
pop ebp
ret
push esi
push str.Call_to_GetAdaptersAddresses_failed_with_error:__d_n
call fcn.100090d0
add esp, 8
cmp esi, 0xe8
jne 0x1000d38e
push str._tNo_addresses_were_found_for_the_requested_parameters_n
call fcn.100090d0
add esp, 4
jmp 0x1000d292
push 0
push 0
lea eax, [ebp - 0x398]
push eax
push 0x400
push esi
push 0
push 0x1300
call dword [sym.imp.KERNEL32.dll_FormatMessageW]
test eax, eax
je 0x1000d292
push dword [ebp - 0x398]
call dword [sym.imp.KERNEL32.dll_LocalFree]
test ebx, ebx
je 0x1000d3d4
push ebx
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
push 1
call fcn.1001bea0
push str.Memory_allocation_failed_for_IP_ADAPTER_ADDRESSES_struct_n
call fcn.100090d0
add esp, 4
push 1
call fcn.1001bea0
int3