Function at 0x10056920
Capabilities:
Get local ipv4 addresses

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1008dde3
mov eax, dword fs:[0]
push eax
sub esp, 0x1bc
mov eax, dword [0x100a70c0]
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 - 0xac], ecx
mov edi, dword [ebp + 8]
lea eax, [ebp - 0xb8]
mov esi, dword [sym.imp.IPHLPAPI.DLL_GetAdaptersInfo]
push eax
push 0
mov dword [ebp - 0xa8], edi
call esi
cmp eax, 0x6f
jne 0x10057480
push dword [ebp - 0xb8]
call fcn.100635e2
add esp, 4
mov dword [ebp - 0xb0], eax
lea ecx, [ebp - 0xb8]
push ecx
push eax
call esi
test eax, eax
je 0x100569a5
push 1
push dword [ebp - 0xb0]
jmp 0x10057478
mov esi, dword [ebp - 0xb0]
mov dword [ebp - 0xa4], esi
call fcn.10028d30
mov edx, dword [eax + 0x3bc]
add eax, 0x3ac
mov ecx, closesocket
sub ecx, edx
cmp ecx, 0xc
jb 0x1005749d
cmp dword [eax + 0x14], 0xf
jbe 0x100569d9
mov eax, dword [eax]
push 0xc
push str._wintunwocks
push edx
push eax
push ecx
push dword [ebp - 0xac]
lea ecx, [ebp - 0xa0]
call fcn.10004340
mov dword [ebp - 4], 0
xorps xmm0, xmm0
mov eax, dword [str.10.10.]
movups xmmword [ebp - 0x88], xmm0
mov dword [ebp - 0x88], eax
mov ax, word [0x1009b1b0]
mov dword [ebp - 0x78], 6
mov dword [ebp - 0x74], 0xf
mov word [ebp - 0x84], ax
mov byte [ebp - 0x82], 0
mov byte [ebp - 4], 1
call fcn.10028d30
add eax, 0x3c4
lea ecx, [ebp - 0x70]
push eax
call fcn.10003d00
mov byte [ebp - 4], 2
nop dword [eax]
add esi, 0x10c
mov dword [ebp - 0x1c8], 0
mov ecx, esi
mov dword [ebp - 0x48], 0
xorps xmm0, xmm0
mov dword [ebp - 0x44], 0
movups xmmword [ebp - 0x58], xmm0
lea edx, [ecx + 1]
nop word [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10056a80
sub ecx, edx
push ecx
push esi
lea ecx, [ebp - 0x58]
call fcn.10003170
mov esi, dword [ebp - 0xa4]
xorps xmm0, xmm0
add esi, 0x1b0
mov byte [ebp - 4], 3
mov ecx, esi
mov dword [ebp - 0x18], 0
movups xmmword [ebp - 0x28], xmm0
mov dword [ebp - 0x14], 0
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10056ac0
sub ecx, edx
push ecx
push esi
lea ecx, [ebp - 0x28]
call fcn.10003170
mov eax, dword [ebp - 0xac]
mov byte [ebp - 4], 4
cmp dword [eax + 4], 3
je 0x10056dd3
call fcn.10028d30
cmp dword [eax + 0x378], 0xf
lea edx, [eax + 0x364]
jbe 0x10056b01
mov edx, dword [eax + 0x364]
push dword [eax + 0x374]
cmp dword [ebp - 0x44], 0xf
lea ecx, [ebp - 0x58]
push edx
cmova ecx, dword [ebp - 0x58]
mov edx, dword [ebp - 0x48]
push 0
call fcn.10004050
add esp, 0xc
cmp eax, 0xffffffff
je 0x10056c28
cmp dword [ebp - 0x14], 0xf
lea eax, [ebp - 0x88]
mov edx, dword [ebp - 0x18]
lea ecx, [ebp - 0x28]
cmova ecx, dword [ebp - 0x28]
push 6
push eax
push 0
call fcn.10004050
add esp, 0xc
cmp eax, 0xffffffff
je 0x10056c28
mov edx, dword [ebp - 0xa4]
lea edi, [ebp - 0x1c4]
mov ecx, 0x21
mov dword [ebp - 0x30], 0
xorps xmm0, xmm0
mov dword [ebp - 0x2c], 0
movups xmmword [ebp - 0x40], xmm0
mov eax, dword [edx + 0x19c]
lea esi, [edx + 0x10c]
rep movsd dword es:[edi], dword [esi]
lea esi, [edx + 0x1b0]
mov dword [ebp - 0xbc], eax
mov ecx, esi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10056b98
sub ecx, edx
push ecx
push esi
lea ecx, [ebp - 0x40]
call fcn.10003170
lea ecx, [ebp - 0x40]
call fcn.1001a9b0
mov ecx, dword [ebp - 0x2c]
mov dword [ebp - 0xc0], eax
cmp ecx, 0xf
jbe 0x10056bed
mov edx, dword [ebp - 0x40]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10056be3
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100574a2
push ecx
push edx
call fcn.100635d4
add esp, 8
mov edi, dword [ebp - 0xa8]
mov eax, dword [edi + 4]
cmp eax, dword [edi + 8]
je 0x10056c19
mov ecx, 0x44
lea esi, [ebp - 0x1c8]
mov edi, eax
rep movsd dword es:[edi], dword [esi]
mov edi, dword [ebp - 0xa8]
add dword [edi + 4], 0x110
jmp 0x10056c28
lea ecx, [ebp - 0x1c8]
push ecx
push eax
mov ecx, edi
call fcn.10057680
call fcn.10028d30
cmp dword [eax + 0x3a8], 0xf
lea edx, [eax + 0x394]
jbe 0x10056c42
mov edx, dword [eax + 0x394]
push dword [eax + 0x3a4]
cmp dword [ebp - 0x44], 0xf
lea ecx, [ebp - 0x58]
push edx
cmova ecx, dword [ebp - 0x58]
mov edx, dword [ebp - 0x48]
push 0
call fcn.10004050
add esp, 0xc
cmp eax, 0xffffffff
je 0x10056d40
mov edx, dword [ebp - 0xa4]
lea edi, [ebp - 0x1c4]
mov ecx, 0x21
mov dword [ebp - 0x30], 0
xorps xmm0, xmm0
mov dword [ebp - 0x2c], 0
movups xmmword [ebp - 0x40], xmm0
mov eax, dword [edx + 0x19c]
lea esi, [edx + 0x10c]
rep movsd dword es:[edi], dword [esi]
lea esi, [edx + 0x1b0]
mov dword [ebp - 0xbc], eax
mov ecx, esi
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10056cb0
sub ecx, edx
push ecx
push esi
lea ecx, [ebp - 0x40]
call fcn.10003170
lea ecx, [ebp - 0x40]
call fcn.1001a9b0
mov ecx, dword [ebp - 0x2c]
mov dword [ebp - 0xc0], eax
cmp ecx, 0xf
jbe 0x10056d05
mov edx, dword [ebp - 0x40]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10056cfb
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100574a2
push ecx
push edx
call fcn.100635d4
add esp, 8
mov edi, dword [ebp - 0xa8]
mov eax, dword [edi + 4]
cmp eax, dword [edi + 8]
je 0x10056d31
mov ecx, 0x44
lea esi, [ebp - 0x1c8]
mov edi, eax
rep movsd dword es:[edi], dword [esi]
mov edi, dword [ebp - 0xa8]
add dword [edi + 4], 0x110
jmp 0x10056d40
lea ecx, [ebp - 0x1c8]
push ecx
push eax
mov ecx, edi
call fcn.10057680
call fcn.10028d30
cmp dword [eax + 0x390], 0xf
lea edx, [eax + 0x37c]
jbe 0x10056d5a
mov edx, dword [eax + 0x37c]
push dword [eax + 0x38c]
cmp dword [ebp - 0x44], 0xf
lea ecx, [ebp - 0x58]
push edx
cmova ecx, dword [ebp - 0x58]
mov edx, dword [ebp - 0x48]
push 0
call fcn.10004050
add esp, 0xc
cmp eax, 0xffffffff
je 0x10056f11
mov edx, dword [ebp - 0xa4]
lea edi, [ebp - 0x1c4]
mov ecx, 0x21
mov dword [ebp - 0x30], 0
xorps xmm0, xmm0
mov dword [ebp - 0x2c], 0
movups xmmword [ebp - 0x40], xmm0
mov eax, dword [edx + 0x19c]
lea esi, [edx + 0x10c]
rep movsd dword es:[edi], dword [esi]
lea esi, [edx + 0x1b0]
mov dword [ebp - 0xbc], eax
mov ecx, esi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10056dc7
jmp 0x10056e88
cmp dword [ebp - 0x8c], 0xf
lea eax, [ebp - 0xa0]
push dword [ebp - 0x90]
cmova eax, dword [ebp - 0xa0]
lea ecx, [ebp - 0x58]
cmp dword [ebp - 0x44], 0xf
mov edx, dword [ebp - 0x48]
cmova ecx, dword [ebp - 0x58]
push eax
push 0
call fcn.10004050
add esp, 0xc
cmp eax, 0xffffffff
je 0x10056f11
cmp dword [ebp - 0x14], 0xf
lea eax, [ebp - 0x28]
push dword [ebp - 0x18]
cmova eax, dword [ebp - 0x28]
lea ecx, [ebp - 0x70]
cmp dword [ebp - 0x5c], 0xf
mov edx, dword [ebp - 0x60]
cmova ecx, dword [ebp - 0x70]
push eax
call fcn.100045b0
add esp, 8
test al, al
je 0x10056f11
mov edx, dword [ebp - 0xa4]
lea edi, [ebp - 0x1c4]
mov ecx, 0x21
mov dword [ebp - 0x30], 0
xorps xmm0, xmm0
mov dword [ebp - 0x2c], 0
movups xmmword [ebp - 0x40], xmm0
mov eax, dword [edx + 0x19c]
lea esi, [edx + 0x10c]
rep movsd dword es:[edi], dword [esi]
lea esi, [edx + 0x1b0]
mov dword [ebp - 0xbc], eax
mov ecx, esi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10056e81
sub ecx, edx
push ecx
push esi
lea ecx, [ebp - 0x40]
call fcn.10003170
lea ecx, [ebp - 0x40]
call fcn.1001a9b0
mov ecx, dword [ebp - 0x2c]
mov dword [ebp - 0xc0], eax
cmp ecx, 0xf
jbe 0x10056ed6
mov edx, dword [ebp - 0x40]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10056ecc
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100574a2
push ecx
push edx
call fcn.100635d4
add esp, 8
mov edi, dword [ebp - 0xa8]
mov eax, dword [edi + 4]
cmp eax, dword [edi + 8]
je 0x10056f02
mov ecx, 0x44
lea esi, [ebp - 0x1c8]
mov edi, eax
rep movsd dword es:[edi], dword [esi]
mov edi, dword [ebp - 0xa8]
add dword [edi + 4], 0x110
jmp 0x10056f11
lea ecx, [ebp - 0x1c8]
push ecx
push eax
mov ecx, edi
call fcn.10057680
mov esi, dword [ebp - 0xa4]
mov esi, dword [esi]
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0xa4], esi
cmp ecx, 0xf
jbe 0x10056f57
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10056f4d
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100574a2
push ecx
push edx
call fcn.100635d4
add esp, 8
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x44]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
cmp ecx, 0xf
jbe 0x10056fa1
mov edx, dword [ebp - 0x58]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10056f97
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100574a2
push ecx
push edx
call fcn.100635d4
add esp, 8
test esi, esi
jne 0x10056a50
mov ecx, dword [edi + 4]
mov eax, 0x78787879
sub ecx, dword [edi]
mov esi, dword [ebp - 0xb0]
imul ecx
mov dword [ebp - 0xa4], esi
sar edx, 7
mov eax, edx
shr eax, 0x1f
add eax, edx
jne 0x10057404
mov eax, dword [ebp - 0xac]
cmp dword [eax + 4], 3
je 0x100571f1
lea edx, [esi + 0x10c]
mov dword [ebp - 0x48], 0
mov ecx, edx
mov dword [ebp - 0xac], edx
xorps xmm0, xmm0
mov dword [ebp - 0x44], 0
movups xmmword [ebp - 0x58], xmm0
lea edi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10057007
sub ecx, edi
push ecx
push edx
lea ecx, [ebp - 0x58]
call fcn.10003170
lea edx, [esi + 0x1b0]
mov byte [ebp - 4], 5
mov ecx, edx
mov dword [ebp - 0x18], 0
xorps xmm0, xmm0
mov dword [ebp - 0x14], 0
movups xmmword [ebp - 0x28], xmm0
lea edi, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10057040
sub ecx, edi
push ecx
push edx
lea ecx, [ebp - 0x28]
call fcn.10003170
mov byte [ebp - 4], 6
lea eax, [ebp - 0x88]
mov edi, dword [ebp - 0x14]
lea ecx, [ebp - 0x28]
mov edx, dword [ebp - 0x18]
cmp edi, 0xf
push 6
cmova ecx, dword [ebp - 0x28]
push eax
push 0
call fcn.10004050
add esp, 0xc
cmp eax, 0xffffffff
je 0x1005715b
mov esi, dword [ebp - 0xac]
lea edi, [ebp - 0x1c4]
mov ecx, 0x21
mov dword [ebp - 0x30], 0
rep movsd dword es:[edi], dword [esi]
mov esi, dword [ebp - 0xa4]
xorps xmm0, xmm0
movups xmmword [ebp - 0x40], xmm0
mov dword [ebp - 0x2c], 0
mov eax, dword [esi + 0x19c]
lea edx, [esi + 0x1b0]
mov ecx, edx
mov dword [ebp - 0xbc], eax
lea edi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100570c8
sub ecx, edi
push ecx
push edx
lea ecx, [ebp - 0x40]
call fcn.10003170
lea ecx, [ebp - 0x40]
call fcn.1001a9b0
mov ecx, dword [ebp - 0x2c]
mov dword [ebp - 0xc0], eax
cmp ecx, 0xf
jbe 0x1005711d
mov edx, dword [ebp - 0x40]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10057113
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100574a2
push ecx
push edx
call fcn.100635d4
add esp, 8
mov edx, dword [ebp - 0xa8]
mov eax, dword [edx + 4]
cmp eax, dword [edx + 8]
je 0x10057149
mov ecx, 0x44
lea esi, [ebp - 0x1c8]
mov edi, eax
rep movsd dword es:[edi], dword [esi]
add dword [edx + 4], 0x110
mov esi, dword [ebp - 0xa4]
jmp 0x10057158
lea ecx, [ebp - 0x1c8]
push ecx
push eax
mov ecx, edx
call fcn.10057680
mov edi, dword [ebp - 0x14]
mov esi, dword [esi]
mov dword [ebp - 0xa4], esi
mov byte [ebp - 4], 5
cmp edi, 0xf
jbe 0x1005719a
mov edx, dword [ebp - 0x28]
lea ecx, [edi + 1]
mov eax, edx
cmp ecx, 0x1000
jb 0x10057190
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100574a2
push ecx
push edx
call fcn.100635d4
add esp, 8
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x44]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
cmp ecx, 0xf
jbe 0x100571e4
mov edx, dword [ebp - 0x58]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100571da
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100574a2
push ecx
push edx
call fcn.100635d4
add esp, 8
test esi, esi
jne 0x10056fe1
jmp 0x10057404
lea edx, [esi + 0x10c]
mov dword [ebp - 0x48], 0
mov ecx, edx
mov dword [ebp - 0xac], edx
xorps xmm0, xmm0
mov dword [ebp - 0x44], 0
movups xmmword [ebp - 0x58], xmm0
lea edi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10057217
sub ecx, edi
push ecx
push edx
lea ecx, [ebp - 0x58]
call fcn.10003170
lea edx, [esi + 0x1b0]
mov byte [ebp - 4], 7
mov ecx, edx
mov dword [ebp - 0x18], 0
xorps xmm0, xmm0
mov dword [ebp - 0x14], 0
movups xmmword [ebp - 0x28], xmm0
lea edi, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10057250
sub ecx, edi
push ecx
push edx
lea ecx, [ebp - 0x28]
call fcn.10003170
mov byte [ebp - 4], 8
lea eax, [ebp - 0x70]
cmp dword [ebp - 0x5c], 0xf
lea ecx, [ebp - 0x28]
push dword [ebp - 0x60]
cmova eax, dword [ebp - 0x70]
mov edi, dword [ebp - 0x14]
cmp edi, 0xf
mov edx, dword [ebp - 0x18]
cmova ecx, dword [ebp - 0x28]
push eax
push 0
call fcn.10004050
add esp, 0xc
cmp eax, 0xffffffff
je 0x10057373
mov esi, dword [ebp - 0xac]
lea edi, [ebp - 0x1c4]
mov ecx, 0x21
mov dword [ebp - 0x30], 0
rep movsd dword es:[edi], dword [esi]
mov esi, dword [ebp - 0xa4]
xorps xmm0, xmm0
movups xmmword [ebp - 0x40], xmm0
mov dword [ebp - 0x2c], 0
mov eax, dword [esi + 0x19c]
lea edx, [esi + 0x1b0]
mov ecx, edx
mov dword [ebp - 0xbc], eax
lea edi, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100572e0
sub ecx, edi
push ecx
push edx
lea ecx, [ebp - 0x40]
call fcn.10003170
lea ecx, [ebp - 0x40]
call fcn.1001a9b0
mov ecx, dword [ebp - 0x2c]
mov dword [ebp - 0xc0], eax
cmp ecx, 0xf
jbe 0x10057335
mov edx, dword [ebp - 0x40]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1005732b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100574a2
push ecx
push edx
call fcn.100635d4
add esp, 8
mov edx, dword [ebp - 0xa8]
mov eax, dword [edx + 4]
cmp eax, dword [edx + 8]
je 0x10057361
mov ecx, 0x44
lea esi, [ebp - 0x1c8]
mov edi, eax
rep movsd dword es:[edi], dword [esi]
add dword [edx + 4], 0x110
mov esi, dword [ebp - 0xa4]
jmp 0x10057370
lea ecx, [ebp - 0x1c8]
push ecx
push eax
mov ecx, edx
call fcn.10057680
mov edi, dword [ebp - 0x14]
mov esi, dword [esi]
mov dword [ebp - 0xa4], esi
mov byte [ebp - 4], 7
cmp edi, 0xf
jbe 0x100573b2
mov edx, dword [ebp - 0x28]
lea ecx, [edi + 1]
mov eax, edx
cmp ecx, 0x1000
jb 0x100573a8
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100574a2
push ecx
push edx
call fcn.100635d4
add esp, 8
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x44]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
cmp ecx, 0xf
jbe 0x100573fc
mov edx, dword [ebp - 0x58]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100573f2
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100574a2
push ecx
push edx
call fcn.100635d4
add esp, 8
test esi, esi
jne 0x100571f1
push dword [ebp - 0xb0]
call fcn.10063285
mov eax, dword [ebp - 0x5c]
add esp, 4
cmp eax, 0xf
jbe 0x10057448
mov edx, dword [ebp - 0x70]
lea ecx, [eax + 1]
mov eax, edx
cmp ecx, 0x1000
jb 0x1005743e
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100574a2
push ecx
push edx
call fcn.100635d4
add esp, 8
mov eax, dword [ebp - 0x8c]
cmp eax, 0xf
jbe 0x10057480
mov edx, dword [ebp - 0xa0]
lea ecx, [eax + 1]
mov eax, edx
cmp ecx, 0x1000
jb 0x10057476
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100574a2
push ecx
push edx
call fcn.100635d4
add esp, 8
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.10063277
mov esp, ebp
pop ebp
ret 4
call fcn.10002b20
call fcn.1006dc9f
int3