Function at 0x1045c50
Capabilities:
Get local ipv4 addresses

Disassembly:
push 0x18
mov eax, 0x10a5b3d
call fcn.0107a6db
mov eax, dword [0x10b30cc]
mov ebx, 0x10b30cc
cmp eax, ebx
je 0x1045ca0
test byte [eax + 0x1c], 1
je 0x1045ca0
cmp byte [eax + 0x19], 5
jb 0x1045ca0
push dword [ebp + 0x18]
movzx ecx, byte [ebp + 0x14]
push dword [ebp + 8]
push ecx
movzx ecx, byte [ebp + 0x10]
push ecx
movzx ecx, byte [ebp + 0xc]
push ecx
push 0x1003c18
push 0x9c
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.0107be7a
or dword [ebp - 0x14], 0xffffffff
xor edi, edi
mov dword [ebp - 0x10], edi
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x1c], edi
mov ecx, dword [ebp + 0x18]
mov dword [ebp - 4], edi
call fcn.0104e40a
call fcn.01049c36
test eax, eax
je 0x1045ccf
call fcn.01049bdb
test eax, eax
jne 0x1045d0f
mov edi, 0x8000ffff
mov eax, dword [0x10b30cc]
cmp eax, ebx
je 0x1046147
test byte [eax + 0x1c], 4
je 0x1046147
cmp byte [eax + 0x19], 2
jb 0x1046147
push 0x1003c18
push 0x9d
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01026c05
jmp 0x1046147
cmp byte [ebp + 0x10], 0
mov esi, 0x80070057
jne 0x1045d4c
cmp byte [ebp + 0x14], 0
jne 0x1045d4c
mov edi, esi
mov eax, dword [0x10b30cc]
cmp eax, ebx
je 0x1045d51
test byte [eax + 0x1c], 4
je 0x1045d51
cmp byte [eax + 0x19], 2
jb 0x1045d51
push 0x1003c18
push 0x9e
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01026c05
mov eax, dword [0x10b30cc]
cmp byte [ebp + 0xc], 1
jne 0x1045d9a
cmp dword [ebp + 8], 0
jne 0x1045da0
mov edi, esi
cmp eax, ebx
je 0x1046147
test byte [eax + 0x1c], 4
je 0x1046147
cmp byte [eax + 0x19], 2
jb 0x1046147
push 0x1003c18
push 0x9f
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01026c05
mov eax, dword [0x10b30cc]
mov ebx, 0x10b30cc
cmp dword [ebp + 8], 0
je 0x1045de9
mov ecx, dword [ebp + 8]
movzx ecx, word [ecx]
cmp cx, 2
je 0x1045de9
cmp cx, 0x17
je 0x1045de9
mov edi, esi
cmp eax, ebx
je 0x1046147
test byte [eax + 0x1c], 4
je 0x1046147
cmp byte [eax + 0x19], 2
jb 0x1046147
movsx ecx, cx
push ecx
push 0x1003c18
push 0xa0
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01028164
test edi, edi
jl 0x1046147
cmp dword [ebp + 8], 0
lea ecx, [ebp - 0x24]
je 0x1045e11
mov esi, dword [ebp + 8]
movsx eax, word [esi]
mov dword [ebp + 8], eax
lea eax, [ebp + 8]
push eax
call fcn.01052635
push 2
pop ebx
jmp 0x1045e36
push 2
pop ebx
lea eax, [ebp - 0x18]
push eax
mov dword [ebp - 0x18], ebx
call fcn.01052635
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x18], 0x17
call fcn.01052635
mov esi, dword [ebp + 8]
cmp byte [ebp + 0x10], 0
jne 0x1045e4b
lea eax, [ebp + 0x10]
push eax
lea ecx, [ebp - 0x24]
mov dword [ebp + 0x10], ebx
call fcn.0104577c
cmp byte [ebp + 0x14], 0
jne 0x1045e64
lea eax, [ebp + 0x10]
push eax
lea ecx, [ebp - 0x24]
mov dword [ebp + 0x10], 0x17
call fcn.0104577c
test esi, esi
je 0x1045eb2
cmp dword [ebp - 0x20], 0
jne 0x1045eb2
xor edi, edi
mov eax, dword [0x10b30cc]
cmp eax, 0x10b30cc
je 0x1046159
test byte [eax + 0x1c], 4
je 0x1046159
cmp byte [eax + 0x19], 4
jb 0x1046159
movsx ecx, word [esi]
push ecx
push 0x1003c18
push 0xa1
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01028164
jmp 0x1046154
cmp byte [ebp + 0xc], 1
jne 0x1045f25
lea eax, [ebp - 0x14]
push eax
push esi
call fcn.0108195c
test eax, eax
je 0x1045f25
mov edi, eax
jle 0x1045ed6
and edi, 0xffff
or edi, 0x80070000
test edi, edi
jl 0x1045edf
mov edi, 0x80004005
mov ecx, dword [0x10b30cc]
cmp ecx, 0x10b30cc
je 0x1045f25
test byte [ecx + 0x1c], 4
je 0x1045f25
movzx edx, byte [ecx + 0x19]
mov dword [ebp + 0x10], eax
xor eax, eax
test edi, edi
setl al
dec eax
and eax, 3
add eax, ebx
cmp edx, eax
mov eax, dword [ebp + 0x10]
jl 0x1045f25
push eax
push edi
push 0x1003c18
push 0xa2
push dword [ecx + 0x14]
push dword [ecx + 0x10]
call fcn.0104cb2f
test edi, edi
jl 0x1046147
and dword [ebp + 0x14], 0
cmp dword [ebp - 0x20], 0
jbe 0x1046147
push dword [ebp + 0x14]
lea ecx, [ebp - 0x24]
call fcn.0103fb38
mov eax, dword [eax]
lea edx, [ebp + 0x10]
push edx
push dword [ebp - 0x10]
xor ecx, ecx
push ecx
push ecx
push eax
mov dword [ebp + 8], eax
mov dword [ebp + 0x10], ecx
call fcn.01081950
push 0xa
mov esi, eax
mov eax, dword [0x10b30cc]
pop ebx
cmp esi, 0x6f
jne 0x1045fdc
push dword [ebp - 0x10]
call fcn.0107a4d2
push dword [ebp + 0x10]
call fcn.0107a4e3
test eax, eax
pop ecx
pop ecx
mov dword [ebp - 0x10], eax
jne 0x1045fbf
push 8
mov edi, 0x8007000e
pop esi
mov eax, dword [0x10b30cc]
cmp eax, 0x10b30cc
je 0x1045fd9
test byte [eax + 0x1c], 4
je 0x1045fd9
cmp byte [eax + 0x19], 2
jb 0x1045fd9
push edi
push 0x1003c18
push 0xa3
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01028164
jmp 0x1045fd4
lea eax, [ebp + 0x10]
push eax
push dword [ebp - 0x10]
push 0
push 0
push dword [ebp + 8]
call fcn.01081950
mov esi, eax
mov eax, dword [0x10b30cc]
dec ebx
jne 0x1045f69
test esi, esi
je 0x1046037
mov edi, esi
jle 0x1045ff0
and edi, 0xffff
or edi, 0x80070000
test edi, edi
jl 0x1045ff9
mov edi, 0x80004005
cmp eax, 0x10b30cc
je 0x1046037
test byte [eax + 0x1c], 4
je 0x1046037
movzx ecx, byte [eax + 0x19]
xor edx, edx
test edi, edi
setl dl
dec edx
and edx, 3
inc edx
inc edx
cmp ecx, edx
jl 0x1046037
push esi
push edi
push 0x1003c18
push 0xa4
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.0104cb2f
mov eax, dword [0x10b30cc]
test edi, edi
jl 0x1046138
cmp dword [ebp + 0x10], 0x90
jae 0x104608a
mov edi, 0x8000ffff
cmp eax, 0x10b30cc
je 0x1046138
test byte [eax + 0x1c], 4
je 0x1046138
cmp byte [eax + 0x19], 2
jb 0x1046138
push 0x90
push dword [ebp + 0x10]
push edi
push 0x1003c18
push 0xa5
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.0104412d
test edi, edi
jl 0x1046138
mov esi, dword [ebp - 0x10]
jmp 0x10460f8
cmp esi, dword [ebp - 0x10]
jb 0x10460fe
mov ecx, dword [ebp + 0x10]
mov eax, esi
sub eax, dword [ebp - 0x10]
add ecx, 0xffffff70
cmp eax, ecx
ja 0x10460fe
cmp byte [ebp + 0xc], 1
je 0x10460c1
mov eax, dword [esi + 0x44]
cmp eax, 1
je 0x10460c1
cmp eax, 5
jne 0x10460f5
cmp byte [ebp + 0xc], 0
je 0x10460e3
cmp dword [ebp + 8], 2
jne 0x10460d5
mov eax, dword [ebp - 0x14]
cmp eax, dword [esi + 4]
je 0x10460e3
cmp dword [ebp + 8], 0x17
jne 0x10460f5
mov eax, dword [ebp - 0x14]
cmp eax, dword [esi + 0x48]
jne 0x10460f5
push dword [ebp + 0x18]
push dword [ebp + 0xc]
push esi
call fcn.01045a32
mov edi, eax
test edi, edi
jl 0x1046138
mov esi, dword [esi + 8]
test esi, esi
jne 0x1046097
jmp 0x1046138
mov edi, 0x8000ffff
mov eax, dword [0x10b30cc]
cmp eax, 0x10b30cc
je 0x1046138
test byte [eax + 0x1c], 4
je 0x1046138
cmp byte [eax + 0x19], 2
jb 0x1046138
push dword [ebp + 0x10]
push dword [ebp - 0x10]
push esi
push edi
push 0x1003c18
push 0xa6
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.010442ac
inc dword [ebp + 0x14]
mov eax, dword [ebp + 0x14]
cmp eax, dword [ebp - 0x20]
jb 0x1045f3b
push dword [ebp - 0x10]
call fcn.0107a4d2
test edi, edi
pop ecx
jl 0x104619a
mov eax, dword [0x10b30cc]
mov esi, dword [ebp + 0x18]
cmp dword [esi + 8], 0
jne 0x1046194
mov edi, 0x80070005
cmp eax, 0x10b30cc
je 0x104619d
test byte [eax + 0x1c], 4
je 0x104619d
cmp byte [eax + 0x19], 2
jb 0x104619d
push 0x1003c18
push 0xa7
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01026c05
mov eax, dword [0x10b30cc]
test edi, edi
jge 0x10461a9
jmp 0x104619d
mov esi, dword [ebp + 0x18]
mov ecx, esi
call fcn.0104e40a
mov eax, dword [0x10b30cc]
cmp eax, 0x10b30cc
je 0x10461e4
test byte [eax + 0x1c], 1
je 0x10461e4
movzx ecx, byte [eax + 0x19]
xor edx, edx
test edi, edi
setl dl
dec edx
and edx, 3
inc edx
inc edx
cmp ecx, edx
jl 0x10461e4
push dword [esi + 8]
push edi
push 0x1003c18
push 0xa8
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.0104cb2f
lea ecx, [ebp - 0x24]
call fcn.01060dd2
mov eax, edi
call fcn.0107a7c7
ret 0x14