Function at 0x1000d190
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 0x1000d4ab
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 0x1000d228
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 0x1000d436
mov eax, dword [ebp - 0x394]
jmp 0x1000d1c3
test esi, esi
jne 0x1000d436
mov dword [ebp - 0x390], esi
lea edi, [esi + 2]
mov esi, dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
nop
cmp dword [ebx + 0x44], 1
jne 0x1000d350
mov eax, dword [ebx + 0x40]
cmp eax, 6
je 0x1000d25b
cmp eax, 0x47
jne 0x1000d350
push str.Wi_Fi_Direct_Virtual
push dword [ebx + 0x24]
call dword [sym.imp.SHLWAPI.dll_StrStrIW]
test eax, eax
je 0x1000d2c1
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.1001068f
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.1000d7a0
push 2
push edi
call fcn.1001030c
add esp, 8
mov edi, 2
push 0x35c
lea eax, [ebp - 0x388]
push 0
push eax
call fcn.10015810
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 0x1000d350
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.1001068f
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.1000d7a0
push 2
push edi
call fcn.1001030c
add esp, 8
mov eax, dword [ebx + 8]
mov edi, 2
mov ebx, eax
test eax, eax
jne 0x1000d240
mov eax, dword [ebp - 0x38c]
test eax, eax
je 0x1000d37c
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.1000ced0
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.1000ced0
test eax, eax
js 0x1000d409
lea eax, [ebp - 0x390]
mov ecx, ebx
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.1000ced0
test eax, eax
js 0x1000d409
mov ecx, ebx
call fcn.1000ce10
imul ecx, dword [ebp - 0x38c], 0x58
add ecx, dword [ebx + 4]
call fcn.1000db20
test eax, eax
js 0x1000d409
imul ecx, dword [ebp - 0x390], 0x58
add ecx, dword [ebx + 4]
call fcn.1000db70
test eax, eax
je 0x1000d425
mov ecx, ebx
call fcn.1000cd70
test eax, eax
jne 0x1000d425
lea eax, [ebp - 0x24]
mov ecx, ebx
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.1000d0a0
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100102c8
mov esp, ebp
pop ebp
ret
push esi
push str.Call_to_GetAdaptersAddresses_failed_with_error:__d_n
call fcn.100091a0
add esp, 8
cmp esi, 0xe8
jne 0x1000d45e
push str._tNo_addresses_were_found_for_the_requested_parameters_n
call fcn.100091a0
add esp, 4
jmp 0x1000d362
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 0x1000d362
push dword [ebp - 0x398]
call dword [sym.imp.KERNEL32.dll_LocalFree]
test ebx, ebx
je 0x1000d4a4
push ebx
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
push 1
call fcn.1001c3c0
push str.Memory_allocation_failed_for_IP_ADAPTER_ADDRESSES_struct_n
call fcn.100091a0
add esp, 4
push 1
call fcn.1001c3c0
int3