Function at 0x10a457f
Capabilities:
Get local ipv4 addresses

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
mov eax, dword [0x10ed030]
cmp eax, 0x10ed030
je 0x10a45b8
test byte [eax + 0x1c], 1
je 0x10a45b8
cmp byte [eax + 0x19], 5
jb 0x10a45b8
push dword [ebp + 8]
push 0x100a1f8
push 0x19
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01027ecb
mov eax, dword [0x10ed030]
mov ecx, dword [ebp + 0xc]
push ebx
xor ebx, ebx
mov dword [ebp - 4], ebx
cmp ecx, ebx
jne 0x10a45cf
mov ebx, 0x80070057
jmp 0x10a4719
push esi
push edi
lea eax, [ebp - 4]
push eax
push ebx
push ebx
push 0xe
push dword [ebp + 8]
mov dword [ecx], ebx
call sub.IPHLPAPI.DLL_GetAdaptersAddresses
mov edi, eax
mov eax, dword [0x10ed030]
mov dword [ebp - 8], 0xa
mov esi, 0x8007000e
cmp edi, 0x6f
jne 0x10a4664
mov edi, dword [ebp + 0xc]
push dword [edi]
call fcn.010a093d
push dword [ebp - 4]
call fcn.010a094e
pop ecx
pop ecx
mov dword [edi], eax
test eax, eax
jne 0x10a4647
push 8
mov ebx, esi
pop edi
mov eax, dword [0x10ed030]
cmp eax, 0x10ed030
je 0x10a465f
test byte [eax + 0x1c], 2
je 0x10a465f
cmp byte [eax + 0x19], 2
jb 0x10a465f
push esi
push 0x100a1f8
push 0x1a
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01027ecb
jmp 0x10a465a
lea ecx, [ebp - 4]
push ecx
push eax
push 0
push 0xe
push dword [ebp + 8]
call sub.IPHLPAPI.DLL_GetAdaptersAddresses
mov edi, eax
mov eax, dword [0x10ed030]
dec dword [ebp - 8]
jne 0x10a45f6
test edi, edi
je 0x10a46bc
mov ebx, edi
jle 0x10a4678
and ebx, 0xffff
or ebx, 0x80070000
test ebx, ebx
jl 0x10a4681
mov ebx, 0x80004005
cmp eax, 0x10ed030
je 0x10a46bc
test byte [eax + 0x1c], 2
je 0x10a46bc
movzx ecx, byte [eax + 0x19]
xor edx, edx
test ebx, ebx
setl dl
dec edx
and edx, 3
inc edx
inc edx
cmp ecx, edx
jl 0x10a46bc
push edi
push ebx
push 0x100a1f8
push 0x1b
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.0102cde9
mov eax, dword [0x10ed030]
test ebx, ebx
jl 0x10a4704
mov edx, 0x178
cmp dword [ebp - 4], edx
jae 0x10a4700
mov ecx, 0x8000ffff
mov ebx, ecx
cmp eax, 0x10ed030
je 0x10a4704
test byte [eax + 0x1c], 2
je 0x10a4704
cmp byte [eax + 0x19], 2
jb 0x10a4704
push edx
push dword [ebp - 4]
push ecx
push 0x100a1f8
push 0x1c
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01047210
mov eax, dword [0x10ed030]
test ebx, ebx
jge 0x10a4717
mov esi, dword [ebp + 0xc]
push dword [esi]
call fcn.010a093d
and dword [esi], 0
mov eax, dword [0x10ed030]
pop ecx
pop edi
pop esi
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x10a4732
test ebx, ebx
jl 0x10a4729
mov eax, dword [ebp - 4]
jmp 0x10a472b
xor eax, eax
mov dword [ecx], eax
mov eax, dword [0x10ed030]
cmp eax, 0x10ed030
je 0x10a4786
test byte [eax + 0x1c], 1
je 0x10a4786
movzx edx, byte [eax + 0x19]
mov dword [ebp + 8], eax
xor eax, eax
test ebx, ebx
setl al
dec eax
and eax, 3
inc eax
inc eax
cmp edx, eax
mov eax, dword [ebp + 8]
jl 0x10a4786
test ecx, ecx
je 0x10a4762
mov edx, dword [ecx]
jmp 0x10a4764
xor edx, edx
mov ecx, dword [ebp + 0xc]
test ecx, ecx
je 0x10a476f
mov ecx, dword [ecx]
jmp 0x10a4771
xor ecx, ecx
push edx
push ecx
push ebx
push 0x100a1f8
push 0x1d
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01047210
mov eax, ebx
pop ebx
leave
ret 0xc