Function at 0x407780
Capabilities:
Get local ipv4 addresses
Get networking interfaces

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x579d45
mov eax, dword fs:[0]
push eax
sub esp, 0x6c
mov eax, dword [0x5e1040]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x5c], edx
mov edi, ecx
mov dword [ebp - 0x58], edi
mov dword [ebp - 0x64], edi
mov eax, dword [ebp + 8]
xorps xmm0, xmm0
mov dword [ebp - 0x60], eax
mov eax, dword [ebp + 0xc]
movups xmmword [ebp - 0x24], xmm0
mov dword [ebp - 0x74], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x68], edi
push 8
mov dword [ebp - 0x68], eax
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
call fcn.004224c3
lea ecx, [ebp - 0x24]
add esp, 4
mov dword [eax + 4], 0
mov dword [ebp - 0x24], eax
mov dword [eax], ecx
lea eax, [ebp - 0x48]
mov dword [ebp - 4], 0
mov esi, dword [sym.imp.IPHLPAPI.DLL_GetAdaptersInfo]
push eax
push 0
mov dword [ebp - 0x48], 0
call esi
cmp eax, 0x6f
jne 0x4079a3
push dword [ebp - 0x48]
call fcn.0054cf40
add esp, 4
mov edi, eax
lea eax, [ebp - 0x48]
mov dword [ebp - 0x54], edi
push eax
push edi
call esi
mov dword [ebp - 0x44], edi
mov esi, edi
test edi, edi
je 0x4079a0
test eax, eax
jne 0x407997
nop word [eax + eax]
lea edi, [esi + 0x10c]
push 0x5d0d1c
push edi
call fcn.005476c0
add esp, 8
test eax, eax
jne 0x407987
push 0x5d0d24
push edi
call fcn.005476c0
add esp, 8
test eax, eax
jne 0x407987
mov ecx, 0x5d0d34
lea eax, [esi + 0x1b0]
nop dword [eax]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x4078d0
test dl, dl
je 0x4078cc
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x4078d0
add eax, 2
add ecx, 2
test dl, dl
jne 0x4078b0
xor eax, eax
jmp 0x4078d5
sbb eax, eax
or eax, 1
test eax, eax
je 0x407987
mov ecx, 0x5d0d3c
lea eax, [esi + 0x1d8]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x407908
test dl, dl
je 0x407904
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x407908
add eax, 2
add ecx, 2
test dl, dl
jne 0x4078e8
xor eax, eax
jmp 0x40790d
sbb eax, eax
or eax, 1
test eax, eax
je 0x407987
mov edi, dword [ebp - 0x14]
mov edx, dword [ebp - 0x1c]
lea eax, [edi + 1]
cmp edx, eax
ja 0x40792d
push ecx
lea ecx, [ebp - 0x24]
call fcn.00408780
mov edi, dword [ebp - 0x14]
mov edx, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x18]
lea eax, [edx - 1]
and ecx, eax
lea eax, [edx - 1]
mov dword [ebp - 0x18], ecx
add ecx, edi
mov edi, dword [ebp - 0x20]
and eax, ecx
shl eax, 2
mov dword [ebp - 0x50], ecx
mov dword [ebp - 0x4c], eax
cmp dword [edi + eax], 0
jne 0x407972
push 0x288
call fcn.004224c3
mov edx, dword [ebp - 0x4c]
mov ecx, eax
mov eax, dword [ebp - 0x20]
add esp, 4
mov dword [edx + eax], ecx
mov edx, dword [ebp - 0x1c]
mov edi, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x50]
lea eax, [edx - 1]
and eax, ecx
mov ecx, 0xa2
mov edi, dword [edi + eax*4]
rep movsd dword es:[edi], dword [esi]
inc dword [ebp - 0x14]
mov esi, dword [ebp - 0x44]
mov esi, dword [esi]
mov dword [ebp - 0x44], esi
test esi, esi
jne 0x407870
mov edi, dword [ebp - 0x54]
push edi
call fcn.0054c170
add esp, 4
mov edi, dword [ebp - 0x58]
or ecx, 0xffffffff
cmp dword [ebp - 0x14], 0
mov dword [ebp - 0x54], ecx
jbe 0x407d63
mov eax, dword [0x5e46dc]
xorps xmm0, xmm0
movlpd qword [ebp - 0x70], xmm0
test eax, eax
jne 0x407a9a
lea edx, [ebp - 0x4c]
mov dword [ebp - 0x44], eax
lea ecx, [ebp - 0x44]
mov dword [ebp - 0x4c], eax
call fcn.00407dc0
cmp dword [ebp - 0x44], 5
jle 0x407a8e
mov dword [0x5e46dc], 2
push 0x5d0d44
mov dword [ebp - 0x40], 0
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
mov eax, dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x64], esi
test esi, esi
je 0x407c24
push 0x5d0d60
push esi
call eax
lea ecx, [ebp - 0x40]
push ecx
call eax
test eax, eax
jne 0x407c48
mov eax, dword [ebp - 0x14]
xor edi, edi
test eax, eax
je 0x407c1f
mov ecx, dword [ebp - 0x6c]
mov dword [ebp - 0x50], ecx
mov ecx, dword [ebp - 0x70]
mov dword [ebp - 0x4c], ecx
mov ecx, dword [ebp - 0x40]
xor edx, edx
cmp dword [ecx], edx
jbe 0x407c13
mov esi, ecx
nop
cmp eax, edi
jbe 0x407dad
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x1c]
add eax, edi
dec ecx
and ecx, eax
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax + ecx*4]
mov eax, dword [esi + 0x10]
cmp eax, dword [ecx + 0x19c]
je 0x407ba0
mov ecx, dword [ebp - 0x40]
inc edx
mov eax, dword [ebp - 0x14]
add esi, 0x548
cmp edx, dword [ecx]
jb 0x407a50
jmp 0x407c10
mov dword [0x5e46dc], 1
jmp 0x407aa3
cmp eax, 1
jne 0x4079ed
mov esi, dword [sym.imp.IPHLPAPI.DLL_GetIfTable]
lea eax, [ebp - 0x44]
push 0
push eax
push 0
mov dword [ebp - 0x44], 0
call esi
mov eax, dword [ebp - 0x44]
mov ecx, 0xffffffff
add eax, 1
cmovb eax, ecx
push eax
call fcn.0054cf40
add esp, 4
mov dword [ebp - 0x40], eax
lea ecx, [ebp - 0x44]
push 0
push ecx
push eax
call esi
mov eax, dword [ebp - 0x14]
xor edi, edi
test eax, eax
je 0x407b8f
mov edx, dword [ebp - 0x6c]
mov ecx, dword [ebp - 0x40]
mov dword [ebp - 0x4c], edx
mov edx, dword [ebp - 0x70]
mov dword [ebp - 0x50], edx
nop dword [eax]
xor edx, edx
cmp dword [ecx], edx
jbe 0x407b86
lea esi, [ecx + 0x204]
cmp eax, edi
jbe 0x407dad
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
add ecx, edi
dec eax
and ecx, eax
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + ecx*4]
mov ecx, dword [esi]
cmp ecx, dword [eax + 0x19c]
je 0x407b46
mov ecx, dword [ebp - 0x40]
inc edx
mov eax, dword [ebp - 0x14]
add esi, 0x35c
cmp edx, dword [ecx]
jb 0x407b10
jmp 0x407b83
imul eax, edx, 0x35c
xor edx, edx
cmp edx, dword [ebp - 0x4c]
jb 0x407b80
ja 0x407b64
mov edx, dword [ebp - 0x40]
mov esi, dword [ebp - 0x50]
cmp dword [eax + edx + 0x22c], esi
jbe 0x407b80
mov edx, dword [ebp - 0x60]
mov dword [ebp - 0x54], edi
mov dword [edx], ecx
mov ecx, dword [ebp - 0x40]
mov edx, dword [eax + ecx + 0x22c]
mov dword [ebp - 0x50], edx
xor edx, edx
mov dword [ebp - 0x4c], edx
jmp 0x407b83
mov ecx, dword [ebp - 0x40]
mov eax, dword [ebp - 0x14]
inc edi
cmp edi, eax
jb 0x407b00
mov edx, dword [ebp - 0x40]
push edx
call fcn.0054c170
add esp, 4
jmp 0x407c31
mov ecx, dword [ebp - 0x50]
imul eax, edx, 0x548
mov edx, dword [ebp - 0x40]
mov dword [ebp - 0x44], eax
cmp dword [eax + edx + 0x4c4], ecx
jb 0x407c0d
ja 0x407bc6
mov ecx, dword [ebp - 0x4c]
cmp dword [eax + edx + 0x4c0], ecx
jbe 0x407c0d
add esi, 0x24
mov dword [ebp - 0x54], edi
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x407bd1
sub ecx, edx
sar ecx, 1
push ecx
mov ecx, dword [ebp - 0x5c]
push esi
call fcn.00403550
mov ecx, dword [ebp - 0x44]
mov edx, dword [ebp - 0x40]
mov esi, dword [ebp - 0x60]
mov eax, dword [ecx + edx + 0x10]
mov dword [esi], eax
mov esi, dword [ecx + edx + 0x4c0]
mov dword [ebp - 0x4c], esi
mov esi, dword [ecx + edx + 0x4c4]
mov dword [ebp - 0x50], esi
mov ecx, dword [ebp - 0x40]
mov eax, dword [ebp - 0x14]
inc edi
cmp edi, eax
jb 0x407a43
mov esi, dword [ebp - 0x64]
mov eax, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x5d0d6c
push esi
call eax
push dword [ebp - 0x40]
call eax
mov edi, dword [ebp - 0x54]
cmp edi, 0xffffffff
jle 0x407d63
cmp dword [ebp - 0x14], edi
jbe 0x407dad
jmp 0x407c79
xorps xmm0, xmm0
mov ecx, edi
push 0
movups xmmword [edi], xmm0
push 0x5cffd5
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
call fcn.004040d0
lea ecx, [ebp - 0x24]
call fcn.004083e0
mov eax, edi
jmp 0x407d92
mov ecx, dword [ebp - 0x18]
xorps xmm0, xmm0
mov edx, dword [ebp - 0x1c]
add ecx, edi
mov eax, dword [ebp - 0x20]
dec edx
and edx, ecx
mov dword [ebp - 0x2c], 0
movups xmmword [ebp - 0x3c], xmm0
mov dword [ebp - 0x28], 0
mov edx, dword [eax + edx*4]
add edx, 0x1b0
mov ecx, edx
lea esi, [ecx + 1]
nop word [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x407cb0
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x3c]
call fcn.004040d0
mov byte [ebp - 4], 1
cmp dword [ebp - 0x14], edi
jbe 0x407dad
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
add ecx, edi
dec eax
and ecx, eax
mov eax, dword [ebp - 0x20]
mov esi, dword [eax + ecx*4]
add esi, 0x1d8
mov edx, esi
lea edi, [edx + 1]
nop dword [eax]
mov al, byte [edx]
inc edx
test al, al
jne 0x407cf0
mov ecx, dword [ebp - 0x74]
sub edx, edi
push edx
push esi
call fcn.00403660
mov ecx, dword [ebp - 0x54]
cmp dword [ebp - 0x14], ecx
jbe 0x407dad
mov eax, dword [ebp - 0x1c]
add ecx, dword [ebp - 0x18]
dec eax
and ecx, eax
mov eax, dword [ebp - 0x20]
mov esi, dword [eax + ecx*4]
add esi, 8
mov edx, esi
lea edi, [edx + 1]
mov al, byte [edx]
inc edx
test al, al
jne 0x407d26
mov ecx, dword [ebp - 0x68]
sub edx, edi
push edx
push esi
call fcn.00403660
mov esi, dword [ebp - 0x58]
xorps xmm0, xmm0
movups xmmword [esi], xmm0
mov dword [esi + 0x10], 0
movups xmm0, xmmword [ebp - 0x3c]
mov dword [esi + 0x14], 0
movups xmmword [esi], xmm0
movq xmm0, qword [ebp - 0x2c]
movq qword [esi + 0x10], xmm0
jmp 0x407d88
mov esi, dword [ebp - 0x58]
xorps xmm0, xmm0
push 0
push 0x5cffd6
mov ecx, esi
movups xmmword [esi], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
call fcn.004040d0
lea ecx, [ebp - 0x24]
call fcn.004083e0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004224b5
mov esp, ebp
pop ebp
ret
call fcn.00408580
int3